Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
a1e5d6ed
提交
a1e5d6ed
编写于
11月 27, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
535aa576
变更
14
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
1117 行增加
和
10 行删除
+1117
-10
view-config.json
app_Web/public/assets/json/view-config.json
+8
-0
ibizorder-type_en_US.ts
...le/lanres/entities/ibizorder-type/ibizorder-type_en_US.ts
+6
-0
ibizorder-type_zh_CN.ts
...le/lanres/entities/ibizorder-type/ibizorder-type_zh_CN.ts
+6
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+8
-0
ibizorder-type-usr2-grid-view-base.vue
...ype-usr2-grid-view/ibizorder-type-usr2-grid-view-base.vue
+983
-0
ibizorder-type-usr2-grid-view.less
...er-type-usr2-grid-view/ibizorder-type-usr2-grid-view.less
+19
-0
ibizorder-type-usr2-grid-view.vue
...der-type-usr2-grid-view/ibizorder-type-usr2-grid-view.vue
+24
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+1
-0
router.ts
app_Web/src/pages/sample/index/router.ts
+27
-0
state.ts
app_Web/src/store/modules/view-action/state.ts
+11
-1
ibizorder-type-ui-service-base.ts
...iservice/ibizorder-type/ibizorder-type-ui-service-base.ts
+1
-0
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+1
-1
default-searchform-base.vue
...order-type/default-searchform/default-searchform-base.vue
+2
-2
main-grid-base.vue
...b/src/widgets/ibizorder-type/main-grid/main-grid-base.vue
+20
-6
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
a1e5d6ed
...
...
@@ -87,6 +87,14 @@
"viewname"
:
"IBIZOrderSF6GridView"
,
"viewtag"
:
"13ed6c02918e612bac45715a6f300f2f"
},
"ibizordertypeusr2gridview"
:
{
"title"
:
"订单类型表格视图"
,
"caption"
:
"订单类型"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZOrderTypeUsr2GridView"
,
"viewtag"
:
"14eddc6d2c858a72c796b017959cc4ef"
},
"ibizorderf9editview"
:
{
"title"
:
"表单动态空输入"
,
"caption"
:
"表单动态空输入"
,
...
...
app_Web/src/locale/lanres/entities/ibizorder-type/ibizorder-type_en_US.ts
浏览文件 @
a1e5d6ed
...
...
@@ -14,6 +14,10 @@ export default {
caption
:
"订单类型"
,
title
:
"订单类型数据选择视图"
,
},
usr2gridview
:
{
caption
:
"订单类型"
,
title
:
"订单类型表格视图"
,
},
editview
:
{
caption
:
"订单类型"
,
title
:
"订单类型编辑视图"
,
...
...
@@ -64,6 +68,8 @@ export default {
uiactions
:
{
},
},
usr2gridviewtoolbar_toolbar
:
{
},
usr2editviewtoolbar_toolbar
:
{
},
editviewtoolbar_toolbar
:
{
...
...
app_Web/src/locale/lanres/entities/ibizorder-type/ibizorder-type_zh_CN.ts
浏览文件 @
a1e5d6ed
...
...
@@ -13,6 +13,10 @@ export default {
caption
:
"订单类型"
,
title
:
"订单类型数据选择视图"
,
},
usr2gridview
:
{
caption
:
"订单类型"
,
title
:
"订单类型表格视图"
,
},
editview
:
{
caption
:
"订单类型"
,
title
:
"订单类型编辑视图"
,
...
...
@@ -63,6 +67,8 @@ export default {
uiactions
:
{
},
},
usr2gridviewtoolbar_toolbar
:
{
},
usr2editviewtoolbar_toolbar
:
{
},
editviewtoolbar_toolbar
:
{
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
a1e5d6ed
...
...
@@ -95,6 +95,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZOrderSF6GridView"
,
"viewtag"
:
"13ed6c02918e612bac45715a6f300f2f"
},
"ibizordertypeusr2gridview"
:
{
"title"
:
"订单类型表格视图"
,
"caption"
:
"订单类型"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZOrderTypeUsr2GridView"
,
"viewtag"
:
"14eddc6d2c858a72c796b017959cc4ef"
},
"ibizorderf9editview"
:
{
"title"
:
"表单动态空输入"
,
"caption"
:
"表单动态空输入"
,
...
...
app_Web/src/pages/sample/ibizorder-type-usr2-grid-view/ibizorder-type-usr2-grid-view-base.vue
0 → 100644
浏览文件 @
a1e5d6ed
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizorder-type-usr2-grid-view/ibizorder-type-usr2-grid-view.less
0 → 100644
浏览文件 @
a1e5d6ed
.ibizorder-type-usr2-grid-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
app_Web/src/pages/sample/ibizorder-type-usr2-grid-view/ibizorder-type-usr2-grid-view.vue
0 → 100644
浏览文件 @
a1e5d6ed
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZOrderTypeUsr2GridViewBase
from
'./ibizorder-type-usr2-grid-view-base.vue'
;
import
view_grid
from
'@widgets/ibizorder-type/main-grid/main-grid.vue'
;
import
view_searchform
from
'@widgets/ibizorder-type/default-searchform/default-searchform.vue'
;
@
Component
({
components
:
{
view_grid
,
view_searchform
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
if
(
!
Object
.
is
(
vm
.
navModel
,
"route"
)){
vm
.
initNavDataWithTab
(
vm
.
viewCacheData
);
}
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
IBIZOrderTypeUsr2GridView
extends
IBIZOrderTypeUsr2GridViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
a1e5d6ed
...
...
@@ -141,6 +141,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizuniproduct-grid-view9'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-grid-view9/ibizuniproduct-grid-view9.vue'
));
Vue
.
component
(
'ibizsample0003-sf5-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-sf5-edit-view/ibizsample0003-sf5-edit-view.vue'
));
Vue
.
component
(
'ibizuniproduct-index-pickup-data-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue'
));
Vue
.
component
(
'ibizorder-type-usr2-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-type-usr2-grid-view/ibizorder-type-usr2-grid-view.vue'
));
Vue
.
component
(
'ibizsample0018-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0018-grid-view/ibizsample0018-grid-view.vue'
));
Vue
.
component
(
'ibizsample0014-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0014-grid-view/ibizsample0014-grid-view.vue'
));
Vue
.
component
(
'app-panel-view'
,
()
=>
import
(
'@pages/ungroup/app-panel-view/app-panel-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
a1e5d6ed
...
...
@@ -2069,6 +2069,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue'
),
},
{
path
:
'ibizordertypes/:ibizordertype?/usr2gridview/:usr2gridview?'
,
meta
:
{
caption
:
'entities.ibizordertype.views.usr2gridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizordertypes'
,
parameterName
:
'ibizordertype'
},
{
pathName
:
'usr2gridview'
,
parameterName
:
'usr2gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-type-usr2-grid-view/ibizorder-type-usr2-grid-view.vue'
),
},
...
indexRoutes
,
],
},
...
...
@@ -2230,6 +2244,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-sf6-grid-view/ibizorder-sf6-grid-view.vue'
),
},
{
path
:
'/ibizordertypes/:ibizordertype?/usr2gridview/:usr2gridview?'
,
meta
:
{
caption
:
'entities.ibizordertype.views.usr2gridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizordertypes'
,
parameterName
:
'ibizordertype'
},
{
pathName
:
'usr2gridview'
,
parameterName
:
'usr2gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-type-usr2-grid-view/ibizorder-type-usr2-grid-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/f9editview/:f9editview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
a1e5d6ed
...
...
@@ -105,6 +105,16 @@ export const viewstate: any = {
'f4cda6703c800c075704c5af5e58f2fc'
,
],
},
{
viewtag
:
'14eddc6d2c858a72c796b017959cc4ef'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZOrderTypeUsr2GridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'82014278d03dfb22039740c03d2a461f'
,
],
},
{
viewtag
:
'16b68282950fb352dfe27e94bda47304'
,
viewmodule
:
'Sample'
,
...
...
@@ -190,7 +200,6 @@ export const viewstate: any = {
'b038c48269316664e5b48380a879fd99'
,
'd9bd3192a20de0815bed3fd3d79d0cb1'
,
'98865bf786ea85b14932dd5e48a74983'
,
'82014278d03dfb22039740c03d2a461f'
,
'b1591dc4d651536bceb32b60310fd2a5'
,
'19d36909f837de28880553dc9a190922'
,
'e92ac401e96f4e17763322eca8355c30'
,
...
...
@@ -233,6 +242,7 @@ export const viewstate: any = {
'a894de140705ecab2f39797d2922a3ce'
,
'e57dd501c75c6933363fa245edcadbbd'
,
'ea604a66caf499c70c9002a917dd1694'
,
'14eddc6d2c858a72c796b017959cc4ef'
,
'4981c4ae8facb75582f8dcbc51850318'
,
],
},
...
...
app_Web/src/uiservice/ibizorder-type/ibizorder-type-ui-service-base.ts
浏览文件 @
a1e5d6ed
...
...
@@ -97,6 +97,7 @@ export default class IBIZOrderTypeUIServiceBase extends UIService {
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'ibizordertypes'
,
component
:
'ibizorder-type-pickup-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2gridview'
,
srfappde
:
'ibizordertypes'
,
component
:
'ibizorder-type-usr2-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editview'
,
srfappde
:
'ibizordertypes'
,
component
:
'ibizorder-type-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'ibizordertypes'
,
component
:
'ibizorder-type-pickup-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2editview'
,
srfappde
:
'ibizordertypes'
,
component
:
'ibizorder-type-usr2-edit-view'
});
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
a1e5d6ed
...
...
@@ -2462,7 +2462,7 @@ export default class MainMenuBase extends Vue implements ControlInterface {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizordertypes'
,
parameterName
:
'ibizordertype'
},
{
pathName
:
'usr2
editview'
,
parameterName
:
'usr2edit
view'
},
{
pathName
:
'usr2
gridview'
,
parameterName
:
'usr2grid
view'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
app_Web/src/widgets/ibizorder-type/default-searchform/default-searchform-base.vue
浏览文件 @
a1e5d6ed
...
...
@@ -590,7 +590,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Pickup
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Usr2
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Pickup
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Usr2
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizorder-type/main-grid/main-grid-base.vue
浏览文件 @
a1e5d6ed
...
...
@@ -317,6 +317,20 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
opendata
:
any
;
/**
* 是否嵌入关系界面
...
...
@@ -818,7 +832,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Usr2
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
){
...
...
@@ -908,7 +922,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Usr2
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1013,7 +1027,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Usr2
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -1892,7 +1906,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Usr2
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -1900,7 +1914,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Usr2
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizordertype
){
...
...
@@ -1973,7 +1987,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderType
Usr2
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
let
_this
=
this
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录