Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzrt
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzrt
提交
5564c821
提交
5564c821
编写于
3月 18, 2021
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zoo457790531 发布系统代码 [ibiz-rt,ibizlab-runtime]
上级
5e510c6e
变更
23
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
23 个修改的文件
包含
5490 行增加
和
21 行删除
+5490
-21
view-config.json
app_Web/public/assets/json/view-config.json
+10
-2
meta-dynamic-model_BO_CN_base.ts
...ities/meta-dynamic-model/meta-dynamic-model_BO_CN_base.ts
+34
-0
meta-dynamic-model_en_US_base.ts
...ities/meta-dynamic-model/meta-dynamic-model_en_US_base.ts
+34
-0
meta-dynamic-model_zh_CN_base.ts
...ities/meta-dynamic-model/meta-dynamic-model_zh_CN_base.ts
+34
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+10
-2
meta-dynamic-model-dyna-inst-grid-view-base.vue
...grid-view/meta-dynamic-model-dyna-inst-grid-view-base.vue
+1799
-0
meta-dynamic-model-dyna-inst-grid-view.less
...nst-grid-view/meta-dynamic-model-dyna-inst-grid-view.less
+19
-0
meta-dynamic-model-dyna-inst-grid-view.vue
...inst-grid-view/meta-dynamic-model-dyna-inst-grid-view.vue
+24
-0
meta-dynamic-model-edit-view-base.vue
...mic-model-edit-view/meta-dynamic-model-edit-view-base.vue
+831
-0
meta-dynamic-model-edit-view.less
...dynamic-model-edit-view/meta-dynamic-model-edit-view.less
+26
-0
meta-dynamic-model-edit-view.vue
...-dynamic-model-edit-view/meta-dynamic-model-edit-view.vue
+22
-0
meta-dynamic-model-grid-view-base.vue
...mic-model-grid-view/meta-dynamic-model-grid-view-base.vue
+3
-3
page-register.ts
app_Web/src/pages/rt/index/page-register.ts
+2
-1
router.ts
app_Web/src/pages/rt/index/router.ts
+29
-2
state.ts
app_Web/src/store/modules/view-action/state.ts
+11
-2
meta-dynamic-model-ui-service-base.ts
.../meta-dynamic-model/meta-dynamic-model-ui-service-base.ts
+2
-1
default-searchform-base.vue
...amic-model/default-searchform/default-searchform-base.vue
+2
-2
main-form-base.vue
...c/widgets/meta-dynamic-model/main-form/main-form-base.vue
+1966
-0
main-form-model.ts
...c/widgets/meta-dynamic-model/main-form/main-form-model.ts
+86
-0
main-form-service.ts
...widgets/meta-dynamic-model/main-form/main-form-service.ts
+472
-0
main-form.less
...b/src/widgets/meta-dynamic-model/main-form/main-form.less
+54
-0
main-form.vue
...eb/src/widgets/meta-dynamic-model/main-form/main-form.vue
+14
-0
main-grid-base.vue
...c/widgets/meta-dynamic-model/main-grid/main-grid-base.vue
+6
-6
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
5564c821
...
...
@@ -671,12 +671,12 @@
"viewname"
:
"WFUserPickupGridView"
,
"viewtag"
:
"c9c73c8d2e61bd29a304622f3d39b522"
},
"meta
_
dynamicmodeldynainstgridview"
:
{
"metadynamicmodeldynainstgridview"
:
{
"title"
:
"动态模型表格视图"
,
"caption"
:
"动态模型表格视图"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"disk"
,
"viewname"
:
"M
ETA_DYNAMICMODEL
DynaInstGridView"
,
"viewname"
:
"M
etaDynamicModel
DynaInstGridView"
,
"viewtag"
:
"cec3236f5a1f742f9b91f313506ccc6c"
},
"sysdepartmentpickupview"
:
{
...
...
@@ -711,6 +711,14 @@
"viewname"
:
"JobsInfoGridView"
,
"viewtag"
:
"e4856779577562e9880855e6c66d63e5"
},
"metadynamicmodeleditview"
:
{
"title"
:
"动态模型编辑视图"
,
"caption"
:
"动态模型"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"disk"
,
"viewname"
:
"MetaDynamicModelEditView"
,
"viewtag"
:
"e8892afaebe9a899e5d528d5b55d3cc5"
},
"sysemployeepickupgridview"
:
{
"title"
:
"人员选择表格视图"
,
"caption"
:
"人员"
,
...
...
app_Web/src/locale/lanres/entities/meta-dynamic-model/meta-dynamic-model_BO_CN_base.ts
浏览文件 @
5564c821
...
...
@@ -24,6 +24,30 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"动态模型表格视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"动态模型表格视图"
,
null
),
},
editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"动态模型"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"动态模型编辑视图"
,
null
),
},
},
main_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"动态模型基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"配置标识"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"配置名称"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
configname
:
commonLogic
.
appcommonhandle
(
"配置名称"
,
null
),
formitem
:
commonLogic
.
appcommonhandle
(
"文件"
,
null
),
systemid
:
commonLogic
.
appcommonhandle
(
"系统"
,
null
),
pdynainstid
:
commonLogic
.
appcommonhandle
(
"父实例"
,
null
),
configid
:
commonLogic
.
appcommonhandle
(
"配置标识"
,
null
),
},
uiactions
:
{
},
},
dynainst_form
:
{
details
:
{
...
...
@@ -149,6 +173,16 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"过滤"
,
null
),
},
},
editviewtoolbar_toolbar
:
{
tbitem1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"保存并关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"保存并关闭"
,
null
),
},
tbitem2
:
{
caption
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
},
},
dynainstgridviewtoolbar_toolbar
:
{
tbitem1_publish
:
{
caption
:
commonLogic
.
appcommonhandle
(
"发布模型"
,
null
),
...
...
app_Web/src/locale/lanres/entities/meta-dynamic-model/meta-dynamic-model_en_US_base.ts
浏览文件 @
5564c821
...
...
@@ -24,6 +24,30 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"动态模型表格视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"动态模型表格视图"
,
null
),
},
editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"动态模型"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"动态模型编辑视图"
,
null
),
},
},
main_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"动态模型基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"配置标识"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"配置名称"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
configname
:
commonLogic
.
appcommonhandle
(
"配置名称"
,
null
),
formitem
:
commonLogic
.
appcommonhandle
(
"文件"
,
null
),
systemid
:
commonLogic
.
appcommonhandle
(
"系统"
,
null
),
pdynainstid
:
commonLogic
.
appcommonhandle
(
"父实例"
,
null
),
configid
:
commonLogic
.
appcommonhandle
(
"配置标识"
,
null
),
},
uiactions
:
{
},
},
dynainst_form
:
{
details
:
{
...
...
@@ -149,6 +173,16 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"Filter"
,
null
),
},
},
editviewtoolbar_toolbar
:
{
tbitem1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Save And Close"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Save And Close Window"
,
null
),
},
tbitem2
:
{
caption
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
},
},
dynainstgridviewtoolbar_toolbar
:
{
tbitem1_publish
:
{
caption
:
commonLogic
.
appcommonhandle
(
"发布模型"
,
null
),
...
...
app_Web/src/locale/lanres/entities/meta-dynamic-model/meta-dynamic-model_zh_CN_base.ts
浏览文件 @
5564c821
...
...
@@ -24,6 +24,30 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"动态模型表格视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"动态模型表格视图"
,
null
),
},
editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"动态模型"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"动态模型编辑视图"
,
null
),
},
},
main_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"动态模型基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"配置标识"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"配置名称"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
configname
:
commonLogic
.
appcommonhandle
(
"配置名称"
,
null
),
formitem
:
commonLogic
.
appcommonhandle
(
"文件"
,
null
),
systemid
:
commonLogic
.
appcommonhandle
(
"系统"
,
null
),
pdynainstid
:
commonLogic
.
appcommonhandle
(
"父实例"
,
null
),
configid
:
commonLogic
.
appcommonhandle
(
"配置标识"
,
null
),
},
uiactions
:
{
},
},
dynainst_form
:
{
details
:
{
...
...
@@ -149,6 +173,16 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"过滤"
,
null
),
},
},
editviewtoolbar_toolbar
:
{
tbitem1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"保存并关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"保存并关闭"
,
null
),
},
tbitem2
:
{
caption
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
},
},
dynainstgridviewtoolbar_toolbar
:
{
tbitem1_publish
:
{
caption
:
commonLogic
.
appcommonhandle
(
"发布模型"
,
null
),
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
5564c821
...
...
@@ -679,12 +679,12 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"WFUserPickupGridView"
,
"viewtag"
:
"c9c73c8d2e61bd29a304622f3d39b522"
},
"meta
_
dynamicmodeldynainstgridview"
:
{
"metadynamicmodeldynainstgridview"
:
{
"title"
:
"动态模型表格视图"
,
"caption"
:
"动态模型表格视图"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"disk"
,
"viewname"
:
"M
ETA_DYNAMICMODEL
DynaInstGridView"
,
"viewname"
:
"M
etaDynamicModel
DynaInstGridView"
,
"viewtag"
:
"cec3236f5a1f742f9b91f313506ccc6c"
},
"sysdepartmentpickupview"
:
{
...
...
@@ -719,6 +719,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"JobsInfoGridView"
,
"viewtag"
:
"e4856779577562e9880855e6c66d63e5"
},
"metadynamicmodeleditview"
:
{
"title"
:
"动态模型编辑视图"
,
"caption"
:
"动态模型"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"disk"
,
"viewname"
:
"MetaDynamicModelEditView"
,
"viewtag"
:
"e8892afaebe9a899e5d528d5b55d3cc5"
},
"sysemployeepickupgridview"
:
{
"title"
:
"人员选择表格视图"
,
"caption"
:
"人员"
,
...
...
app_Web/src/pages/disk/meta-dynamic-model-dyna-inst-grid-view/meta-dynamic-model-dyna-inst-grid-view-base.vue
0 → 100644
浏览文件 @
5564c821
此差异已折叠。
点击以展开。
app_Web/src/pages/disk/meta-dynamic-model-dyna-inst-grid-view/meta-dynamic-model-dyna-inst-grid-view.less
0 → 100644
浏览文件 @
5564c821
.meta-dynamic-model-dyna-inst-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/disk/meta-dynamic-model-dyna-inst-grid-view/meta-dynamic-model-dyna-inst-grid-view.vue
0 → 100644
浏览文件 @
5564c821
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
MetaDynamicModelDynaInstGridViewBase
from
'./meta-dynamic-model-dyna-inst-grid-view-base.vue'
;
import
view_grid
from
'@widgets/meta-dynamic-model/main-grid/main-grid.vue'
;
import
view_searchform
from
'@widgets/meta-dynamic-model/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
MetaDynamicModelDynaInstGridView
extends
MetaDynamicModelDynaInstGridViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/disk/meta-dynamic-model-edit-view/meta-dynamic-model-edit-view-base.vue
0 → 100644
浏览文件 @
5564c821
此差异已折叠。
点击以展开。
app_Web/src/pages/disk/meta-dynamic-model-edit-view/meta-dynamic-model-edit-view.less
0 → 100644
浏览文件 @
5564c821
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.meta-dynamic-model-edit-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/disk/meta-dynamic-model-edit-view/meta-dynamic-model-edit-view.vue
0 → 100644
浏览文件 @
5564c821
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
MetaDynamicModelEditViewBase
from
'./meta-dynamic-model-edit-view-base.vue'
;
import
view_form
from
'@widgets/meta-dynamic-model/main-form/main-form.vue'
;
@
Component
({
components
:
{
view_form
,
},
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
MetaDynamicModelEditView
extends
MetaDynamicModelEditViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/disk/meta-dynamic-model-grid-view/meta-dynamic-model-grid-view-base.vue
浏览文件 @
5564c821
...
...
@@ -1322,10 +1322,10 @@ export default class MetaDynamicModelGridViewBase extends Vue {
});
}
const
view
:
any
=
{
viewname
:
'meta-dynamic
modeldyna-inst
-edit-view'
,
viewname
:
'meta-dynamic
-model
-edit-view'
,
height
:
0
,
width
:
0
,
title
:
this
.
$t
(
'entities.metadynamicmodel.views.
dynainst
editview.title'
),
title
:
this
.
$t
(
'entities.metadynamicmodel.views.editview.title'
),
};
openPopupModal
(
view
,
data
);
}
...
...
@@ -1359,7 +1359,7 @@ export default class MetaDynamicModelGridViewBase extends Vue {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'metadynamicmodels'
,
parameterName
:
'metadynamicmodel'
},
{
pathName
:
'
dynainsteditview'
,
parameterName
:
'dynainst
editview'
},
{
pathName
:
'
editview'
,
parameterName
:
'
editview'
},
];
const
_this
:
any
=
this
;
if
(
fullargs
&&
fullargs
.
copymode
){
...
...
app_Web/src/pages/rt/index/page-register.ts
浏览文件 @
5564c821
...
...
@@ -14,6 +14,7 @@ export const PageComponents = {
Vue
.
component
(
'sys-user-role-grid-view'
,
()
=>
import
(
'@pages/uaa/sys-user-role-grid-view/sys-user-role-grid-view.vue'
));
Vue
.
component
(
'sys-department-pickup-view'
,
()
=>
import
(
'@pages/ou/sys-department-pickup-view/sys-department-pickup-view.vue'
));
Vue
.
component
(
'pay-trade-grid-view'
,
()
=>
import
(
'@pages/pay/pay-trade-grid-view/pay-trade-grid-view.vue'
));
Vue
.
component
(
'meta-dynamic-model-edit-view'
,
()
=>
import
(
'@pages/disk/meta-dynamic-model-edit-view/meta-dynamic-model-edit-view.vue'
));
Vue
.
component
(
'wfmember-edit-view'
,
()
=>
import
(
'@pages/workflow/wfmember-edit-view/wfmember-edit-view.vue'
));
Vue
.
component
(
'jobs-log-grid-view'
,
()
=>
import
(
'@pages/task/jobs-log-grid-view/jobs-log-grid-view.vue'
));
Vue
.
component
(
'sys-role-pickup-grid-view'
,
()
=>
import
(
'@pages/uaa/sys-role-pickup-grid-view/sys-role-pickup-grid-view.vue'
));
...
...
@@ -80,7 +81,7 @@ export const PageComponents = {
Vue
.
component
(
'sys-organization-edit-view'
,
()
=>
import
(
'@pages/ou/sys-organization-edit-view/sys-organization-edit-view.vue'
));
Vue
.
component
(
'pay-open-access-edit-view'
,
()
=>
import
(
'@pages/pay/pay-open-access-edit-view/pay-open-access-edit-view.vue'
));
Vue
.
component
(
'sys-role-pickup-view'
,
()
=>
import
(
'@pages/uaa/sys-role-pickup-view/sys-role-pickup-view.vue'
));
Vue
.
component
(
'meta-dynamic
modeldyna-inst-grid-view'
,
()
=>
import
(
'@pages/disk/meta-dynamicmodeldyna-inst-grid-view/meta-dynamicmodel
dyna-inst-grid-view.vue'
));
Vue
.
component
(
'meta-dynamic
-model-dyna-inst-grid-view'
,
()
=>
import
(
'@pages/disk/meta-dynamic-model-dyna-inst-grid-view/meta-dynamic-model-
dyna-inst-grid-view.vue'
));
Vue
.
component
(
'sys-app-edit-view'
,
()
=>
import
(
'@pages/uaa/sys-app-edit-view/sys-app-edit-view.vue'
));
Vue
.
component
(
'sys-post-pickup-grid-view'
,
()
=>
import
(
'@pages/ou/sys-post-pickup-grid-view/sys-post-pickup-grid-view.vue'
));
Vue
.
component
(
'dict-option-grid-view'
,
()
=>
import
(
'@pages/dict/dict-option-grid-view/dict-option-grid-view.vue'
));
...
...
app_Web/src/pages/rt/index/router.ts
浏览文件 @
5564c821
...
...
@@ -276,6 +276,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/pay/pay-trade-grid-view/pay-trade-grid-view.vue'
),
},
{
path
:
'metadynamicmodels/:metadynamicmodel?/editview/:editview?'
,
meta
:
{
caption
:
'entities.metadynamicmodel.views.editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'metadynamicmodels'
,
parameterName
:
'metadynamicmodel'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/disk/meta-dynamic-model-edit-view/meta-dynamic-model-edit-view.vue'
),
},
{
path
:
'wfusers/:wfuser?/wfmembers/:wfmember?/editview/:editview?'
,
meta
:
{
...
...
@@ -2015,7 +2029,7 @@ const router = new Router({
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/disk/meta-dynamic
modeldyna-inst-grid-view/meta-dynamicmodel
dyna-inst-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/disk/meta-dynamic
-model-dyna-inst-grid-view/meta-dynamic-model-
dyna-inst-grid-view.vue'
),
},
{
path
:
'sysapps/:sysapp?/editview/:editview?'
,
...
...
@@ -3852,7 +3866,7 @@ const router = new Router({
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/disk/meta-dynamic
modeldyna-inst-grid-view/meta-dynamicmodel
dyna-inst-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/disk/meta-dynamic
-model-dyna-inst-grid-view/meta-dynamic-model-
dyna-inst-grid-view.vue'
),
},
{
path
:
'/sysorganizations/:sysorganization?/sysdepartments/:sysdepartment?/pickupview/:pickupview?'
,
...
...
@@ -3934,6 +3948,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/task/jobs-info-grid-view/jobs-info-grid-view.vue'
),
},
{
path
:
'/metadynamicmodels/:metadynamicmodel?/editview/:editview?'
,
meta
:
{
caption
:
'entities.metadynamicmodel.views.editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'metadynamicmodels'
,
parameterName
:
'metadynamicmodel'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/disk/meta-dynamic-model-edit-view/meta-dynamic-model-edit-view.vue'
),
},
{
path
:
'/sysorganizations/:sysorganization?/sysdepartments/:sysdepartment?/sysemployees/:sysemployee?/pickupgridview/:pickupgridview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
5564c821
...
...
@@ -689,7 +689,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'
92d51d41db51a671793ee8dc8876f9e9
'
,
'
e8892afaebe9a899e5d528d5b55d3cc5
'
,
],
},
{
...
...
@@ -820,7 +820,7 @@ export const viewstate: any = {
{
viewtag
:
'cec3236f5a1f742f9b91f313506ccc6c'
,
viewmodule
:
'disk'
,
viewname
:
'M
ETA_DYNAMICMODEL
DynaInstGridView'
,
viewname
:
'M
etaDynamicModel
DynaInstGridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
...
...
@@ -867,6 +867,15 @@ export const viewstate: any = {
'49b6b437f10c4e73e47d87d5d0f76cfd'
,
],
},
{
viewtag
:
'e8892afaebe9a899e5d528d5b55d3cc5'
,
viewmodule
:
'disk'
,
viewname
:
'MetaDynamicModelEditView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'ed2bd80851a999d7a0d70ea15507ad0d'
,
viewmodule
:
'ou'
,
...
...
app_Web/src/uiservice/meta-dynamic-model/meta-dynamic-model-ui-service-base.ts
浏览文件 @
5564c821
...
...
@@ -98,7 +98,8 @@ export default class MetaDynamicModelUIServiceBase extends UIService {
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'dynainsteditview'
,
srfappde
:
'metadynamicmodels'
,
component
:
'meta-dynamicmodeldyna-inst-edit-view'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'metadynamicmodels'
,
component
:
'meta-dynamic-model-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'dynainstgridview'
,
srfappde
:
'metadynamicmodels'
,
component
:
'meta-dynamicmodeldyna-inst-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'dynainstgridview'
,
srfappde
:
'metadynamicmodels'
,
component
:
'meta-dynamic-model-dyna-inst-grid-view'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'metadynamicmodels'
,
component
:
'meta-dynamic-model-edit-view'
});
}
/**
...
...
app_Web/src/widgets/meta-dynamic-model/default-searchform/default-searchform-base.vue
浏览文件 @
5564c821
...
...
@@ -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
:
'M
ETA_DYNAMICMODEL
DynaInstGridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'M
etaDynamicModel
DynaInstGridView'
+
(
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
:
'M
ETA_DYNAMICMODEL
DynaInstGridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'M
etaDynamicModel
DynaInstGridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/meta-dynamic-model/main-form/main-form-base.vue
0 → 100644
浏览文件 @
5564c821
此差异已折叠。
点击以展开。
app_Web/src/widgets/meta-dynamic-model/main-form/main-form-model.ts
0 → 100644
浏览文件 @
5564c821
/**
* Main 部件模型
*
* @export
* @class MainModel
*/
export
default
class
MainModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MainModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'srforikey'
,
},
{
name
:
'srfkey'
,
prop
:
'configid'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfmajortext'
,
prop
:
'configname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'configname'
,
prop
:
'configname'
,
dataType
:
'TEXT'
,
},
{
name
:
'formitem'
,
prop
:
'modelfile'
,
dataType
:
'TEXT'
,
},
{
name
:
'systemid'
,
prop
:
'system_id'
,
dataType
:
'TEXT'
,
},
{
name
:
'pdynainstid'
,
prop
:
'pdynainstid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'configid'
,
prop
:
'configid'
,
dataType
:
'TEXT'
,
},
{
name
:
'metadynamicmodel'
,
prop
:
'configid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_Web/src/widgets/meta-dynamic-model/main-form/main-form-service.ts
0 → 100644
浏览文件 @
5564c821
此差异已折叠。
点击以展开。
app_Web/src/widgets/meta-dynamic-model/main-form/main-form.less
0 → 100644
浏览文件 @
5564c821
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-form {
overflow: auto;
padding: 6px;
> .ivu-row {
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
.app-form{
// 表单行间距
.app-form-item{
margin-bottom: 20px;
}
// 表单按钮margin
.app-form-button{
margin:0 6px;
}
}
// this is less
app_Web/src/widgets/meta-dynamic-model/main-form/main-form.vue
0 → 100644
浏览文件 @
5564c821
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
MainBase
from
'./main-form-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Main
extends
MainBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/widgets/meta-dynamic-model/main-grid/main-grid-base.vue
浏览文件 @
5564c821
...
...
@@ -837,7 +837,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
:
'M
ETA_DYNAMICMODEL
DynaInstGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'M
etaDynamicModel
DynaInstGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
){
...
...
@@ -932,7 +932,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
:
'M
ETA_DYNAMICMODEL
DynaInstGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'M
etaDynamicModel
DynaInstGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1038,7 +1038,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
:
'M
ETA_DYNAMICMODEL
DynaInstGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'M
etaDynamicModel
DynaInstGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -1914,7 +1914,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
:
'M
ETA_DYNAMICMODEL
DynaInstGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'M
etaDynamicModel
DynaInstGridView'
+
(
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
);
...
...
@@ -1922,7 +1922,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
:
'M
ETA_DYNAMICMODEL
DynaInstGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'M
etaDynamicModel
DynaInstGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
metadynamicmodel
){
...
...
@@ -1989,7 +1989,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
:
'M
ETA_DYNAMICMODEL
DynaInstGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'M
etaDynamicModel
DynaInstGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
let
_this
=
this
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录