Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
资
资产管理
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
资产管理
提交
b3d8553e
提交
b3d8553e
编写于
4年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 部署微服务应用
上级
61ff9297
master
无相关合并请求
变更
17
隐藏空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
322 行增加
和
152 行删除
+322
-152
eamasset_en_US.ts
...ent/src/locale/lanres/entities/eamasset/eamasset_en_US.ts
+55
-53
eamasset_zh_CN.ts
...ent/src/locale/lanres/entities/eamasset/eamasset_zh_CN.ts
+52
-50
eamlocation_en_US.ts
...c/locale/lanres/entities/eamlocation/eamlocation_en_US.ts
+16
-15
eamlocation_zh_CN.ts
...c/locale/lanres/entities/eamlocation/eamlocation_zh_CN.ts
+16
-15
state.ts
app_AssetManagement/src/store/modules/view-action/state.ts
+3
-0
child-grid-grid.html
...src/widgets/eamasset/child-grid-grid/child-grid-grid.html
+26
-3
info-main-form-base.tsx
...c/widgets/eamasset/info-main-form/info-main-form-base.tsx
+6
-0
info-main-form-model.ts
...c/widgets/eamasset/info-main-form/info-main-form-model.ts
+10
-0
info-main-form-service.ts
...widgets/eamasset/info-main-form/info-main-form-service.ts
+15
-0
info-main-form.html
...t/src/widgets/eamasset/info-main-form/info-main-form.html
+36
-6
main-grid.html
...tManagement/src/widgets/eamasset/main-grid/main-grid.html
+26
-3
child-grid-grid.html
.../widgets/eamlocation/child-grid-grid/child-grid-grid.html
+16
-2
info-main-form-base.tsx
...idgets/eamlocation/info-main-form/info-main-form-base.tsx
+3
-0
info-main-form-model.ts
...idgets/eamlocation/info-main-form/info-main-form-model.ts
+5
-0
info-main-form-service.ts
...gets/eamlocation/info-main-form/info-main-form-service.ts
+3
-0
info-main-form.html
...rc/widgets/eamlocation/info-main-form/info-main-form.html
+18
-3
main-grid.html
...nagement/src/widgets/eamlocation/main-grid/main-grid.html
+16
-2
未找到文件。
app_AssetManagement/src/locale/lanres/entities/eamasset/eamasset_en_US.ts
浏览文件 @
b3d8553e
...
...
@@ -63,7 +63,7 @@ export default {
title
:
"资产信息"
,
},
},
quickcreate
_form
:
{
info_main
_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -81,14 +81,13 @@ export default {
eamlocationname
:
"功能位置"
,
passetname
:
"上级资产"
,
eamlocationid
:
"功能位置标识"
,
eamassettypeid
:
"资产类型标识"
,
passetid
:
"上级资产标识"
,
assetid
:
"资产标识"
,
},
uiactions
:
{
},
},
info_
main_form
:
{
main_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -105,12 +104,17 @@ export default {
eamassettypename
:
"资产类型"
,
eamlocationname
:
"功能位置"
,
passetname
:
"上级资产"
,
eamassetstatename
:
"资产状态"
,
eamlocationid
:
"功能位置标识"
,
eamassettypeid
:
"资产类型标识"
,
eamassetstateid
:
"资产状态标识"
,
passetid
:
"上级资产标识"
,
assetid
:
"资产标识"
,
},
uiactions
:
{
},
},
main
_form
:
{
quickcreate
_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -127,35 +131,33 @@ export default {
eamassettypename
:
"资产类型"
,
eamlocationname
:
"功能位置"
,
passetname
:
"上级资产"
,
eamassetstatename
:
"资产状态"
,
eamlocationid
:
"功能位置标识"
,
eamassettypeid
:
"资产类型标识"
,
eamassetstateid
:
"资产状态标识"
,
passetid
:
"上级资产标识"
,
assetid
:
"资产标识"
,
},
uiactions
:
{
},
},
main
_grid
:
{
childgrid
_grid
:
{
columns
:
{
passetname
:
"上级资产"
,
assetnumber
:
"资产编号"
,
assetname
:
"资产名称"
,
eamassettypename
:
"资产类型"
,
eamlocationname
:
"功能位置"
,
passetname
:
"上级资产"
,
eamassetstatename
:
"资产状态"
,
},
uiactions
:
{
},
},
childgrid
_grid
:
{
main
_grid
:
{
columns
:
{
passetname
:
"上级资产"
,
assetnumber
:
"资产编号"
,
assetname
:
"资产名称"
,
eamassettypename
:
"资产类型"
,
eamlocationname
:
"功能位置"
,
passetname
:
"上级资产"
,
eamassetstatename
:
"资产状态"
,
},
uiactions
:
{
...
...
@@ -174,13 +176,13 @@ export default {
uiactions
:
{
},
},
gridviewtoolbar_toolbar
:
{
tbitem
12_openquickcreateview
:
{
caption
:
"
新建
"
,
tip
:
"
新建
"
,
child
gridviewtoolbar_toolbar
:
{
tbitem
5
:
{
caption
:
"
New
"
,
tip
:
"
New
"
,
},
tbitem14
:
{
caption
:
"
-
"
,
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem2
:
{
...
...
@@ -220,15 +222,47 @@ export default {
tip
:
"Filter"
,
},
},
childgrid
viewtoolbar_toolbar
:
{
tbitem
5
:
{
caption
:
"
New
"
,
tip
:
"
Ne
w"
,
edit
viewtoolbar_toolbar
:
{
tbitem
2
:
{
caption
:
"
Save And Close
"
,
tip
:
"
Save And Close Windo
w"
,
},
seperator1
:
{
tbitem1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
infoviewtoolbar_toolbar
:
{
tbitem15_openmaineditview
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem15_remove_sep
:
{
caption
:
""
,
tip
:
""
,
},
tbitem15_remove
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
},
tbitem17
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem12_openquickcreateview
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem14
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem2
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
...
...
@@ -266,38 +300,6 @@ export default {
tip
:
"Filter"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem2
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
infoviewtoolbar_toolbar
:
{
tbitem15_openmaineditview
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem15_remove_sep
:
{
caption
:
""
,
tip
:
""
,
},
tbitem15_remove
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
},
tbitem17
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
locationassetgridviewtoolbar_toolbar
:
{
tbitem5
:
{
caption
:
"New"
,
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/locale/lanres/entities/eamasset/eamasset_zh_CN.ts
浏览文件 @
b3d8553e
...
...
@@ -62,7 +62,7 @@ export default {
title
:
"资产信息"
,
},
},
quickcreate
_form
:
{
info_main
_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -80,14 +80,13 @@ export default {
eamlocationname
:
"功能位置"
,
passetname
:
"上级资产"
,
eamlocationid
:
"功能位置标识"
,
eamassettypeid
:
"资产类型标识"
,
passetid
:
"上级资产标识"
,
assetid
:
"资产标识"
,
},
uiactions
:
{
},
},
info_
main_form
:
{
main_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -104,12 +103,17 @@ export default {
eamassettypename
:
"资产类型"
,
eamlocationname
:
"功能位置"
,
passetname
:
"上级资产"
,
eamassetstatename
:
"资产状态"
,
eamlocationid
:
"功能位置标识"
,
eamassettypeid
:
"资产类型标识"
,
eamassetstateid
:
"资产状态标识"
,
passetid
:
"上级资产标识"
,
assetid
:
"资产标识"
,
},
uiactions
:
{
},
},
main
_form
:
{
quickcreate
_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -126,35 +130,33 @@ export default {
eamassettypename
:
"资产类型"
,
eamlocationname
:
"功能位置"
,
passetname
:
"上级资产"
,
eamassetstatename
:
"资产状态"
,
eamlocationid
:
"功能位置标识"
,
eamassettypeid
:
"资产类型标识"
,
eamassetstateid
:
"资产状态标识"
,
passetid
:
"上级资产标识"
,
assetid
:
"资产标识"
,
},
uiactions
:
{
},
},
main
_grid
:
{
childgrid
_grid
:
{
columns
:
{
passetname
:
"上级资产"
,
assetnumber
:
"资产编号"
,
assetname
:
"资产名称"
,
eamassettypename
:
"资产类型"
,
eamlocationname
:
"功能位置"
,
passetname
:
"上级资产"
,
eamassetstatename
:
"资产状态"
,
},
uiactions
:
{
},
},
childgrid
_grid
:
{
main
_grid
:
{
columns
:
{
passetname
:
"上级资产"
,
assetnumber
:
"资产编号"
,
assetname
:
"资产名称"
,
eamassettypename
:
"资产类型"
,
eamlocationname
:
"功能位置"
,
passetname
:
"上级资产"
,
eamassetstatename
:
"资产状态"
,
},
uiactions
:
{
...
...
@@ -173,13 +175,13 @@ export default {
uiactions
:
{
},
},
gridviewtoolbar_toolbar
:
{
tbitem
12_openquickcreateview
:
{
child
gridviewtoolbar_toolbar
:
{
tbitem
5
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem14
:
{
caption
:
"
-
"
,
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem2
:
{
...
...
@@ -219,13 +221,45 @@ export default {
tip
:
"过滤"
,
},
},
childgridviewtoolbar_toolbar
:
{
tbitem5
:
{
editviewtoolbar_toolbar
:
{
tbitem2
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
tbitem1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
infoviewtoolbar_toolbar
:
{
tbitem15_openmaineditview
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem15_remove_sep
:
{
caption
:
""
,
tip
:
""
,
},
tbitem15_remove
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
},
tbitem17
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem12_openquickcreateview
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
seperator1
:
{
caption
:
""
,
tbitem14
:
{
caption
:
"
-
"
,
tip
:
""
,
},
tbitem2
:
{
...
...
@@ -265,38 +299,6 @@ export default {
tip
:
"过滤"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem2
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
tbitem1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
infoviewtoolbar_toolbar
:
{
tbitem15_openmaineditview
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem15_remove_sep
:
{
caption
:
""
,
tip
:
""
,
},
tbitem15_remove
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
},
tbitem17
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
locationassetgridviewtoolbar_toolbar
:
{
tbitem5
:
{
caption
:
"新建"
,
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/locale/lanres/entities/eamlocation/eamlocation_en_US.ts
浏览文件 @
b3d8553e
...
...
@@ -57,7 +57,7 @@ export default {
title
:
"功能位置选择表格视图"
,
},
},
edit
_main_form
:
{
info
_main_form
:
{
details
:
{
group1
:
"功能位置基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -69,17 +69,17 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
eamlocationid
:
"功能位置标识
"
,
locationnumber
:
"功能位置编号
"
,
eamlocationname
:
"功能位置名称"
,
eamlocationtypename
:
"功能位置类型"
,
peamlocationname
:
"上级位置"
,
eamlocationid
:
"功能位置标识"
,
peamlocationid
:
"上级功能位置标识"
,
eamlocationtypeid
:
"功能位置类型标识"
,
},
uiactions
:
{
},
},
info
_main_form
:
{
edit
_main_form
:
{
details
:
{
group1
:
"功能位置基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -91,32 +91,33 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
locationnumber
:
"功能位置编号
"
,
eamlocationid
:
"功能位置标识
"
,
eamlocationname
:
"功能位置名称"
,
eamlocationtypename
:
"功能位置类型"
,
peamlocationname
:
"上级位置"
,
eamlocationid
:
"功能位置标识"
,
peamlocationid
:
"上级功能位置标识"
,
eamlocationtypeid
:
"功能位置类型标识"
,
},
uiactions
:
{
},
},
main
_grid
:
{
childgrid
_grid
:
{
columns
:
{
locationnumber
:
"功能位置编号"
,
peamlocationname
:
"上级位置"
,
eamlocationid
:
"功能位置标识"
,
eamlocationname
:
"功能位置名称"
,
eamlocationtypename
:
"功能位置类型"
,
peamlocationname
:
"上级位置"
,
eamlocationstatename
:
"功能位置状态"
,
},
uiactions
:
{
},
},
childgrid
_grid
:
{
main
_grid
:
{
columns
:
{
peamlocationname
:
"上级位置"
,
eamlocationid
:
"功能位置标识"
,
locationnumber
:
"功能位置编号"
,
eamlocationname
:
"功能位置名称"
,
eamlocationtypename
:
"功能位置类型"
,
peamlocationname
:
"上级位置"
,
eamlocationstatename
:
"功能位置状态"
,
},
uiactions
:
{
},
...
...
@@ -128,7 +129,7 @@ export default {
uiactions
:
{
},
},
tree
childgridviewtoolbar_toolbar
:
{
childgridviewtoolbar_toolbar
:
{
tbitem5
:
{
caption
:
"New"
,
tip
:
"New"
,
...
...
@@ -184,7 +185,7 @@ export default {
tip
:
"关闭"
,
},
},
childgridviewtoolbar_toolbar
:
{
tree
childgridviewtoolbar_toolbar
:
{
tbitem5
:
{
caption
:
"New"
,
tip
:
"New"
,
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/locale/lanres/entities/eamlocation/eamlocation_zh_CN.ts
浏览文件 @
b3d8553e
...
...
@@ -56,7 +56,7 @@ export default {
title
:
"功能位置选择表格视图"
,
},
},
edit
_main_form
:
{
info
_main_form
:
{
details
:
{
group1
:
"功能位置基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -68,17 +68,17 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
eamlocationid
:
"功能位置标识
"
,
locationnumber
:
"功能位置编号
"
,
eamlocationname
:
"功能位置名称"
,
eamlocationtypename
:
"功能位置类型"
,
peamlocationname
:
"上级位置"
,
eamlocationid
:
"功能位置标识"
,
peamlocationid
:
"上级功能位置标识"
,
eamlocationtypeid
:
"功能位置类型标识"
,
},
uiactions
:
{
},
},
info
_main_form
:
{
edit
_main_form
:
{
details
:
{
group1
:
"功能位置基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -90,32 +90,33 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
locationnumber
:
"功能位置编号
"
,
eamlocationid
:
"功能位置标识
"
,
eamlocationname
:
"功能位置名称"
,
eamlocationtypename
:
"功能位置类型"
,
peamlocationname
:
"上级位置"
,
eamlocationid
:
"功能位置标识"
,
peamlocationid
:
"上级功能位置标识"
,
eamlocationtypeid
:
"功能位置类型标识"
,
},
uiactions
:
{
},
},
main
_grid
:
{
childgrid
_grid
:
{
columns
:
{
locationnumber
:
"功能位置编号"
,
peamlocationname
:
"上级位置"
,
eamlocationid
:
"功能位置标识"
,
eamlocationname
:
"功能位置名称"
,
eamlocationtypename
:
"功能位置类型"
,
peamlocationname
:
"上级位置"
,
eamlocationstatename
:
"功能位置状态"
,
},
uiactions
:
{
},
},
childgrid
_grid
:
{
main
_grid
:
{
columns
:
{
peamlocationname
:
"上级位置"
,
eamlocationid
:
"功能位置标识"
,
locationnumber
:
"功能位置编号"
,
eamlocationname
:
"功能位置名称"
,
eamlocationtypename
:
"功能位置类型"
,
peamlocationname
:
"上级位置"
,
eamlocationstatename
:
"功能位置状态"
,
},
uiactions
:
{
},
...
...
@@ -127,7 +128,7 @@ export default {
uiactions
:
{
},
},
tree
childgridviewtoolbar_toolbar
:
{
childgridviewtoolbar_toolbar
:
{
tbitem5
:
{
caption
:
"新建"
,
tip
:
"新建"
,
...
...
@@ -183,7 +184,7 @@ export default {
tip
:
"关闭"
,
},
},
childgridviewtoolbar_toolbar
:
{
tree
childgridviewtoolbar_toolbar
:
{
tbitem5
:
{
caption
:
"新建"
,
tip
:
"新建"
,
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/store/modules/view-action/state.ts
浏览文件 @
b3d8553e
...
...
@@ -257,6 +257,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'd3466c5c60a573062d543896976bf68c'
,
],
},
{
...
...
@@ -305,6 +306,8 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'd3466c5c60a573062d543896976bf68c'
,
'6c816d46a07d56b2a9afca077d9bbfc3'
,
],
},
{
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/widgets/eamasset/child-grid-grid/child-grid-grid.html
浏览文件 @
b3d8553e
...
...
@@ -31,7 +31,15 @@
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.passetname}}
</span>
<app-column-link
deKeyField=
'eamasset'
:context=
"JSON.parse(JSON.stringify(context))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:data=
"row"
:linkview=
"{viewname: 'eamasset-info-view', height: 0,width: 0,title: $t('entities.eamasset.views.infoview.title'),placement: '', isRedirectView: false,deResParameters: [
{ pathName: 'eamlocations', parameterName: 'eamlocation' },
]
,parameters: [
{ pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'infoview', parameterName: 'infoview' }
]}"
valueitem=
"passetid"
>
<span>
{{row.passetname}}
</span>
</app-column-link
>
</template>
</el-table-column>
</template>
...
...
@@ -55,7 +63,15 @@
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.assetname}}
</span>
<app-column-link
deKeyField=
'eamasset'
:context=
"JSON.parse(JSON.stringify(context))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:data=
"row"
:linkview=
"{viewname: 'eamasset-info-view', height: 0,width: 0,title: $t('entities.eamasset.views.infoview.title'),placement: '', isRedirectView: false,deResParameters: [
{ pathName: 'eamlocations', parameterName: 'eamlocation' },
]
,parameters: [
{ pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'infoview', parameterName: 'infoview' }
]}"
valueitem=
"srfkey"
>
<span>
{{row.assetname}}
</span>
</app-column-link
>
</template>
</el-table-column>
</template>
...
...
@@ -79,7 +95,14 @@
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.eamlocationname}}
</span>
<app-column-link
deKeyField=
'eamlocation'
:context=
"JSON.parse(JSON.stringify(context))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:data=
"row"
:linkview=
"{viewname: 'eamlocation-info-view', height: 0,width: 0,title: $t('entities.eamlocation.views.infoview.title'),placement: '', isRedirectView: false,deResParameters: [
]
,parameters: [
{ pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'infoview', parameterName: 'infoview' }
]}"
valueitem=
"eamlocationid"
>
<span>
{{row.eamlocationname}}
</span>
</app-column-link
>
</template>
</el-table-column>
</template>
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/widgets/eamasset/info-main-form/info-main-form-base.tsx
浏览文件 @
b3d8553e
...
...
@@ -78,6 +78,8 @@ export class Info_MainEditFormBase extends EditFormControlBase {
eamassettypename
:
null
,
eamlocationname
:
null
,
passetname
:
null
,
eamlocationid
:
null
,
passetid
:
null
,
assetid
:
null
,
eamasset
:
null
,
};
...
...
@@ -137,6 +139,10 @@ export class Info_MainEditFormBase extends EditFormControlBase {
passetname
:
new
FormItemModel
({
caption
:
'上级资产'
,
detailType
:
'FORMITEM'
,
name
:
'passetname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
eamlocationid
:
new
FormItemModel
({
caption
:
'功能位置标识'
,
detailType
:
'FORMITEM'
,
name
:
'eamlocationid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
passetid
:
new
FormItemModel
({
caption
:
'上级资产标识'
,
detailType
:
'FORMITEM'
,
name
:
'passetid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
assetid
:
new
FormItemModel
({
caption
:
'资产标识'
,
detailType
:
'FORMITEM'
,
name
:
'assetid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
};
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/widgets/eamasset/info-main-form/info-main-form-model.ts
浏览文件 @
b3d8553e
...
...
@@ -80,6 +80,16 @@ export default class Info_MainModel {
prop
:
'passetname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'eamlocationid'
,
prop
:
'eamlocationid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'passetid'
,
prop
:
'passetid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'assetid'
,
prop
:
'assetid'
,
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/widgets/eamasset/info-main-form/info-main-form-service.ts
浏览文件 @
b3d8553e
...
...
@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils';
import
ControlService
from
'@/widgets/control-service'
;
import
EAMAssetService
from
'@/service/eamasset/eamasset-service'
;
import
Info_MainModel
from
'./info-main-form-model'
;
import
EAMLocationService
from
'@/service/eamlocation/eamlocation-service'
;
/**
...
...
@@ -41,6 +42,14 @@ export default class Info_MainService extends ControlService {
this
.
model
=
new
Info_MainModel
();
}
/**
* 功能位置服务对象
*
* @type {EAMLocationService}
* @memberof Info_MainService
*/
public
eamlocationService
:
EAMLocationService
=
new
EAMLocationService
();
/**
* 处理数据
*
...
...
@@ -82,6 +91,12 @@ export default class Info_MainService extends ControlService {
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
data
.
page
=
data
.
page
?
data
.
page
:
0
;
data
.
size
=
data
.
size
?
data
.
size
:
1000
;
if
(
Object
.
is
(
serviceName
,
'EAMLocationService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
eamlocationService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'eamlocationid'
,
'eamlocation'
);
}
if
(
Object
.
is
(
serviceName
,
'EAMAssetService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
appEntityService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'assetid'
,
'eamasset'
);
}
return
Promise
.
reject
([])
}
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/widgets/eamasset/info-main-form/info-main-form.html
浏览文件 @
b3d8553e
...
...
@@ -39,9 +39,24 @@
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.eamlocationname.visible"
:style=
"{}"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 8, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'eamlocationname'
:itemRules=
"this.rules.eamlocationname"
class=
''
:caption=
"$t('entities.eamasset.info_main_form.details.eamlocationname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.eamlocationname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'eamlocationname'
:value=
"data.eamlocationname"
dataType=
"PICKUPTEXT"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.eamlocationname.disabled"
name=
'eamlocationname'
deMajorField=
'eamlocationname'
deKeyField=
'eamlocation'
valueitem=
'eamlocationid'
:value=
"data.eamlocationname"
editortype=
"linkonly"
:linkview=
"{ viewname: 'EAMLocationInfoView', title: $t('entities.eamlocation.views.infoview.title'), deResParameters: [], parameters: [{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'infoview', parameterName: 'infoview' } ], width: 0, height: 0, placement: '', isRedirectView: false }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange"
>
</app-picker>
</app-form-item>
...
...
@@ -49,9 +64,24 @@
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.passetname.visible"
:style=
"{}"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 8, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'passetname'
:itemRules=
"this.rules.passetname"
class=
''
:caption=
"$t('entities.eamasset.info_main_form.details.passetname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.passetname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'passetname'
:value=
"data.passetname"
dataType=
"PICKUPTEXT"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.passetname.disabled"
name=
'passetname'
deMajorField=
'assetname'
deKeyField=
'eamasset'
valueitem=
'passetid'
:value=
"data.passetname"
editortype=
"linkonly"
:linkview=
"{ viewname: 'EAMAssetInfoView', title: $t('entities.eamasset.views.infoview.title'), deResParameters: [{ pathName: 'eamlocations', parameterName: 'eamlocation' }, ], parameters: [{ pathName: 'eamassets', parameterName: 'eamasset' }, { pathName: 'infoview', parameterName: 'infoview' } ], width: 0, height: 0, placement: '', isRedirectView: false }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange"
>
</app-picker>
</app-form-item>
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/widgets/eamasset/main-grid/main-grid.html
浏览文件 @
b3d8553e
...
...
@@ -43,7 +43,15 @@
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.assetname}}
</span>
<app-column-link
deKeyField=
'eamasset'
:context=
"JSON.parse(JSON.stringify(context))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:data=
"row"
:linkview=
"{viewname: 'eamasset-info-view', height: 0,width: 0,title: $t('entities.eamasset.views.infoview.title'),placement: '', isRedirectView: false,deResParameters: [
{ pathName: 'eamlocations', parameterName: 'eamlocation' },
]
,parameters: [
{ pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'infoview', parameterName: 'infoview' }
]}"
valueitem=
"srfkey"
>
<span>
{{row.assetname}}
</span>
</app-column-link
>
</template>
</el-table-column>
</template>
...
...
@@ -67,7 +75,14 @@
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.eamlocationname}}
</span>
<app-column-link
deKeyField=
'eamlocation'
:context=
"JSON.parse(JSON.stringify(context))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:data=
"row"
:linkview=
"{viewname: 'eamlocation-info-view', height: 0,width: 0,title: $t('entities.eamlocation.views.infoview.title'),placement: '', isRedirectView: false,deResParameters: [
]
,parameters: [
{ pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'infoview', parameterName: 'infoview' }
]}"
valueitem=
"eamlocationid"
>
<span>
{{row.eamlocationname}}
</span>
</app-column-link
>
</template>
</el-table-column>
</template>
...
...
@@ -79,7 +94,15 @@
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.passetname}}
</span>
<app-column-link
deKeyField=
'eamasset'
:context=
"JSON.parse(JSON.stringify(context))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:data=
"row"
:linkview=
"{viewname: 'eamasset-info-view', height: 0,width: 0,title: $t('entities.eamasset.views.infoview.title'),placement: '', isRedirectView: false,deResParameters: [
{ pathName: 'eamlocations', parameterName: 'eamlocation' },
]
,parameters: [
{ pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'infoview', parameterName: 'infoview' }
]}"
valueitem=
"passetid"
>
<span>
{{row.passetname}}
</span>
</app-column-link
>
</template>
</el-table-column>
</template>
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/widgets/eamlocation/child-grid-grid/child-grid-grid.html
浏览文件 @
b3d8553e
...
...
@@ -31,7 +31,14 @@
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.peamlocationname}}
</span>
<app-column-link
deKeyField=
'eamlocation'
:context=
"JSON.parse(JSON.stringify(context))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:data=
"row"
:linkview=
"{viewname: 'eamlocation-info-view', height: 0,width: 0,title: $t('entities.eamlocation.views.infoview.title'),placement: '', isRedirectView: false,deResParameters: [
]
,parameters: [
{ pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'infoview', parameterName: 'infoview' }
]}"
valueitem=
"peamlocationid"
>
<span>
{{row.peamlocationname}}
</span>
</app-column-link
>
</template>
</el-table-column>
</template>
...
...
@@ -55,7 +62,14 @@
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.eamlocationname}}
</span>
<app-column-link
deKeyField=
'eamlocation'
:context=
"JSON.parse(JSON.stringify(context))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:data=
"row"
:linkview=
"{viewname: 'eamlocation-info-view', height: 0,width: 0,title: $t('entities.eamlocation.views.infoview.title'),placement: '', isRedirectView: false,deResParameters: [
]
,parameters: [
{ pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'infoview', parameterName: 'infoview' }
]}"
valueitem=
"srfkey"
>
<span>
{{row.eamlocationname}}
</span>
</app-column-link
>
</template>
</el-table-column>
</template>
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/widgets/eamlocation/info-main-form/info-main-form-base.tsx
浏览文件 @
b3d8553e
...
...
@@ -78,6 +78,7 @@ export class Info_MainEditFormBase extends EditFormControlBase {
eamlocationtypename
:
null
,
peamlocationname
:
null
,
eamlocationid
:
null
,
peamlocationid
:
null
,
eamlocation
:
null
,
};
...
...
@@ -136,5 +137,7 @@ export class Info_MainEditFormBase extends EditFormControlBase {
eamlocationid
:
new
FormItemModel
({
caption
:
'功能位置标识'
,
detailType
:
'FORMITEM'
,
name
:
'eamlocationid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
peamlocationid
:
new
FormItemModel
({
caption
:
'上级功能位置标识'
,
detailType
:
'FORMITEM'
,
name
:
'peamlocationid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
};
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/widgets/eamlocation/info-main-form/info-main-form-model.ts
浏览文件 @
b3d8553e
...
...
@@ -80,6 +80,11 @@ export default class Info_MainModel {
prop
:
'eamlocationid'
,
dataType
:
'GUID'
,
},
{
name
:
'peamlocationid'
,
prop
:
'peamlocationid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'eamlocation'
,
prop
:
'eamlocationid'
,
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/widgets/eamlocation/info-main-form/info-main-form-service.ts
浏览文件 @
b3d8553e
...
...
@@ -82,6 +82,9 @@ export default class Info_MainService extends ControlService {
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
data
.
page
=
data
.
page
?
data
.
page
:
0
;
data
.
size
=
data
.
size
?
data
.
size
:
1000
;
if
(
Object
.
is
(
serviceName
,
'EAMLocationService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
appEntityService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'eamlocationid'
,
'eamlocation'
);
}
return
Promise
.
reject
([])
}
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/widgets/eamlocation/info-main-form/info-main-form.html
浏览文件 @
b3d8553e
...
...
@@ -39,9 +39,24 @@
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.peamlocationname.visible"
:style=
"{}"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 8, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'peamlocationname'
:itemRules=
"this.rules.peamlocationname"
class=
''
:caption=
"$t('entities.eamlocation.info_main_form.details.peamlocationname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.peamlocationname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'peamlocationname'
:value=
"data.peamlocationname"
dataType=
"PICKUPTEXT"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.peamlocationname.disabled"
name=
'peamlocationname'
deMajorField=
'eamlocationname'
deKeyField=
'eamlocation'
valueitem=
'peamlocationid'
:value=
"data.peamlocationname"
editortype=
"linkonly"
:linkview=
"{ viewname: 'EAMLocationInfoView', title: $t('entities.eamlocation.views.infoview.title'), deResParameters: [], parameters: [{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'infoview', parameterName: 'infoview' } ], width: 0, height: 0, placement: '', isRedirectView: false }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange"
>
</app-picker>
</app-form-item>
...
...
This diff is collapsed.
Click to expand it.
app_AssetManagement/src/widgets/eamlocation/main-grid/main-grid.html
浏览文件 @
b3d8553e
...
...
@@ -43,7 +43,14 @@
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.eamlocationname}}
</span>
<app-column-link
deKeyField=
'eamlocation'
:context=
"JSON.parse(JSON.stringify(context))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:data=
"row"
:linkview=
"{viewname: 'eamlocation-info-view', height: 0,width: 0,title: $t('entities.eamlocation.views.infoview.title'),placement: '', isRedirectView: false,deResParameters: [
]
,parameters: [
{ pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'infoview', parameterName: 'infoview' }
]}"
valueitem=
"srfkey"
>
<span>
{{row.eamlocationname}}
</span>
</app-column-link
>
</template>
</el-table-column>
</template>
...
...
@@ -67,7 +74,14 @@
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.peamlocationname}}
</span>
<app-column-link
deKeyField=
'eamlocation'
:context=
"JSON.parse(JSON.stringify(context))"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:data=
"row"
:linkview=
"{viewname: 'eamlocation-info-view', height: 0,width: 0,title: $t('entities.eamlocation.views.infoview.title'),placement: '', isRedirectView: false,deResParameters: [
]
,parameters: [
{ pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'infoview', parameterName: 'infoview' }
]}"
valueitem=
"peamlocationid"
>
<span>
{{row.peamlocationname}}
</span>
</app-column-link
>
</template>
</el-table-column>
</template>
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录