Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
资
资产管理
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
资产管理
提交
929a93b9
提交
929a93b9
编写于
8月 02, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 部署微服务应用
上级
3b1e7c6e
变更
49
隐藏空白字符变更
内嵌
并排
正在显示
49 个修改的文件
包含
3508 行增加
和
357 行删除
+3508
-357
view-config.json
app_AssetManagement/public/assets/json/view-config.json
+50
-0
eamasset-type_en_US.ts
...cale/lanres/entities/eamasset-type/eamasset-type_en_US.ts
+8
-0
eamasset-type_zh_CN.ts
...cale/lanres/entities/eamasset-type/eamasset-type_zh_CN.ts
+8
-0
eamasset_en_US.ts
...ent/src/locale/lanres/entities/eamasset/eamasset_en_US.ts
+62
-19
eamasset_zh_CN.ts
...ent/src/locale/lanres/entities/eamasset/eamasset_zh_CN.ts
+60
-17
viewconfig.ts
app_AssetManagement/src/mock/viewconfig/viewconfig.ts
+40
-0
eamasset-grid-view-base.tsx
...ages/asset/eamasset-grid-view/eamasset-grid-view-base.tsx
+26
-33
eamasset-pickup-view-base.tsx
.../asset/eamasset-pickup-view/eamasset-pickup-view-base.tsx
+170
-0
eamasset-pickup-view.html
...ages/asset/eamasset-pickup-view/eamasset-pickup-view.html
+25
-0
eamasset-pickup-view.vue
...pages/asset/eamasset-pickup-view/eamasset-pickup-view.vue
+22
-0
eamasset-quick-create-view-base.tsx
...set-quick-create-view/eamasset-quick-create-view-base.tsx
+171
-0
eamasset-quick-create-view.html
...amasset-quick-create-view/eamasset-quick-create-view.html
+34
-0
eamasset-quick-create-view.vue
...eamasset-quick-create-view/eamasset-quick-create-view.vue
+22
-0
eamasset-type-pickup-grid-view-base.tsx
...-pickup-grid-view/eamasset-type-pickup-grid-view-base.tsx
+221
-0
eamasset-type-pickup-grid-view.html
...type-pickup-grid-view/eamasset-type-pickup-grid-view.html
+44
-0
eamasset-type-pickup-grid-view.vue
...-type-pickup-grid-view/eamasset-type-pickup-grid-view.vue
+24
-0
eamasset-type-pickup-view-base.tsx
...asset-type-pickup-view/eamasset-type-pickup-view-base.tsx
+170
-0
eamasset-type-pickup-view.html
.../eamasset-type-pickup-view/eamasset-type-pickup-view.html
+25
-0
eamasset-type-pickup-view.vue
...t/eamasset-type-pickup-view/eamasset-type-pickup-view.vue
+22
-0
page-register.ts
...Management/src/pages/base/app-index-view/page-register.ts
+30
-25
router.ts
app_AssetManagement/src/pages/base/app-index-view/router.ts
+364
-249
state.ts
app_AssetManagement/src/store/modules/view-action/state.ts
+49
-1
eamasset-type-ui-service-base.ts
.../uiservice/eamasset-type/eamasset-type-ui-service-base.ts
+2
-0
eamasset-ui-service-base.ts
...gement/src/uiservice/eamasset/eamasset-ui-service-base.ts
+128
-0
pickup-viewpickupviewpanel-pickupviewpanel-base.tsx
...panel/pickup-viewpickupviewpanel-pickupviewpanel-base.tsx
+256
-0
pickup-viewpickupviewpanel-pickupviewpanel-model.ts
...panel/pickup-viewpickupviewpanel-pickupviewpanel-model.ts
+49
-0
pickup-viewpickupviewpanel-pickupviewpanel-service.ts
...nel/pickup-viewpickupviewpanel-pickupviewpanel-service.ts
+11
-0
pickup-viewpickupviewpanel-pickupviewpanel.html
...viewpanel/pickup-viewpickupviewpanel-pickupviewpanel.html
+16
-0
pickup-viewpickupviewpanel-pickupviewpanel.less
...viewpanel/pickup-viewpickupviewpanel-pickupviewpanel.less
+3
-0
pickup-viewpickupviewpanel-pickupviewpanel.vue
...pviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.vue
+22
-0
child-grid-grid-model.ts
...widgets/eamasset/child-grid-grid/child-grid-grid-model.ts
+28
-0
default-searchform-base.tsx
...s/eamasset/default-searchform/default-searchform-base.tsx
+18
-0
default-searchform-model.ts
...s/eamasset/default-searchform/default-searchform-model.ts
+26
-0
default-searchform-service.ts
...eamasset/default-searchform/default-searchform-service.ts
+24
-0
default-searchform.html
...dgets/eamasset/default-searchform/default-searchform.html
+66
-1
main-grid-model.ts
...agement/src/widgets/eamasset/main-grid/main-grid-model.ts
+28
-0
pickup-viewpickupviewpanel-pickupviewpanel-base.tsx
...panel/pickup-viewpickupviewpanel-pickupviewpanel-base.tsx
+256
-0
pickup-viewpickupviewpanel-pickupviewpanel-model.ts
...panel/pickup-viewpickupviewpanel-pickupviewpanel-model.ts
+67
-0
pickup-viewpickupviewpanel-pickupviewpanel-service.ts
...nel/pickup-viewpickupviewpanel-pickupviewpanel-service.ts
+11
-0
pickup-viewpickupviewpanel-pickupviewpanel.html
...viewpanel/pickup-viewpickupviewpanel-pickupviewpanel.html
+16
-0
pickup-viewpickupviewpanel-pickupviewpanel.less
...viewpanel/pickup-viewpickupviewpanel-pickupviewpanel.less
+3
-0
pickup-viewpickupviewpanel-pickupviewpanel.vue
...pviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.vue
+22
-0
quick-create-form-base.tsx
...ets/eamasset/quick-create-form/quick-create-form-base.tsx
+152
-0
quick-create-form-model.ts
...ets/eamasset/quick-create-form/quick-create-form-model.ts
+111
-0
quick-create-form-service.ts
...s/eamasset/quick-create-form/quick-create-form-service.ts
+398
-0
quick-create-form.html
...widgets/eamasset/quick-create-form/quick-create-form.html
+107
-0
quick-create-form.vue
.../widgets/eamasset/quick-create-form/quick-create-form.vue
+22
-0
EAMAssetSearchContext.java
...etmanagement/core/asset/filter/EAMAssetSearchContext.java
+7
-0
h2_table.xml
...management-core/src/main/resources/liquibase/h2_table.xml
+12
-12
未找到文件。
app_AssetManagement/public/assets/json/view-config.json
浏览文件 @
929a93b9
...
...
@@ -149,6 +149,16 @@
"viewtag"
:
"4db903dc10459c98d4834775020d8b74"
,
"memo"
:
""
},
"eamassettypepickupgridview"
:
{
"title"
:
"资产类型选择表格视图"
,
"caption"
:
"资产类型"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Asset"
,
"viewname"
:
"EAMAssetTypePickupGridView"
,
"viewfilename"
:
"eamasset-type-pickup-grid-view"
,
"viewtag"
:
"58b301299902245cdd7dfd5ae23545b4"
,
"memo"
:
"系统自动添加"
},
"eamapplystategridview"
:
{
"title"
:
"维护申请状态表格视图"
,
"caption"
:
"维护申请状态"
,
...
...
@@ -189,6 +199,16 @@
"viewtag"
:
"6c816d46a07d56b2a9afca077d9bbfc3"
,
"memo"
:
""
},
"eamassettypepickupview"
:
{
"title"
:
"资产类型数据选择视图"
,
"caption"
:
"资产类型"
,
"viewtype"
:
"DEPICKUPVIEW"
,
"viewmodule"
:
"Asset"
,
"viewname"
:
"EAMAssetTypePickupView"
,
"viewfilename"
:
"eamasset-type-pickup-view"
,
"viewtag"
:
"72c39b4fb4834276ae3933be232a2c90"
,
"memo"
:
"系统自动添加"
},
"eamlocationstatemodeleditview"
:
{
"title"
:
"功能位置状态模型信息"
,
"caption"
:
"功能位置状态模型"
,
...
...
@@ -199,6 +219,16 @@
"viewtag"
:
"7bf1327f579d782d5cdb98528999a5e0"
,
"memo"
:
"系统自动添加"
},
"eamassetpickupview"
:
{
"title"
:
"资产数据选择视图"
,
"caption"
:
"资产"
,
"viewtype"
:
"DEPICKUPVIEW"
,
"viewmodule"
:
"Asset"
,
"viewname"
:
"EAMAssetPickupView"
,
"viewfilename"
:
"eamasset-pickup-view"
,
"viewtag"
:
"906130a9861c2b0cff3173c9e171c1d1"
,
"memo"
:
"系统自动添加"
},
"eamlocationstatemodelgridview"
:
{
"title"
:
"功能位置状态模型信息"
,
"caption"
:
"功能位置状态模型"
,
...
...
@@ -329,6 +359,16 @@
"viewtag"
:
"bb8b4b03a77ed63b8eb4ef3d62b669a6"
,
"memo"
:
"系统自动添加"
},
"eamassetquickcreateview"
:
{
"title"
:
"资产快速新建视图"
,
"caption"
:
"资产"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Asset"
,
"viewname"
:
"EAMAssetQuickCreateView"
,
"viewfilename"
:
"eamasset-quick-create-view"
,
"viewtag"
:
"bcdc34d8df9323426a402ba7b111fef2"
,
"memo"
:
""
},
"eamassetlocationassetgridview"
:
{
"title"
:
"资产信息"
,
"caption"
:
"资产"
,
...
...
@@ -469,6 +509,16 @@
"viewtag"
:
"f7c04762f2a3e3026c909e6191a0998f"
,
"memo"
:
""
},
"eamassetpickupgridview"
:
{
"title"
:
"资产选择表格视图"
,
"caption"
:
"资产"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Asset"
,
"viewname"
:
"EAMAssetPickupGridView"
,
"viewfilename"
:
"eamasset-pickup-grid-view"
,
"viewtag"
:
"fc2bbe178f6e4ee12ebeb45875b7f87c"
,
"memo"
:
"系统自动添加"
},
"eamassetgridview"
:
{
"title"
:
"资产信息"
,
"caption"
:
"资产"
,
...
...
app_AssetManagement/src/locale/lanres/entities/eamasset-type/eamasset-type_en_US.ts
浏览文件 @
929a93b9
...
...
@@ -12,6 +12,14 @@ export default {
assettypenumber
:
"资产类型编号"
,
},
views
:
{
pickupgridview
:
{
caption
:
"资产类型"
,
title
:
"资产类型选择表格视图"
,
},
pickupview
:
{
caption
:
"资产类型"
,
title
:
"资产类型数据选择视图"
,
},
gridview
:
{
caption
:
"资产类型"
,
title
:
"资产类型信息"
,
...
...
app_AssetManagement/src/locale/lanres/entities/eamasset-type/eamasset-type_zh_CN.ts
浏览文件 @
929a93b9
...
...
@@ -11,6 +11,14 @@ export default {
assettypenumber
:
"资产类型编号"
,
},
views
:
{
pickupgridview
:
{
caption
:
"资产类型"
,
title
:
"资产类型选择表格视图"
,
},
pickupview
:
{
caption
:
"资产类型"
,
title
:
"资产类型数据选择视图"
,
},
gridview
:
{
caption
:
"资产类型"
,
title
:
"资产类型信息"
,
...
...
app_AssetManagement/src/locale/lanres/entities/eamasset/eamasset_en_US.ts
浏览文件 @
929a93b9
...
...
@@ -34,10 +34,18 @@ export default {
caption
:
"资产"
,
title
:
"资产信息"
,
},
pickupview
:
{
caption
:
"资产"
,
title
:
"资产数据选择视图"
,
},
info_mainview
:
{
caption
:
"资产"
,
title
:
"资产信息"
,
},
quickcreateview
:
{
caption
:
"资产"
,
title
:
"资产快速新建视图"
,
},
locationassetgridview
:
{
caption
:
"资产"
,
title
:
"资产信息"
,
...
...
@@ -46,17 +54,19 @@ export default {
caption
:
"资产"
,
title
:
"资产表格视图"
,
},
pickupgridview
:
{
caption
:
"资产"
,
title
:
"资产选择表格视图"
,
},
gridview
:
{
caption
:
"资产"
,
title
:
"资产信息"
,
},
},
main
_form
:
{
quickcreate
_form
:
{
details
:
{
group1
:
"
资产
基本信息"
,
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"资产标识"
,
...
...
@@ -65,6 +75,14 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
assetnumber
:
"资产编号"
,
assetname
:
"资产名称"
,
eamassettypename
:
"资产类型"
,
eamlocationname
:
"功能位置"
,
passetname
:
"上级资产"
,
eamlocationid
:
"功能位置标识"
,
eamassettypeid
:
"资产类型标识"
,
passetid
:
"上级资产标识"
,
assetid
:
"资产标识"
,
},
uiactions
:
{
...
...
@@ -92,6 +110,25 @@ export default {
uiactions
:
{
},
},
main_form
:
{
details
:
{
group1
:
"资产基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"资产标识"
,
srfmajortext
:
"资产名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
assetid
:
"资产标识"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
assetnumber
:
"资产编号"
,
...
...
@@ -119,17 +156,23 @@ export default {
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_assetnumber_like
:
"资产编号(文本包含(%))"
,
n_assetname_like
:
"资产名称(文本包含(%))"
,
n_eamassettypename_eq
:
"资产类型(等于(=))"
,
n_eamlocationname_eq
:
"功能位置(等于(=))"
,
n_eamlocationid_eq
:
""
,
n_eamassettypeid_eq
:
""
,
},
uiactions
:
{
},
},
gridviewtoolbar_toolbar
:
{
tbitem
5
:
{
caption
:
"
New
"
,
tip
:
"
New
"
,
tbitem
12_openquickcreateview
:
{
caption
:
"
新建
"
,
tip
:
"
新建
"
,
},
seperator1
:
{
caption
:
""
,
tbitem14
:
{
caption
:
"
-
"
,
tip
:
""
,
},
tbitem2
:
{
...
...
@@ -169,16 +212,6 @@ export default {
tip
:
"Filter"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem2
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
childgridviewtoolbar_toolbar
:
{
tbitem5
:
{
caption
:
"New"
,
...
...
@@ -225,6 +258,16 @@ export default {
tip
:
"Filter"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem2
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
locationassetgridviewtoolbar_toolbar
:
{
tbitem5
:
{
caption
:
"New"
,
...
...
app_AssetManagement/src/locale/lanres/entities/eamasset/eamasset_zh_CN.ts
浏览文件 @
929a93b9
...
...
@@ -33,10 +33,18 @@ export default {
caption
:
"资产"
,
title
:
"资产信息"
,
},
pickupview
:
{
caption
:
"资产"
,
title
:
"资产数据选择视图"
,
},
info_mainview
:
{
caption
:
"资产"
,
title
:
"资产信息"
,
},
quickcreateview
:
{
caption
:
"资产"
,
title
:
"资产快速新建视图"
,
},
locationassetgridview
:
{
caption
:
"资产"
,
title
:
"资产信息"
,
...
...
@@ -45,17 +53,19 @@ export default {
caption
:
"资产"
,
title
:
"资产表格视图"
,
},
pickupgridview
:
{
caption
:
"资产"
,
title
:
"资产选择表格视图"
,
},
gridview
:
{
caption
:
"资产"
,
title
:
"资产信息"
,
},
},
main
_form
:
{
quickcreate
_form
:
{
details
:
{
group1
:
"
资产
基本信息"
,
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"资产标识"
,
...
...
@@ -64,6 +74,14 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
assetnumber
:
"资产编号"
,
assetname
:
"资产名称"
,
eamassettypename
:
"资产类型"
,
eamlocationname
:
"功能位置"
,
passetname
:
"上级资产"
,
eamlocationid
:
"功能位置标识"
,
eamassettypeid
:
"资产类型标识"
,
passetid
:
"上级资产标识"
,
assetid
:
"资产标识"
,
},
uiactions
:
{
...
...
@@ -91,6 +109,25 @@ export default {
uiactions
:
{
},
},
main_form
:
{
details
:
{
group1
:
"资产基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"资产标识"
,
srfmajortext
:
"资产名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
assetid
:
"资产标识"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
assetnumber
:
"资产编号"
,
...
...
@@ -118,17 +155,23 @@ export default {
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_assetnumber_like
:
"资产编号(文本包含(%))"
,
n_assetname_like
:
"资产名称(文本包含(%))"
,
n_eamassettypename_eq
:
"资产类型(等于(=))"
,
n_eamlocationname_eq
:
"功能位置(等于(=))"
,
n_eamlocationid_eq
:
""
,
n_eamassettypeid_eq
:
""
,
},
uiactions
:
{
},
},
gridviewtoolbar_toolbar
:
{
tbitem
5
:
{
tbitem
12_openquickcreateview
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
seperator1
:
{
caption
:
""
,
tbitem14
:
{
caption
:
"
-
"
,
tip
:
""
,
},
tbitem2
:
{
...
...
@@ -168,16 +211,6 @@ export default {
tip
:
"过滤"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem2
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
tbitem1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
childgridviewtoolbar_toolbar
:
{
tbitem5
:
{
caption
:
"新建"
,
...
...
@@ -224,6 +257,16 @@ export default {
tip
:
"过滤"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem2
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
tbitem1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
locationassetgridviewtoolbar_toolbar
:
{
tbitem5
:
{
caption
:
"新建"
,
...
...
app_AssetManagement/src/mock/viewconfig/viewconfig.ts
浏览文件 @
929a93b9
...
...
@@ -127,6 +127,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"EAMAssetSummaryView"
,
"viewtag"
:
"4db903dc10459c98d4834775020d8b74"
},
"eamassettypepickupgridview"
:
{
"title"
:
"资产类型选择表格视图"
,
"caption"
:
"资产类型"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Asset"
,
"viewname"
:
"EAMAssetTypePickupGridView"
,
"viewtag"
:
"58b301299902245cdd7dfd5ae23545b4"
},
"eamapplystategridview"
:
{
"title"
:
"维护申请状态表格视图"
,
"caption"
:
"维护申请状态"
,
...
...
@@ -159,6 +167,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"EAMAssetInfoView"
,
"viewtag"
:
"6c816d46a07d56b2a9afca077d9bbfc3"
},
"eamassettypepickupview"
:
{
"title"
:
"资产类型数据选择视图"
,
"caption"
:
"资产类型"
,
"viewtype"
:
"DEPICKUPVIEW"
,
"viewmodule"
:
"Asset"
,
"viewname"
:
"EAMAssetTypePickupView"
,
"viewtag"
:
"72c39b4fb4834276ae3933be232a2c90"
},
"eamlocationstatemodeleditview"
:
{
"title"
:
"功能位置状态模型信息"
,
"caption"
:
"功能位置状态模型"
,
...
...
@@ -167,6 +183,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"EAMLocationStateModelEditView"
,
"viewtag"
:
"7bf1327f579d782d5cdb98528999a5e0"
},
"eamassetpickupview"
:
{
"title"
:
"资产数据选择视图"
,
"caption"
:
"资产"
,
"viewtype"
:
"DEPICKUPVIEW"
,
"viewmodule"
:
"Asset"
,
"viewname"
:
"EAMAssetPickupView"
,
"viewtag"
:
"906130a9861c2b0cff3173c9e171c1d1"
},
"eamlocationstatemodelgridview"
:
{
"title"
:
"功能位置状态模型信息"
,
"caption"
:
"功能位置状态模型"
,
...
...
@@ -271,6 +295,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"EAMLocationStateModelPickupGridView"
,
"viewtag"
:
"bb8b4b03a77ed63b8eb4ef3d62b669a6"
},
"eamassetquickcreateview"
:
{
"title"
:
"资产快速新建视图"
,
"caption"
:
"资产"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Asset"
,
"viewname"
:
"EAMAssetQuickCreateView"
,
"viewtag"
:
"bcdc34d8df9323426a402ba7b111fef2"
},
"eamassetlocationassetgridview"
:
{
"title"
:
"资产信息"
,
"caption"
:
"资产"
,
...
...
@@ -383,6 +415,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"EAMLocationStateGridView"
,
"viewtag"
:
"f7c04762f2a3e3026c909e6191a0998f"
},
"eamassetpickupgridview"
:
{
"title"
:
"资产选择表格视图"
,
"caption"
:
"资产"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Asset"
,
"viewname"
:
"EAMAssetPickupGridView"
,
"viewtag"
:
"fc2bbe178f6e4ee12ebeb45875b7f87c"
},
"eamassetgridview"
:
{
"title"
:
"资产信息"
,
"caption"
:
"资产"
,
...
...
app_AssetManagement/src/pages/asset/eamasset-grid-view/eamasset-grid-view-base.tsx
浏览文件 @
929a93b9
...
...
@@ -103,9 +103,9 @@ export class EAMAssetGridViewBase extends GridViewBase {
* @memberof EAMAssetGridView
*/
public
toolBarModels
:
any
=
{
tbitem
5
:
{
name
:
'tbitem5'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-file-text-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
'
'
,
class
:
''
}
},
tbitem
12_openquickcreateview
:
{
name
:
'tbitem12_openquickcreateview'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-file-text-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenQuickCreateView'
,
target
:
'NONE
'
,
class
:
''
}
},
seperator1
:
{
name
:
'seperator1
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem14
:
{
name
:
'tbitem14
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem2
:
{
name
:
'tbitem2'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
@@ -174,8 +174,8 @@ export class EAMAssetGridViewBase extends GridViewBase {
* @memberof EAMAssetGridViewBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem
5
'
))
{
this
.
toolbar_tbitem
5
_click
(
null
,
''
,
$event2
);
if
(
Object
.
is
(
$event
.
tag
,
'tbitem
12_openquickcreateview
'
))
{
this
.
toolbar_tbitem
12_openquickcreateview
_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem2'
))
{
this
.
toolbar_tbitem2_click
(
null
,
''
,
$event2
);
...
...
@@ -293,7 +293,7 @@ export class EAMAssetGridViewBase extends GridViewBase {
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem
5
_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
toolbar_tbitem
12_openquickcreateview
_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
...
...
@@ -310,7 +310,8 @@ export class EAMAssetGridViewBase extends GridViewBase {
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"EAMAsset"
);
const
curUIService
:
EAMAssetUIService
=
new
EAMAssetUIService
();
curUIService
.
EAMAsset_OpenQuickCreateView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"EAMAsset"
);
}
/**
...
...
@@ -511,16 +512,28 @@ export class EAMAssetGridViewBase extends GridViewBase {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
_data
:
any
=
{
w
:
(
new
Date
().
getTime
())
};
Object
.
assign
(
_data
,
data
);
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
_data
);
this
.
$router
.
push
(
routePath
);
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
openIndexViewTab
(
data
);
const
view
:
any
=
{
viewname
:
'eamasset-quick-create-view'
,
height
:
0
,
width
:
0
,
title
:
this
.
$t
(
'entities.eamasset.views.quickcreateview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
@@ -561,26 +574,6 @@ export class EAMAssetGridViewBase extends GridViewBase {
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof EAMAssetGridViewBase
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 编辑
*
...
...
app_AssetManagement/src/pages/asset/eamasset-pickup-view/eamasset-pickup-view-base.tsx
0 → 100644
浏览文件 @
929a93b9
import
{
Subject
}
from
'rxjs'
;
import
{
PickupViewBase
}
from
'@/studio-core'
;
import
EAMAssetService
from
'@/service/eamasset/eamasset-service'
;
import
EAMAssetAuthService
from
'@/authservice/eamasset/eamasset-auth-service'
;
import
PickupViewEngine
from
'@engine/view/pickup-view-engine'
;
import
EAMAssetUIService
from
'@/uiservice/eamasset/eamasset-ui-service'
;
/**
* 资产数据选择视图视图基类
*
* @export
* @class EAMAssetPickupViewBase
* @extends {PickupViewBase}
*/
export
class
EAMAssetPickupViewBase
extends
PickupViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMAssetPickupViewBase
*/
protected
appDeName
:
string
=
'eamasset'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMAssetPickupViewBase
*/
protected
appDeKey
:
string
=
'assetid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMAssetPickupViewBase
*/
protected
appDeMajor
:
string
=
'assetname'
;
/**
* 实体服务对象
*
* @type {EAMAssetService}
* @memberof EAMAssetPickupViewBase
*/
protected
appEntityService
:
EAMAssetService
=
new
EAMAssetService
;
/**
* 实体权限服务对象
*
* @type EAMAssetUIService
* @memberof EAMAssetPickupViewBase
*/
public
appUIService
:
EAMAssetUIService
=
new
EAMAssetUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMAssetPickupViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMAssetPickupViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.eamasset.views.pickupview.caption'
,
srfTitle
:
'entities.eamasset.views.pickupview.title'
,
srfSubTitle
:
'entities.eamasset.views.pickupview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMAssetPickupViewBase
*/
protected
containerModel
:
any
=
{
view_pickupviewpanel
:
{
name
:
'pickupviewpanel'
,
type
:
'PICKUPVIEWPANEL'
},
view_okbtn
:
{
name
:
'okbtn'
,
type
:
'button'
,
text
:
'确定'
,
disabled
:
true
},
view_cancelbtn
:
{
name
:
'cancelbtn'
,
type
:
'button'
,
text
:
'取消'
,
disabled
:
false
},
view_leftbtn
:
{
name
:
'leftbtn'
,
type
:
'button'
,
text
:
'左移'
,
disabled
:
true
},
view_rightbtn
:
{
name
:
'rightbtn'
,
type
:
'button'
,
text
:
'右移'
,
disabled
:
true
},
view_allleftbtn
:
{
name
:
'allleftbtn'
,
type
:
'button'
,
text
:
'全部左移'
,
disabled
:
true
},
view_allrightbtn
:
{
name
:
'allrightbtn'
,
type
:
'button'
,
text
:
'全部右移'
,
disabled
:
true
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'906130a9861c2b0cff3173c9e171c1d1'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMAssetPickupViewBase
*/
public
engine
:
PickupViewEngine
=
new
PickupViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof EAMAssetPickupViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
pickupviewpanel
:
this
.
$refs
.
pickupviewpanel
,
keyPSDEField
:
'eamasset'
,
majorPSDEField
:
'assetname'
,
isLoadDefault
:
true
,
});
}
/**
* pickupviewpanel 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetPickupViewBase
*/
public
pickupviewpanel_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'selectionchange'
,
$event
);
}
/**
* pickupviewpanel 部件 activated 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetPickupViewBase
*/
public
pickupviewpanel_activated
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'activated'
,
$event
);
}
/**
* pickupviewpanel 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetPickupViewBase
*/
public
pickupviewpanel_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'load'
,
$event
);
}
}
\ No newline at end of file
app_AssetManagement/src/pages/asset/eamasset-pickup-view/eamasset-pickup-view.html
0 → 100644
浏览文件 @
929a93b9
<studio-view-style2
viewName=
"eamassetpickupview"
viewTitle=
"资产数据选择视图"
class=
'depickupview eamasset-pickup-view'
>
<div
class=
"content-container pickup-view"
>
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
load=
"pickupviewpanel_load($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
</div>
<template
slot=
"footer"
>
<div
v-if=
"isShowButton"
:style=
"{ textAlign: 'right' }"
>
<i-button
type=
"primary"
:disabled=
"this.viewSelections.length > 0 ? false : true"
@
click=
"onClickOk.apply(_self, arguments)"
>
{{this.containerModel.view_okbtn.text}}
</i-button>
<i-button
@
click=
"onClickCancel.apply(_self, arguments)"
>
{{this.containerModel.view_cancelbtn.text}}
</i-button>
</div>
</template>
</studio-view-style2>
\ No newline at end of file
app_AssetManagement/src/pages/asset/eamasset-pickup-view/eamasset-pickup-view.vue
0 → 100644
浏览文件 @
929a93b9
<
template
src=
"./eamasset-pickup-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMAssetPickupViewBase } from './eamasset-pickup-view-base';
import view_pickupviewpanel from '@widgets/eamasset/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.vue';
/**
* 资产数据选择视图视图
*
* @export
* @class EAMAssetPickupView
* @extends {EAMAssetPickupViewBase}
*/
@Component({
components: {
view_pickupviewpanel,
}
})
@VueLifeCycleProcessing()
export default class EAMAssetPickupView extends EAMAssetPickupViewBase { }
</script>
app_AssetManagement/src/pages/asset/eamasset-quick-create-view/eamasset-quick-create-view-base.tsx
0 → 100644
浏览文件 @
929a93b9
import
{
Subject
}
from
'rxjs'
;
import
{
OptionViewBase
}
from
'@/studio-core'
;
import
EAMAssetService
from
'@/service/eamasset/eamasset-service'
;
import
EAMAssetAuthService
from
'@/authservice/eamasset/eamasset-auth-service'
;
import
OptionViewEngine
from
'@engine/view/option-view-engine'
;
import
EAMAssetUIService
from
'@/uiservice/eamasset/eamasset-ui-service'
;
/**
* 资产快速新建视图视图基类
*
* @export
* @class EAMAssetQuickCreateViewBase
* @extends {OptionViewBase}
*/
export
class
EAMAssetQuickCreateViewBase
extends
OptionViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMAssetQuickCreateViewBase
*/
protected
appDeName
:
string
=
'eamasset'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMAssetQuickCreateViewBase
*/
protected
appDeKey
:
string
=
'assetid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMAssetQuickCreateViewBase
*/
protected
appDeMajor
:
string
=
'assetname'
;
/**
* 实体服务对象
*
* @type {EAMAssetService}
* @memberof EAMAssetQuickCreateViewBase
*/
protected
appEntityService
:
EAMAssetService
=
new
EAMAssetService
;
/**
* 实体权限服务对象
*
* @type EAMAssetUIService
* @memberof EAMAssetQuickCreateViewBase
*/
public
appUIService
:
EAMAssetUIService
=
new
EAMAssetUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMAssetQuickCreateViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMAssetQuickCreateViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.eamasset.views.quickcreateview.caption'
,
srfTitle
:
'entities.eamasset.views.quickcreateview.title'
,
srfSubTitle
:
'entities.eamasset.views.quickcreateview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMAssetQuickCreateViewBase
*/
protected
containerModel
:
any
=
{
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
view_okbtn
:
{
name
:
'okbtn'
,
type
:
'button'
,
text
:
'确定'
,
disabled
:
true
},
view_cancelbtn
:
{
name
:
'cancelbtn'
,
type
:
'button'
,
text
:
'取消'
,
disabled
:
false
},
view_leftbtn
:
{
name
:
'leftbtn'
,
type
:
'button'
,
text
:
'左移'
,
disabled
:
true
},
view_rightbtn
:
{
name
:
'rightbtn'
,
type
:
'button'
,
text
:
'右移'
,
disabled
:
true
},
view_allleftbtn
:
{
name
:
'allleftbtn'
,
type
:
'button'
,
text
:
'全部左移'
,
disabled
:
true
},
view_allrightbtn
:
{
name
:
'allrightbtn'
,
type
:
'button'
,
text
:
'全部右移'
,
disabled
:
true
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'bcdc34d8df9323426a402ba7b111fef2'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMAssetQuickCreateViewBase
*/
public
engine
:
OptionViewEngine
=
new
OptionViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof EAMAssetQuickCreateViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
form
:
this
.
$refs
.
form
,
p2k
:
'0'
,
keyPSDEField
:
'eamasset'
,
majorPSDEField
:
'assetname'
,
isLoadDefault
:
true
,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetQuickCreateViewBase
*/
public
form_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'save'
,
$event
);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetQuickCreateViewBase
*/
public
form_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'remove'
,
$event
);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetQuickCreateViewBase
*/
public
form_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
}
\ No newline at end of file
app_AssetManagement/src/pages/asset/eamasset-quick-create-view/eamasset-quick-create-view.html
0 → 100644
浏览文件 @
929a93b9
<studio-view-style2
viewName=
"eamassetquickcreateview"
viewTitle=
"资产快速新建视图"
class=
'deoptview eamasset-quick-create-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"form"
ref=
'form'
@
save=
"form_save($event)"
@
remove=
"form_remove($event)"
@
load=
"form_load($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
<template
slot=
"footer"
>
<div
class=
"option-view-footer-actions"
>
<i-button
type=
'primary'
@
click=
"onClickOk.apply(_self, arguments)"
>
{{ containerModel.view_okbtn.text }}
</i-button>
<i-button
@
click=
"onClickCancel.apply(_self, arguments)"
>
{{ containerModel.view_cancelbtn.text }}
</i-button>
</div>
</template>
</studio-view-style2>
\ No newline at end of file
app_AssetManagement/src/pages/asset/eamasset-quick-create-view/eamasset-quick-create-view.vue
0 → 100644
浏览文件 @
929a93b9
<
template
src=
"./eamasset-quick-create-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMAssetQuickCreateViewBase } from './eamasset-quick-create-view-base';
import view_form from '@widgets/eamasset/quick-create-form/quick-create-form.vue';
/**
* 资产快速新建视图视图
*
* @export
* @class EAMAssetQuickCreateView
* @extends {EAMAssetQuickCreateViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class EAMAssetQuickCreateView extends EAMAssetQuickCreateViewBase { }
</script>
app_AssetManagement/src/pages/asset/eamasset-type-pickup-grid-view/eamasset-type-pickup-grid-view-base.tsx
0 → 100644
浏览文件 @
929a93b9
import
{
Subject
}
from
'rxjs'
;
import
{
PickupGridViewBase
}
from
'@/studio-core'
;
import
EAMAssetTypeService
from
'@/service/eamasset-type/eamasset-type-service'
;
import
EAMAssetTypeAuthService
from
'@/authservice/eamasset-type/eamasset-type-auth-service'
;
import
PickupGridViewEngine
from
'@engine/view/pickup-grid-view-engine'
;
import
EAMAssetTypeUIService
from
'@/uiservice/eamasset-type/eamasset-type-ui-service'
;
/**
* 资产类型选择表格视图视图基类
*
* @export
* @class EAMAssetTypePickupGridViewBase
* @extends {PickupGridViewBase}
*/
export
class
EAMAssetTypePickupGridViewBase
extends
PickupGridViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMAssetTypePickupGridViewBase
*/
protected
appDeName
:
string
=
'eamassettype'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMAssetTypePickupGridViewBase
*/
protected
appDeKey
:
string
=
'eamassettypeid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMAssetTypePickupGridViewBase
*/
protected
appDeMajor
:
string
=
'eamassettypename'
;
/**
* 实体服务对象
*
* @type {EAMAssetTypeService}
* @memberof EAMAssetTypePickupGridViewBase
*/
protected
appEntityService
:
EAMAssetTypeService
=
new
EAMAssetTypeService
;
/**
* 实体权限服务对象
*
* @type EAMAssetTypeUIService
* @memberof EAMAssetTypePickupGridViewBase
*/
public
appUIService
:
EAMAssetTypeUIService
=
new
EAMAssetTypeUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMAssetTypePickupGridViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMAssetTypePickupGridViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.eamassettype.views.pickupgridview.caption'
,
srfTitle
:
'entities.eamassettype.views.pickupgridview.title'
,
srfSubTitle
:
'entities.eamassettype.views.pickupgridview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMAssetTypePickupGridViewBase
*/
protected
containerModel
:
any
=
{
view_grid
:
{
name
:
'grid'
,
type
:
'GRID'
},
view_searchform
:
{
name
:
'searchform'
,
type
:
'SEARCHFORM'
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'58b301299902245cdd7dfd5ae23545b4'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMAssetTypePickupGridViewBase
*/
public
engine
:
PickupGridViewEngine
=
new
PickupGridViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof EAMAssetTypePickupGridViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
grid
:
this
.
$refs
.
grid
,
searchform
:
this
.
$refs
.
searchform
,
keyPSDEField
:
'eamassettype'
,
majorPSDEField
:
'eamassettypename'
,
isLoadDefault
:
true
,
});
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTypePickupGridViewBase
*/
public
grid_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'selectionchange'
,
$event
);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTypePickupGridViewBase
*/
public
grid_beforeload
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'beforeload'
,
$event
);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTypePickupGridViewBase
*/
public
grid_rowdblclick
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'rowdblclick'
,
$event
);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTypePickupGridViewBase
*/
public
grid_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'load'
,
$event
);
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTypePickupGridViewBase
*/
public
searchform_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'save'
,
$event
);
}
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTypePickupGridViewBase
*/
public
searchform_search
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'search'
,
$event
);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTypePickupGridViewBase
*/
public
searchform_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'load'
,
$event
);
}
/**
* 是否展开搜索表单
*
* @protected
* @type {boolean}
* @memberof EAMAssetTypePickupGridViewBase
*/
protected
isExpandSearchForm
:
boolean
=
true
;
}
\ No newline at end of file
app_AssetManagement/src/pages/asset/eamasset-type-pickup-grid-view/eamasset-type-pickup-grid-view.html
0 → 100644
浏览文件 @
929a93b9
<studio-view-style2
viewName=
"eamassettypepickupgridview"
viewTitle=
"资产类型选择表格视图"
class=
'depickupgridview eamasset-type-pickup-grid-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<template
slot=
"searchForm"
>
<view
_searchform
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:showBusyIndicator=
"true"
v-show=
"isExpandSearchForm"
loaddraftAction=
"FilterGetDraft"
loadAction=
"FilterGet"
name=
"searchform"
ref=
'searchform'
@
save=
"searchform_save($event)"
@
search=
"searchform_search($event)"
@
load=
"searchform_load($event)"
@
closeview=
"closeView($event)"
>
</view
_searchform
>
</template>
<view
_grid
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:isSingleSelect=
"isGridSingleSelect"
:selectedData=
"selectedData"
:showBusyIndicator=
"true"
updateAction=
""
removeAction=
"Remove"
loaddraftAction=
""
loadAction=
""
createAction=
""
fetchAction=
"FetchDefault"
name=
"grid"
ref=
'grid'
@
selectionchange=
"grid_selectionchange($event)"
@
beforeload=
"grid_beforeload($event)"
@
rowdblclick=
"grid_rowdblclick($event)"
@
load=
"grid_load($event)"
@
closeview=
"closeView($event)"
>
</view
_grid
>
</studio-view-style2>
\ No newline at end of file
app_AssetManagement/src/pages/asset/eamasset-type-pickup-grid-view/eamasset-type-pickup-grid-view.vue
0 → 100644
浏览文件 @
929a93b9
<
template
src=
"./eamasset-type-pickup-grid-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMAssetTypePickupGridViewBase } from './eamasset-type-pickup-grid-view-base';
import view_grid from '@widgets/eamasset-type/main-grid/main-grid.vue';
import view_searchform from '@widgets/eamasset-type/default-searchform/default-searchform.vue';
/**
* 资产类型选择表格视图视图
*
* @export
* @class EAMAssetTypePickupGridView
* @extends {EAMAssetTypePickupGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class EAMAssetTypePickupGridView extends EAMAssetTypePickupGridViewBase { }
</script>
app_AssetManagement/src/pages/asset/eamasset-type-pickup-view/eamasset-type-pickup-view-base.tsx
0 → 100644
浏览文件 @
929a93b9
import
{
Subject
}
from
'rxjs'
;
import
{
PickupViewBase
}
from
'@/studio-core'
;
import
EAMAssetTypeService
from
'@/service/eamasset-type/eamasset-type-service'
;
import
EAMAssetTypeAuthService
from
'@/authservice/eamasset-type/eamasset-type-auth-service'
;
import
PickupViewEngine
from
'@engine/view/pickup-view-engine'
;
import
EAMAssetTypeUIService
from
'@/uiservice/eamasset-type/eamasset-type-ui-service'
;
/**
* 资产类型数据选择视图视图基类
*
* @export
* @class EAMAssetTypePickupViewBase
* @extends {PickupViewBase}
*/
export
class
EAMAssetTypePickupViewBase
extends
PickupViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMAssetTypePickupViewBase
*/
protected
appDeName
:
string
=
'eamassettype'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMAssetTypePickupViewBase
*/
protected
appDeKey
:
string
=
'eamassettypeid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMAssetTypePickupViewBase
*/
protected
appDeMajor
:
string
=
'eamassettypename'
;
/**
* 实体服务对象
*
* @type {EAMAssetTypeService}
* @memberof EAMAssetTypePickupViewBase
*/
protected
appEntityService
:
EAMAssetTypeService
=
new
EAMAssetTypeService
;
/**
* 实体权限服务对象
*
* @type EAMAssetTypeUIService
* @memberof EAMAssetTypePickupViewBase
*/
public
appUIService
:
EAMAssetTypeUIService
=
new
EAMAssetTypeUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMAssetTypePickupViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMAssetTypePickupViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.eamassettype.views.pickupview.caption'
,
srfTitle
:
'entities.eamassettype.views.pickupview.title'
,
srfSubTitle
:
'entities.eamassettype.views.pickupview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMAssetTypePickupViewBase
*/
protected
containerModel
:
any
=
{
view_pickupviewpanel
:
{
name
:
'pickupviewpanel'
,
type
:
'PICKUPVIEWPANEL'
},
view_okbtn
:
{
name
:
'okbtn'
,
type
:
'button'
,
text
:
'确定'
,
disabled
:
true
},
view_cancelbtn
:
{
name
:
'cancelbtn'
,
type
:
'button'
,
text
:
'取消'
,
disabled
:
false
},
view_leftbtn
:
{
name
:
'leftbtn'
,
type
:
'button'
,
text
:
'左移'
,
disabled
:
true
},
view_rightbtn
:
{
name
:
'rightbtn'
,
type
:
'button'
,
text
:
'右移'
,
disabled
:
true
},
view_allleftbtn
:
{
name
:
'allleftbtn'
,
type
:
'button'
,
text
:
'全部左移'
,
disabled
:
true
},
view_allrightbtn
:
{
name
:
'allrightbtn'
,
type
:
'button'
,
text
:
'全部右移'
,
disabled
:
true
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'72c39b4fb4834276ae3933be232a2c90'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMAssetTypePickupViewBase
*/
public
engine
:
PickupViewEngine
=
new
PickupViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof EAMAssetTypePickupViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
pickupviewpanel
:
this
.
$refs
.
pickupviewpanel
,
keyPSDEField
:
'eamassettype'
,
majorPSDEField
:
'eamassettypename'
,
isLoadDefault
:
true
,
});
}
/**
* pickupviewpanel 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTypePickupViewBase
*/
public
pickupviewpanel_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'selectionchange'
,
$event
);
}
/**
* pickupviewpanel 部件 activated 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTypePickupViewBase
*/
public
pickupviewpanel_activated
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'activated'
,
$event
);
}
/**
* pickupviewpanel 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTypePickupViewBase
*/
public
pickupviewpanel_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'load'
,
$event
);
}
}
\ No newline at end of file
app_AssetManagement/src/pages/asset/eamasset-type-pickup-view/eamasset-type-pickup-view.html
0 → 100644
浏览文件 @
929a93b9
<studio-view-style2
viewName=
"eamassettypepickupview"
viewTitle=
"资产类型数据选择视图"
class=
'depickupview eamasset-type-pickup-view'
>
<div
class=
"content-container pickup-view"
>
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
load=
"pickupviewpanel_load($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
</div>
<template
slot=
"footer"
>
<div
v-if=
"isShowButton"
:style=
"{ textAlign: 'right' }"
>
<i-button
type=
"primary"
:disabled=
"this.viewSelections.length > 0 ? false : true"
@
click=
"onClickOk.apply(_self, arguments)"
>
{{this.containerModel.view_okbtn.text}}
</i-button>
<i-button
@
click=
"onClickCancel.apply(_self, arguments)"
>
{{this.containerModel.view_cancelbtn.text}}
</i-button>
</div>
</template>
</studio-view-style2>
\ No newline at end of file
app_AssetManagement/src/pages/asset/eamasset-type-pickup-view/eamasset-type-pickup-view.vue
0 → 100644
浏览文件 @
929a93b9
<
template
src=
"./eamasset-type-pickup-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMAssetTypePickupViewBase } from './eamasset-type-pickup-view-base';
import view_pickupviewpanel from '@widgets/eamasset-type/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.vue';
/**
* 资产类型数据选择视图视图
*
* @export
* @class EAMAssetTypePickupView
* @extends {EAMAssetTypePickupViewBase}
*/
@Component({
components: {
view_pickupviewpanel,
}
})
@VueLifeCycleProcessing()
export default class EAMAssetTypePickupView extends EAMAssetTypePickupViewBase { }
</script>
app_AssetManagement/src/pages/base/app-index-view/page-register.ts
浏览文件 @
929a93b9
export
const
PageComponents
=
{
install
(
Vue
:
any
,
opt
:
any
)
{
Vue
.
component
(
'eamlocation-info-view'
,
()
=>
import
(
'@pages/location/eamlocation-info-view/eamlocation-info-view.vue'
));
Vue
.
component
(
'eamlocation-type-pickup-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-type-pickup-grid-view/eamlocation-type-pickup-grid-view.vue'
));
Vue
.
component
(
'eamasset-type-pickup-view'
,
()
=>
import
(
'@pages/asset/eamasset-type-pickup-view/eamasset-type-pickup-view.vue'
));
Vue
.
component
(
'eamasset-state-model-line-edit-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-model-line-edit-view/eamasset-state-model-line-edit-view.vue'
));
Vue
.
component
(
'eamasset-type-edit-view'
,
()
=>
import
(
'@pages/asset/eamasset-type-edit-view/eamasset-type-edit-view.vue'
));
Vue
.
component
(
'eamasset-tree-exp-view'
,
()
=>
import
(
'@pages/asset/eamasset-tree-exp-view/eamasset-tree-exp-view.vue'
));
Vue
.
component
(
'eamasset-summary-view'
,
()
=>
import
(
'@pages/asset/eamasset-summary-view/eamasset-summary-view.vue'
));
Vue
.
component
(
'eamasset-child-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-child-grid-view/eamasset-child-grid-view.vue'
));
Vue
.
component
(
'eamasset-state-model-line-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-model-line-grid-view/eamasset-state-model-line-grid-view.vue'
));
Vue
.
component
(
'eamlocation-tree-exp-view'
,
()
=>
import
(
'@pages/location/eamlocation-tree-exp-view/eamlocation-tree-exp-view.vue'
));
Vue
.
component
(
'eamlocation-edit-view'
,
()
=>
import
(
'@pages/location/eamlocation-edit-view/eamlocation-edit-view.vue'
));
Vue
.
component
(
'eamlocation-state-edit-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-edit-view/eamlocation-state-edit-view.vue'
));
Vue
.
component
(
'eamlocation-type-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-type-grid-view/eamlocation-type-grid-view.vue'
));
Vue
.
component
(
'eamasset-info-view'
,
()
=>
import
(
'@pages/asset/eamasset-info-view/eamasset-info-view.vue'
));
Vue
.
component
(
'eamlocation-tree-child-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-tree-child-grid-view/eamlocation-tree-child-grid-view.vue'
));
Vue
.
component
(
'eamlocation-tree-exp-view'
,
()
=>
import
(
'@pages/location/eamlocation-tree-exp-view/eamlocation-tree-exp-view.vue'
));
Vue
.
component
(
'eamasset-state-edit-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-edit-view/eamasset-state-edit-view.vue'
));
Vue
.
component
(
'eamasset-state-model-edit-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-model-edit-view/eamasset-state-model-edit-view.vue'
));
Vue
.
component
(
'eamasset-state-pickup-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-pickup-grid-view/eamasset-state-pickup-grid-view.vue'
));
Vue
.
component
(
'eamlocation-tree-child-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-tree-child-grid-view/eamlocation-tree-child-grid-view.vue'
));
Vue
.
component
(
'eamlocation-state-pickup-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-pickup-grid-view/eamlocation-state-pickup-grid-view.vue'
));
Vue
.
component
(
'eamlocation-state-model-edit-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-model-edit-view/eamlocation-state-model-edit-view.vue'
));
Vue
.
component
(
'eamasset-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-grid-view/eamasset-grid-view.vue'
));
Vue
.
component
(
'eamasset-state-model-pickup-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-model-pickup-view/eamasset-state-model-pickup-view.vue'
));
Vue
.
component
(
'eamlocation-state-model-pickup-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-model-pickup-grid-view/eamlocation-state-model-pickup-grid-view.vue'
));
Vue
.
component
(
'eamlocation-child-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-child-grid-view/eamlocation-child-grid-view.vue'
));
Vue
.
component
(
'eamlocation-state-model-line-edit-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-model-line-edit-view/eamlocation-state-model-line-edit-view.vue'
));
Vue
.
component
(
'eamlocation-state-list-exp-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-list-exp-view/eamlocation-state-list-exp-view.vue'
));
Vue
.
component
(
'eamlocation-pickup-view'
,
()
=>
import
(
'@pages/location/eamlocation-pickup-view/eamlocation-pickup-view.vue'
));
Vue
.
component
(
'eamlocation-state-model-line-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-model-line-grid-view/eamlocation-state-model-line-grid-view.vue'
));
Vue
.
component
(
'eamlocation-type-edit-view'
,
()
=>
import
(
'@pages/location/eamlocation-type-edit-view/eamlocation-type-edit-view.vue'
));
Vue
.
component
(
'eamlocation-state-pickup-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-pickup-view/eamlocation-state-pickup-view.vue'
));
Vue
.
component
(
'eamlocation-state-model-pickup-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-model-pickup-view/eamlocation-state-model-pickup-view.vue'
));
Vue
.
component
(
'eamlocation-state-pickup-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-pickup-view/eamlocation-state-pickup-view.vue'
));
Vue
.
component
(
'eamlocation-info-main-view'
,
()
=>
import
(
'@pages/location/eamlocation-info-main-view/eamlocation-info-main-view.vue'
));
Vue
.
component
(
'eamlocation-pickup-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-pickup-grid-view/eamlocation-pickup-grid-view.vue'
));
Vue
.
component
(
'eamlocation-summary-view'
,
()
=>
import
(
'@pages/location/eamlocation-summary-view/eamlocation-summary-view.vue'
));
Vue
.
component
(
'eamasset-state-pickup-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-pickup-view/eamasset-state-pickup-view.vue'
));
Vue
.
component
(
'eamlocation-type-pickup-view'
,
()
=>
import
(
'@pages/location/eamlocation-type-pickup-view/eamlocation-type-pickup-view.vue'
));
Vue
.
component
(
'eamasset-state-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-grid-view/eamasset-state-grid-view.vue'
));
Vue
.
component
(
'eamlocation-type-pickup-view'
,
()
=>
import
(
'@pages/location/eamlocation-type-pickup-view/eamlocation-type-pickup-view.vue'
));
Vue
.
component
(
'eamasset-info-main-view'
,
()
=>
import
(
'@pages/asset/eamasset-info-main-view/eamasset-info-main-view.vue'
));
Vue
.
component
(
'eamasset-state-model-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-model-grid-view/eamasset-state-model-grid-view.vue'
));
Vue
.
component
(
'eamasset-edit-view'
,
()
=>
import
(
'@pages/asset/eamasset-edit-view/eamasset-edit-view.vue'
));
Vue
.
component
(
'eamlocation-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-grid-view/eamlocation-grid-view.vue'
));
Vue
.
component
(
'eamasset-type-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-type-grid-view/eamasset-type-grid-view.vue'
));
Vue
.
component
(
'eamasset-state-model-pickup-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-model-pickup-grid-view/eamasset-state-model-pickup-grid-view.vue'
));
Vue
.
component
(
'eamlocation-state-model-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-model-grid-view/eamlocation-state-model-grid-view.vue'
));
Vue
.
component
(
'eamasset-location-asset-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-location-asset-grid-view/eamasset-location-asset-grid-view.vue'
));
Vue
.
component
(
'eamlocation-info-view'
,
()
=>
import
(
'@pages/location/eamlocation-info-view/eamlocation-info-view.vue'
));
Vue
.
component
(
'eamlocation-type-pickup-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-type-pickup-grid-view/eamlocation-type-pickup-grid-view.vue'
));
Vue
.
component
(
'eamasset-type-edit-view'
,
()
=>
import
(
'@pages/asset/eamasset-type-edit-view/eamasset-type-edit-view.vue'
));
Vue
.
component
(
'eamasset-summary-view'
,
()
=>
import
(
'@pages/asset/eamasset-summary-view/eamasset-summary-view.vue'
));
Vue
.
component
(
'eamasset-state-model-line-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-model-line-grid-view/eamasset-state-model-line-grid-view.vue'
));
Vue
.
component
(
'eamlocation-type-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-type-grid-view/eamlocation-type-grid-view.vue'
));
Vue
.
component
(
'eamlocation-state-edit-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-edit-view/eamlocation-state-edit-view.vue'
));
Vue
.
component
(
'eamasset-info-view'
,
()
=>
import
(
'@pages/asset/eamasset-info-view/eamasset-info-view.vue'
));
Vue
.
component
(
'eamasset-state-model-edit-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-model-edit-view/eamasset-state-model-edit-view.vue'
));
Vue
.
component
(
'eamasset-state-pickup-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-pickup-grid-view/eamasset-state-pickup-grid-view.vue'
));
Vue
.
component
(
'eamlocation-state-model-edit-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-model-edit-view/eamlocation-state-model-edit-view.vue'
));
Vue
.
component
(
'eamasset-state-model-pickup-view'
,
()
=>
import
(
'@pages/asset/eamasset-state-model-pickup-view/eamasset-state-model-pickup-view.vue'
));
Vue
.
component
(
'eamasset-pickup-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-pickup-grid-view/eamasset-pickup-grid-view.vue'
));
Vue
.
component
(
'eamlocation-state-model-line-edit-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-model-line-edit-view/eamlocation-state-model-line-edit-view.vue'
));
Vue
.
component
(
'eamlocation-child-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-child-grid-view/eamlocation-child-grid-view.vue'
));
Vue
.
component
(
'eamlocation-state-list-exp-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-list-exp-view/eamlocation-state-list-exp-view.vue'
));
Vue
.
component
(
'eamlocation-state-model-line-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-model-line-grid-view/eamlocation-state-model-line-grid-view.vue'
));
Vue
.
component
(
'eamlocation-type-edit-view'
,
()
=>
import
(
'@pages/location/eamlocation-type-edit-view/eamlocation-type-edit-view.vue'
));
Vue
.
component
(
'eamlocation-pickup-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-pickup-grid-view/eamlocation-pickup-grid-view.vue'
));
Vue
.
component
(
'eamlocation-summary-view'
,
()
=>
import
(
'@pages/location/eamlocation-summary-view/eamlocation-summary-view.vue'
));
Vue
.
component
(
'eamasset-quick-create-view'
,
()
=>
import
(
'@pages/asset/eamasset-quick-create-view/eamasset-quick-create-view.vue'
));
Vue
.
component
(
'eamasset-pickup-view'
,
()
=>
import
(
'@pages/asset/eamasset-pickup-view/eamasset-pickup-view.vue'
));
Vue
.
component
(
'eamlocation-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-grid-view/eamlocation-grid-view.vue'
));
Vue
.
component
(
'eamlocation-state-model-grid-view'
,
()
=>
import
(
'@pages/location/eamlocation-state-model-grid-view/eamlocation-state-model-grid-view.vue'
));
Vue
.
component
(
'eamasset-type-pickup-grid-view'
,
()
=>
import
(
'@pages/asset/eamasset-type-pickup-grid-view/eamasset-type-pickup-grid-view.vue'
));
}
};
\ No newline at end of file
app_AssetManagement/src/pages/base/app-index-view/router.ts
浏览文件 @
929a93b9
...
...
@@ -44,32 +44,18 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/app-index-view/app-index-view.vue'
),
children
:
[
{
path
:
'eamlocations/:eamlocation?/infoview/:infoview?'
,
meta
:
{
caption
:
'entities.eamlocation.views.infoview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'infoview'
,
parameterName
:
'infoview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-info-view/eamlocation-info-view.vue'
),
},
{
path
:
'eamlocationtypes/:eamlocationtype?/pickupgridview/:pickupgridview?'
,
path
:
'eamassettypes/:eamassettype?/pickupview/:pickupview?'
,
meta
:
{
caption
:
'entities.eam
locationtype.views.pickupgrid
view.title'
,
caption
:
'entities.eam
assettype.views.pickup
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
locationtypes'
,
parameterName
:
'eamlocation
type'
},
{
pathName
:
'pickup
gridview'
,
parameterName
:
'pickupgrid
view'
},
{
pathName
:
'eam
assettypes'
,
parameterName
:
'eamasset
type'
},
{
pathName
:
'pickup
view'
,
parameterName
:
'pickup
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-type-pickup-grid-view/eamlocation-type-pickup-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-type-pickup-view/eamasset-type-pickup
-view.vue'
),
},
{
path
:
'eamassetstatemodellines/:eamassetstatemodelline?/editview/:editview?'
,
...
...
@@ -85,20 +71,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/asset/eamasset-state-model-line-edit-view/eamasset-state-model-line-edit-view.vue'
),
},
{
path
:
'eamassettypes/:eamassettype?/editview/:editview?'
,
meta
:
{
caption
:
'entities.eamassettype.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassettypes'
,
parameterName
:
'eamassettype'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-type-edit-view/eamasset-type-edit-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/eamassets/:eamasset?/treeexpview/:treeexpview?'
,
meta
:
{
...
...
@@ -128,35 +100,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/asset/eamasset-tree-exp-view/eamasset-tree-exp-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/eamassets/:eamasset?/summaryview/:summaryview?'
,
meta
:
{
caption
:
'entities.eamasset.views.summaryview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'summaryview'
,
parameterName
:
'summaryview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-summary-view/eamasset-summary-view.vue'
),
},
{
path
:
'eamassets/:eamasset?/summaryview/:summaryview?'
,
meta
:
{
caption
:
'entities.eamasset.views.summaryview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'summaryview'
,
parameterName
:
'summaryview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-summary-view/eamasset-summary-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/eamassets/:eamasset?/childgridview/:childgridview?'
,
meta
:
{
...
...
@@ -187,18 +130,18 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/asset/eamasset-child-grid-view/eamasset-child-grid-view.vue'
),
},
{
path
:
'eam
assetstatemodellines/:eamassetstatemodelline?/gridview/:grid
view?'
,
path
:
'eam
locations/:eamlocation?/editview/:edit
view?'
,
meta
:
{
caption
:
'entities.eam
assetstatemodelline.views.grid
view.title'
,
caption
:
'entities.eam
location.views.edit
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
assetstatemodellines'
,
parameterName
:
'eamassetstatemodelline
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
{
pathName
:
'eam
locations'
,
parameterName
:
'eamlocation
'
},
{
pathName
:
'
editview'
,
parameterName
:
'edit
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
asset/eamasset-state-model-line-grid-view/eamasset-state-model-line-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/
location/eamlocation-edit-view/eamlocation-edit
-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/treeexpview/:treeexpview?'
,
...
...
@@ -215,569 +158,741 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/location/eamlocation-tree-exp-view/eamlocation-tree-exp-view.vue'
),
},
{
path
:
'eam
locations/:eamlocation
?/editview/:editview?'
,
path
:
'eam
assetstates/:eamassetstate
?/editview/:editview?'
,
meta
:
{
caption
:
'entities.eam
location
.views.editview.title'
,
caption
:
'entities.eam
assetstate
.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
locations'
,
parameterName
:
'eamlocation
'
},
{
pathName
:
'eam
assetstates'
,
parameterName
:
'eamassetstate
'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-edit-view/eamlocation
-edit-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-state-edit-view/eamasset-state
-edit-view.vue'
),
},
{
path
:
'eamlocations
tates/:eamlocationstate?/editview/:edit
view?'
,
path
:
'eamlocations
/:eamlocation?/treechildgridview/:treechildgrid
view?'
,
meta
:
{
caption
:
'entities.eamlocation
state.views.edit
view.title'
,
caption
:
'entities.eamlocation
.views.treechildgrid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations
tates'
,
parameterName
:
'eamlocationstate
'
},
{
pathName
:
'
editview'
,
parameterName
:
'edit
view'
},
{
pathName
:
'eamlocations
'
,
parameterName
:
'eamlocation
'
},
{
pathName
:
'
treechildgridview'
,
parameterName
:
'treechildgrid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-
state-edit-view/eamlocation-state-edit
-view.vue'
),
component
:
()
=>
import
(
'@pages/location/eamlocation-
tree-child-grid-view/eamlocation-tree-child-grid
-view.vue'
),
},
{
path
:
'eamlocation
types/:eamlocationtype?/gridview/:
gridview?'
,
path
:
'eamlocation
states/:eamlocationstate?/pickupgridview/:pickup
gridview?'
,
meta
:
{
caption
:
'entities.eamlocation
type.views.
gridview.title'
,
caption
:
'entities.eamlocation
state.views.pickup
gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocation
types'
,
parameterName
:
'eamlocationtyp
e'
},
{
pathName
:
'
gridview'
,
parameterName
:
'
gridview'
},
{
pathName
:
'eamlocation
states'
,
parameterName
:
'eamlocationstat
e'
},
{
pathName
:
'
pickupgridview'
,
parameterName
:
'pickup
gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-
type-grid-view/eamlocation-type
-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/location/eamlocation-
state-pickup-grid-view/eamlocation-state-pickup
-grid-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/eamassets/:eamasset?/
infoview/:info
view?'
,
path
:
'eamlocations/:eamlocation?/eamassets/:eamasset?/
gridview/:grid
view?'
,
meta
:
{
caption
:
'entities.eamasset.views.
info
view.title'
,
caption
:
'entities.eamasset.views.
grid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'
infoview'
,
parameterName
:
'info
view'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-
info-view/eamasset-info
-view.vue'
),
component
:
()
=>
import
(
'@pages/asset/eamasset-
grid-view/eamasset-grid
-view.vue'
),
},
{
path
:
'eamassets/:eamasset?/
infoview/:info
view?'
,
path
:
'eamassets/:eamasset?/
gridview/:grid
view?'
,
meta
:
{
caption
:
'entities.eamasset.views.
info
view.title'
,
caption
:
'entities.eamasset.views.
grid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'
infoview'
,
parameterName
:
'info
view'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-
info-view/eamasset-info
-view.vue'
),
component
:
()
=>
import
(
'@pages/asset/eamasset-
grid-view/eamasset-grid
-view.vue'
),
},
{
path
:
'eamlocations
/:eamlocation?/treechildgridview/:treechild
gridview?'
,
path
:
'eamlocations
tatemodels/:eamlocationstatemodel?/pickupgridview/:pickup
gridview?'
,
meta
:
{
caption
:
'entities.eamlocation
.views.treechild
gridview.title'
,
caption
:
'entities.eamlocation
statemodel.views.pickup
gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations
'
,
parameterName
:
'eamlocation
'
},
{
pathName
:
'
treechildgridview'
,
parameterName
:
'treechild
gridview'
},
{
pathName
:
'eamlocations
tatemodels'
,
parameterName
:
'eamlocationstatemodel
'
},
{
pathName
:
'
pickupgridview'
,
parameterName
:
'pickup
gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-
tree-child-grid-view/eamlocation-tree-child
-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/location/eamlocation-
state-model-pickup-grid-view/eamlocation-state-model-pickup
-grid-view.vue'
),
},
{
path
:
'eam
assetstates/:eamassetstate?/editview/:edit
view?'
,
path
:
'eam
locations/:eamlocation?/pickupview/:pickup
view?'
,
meta
:
{
caption
:
'entities.eam
assetstate.views.edit
view.title'
,
caption
:
'entities.eam
location.views.pickup
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
assetstates'
,
parameterName
:
'eamassetstate
'
},
{
pathName
:
'
editview'
,
parameterName
:
'edit
view'
},
{
pathName
:
'eam
locations'
,
parameterName
:
'eamlocation
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
asset/eamasset-state-edit-view/eamasset-state-edit
-view.vue'
),
component
:
()
=>
import
(
'@pages/
location/eamlocation-pickup-view/eamlocation-pickup
-view.vue'
),
},
{
path
:
'eam
assetstatemodels/:eamassetstatemodel?/editview/:edit
view?'
,
path
:
'eam
locationstatemodels/:eamlocationstatemodel?/pickupview/:pickup
view?'
,
meta
:
{
caption
:
'entities.eam
assetstatemodel.views.edit
view.title'
,
caption
:
'entities.eam
locationstatemodel.views.pickup
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
assetstatemodels'
,
parameterName
:
'eamasset
statemodel'
},
{
pathName
:
'
editview'
,
parameterName
:
'edit
view'
},
{
pathName
:
'eam
locationstatemodels'
,
parameterName
:
'eamlocation
statemodel'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
asset/eamasset-state-model-edit-view/eamasset-state-model-edit
-view.vue'
),
component
:
()
=>
import
(
'@pages/
location/eamlocation-state-model-pickup-view/eamlocation-state-model-pickup
-view.vue'
),
},
{
path
:
'eam
assetstates/:eamassetstate?/pickupgridview/:pickupgrid
view?'
,
path
:
'eam
locationstates/:eamlocationstate?/pickupview/:pickup
view?'
,
meta
:
{
caption
:
'entities.eam
assetstate.views.pickupgrid
view.title'
,
caption
:
'entities.eam
locationstate.views.pickup
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
assetstates'
,
parameterName
:
'eamasset
state'
},
{
pathName
:
'pickup
gridview'
,
parameterName
:
'pickupgrid
view'
},
{
pathName
:
'eam
locationstates'
,
parameterName
:
'eamlocation
state'
},
{
pathName
:
'pickup
view'
,
parameterName
:
'pickup
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
asset/eamasset-state-pickup-grid-view/eamasset-state-pickup-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/
location/eamlocation-state-pickup-view/eamlocation-state-pickup
-view.vue'
),
},
{
path
:
'eamlocations
tates/:eamlocationstate?/pickupgridview/:pickupgrid
view?'
,
path
:
'eamlocations
/:eamlocation?/info_mainview/:info_main
view?'
,
meta
:
{
caption
:
'entities.eamlocation
state.views.pickupgrid
view.title'
,
caption
:
'entities.eamlocation
.views.info_main
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations
tates'
,
parameterName
:
'eamlocationstate
'
},
{
pathName
:
'
pickupgridview'
,
parameterName
:
'pickupgrid
view'
},
{
pathName
:
'eamlocations
'
,
parameterName
:
'eamlocation
'
},
{
pathName
:
'
info_mainview'
,
parameterName
:
'info_main
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-
state-pickup-grid-view/eamlocation-state-pickup-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/location/eamlocation-
info-main-view/eamlocation-info-main
-view.vue'
),
},
{
path
:
'eam
locationstatemodels/:eamlocationstatemodel?/editview/:edit
view?'
,
path
:
'eam
assetstates/:eamassetstate?/pickupview/:pickup
view?'
,
meta
:
{
caption
:
'entities.eam
locationstatemodel.views.edit
view.title'
,
caption
:
'entities.eam
assetstate.views.pickup
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
locationstatemodels'
,
parameterName
:
'eamlocationstatemodel
'
},
{
pathName
:
'
editview'
,
parameterName
:
'edit
view'
},
{
pathName
:
'eam
assetstates'
,
parameterName
:
'eamassetstate
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-state-model-edit-view/eamlocation-state-model-edit
-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-state-pickup-view/eamasset-state-pickup
-view.vue'
),
},
{
path
:
'eam
locations/:eamlocation?/eamassets/:eamasset
?/gridview/:gridview?'
,
path
:
'eam
assetstates/:eamassetstate
?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.eamasset.views.gridview.title'
,
caption
:
'entities.eamasset
state
.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'eamassetstates'
,
parameterName
:
'eamassetstate'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-
grid-view/eamasset
-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/asset/eamasset-
state-grid-view/eamasset-state
-grid-view.vue'
),
},
{
path
:
'eam
assets/:eamasset?/gridview/:grid
view?'
,
path
:
'eam
locationtypes/:eamlocationtype?/pickupview/:pickup
view?'
,
meta
:
{
caption
:
'entities.eam
asset.views.grid
view.title'
,
caption
:
'entities.eam
locationtype.views.pickup
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
assets'
,
parameterName
:
'eamasset
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
{
pathName
:
'eam
locationtypes'
,
parameterName
:
'eamlocationtype
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
asset/eamasset-grid-view/eamasset-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/
location/eamlocation-type-pickup-view/eamlocation-type-pickup
-view.vue'
),
},
{
path
:
'eam
assetstatemodels/:eamassetstatemodel?/pickupview/:pickup
view?'
,
path
:
'eam
locations/:eamlocation?/eamassets/:eamasset?/info_mainview/:info_main
view?'
,
meta
:
{
caption
:
'entities.eamasset
statemodel.views.pickup
view.title'
,
caption
:
'entities.eamasset
.views.info_main
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassetstatemodels'
,
parameterName
:
'eamassetstatemodel'
},
{
pathName
:
'pickupview'
,
parameterName
:
'pickupview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'info_mainview'
,
parameterName
:
'info_mainview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-
state-model-pickup-view/eamasset-state-model-pickup
-view.vue'
),
component
:
()
=>
import
(
'@pages/asset/eamasset-
info-main-view/eamasset-info-main
-view.vue'
),
},
{
path
:
'eam
locationstatemodels/:eamlocationstatemodel?/pickupgridview/:pickupgrid
view?'
,
path
:
'eam
assets/:eamasset?/info_mainview/:info_main
view?'
,
meta
:
{
caption
:
'entities.eam
locationstatemodel.views.pickupgrid
view.title'
,
caption
:
'entities.eam
asset.views.info_main
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
locationstatemodels'
,
parameterName
:
'eamlocationstatemodel
'
},
{
pathName
:
'
pickupgridview'
,
parameterName
:
'pickupgrid
view'
},
{
pathName
:
'eam
assets'
,
parameterName
:
'eamasset
'
},
{
pathName
:
'
info_mainview'
,
parameterName
:
'info_main
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-state-model-pickup-grid-view/eamlocation-state-model-pickup-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-info-main-view/eamasset-info-main
-view.vue'
),
},
{
path
:
'eam
locations/:eamlocation?/childgridview/:child
gridview?'
,
path
:
'eam
assetstatemodels/:eamassetstatemodel?/gridview/:
gridview?'
,
meta
:
{
caption
:
'entities.eam
location.views.child
gridview.title'
,
caption
:
'entities.eam
assetstatemodel.views.
gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
locations'
,
parameterName
:
'eamlocation
'
},
{
pathName
:
'
childgridview'
,
parameterName
:
'child
gridview'
},
{
pathName
:
'eam
assetstatemodels'
,
parameterName
:
'eamassetstatemodel
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'
gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-child-grid-view/eamlocation-child
-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-state-model-grid-view/eamasset-state-model
-grid-view.vue'
),
},
{
path
:
'eamlocations
tatemodellines/:eamlocationstatemodelline
?/editview/:editview?'
,
path
:
'eamlocations
/:eamlocation?/eamassets/:eamasset
?/editview/:editview?'
,
meta
:
{
caption
:
'entities.eam
locationstatemodelline
.views.editview.title'
,
caption
:
'entities.eam
asset
.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocationstatemodellines'
,
parameterName
:
'eamlocationstatemodelline'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-state-model-line-edit-view/eamlocation-state-model-line
-edit-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-edit-view/eamasset
-edit-view.vue'
),
},
{
path
:
'eam
locationstates/:eamlocationstate?/listexpview/:listexp
view?'
,
path
:
'eam
assets/:eamasset?/editview/:edit
view?'
,
meta
:
{
caption
:
'entities.eam
locationstate.views.listexp
view.title'
,
caption
:
'entities.eam
asset.views.edit
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
locationstates'
,
parameterName
:
'eamlocationstate
'
},
{
pathName
:
'
listexpview'
,
parameterName
:
'listexp
view'
},
{
pathName
:
'eam
assets'
,
parameterName
:
'eamasset
'
},
{
pathName
:
'
editview'
,
parameterName
:
'edit
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-state-list-exp-view/eamlocation-state-list-exp
-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-edit-view/eamasset-edit
-view.vue'
),
},
{
path
:
'eam
locations/:eamlocation?/pickupview/:pickup
view?'
,
path
:
'eam
assettypes/:eamassettype?/gridview/:grid
view?'
,
meta
:
{
caption
:
'entities.eam
location.views.pickup
view.title'
,
caption
:
'entities.eam
assettype.views.grid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
locations'
,
parameterName
:
'eamlocation
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
{
pathName
:
'eam
assettypes'
,
parameterName
:
'eamassettype
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-pickup-view/eamlocation-pickup
-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-type-grid-view/eamasset-type-grid
-view.vue'
),
},
{
path
:
'eam
locationstatemodellines/:eamlocationstatemodelline?/gridview/:
gridview?'
,
path
:
'eam
assetstatemodels/:eamassetstatemodel?/pickupgridview/:pickup
gridview?'
,
meta
:
{
caption
:
'entities.eam
locationstatemodelline.views.
gridview.title'
,
caption
:
'entities.eam
assetstatemodel.views.pickup
gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
locationstatemodellines'
,
parameterName
:
'eamlocationstatemodelline
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'
gridview'
},
{
pathName
:
'eam
assetstatemodels'
,
parameterName
:
'eamassetstatemodel
'
},
{
pathName
:
'
pickupgridview'
,
parameterName
:
'pickup
gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-state-model-line-grid-view/eamlocation-state-model-line
-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-state-model-pickup-grid-view/eamasset-state-model-pickup
-grid-view.vue'
),
},
{
path
:
'eamlocation
types/:eamlocationtype?/editview/:edit
view?'
,
path
:
'eamlocation
s/:eamlocation?/eamassets/:eamasset?/locationassetgridview/:locationassetgrid
view?'
,
meta
:
{
caption
:
'entities.eam
locationtype.views.edit
view.title'
,
caption
:
'entities.eam
asset.views.locationassetgrid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocationtypes'
,
parameterName
:
'eamlocationtype'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'locationassetgridview'
,
parameterName
:
'locationassetgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-type-edit-view/eamlocation-type-edit
-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-location-asset-grid-view/eamasset-location-asset-grid
-view.vue'
),
},
{
path
:
'eam
locationstates/:eamlocationstate?/pickupview/:pickup
view?'
,
path
:
'eam
assets/:eamasset?/locationassetgridview/:locationassetgrid
view?'
,
meta
:
{
caption
:
'entities.eam
locationstate.views.pickup
view.title'
,
caption
:
'entities.eam
asset.views.locationassetgrid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
locationstates'
,
parameterName
:
'eamlocationstate
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
{
pathName
:
'eam
assets'
,
parameterName
:
'eamasset
'
},
{
pathName
:
'
locationassetgridview'
,
parameterName
:
'locationassetgrid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-state-pickup-view/eamlocation-state-pickup
-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-location-asset-grid-view/eamasset-location-asset-grid
-view.vue'
),
},
{
path
:
'eamlocations
tatemodels/:eamlocationstatemodel?/pickupview/:pickup
view?'
,
path
:
'eamlocations
/:eamlocation?/infoview/:info
view?'
,
meta
:
{
caption
:
'entities.eamlocation
statemodel.views.pickup
view.title'
,
caption
:
'entities.eamlocation
.views.info
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations
tatemodels'
,
parameterName
:
'eamlocationstatemodel
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
{
pathName
:
'eamlocations
'
,
parameterName
:
'eamlocation
'
},
{
pathName
:
'
infoview'
,
parameterName
:
'info
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-
state-model-pickup-view/eamlocation-state-model-pickup
-view.vue'
),
component
:
()
=>
import
(
'@pages/location/eamlocation-
info-view/eamlocation-info
-view.vue'
),
},
{
path
:
'eamlocation
s/:eamlocation?/info_mainview/:info_main
view?'
,
path
:
'eamlocation
types/:eamlocationtype?/pickupgridview/:pickupgrid
view?'
,
meta
:
{
caption
:
'entities.eamlocation
.views.info_main
view.title'
,
caption
:
'entities.eamlocation
type.views.pickupgrid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocation
s'
,
parameterName
:
'eamlocation
'
},
{
pathName
:
'
info_mainview'
,
parameterName
:
'info_main
view'
},
{
pathName
:
'eamlocation
types'
,
parameterName
:
'eamlocationtype
'
},
{
pathName
:
'
pickupgridview'
,
parameterName
:
'pickupgrid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-
info-main-view/eamlocation-info-main
-view.vue'
),
component
:
()
=>
import
(
'@pages/location/eamlocation-
type-pickup-grid-view/eamlocation-type-pickup-grid
-view.vue'
),
},
{
path
:
'eam
locations/:eamlocation?/pickupgridview/:pickupgrid
view?'
,
path
:
'eam
assettypes/:eamassettype?/editview/:edit
view?'
,
meta
:
{
caption
:
'entities.eam
location.views.pickupgrid
view.title'
,
caption
:
'entities.eam
assettype.views.edit
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
locations'
,
parameterName
:
'eamlocation
'
},
{
pathName
:
'
pickupgridview'
,
parameterName
:
'pickupgrid
view'
},
{
pathName
:
'eam
assettypes'
,
parameterName
:
'eamassettype
'
},
{
pathName
:
'
editview'
,
parameterName
:
'edit
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-pickup-grid-view/eamlocation-pickup-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-type-edit-view/eamasset-type-edit
-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/summaryview/:summaryview?'
,
path
:
'eamlocations/:eamlocation?/
eamassets/:eamasset?/
summaryview/:summaryview?'
,
meta
:
{
caption
:
'entities.eam
location
.views.summaryview.title'
,
caption
:
'entities.eam
asset
.views.summaryview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'summaryview'
,
parameterName
:
'summaryview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-summary-view/eamlocation
-summary-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-summary-view/eamasset
-summary-view.vue'
),
},
{
path
:
'eamassets
tates/:eamassetstate?/pickupview/:pickup
view?'
,
path
:
'eamassets
/:eamasset?/summaryview/:summary
view?'
,
meta
:
{
caption
:
'entities.eamasset
state.views.pickup
view.title'
,
caption
:
'entities.eamasset
.views.summary
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassets
tates'
,
parameterName
:
'eamassetstate
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
{
pathName
:
'eamassets
'
,
parameterName
:
'eamasset
'
},
{
pathName
:
'
summaryview'
,
parameterName
:
'summary
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-s
tate-pickup-view/eamasset-state-pickup
-view.vue'
),
component
:
()
=>
import
(
'@pages/asset/eamasset-s
ummary-view/eamasset-summary
-view.vue'
),
},
{
path
:
'eam
locationtypes/:eamlocationtype?/pickupview/:pickup
view?'
,
path
:
'eam
assetstatemodellines/:eamassetstatemodelline?/gridview/:grid
view?'
,
meta
:
{
caption
:
'entities.eam
locationtype.views.pickup
view.title'
,
caption
:
'entities.eam
assetstatemodelline.views.grid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
locationtypes'
,
parameterName
:
'eamlocationtyp
e'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
{
pathName
:
'eam
assetstatemodellines'
,
parameterName
:
'eamassetstatemodellin
e'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
location/eamlocation-type-pickup-view/eamlocation-type-pickup
-view.vue'
),
component
:
()
=>
import
(
'@pages/
asset/eamasset-state-model-line-grid-view/eamasset-state-model-line-grid
-view.vue'
),
},
{
path
:
'eam
assetstates/:eamassetstat
e?/gridview/:gridview?'
,
path
:
'eam
locationtypes/:eamlocationtyp
e?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.eam
assetstat
e.views.gridview.title'
,
caption
:
'entities.eam
locationtyp
e.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eam
assetstates'
,
parameterName
:
'eamassetstat
e'
},
{
pathName
:
'eam
locationtypes'
,
parameterName
:
'eamlocationtyp
e'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
asset/eamasset-state-grid-view/eamasset-stat
e-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/
location/eamlocation-type-grid-view/eamlocation-typ
e-grid-view.vue'
),
},
{
path
:
'eamlocations
/:eamlocation?/eamassets/:eamasset?/info_mainview/:info_main
view?'
,
path
:
'eamlocations
tates/:eamlocationstate?/editview/:edit
view?'
,
meta
:
{
caption
:
'entities.eamasset.views.info_mainview.title'
,
caption
:
'entities.eamlocationstate.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocationstates'
,
parameterName
:
'eamlocationstate'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-state-edit-view/eamlocation-state-edit-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/eamassets/:eamasset?/infoview/:infoview?'
,
meta
:
{
caption
:
'entities.eamasset.views.infoview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'info
_mainview'
,
parameterName
:
'info_main
view'
},
{
pathName
:
'info
view'
,
parameterName
:
'info
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-info-
main-view/eamasset-info-main
-view.vue'
),
component
:
()
=>
import
(
'@pages/asset/eamasset-info-
view/eamasset-info
-view.vue'
),
},
{
path
:
'eamassets/:eamasset?/info
_mainview/:info_main
view?'
,
path
:
'eamassets/:eamasset?/info
view/:info
view?'
,
meta
:
{
caption
:
'entities.eamasset.views.info
_main
view.title'
,
caption
:
'entities.eamasset.views.infoview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'info
_mainview'
,
parameterName
:
'info_main
view'
},
{
pathName
:
'info
view'
,
parameterName
:
'info
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-info-
main-view/eamasset-info-main
-view.vue'
),
component
:
()
=>
import
(
'@pages/asset/eamasset-info-
view/eamasset-info
-view.vue'
),
},
{
path
:
'eamassetstatemodels/:eamassetstatemodel?/
gridview/:grid
view?'
,
path
:
'eamassetstatemodels/:eamassetstatemodel?/
editview/:edit
view?'
,
meta
:
{
caption
:
'entities.eamassetstatemodel.views.
grid
view.title'
,
caption
:
'entities.eamassetstatemodel.views.
edit
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassetstatemodels'
,
parameterName
:
'eamassetstatemodel'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
{
pathName
:
'
editview'
,
parameterName
:
'edit
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-state-model-
grid-view/eamasset-state-model-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/asset/eamasset-state-model-
edit-view/eamasset-state-model-edit
-view.vue'
),
},
{
path
:
'eam
locations/:eamlocation?/eamassets/:eamasset?/editview/:edit
view?'
,
path
:
'eam
assetstates/:eamassetstate?/pickupgridview/:pickupgrid
view?'
,
meta
:
{
caption
:
'entities.eamasset.views.editview.title'
,
caption
:
'entities.eamassetstate.views.pickupgridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassetstates'
,
parameterName
:
'eamassetstate'
},
{
pathName
:
'pickupgridview'
,
parameterName
:
'pickupgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-state-pickup-grid-view/eamasset-state-pickup-grid-view.vue'
),
},
{
path
:
'eamlocationstatemodels/:eamlocationstatemodel?/editview/:editview?'
,
meta
:
{
caption
:
'entities.eamlocationstatemodel.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocationstatemodels'
,
parameterName
:
'eamlocationstatemodel'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-state-model-edit-view/eamlocation-state-model-edit-view.vue'
),
},
{
path
:
'eamassetstatemodels/:eamassetstatemodel?/pickupview/:pickupview?'
,
meta
:
{
caption
:
'entities.eamassetstatemodel.views.pickupview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassetstatemodels'
,
parameterName
:
'eamassetstatemodel'
},
{
pathName
:
'pickupview'
,
parameterName
:
'pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-state-model-pickup-view/eamasset-state-model-pickup-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/eamassets/:eamasset?/pickupgridview/:pickupgridview?'
,
meta
:
{
caption
:
'entities.eamasset.views.pickupgridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'
editview'
,
parameterName
:
'edit
view'
},
{
pathName
:
'
pickupgridview'
,
parameterName
:
'pickupgrid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-
edit-view/eamasset-edit
-view.vue'
),
component
:
()
=>
import
(
'@pages/asset/eamasset-
pickup-grid-view/eamasset-pickup-grid
-view.vue'
),
},
{
path
:
'eamassets/:eamasset?/
editview/:edit
view?'
,
path
:
'eamassets/:eamasset?/
pickupgridview/:pickupgrid
view?'
,
meta
:
{
caption
:
'entities.eamasset.views.
edit
view.title'
,
caption
:
'entities.eamasset.views.
pickupgrid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'pickupgridview'
,
parameterName
:
'pickupgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-pickup-grid-view/eamasset-pickup-grid-view.vue'
),
},
{
path
:
'eamlocationstatemodellines/:eamlocationstatemodelline?/editview/:editview?'
,
meta
:
{
caption
:
'entities.eamlocationstatemodelline.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocationstatemodellines'
,
parameterName
:
'eamlocationstatemodelline'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
asset/eamasset-edit-view/eamasset
-edit-view.vue'
),
component
:
()
=>
import
(
'@pages/
location/eamlocation-state-model-line-edit-view/eamlocation-state-model-line
-edit-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/
gridview/:
gridview?'
,
path
:
'eamlocations/:eamlocation?/
childgridview/:child
gridview?'
,
meta
:
{
caption
:
'entities.eamlocation.views.gridview.title'
,
caption
:
'entities.eamlocation.views.
child
gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'
gridview'
,
parameterName
:
'
gridview'
},
{
pathName
:
'
childgridview'
,
parameterName
:
'child
gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-
grid-view/eamlocation
-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/location/eamlocation-
child-grid-view/eamlocation-child
-grid-view.vue'
),
},
{
path
:
'eam
assettypes/:eamassettype?/gridview/:grid
view?'
,
path
:
'eam
locationstates/:eamlocationstate?/listexpview/:listexp
view?'
,
meta
:
{
caption
:
'entities.eam
assettype.views.grid
view.title'
,
caption
:
'entities.eam
locationstate.views.listexp
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassettypes'
,
parameterName
:
'eamassettype'
},
{
pathName
:
'eamlocationstates'
,
parameterName
:
'eamlocationstate'
},
{
pathName
:
'listexpview'
,
parameterName
:
'listexpview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-state-list-exp-view/eamlocation-state-list-exp-view.vue'
),
},
{
path
:
'eamlocationstatemodellines/:eamlocationstatemodelline?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.eamlocationstatemodelline.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocationstatemodellines'
,
parameterName
:
'eamlocationstatemodelline'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
asset/eamasset-type-grid-view/eamasset-typ
e-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/
location/eamlocation-state-model-line-grid-view/eamlocation-state-model-lin
e-grid-view.vue'
),
},
{
path
:
'eam
assetstatemodels/:eamassetstatemodel?/pickupgridview/:pickupgrid
view?'
,
path
:
'eam
locationtypes/:eamlocationtype?/editview/:edit
view?'
,
meta
:
{
caption
:
'entities.eam
assetstatemodel.views.pickupgrid
view.title'
,
caption
:
'entities.eam
locationtype.views.edit
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassetstatemodels'
,
parameterName
:
'eamassetstatemodel'
},
{
pathName
:
'eamlocationtypes'
,
parameterName
:
'eamlocationtype'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-type-edit-view/eamlocation-type-edit-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/pickupgridview/:pickupgridview?'
,
meta
:
{
caption
:
'entities.eamlocation.views.pickupgridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'pickupgridview'
,
parameterName
:
'pickupgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
asset/eamasset-state-model-pickup-grid-view/eamasset-state-model
-pickup-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/
location/eamlocation-pickup-grid-view/eamlocation
-pickup-grid-view.vue'
),
},
{
path
:
'eamlocations
tatemodels/:eamlocationstatemodel?/gridview/:grid
view?'
,
path
:
'eamlocations
/:eamlocation?/summaryview/:summary
view?'
,
meta
:
{
caption
:
'entities.eamlocation
statemodel.views.grid
view.title'
,
caption
:
'entities.eamlocation
.views.summary
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations
tatemodels'
,
parameterName
:
'eamlocationstatemodel
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
{
pathName
:
'eamlocations
'
,
parameterName
:
'eamlocation
'
},
{
pathName
:
'
summaryview'
,
parameterName
:
'summary
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-s
tate-model-grid-view/eamlocation-state-model-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/location/eamlocation-s
ummary-view/eamlocation-summary
-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/eamassets/:eamasset?/
locationassetgridview/:locationassetgrid
view?'
,
path
:
'eamlocations/:eamlocation?/eamassets/:eamasset?/
quickcreateview/:quickcreate
view?'
,
meta
:
{
caption
:
'entities.eamasset.views.
locationassetgrid
view.title'
,
caption
:
'entities.eamasset.views.
quickcreate
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'
locationassetgridview'
,
parameterName
:
'locationassetgrid
view'
},
{
pathName
:
'
quickcreateview'
,
parameterName
:
'quickcreate
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-
location-asset-grid-view/eamasset-location-asset-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/asset/eamasset-
quick-create-view/eamasset-quick-create
-view.vue'
),
},
{
path
:
'eamassets/:eamasset?/
locationassetgridview/:locationassetgrid
view?'
,
path
:
'eamassets/:eamasset?/
quickcreateview/:quickcreate
view?'
,
meta
:
{
caption
:
'entities.eamasset.views.
locationassetgrid
view.title'
,
caption
:
'entities.eamasset.views.
quickcreate
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'
locationassetgridview'
,
parameterName
:
'locationassetgrid
view'
},
{
pathName
:
'
quickcreateview'
,
parameterName
:
'quickcreate
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-location-asset-grid-view/eamasset-location-asset-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/asset/eamasset-quick-create-view/eamasset-quick-create-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/eamassets/:eamasset?/pickupview/:pickupview?'
,
meta
:
{
caption
:
'entities.eamasset.views.pickupview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'pickupview'
,
parameterName
:
'pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-pickup-view/eamasset-pickup-view.vue'
),
},
{
path
:
'eamassets/:eamasset?/pickupview/:pickupview?'
,
meta
:
{
caption
:
'entities.eamasset.views.pickupview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'pickupview'
,
parameterName
:
'pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-pickup-view/eamasset-pickup-view.vue'
),
},
{
path
:
'eamlocations/:eamlocation?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.eamlocation.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-grid-view/eamlocation-grid-view.vue'
),
},
{
path
:
'eamlocationstatemodels/:eamlocationstatemodel?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.eamlocationstatemodel.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamlocationstatemodels'
,
parameterName
:
'eamlocationstatemodel'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/location/eamlocation-state-model-grid-view/eamlocation-state-model-grid-view.vue'
),
},
{
path
:
'eamassettypes/:eamassettype?/pickupgridview/:pickupgridview?'
,
meta
:
{
caption
:
'entities.eamassettype.views.pickupgridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'eamassettypes'
,
parameterName
:
'eamassettype'
},
{
pathName
:
'pickupgridview'
,
parameterName
:
'pickupgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/asset/eamasset-type-pickup-grid-view/eamasset-type-pickup-grid-view.vue'
),
},
...
indexRoutes
,
],
...
...
app_AssetManagement/src/store/modules/view-action/state.ts
浏览文件 @
929a93b9
...
...
@@ -156,6 +156,15 @@ export const viewstate: any = {
'afb13d98ae97ebb876598388432f8c1d'
,
],
},
{
viewtag
:
'58b301299902245cdd7dfd5ae23545b4'
,
viewmodule
:
'Asset'
,
viewname
:
'EAMAssetTypePickupGridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'6a395ea52232233416d9c7120518863d'
,
viewmodule
:
'Location'
,
...
...
@@ -186,6 +195,16 @@ export const viewstate: any = {
'c8bf8b682adc459f7f285328199ba4b4'
,
],
},
{
viewtag
:
'72c39b4fb4834276ae3933be232a2c90'
,
viewmodule
:
'Asset'
,
viewname
:
'EAMAssetTypePickupView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'58b301299902245cdd7dfd5ae23545b4'
,
],
},
{
viewtag
:
'7bf1327f579d782d5cdb98528999a5e0'
,
viewmodule
:
'Location'
,
...
...
@@ -196,6 +215,16 @@ export const viewstate: any = {
'ecd1ec6299b5b24e2004fa15c4eef92d'
,
],
},
{
viewtag
:
'906130a9861c2b0cff3173c9e171c1d1'
,
viewmodule
:
'Asset'
,
viewname
:
'EAMAssetPickupView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'fc2bbe178f6e4ee12ebeb45875b7f87c'
,
],
},
{
viewtag
:
'9e9b3600ba892d31757bacef1dcc9458'
,
viewmodule
:
'Location'
,
...
...
@@ -322,6 +351,18 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'bcdc34d8df9323426a402ba7b111fef2'
,
viewmodule
:
'Asset'
,
viewname
:
'EAMAssetQuickCreateView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'906130a9861c2b0cff3173c9e171c1d1'
,
'72c39b4fb4834276ae3933be232a2c90'
,
'2b28313d0f3925fa44b8683eb5ea54d6'
,
],
},
{
viewtag
:
'c6a93309b2a9d12617cdbaf29731d2a4'
,
viewmodule
:
'Asset'
,
...
...
@@ -329,8 +370,10 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'72c39b4fb4834276ae3933be232a2c90'
,
'3bac4846ece1082b8c3799d9a1fc7dde'
,
'6c816d46a07d56b2a9afca077d9bbfc3'
,
'2b28313d0f3925fa44b8683eb5ea54d6'
,
],
},
{
...
...
@@ -340,7 +383,9 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'72c39b4fb4834276ae3933be232a2c90'
,
'3bac4846ece1082b8c3799d9a1fc7dde'
,
'2b28313d0f3925fa44b8683eb5ea54d6'
,
],
},
{
...
...
@@ -460,8 +505,11 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'3bac4846ece1082b8c3799d9a1fc7dde'
,
'72c39b4fb4834276ae3933be232a2c90'
,
'bcdc34d8df9323426a402ba7b111fef2'
,
'afb13d98ae97ebb876598388432f8c1d'
,
'6c816d46a07d56b2a9afca077d9bbfc3'
,
'2b28313d0f3925fa44b8683eb5ea54d6'
,
],
},
],
...
...
app_AssetManagement/src/uiservice/eamasset-type/eamasset-type-ui-service-base.ts
浏览文件 @
929a93b9
...
...
@@ -89,6 +89,8 @@ export default class EAMAssetTypeUIServiceBase extends UIService {
* @memberof EAMAssetTypeUIServiceBase
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'eamassettypes'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'eamassettypes'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'eamassettypes'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'eamassettypes'
});
}
...
...
app_AssetManagement/src/uiservice/eamasset/eamasset-ui-service-base.ts
浏览文件 @
929a93b9
...
...
@@ -93,9 +93,12 @@ export default class EAMAssetUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'eamassets'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'summaryview'
,
srfappde
:
'eamassets'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'infoview'
,
srfappde
:
'eamassets'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'eamassets'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_mainview'
,
srfappde
:
'eamassets'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'quickcreateview'
,
srfappde
:
'eamassets'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'locationassetgridview'
,
srfappde
:
'eamassets'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'childgridview'
,
srfappde
:
'eamassets'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'eamassets'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'eamassets'
});
}
...
...
@@ -115,6 +118,131 @@ export default class EAMAssetUIServiceBase extends UIService {
public
initDeMainStateOPPrivsMap
(){
}
/**
* 打开主信息界面
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
EAMAsset_OpenInfo_MainView
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'SINGLEKEY'
;
Object
.
assign
(
context
,
{
eamasset
:
'%eamasset%'
});
Object
.
assign
(
params
,
{
assetid
:
'%eamasset%'
});
Object
.
assign
(
params
,
{
assetname
:
'%assetname%'
});
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
if
(
context
.
eamlocation
&&
true
){
deResParameters
=
[
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'info_mainview'
,
parameterName
:
'info_mainview'
},
];
actionContext
.
closeView
(
null
);
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
actionContext
.
$viewTool
.
buildUpRoutePath
(
actionContext
.
$route
,
context
,
deResParameters
,
parameters
,
_args
,
data
);
actionContext
.
$router
.
push
(
routePath
);
if
(
xData
&&
xData
.
refresh
&&
xData
.
refresh
instanceof
Function
)
{
xData
.
refresh
(
args
);
}
return
null
;
}
openIndexViewTab
(
data
);
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
EAMAsset_OpenQuickCreateView
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'NONE'
;
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
if
(
context
.
eamlocation
&&
true
){
deResParameters
=
[
{
pathName
:
'eamlocations'
,
parameterName
:
'eamlocation'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
];
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
actionContext
.
$appdrawer
.
openDrawer
(
view
,
context
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
const
_this
:
any
=
actionContext
;
if
(
this
.
EAMAsset_OpenInfo_MainView
&&
this
.
EAMAsset_OpenInfo_MainView
instanceof
Function
)
{
this
.
EAMAsset_OpenInfo_MainView
(
result
.
datas
,
context
,
params
,
$event
,
xData
,
actionContext
);
}
if
(
window
.
opener
){
window
.
opener
.
postMessage
({
status
:
'OK'
,
identification
:
'WF'
},
Environment
.
uniteAddress
);
window
.
close
();
}
return
result
.
datas
;
});
}
const
view
:
any
=
{
viewname
:
'eamasset-quick-create-view'
,
height
:
0
,
width
:
0
,
title
:
actionContext
.
$t
(
'entities.eamasset.views.quickcreateview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 获取指定数据的重定向页面
...
...
app_AssetManagement/src/widgets/eamasset-type/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel-base.tsx
0 → 100644
浏览文件 @
929a93b9
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
EAMAssetTypeService
from
'@/service/eamasset-type/eamasset-type-service'
;
import
PickupViewpickupviewpanelService
from
'./pickup-viewpickupviewpanel-pickupviewpanel-service'
;
import
EAMAssetTypeUIService
from
'@/uiservice/eamasset-type/eamasset-type-ui-service'
;
import
PickupViewpickupviewpanelModel
from
'./pickup-viewpickupviewpanel-pickupviewpanel-model'
;
/**
* pickupviewpanel部件基类
*
* @export
* @class MainControlBase
* @extends {PickupViewpickupviewpanelPickupviewpanelBase}
*/
export
class
PickupViewpickupviewpanelPickupviewpanelBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof PickupViewpickupviewpanelPickupviewpanelBase
*/
protected
controlType
:
string
=
'PICKUPVIEWPANEL'
;
/**
* 建构部件服务对象
*
* @type {PickupViewpickupviewpanelService}
* @memberof PickupViewpickupviewpanelPickupviewpanelBase
*/
public
service
:
PickupViewpickupviewpanelService
=
new
PickupViewpickupviewpanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {EAMAssetTypeService}
* @memberof PickupViewpickupviewpanelPickupviewpanelBase
*/
public
appEntityService
:
EAMAssetTypeService
=
new
EAMAssetTypeService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof PickupViewpickupviewpanelPickupviewpanelBase
*/
protected
appDeName
:
string
=
'eamassettype'
;
/**
* 选中数据字符串
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
@
Prop
()
public
selectedData
?:
string
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof PickupViewpickupviewpanel
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof PickupViewpickupviewpanel
*/
public
getData
():
any
{
return
{};
}
/**
* 视图名称
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
view
:
any
=
{
viewname
:
'eamasset-type-pickup-grid-view'
,
data
:
{},
}
/**
* 局部上下文
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
localViewParam
:
any
=
null
;
/**
* 视图数据
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 视图参数
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 是否显示按钮
*
* @type {boolean}
* @memberof PickupViewpickupviewpanel
*/
@
Prop
({
default
:
true
})
public
isShowButton
!
:
boolean
;
/**
* 是否单选
*
* @type {boolean}
* @memberof PickupViewpickupviewpanel
*/
@
Prop
()
public
isSingleSelect
?:
boolean
;
/**
* 初始化完成
*
* @type {boolean}
* @memberof PickupViewpickupviewpanel
*/
public
inited
:
boolean
=
false
;
/**
* 视图数据变化
*
* @param {*} $event
* @memberof PickupViewpickupviewpanel
*/
public
onViewDatasChange
(
$event
:
any
):
void
{
if
(
$event
.
length
>
0
){
$event
.
forEach
((
item
:
any
,
index
:
any
)
=>
{
let
srfmajortext
=
item
[
'eamassettypename'
];
if
(
srfmajortext
){
Object
.
assign
(
$event
[
index
],{
srfmajortext
:
srfmajortext
});
}
});
}
this
.
$emit
(
'selectionchange'
,
$event
);
}
/**
* 视图数据被激活
*
* @param {*} $event
* @memberof PickupViewpickupviewpanel
*/
public
viewDatasActivated
(
$event
:
any
):
void
{
this
.
$emit
(
'activated'
,
$event
);
}
/**
* 视图加载完成
*
* @param {*} $event
* @memberof PickupViewpickupviewpanel
*/
public
onViewLoad
(
$event
:
any
):
void
{
this
.
$emit
(
'load'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof PickupViewpickupviewpanel
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof PickupViewpickupviewpanel
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
if
(
Object
.
is
(
'load'
,
action
))
{
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
Object
.
assign
(
data
,
this
.
viewparams
));
this
.
inited
=
true
;
}
});
}
}
/**
* 初始化导航参数
*
* @memberof PickupViewpickupviewpanel
*/
public
initNavParam
(){
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* vue 生命周期
*
* @memberof PickupViewpickupviewpanel
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof PickupViewpickupviewpanel
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset-type/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel-model.ts
0 → 100644
浏览文件 @
929a93b9
/**
* PickupViewpickupviewpanel 部件模型
*
* @export
* @class PickupViewpickupviewpanelModel
*/
export
default
class
PickupViewpickupviewpanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof PickupViewpickupviewpanelModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'createman'
,
},
{
name
:
'eamassettypename'
,
},
{
name
:
'eamassettype'
,
prop
:
'eamassettypeid'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'createdate'
,
},
{
name
:
'eamassetstatemodelid'
,
},
{
name
:
'eamassetstatemodelname'
,
},
{
name
:
'assettypenumber'
,
},
]
}
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset-type/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel-service.ts
0 → 100644
浏览文件 @
929a93b9
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* PickupViewpickupviewpanel 部件服务对象
*
* @export
* @class PickupViewpickupviewpanelService
*/
export
default
class
PickupViewpickupviewpanelService
extends
ControlService
{
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset-type/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.html
0 → 100644
浏览文件 @
929a93b9
<div
class=
'pickupviewpanel'
>
<component
v-if=
"inited && view.viewname && !Object.is(view.viewname, '')"
:is=
"view.viewname"
class=
"viewcontainer3"
:viewdata=
"viewdata"
:viewparam=
"viewparam"
:viewDefaultUsage=
"false"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
@
viewdataschange=
"onViewDatasChange.apply(_self, arguments)"
@
viewdatasactivated=
"viewDatasActivated.apply(_self, arguments)"
@
viewload=
"onViewLoad.apply(_self, arguments)"
>
</component>
</div>
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset-type/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.less
0 → 100644
浏览文件 @
929a93b9
.pickupviewpanel{
width: 100%;
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset-type/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.vue
0 → 100644
浏览文件 @
929a93b9
<
template
src=
"./pickup-viewpickupviewpanel-pickupviewpanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { PickupViewpickupviewpanelPickupviewpanelBase } from './pickup-viewpickupviewpanel-pickupviewpanel-base';
/**
* pickupviewpanel部件
*
* @export
* @class PickupViewpickupviewpanelPickupviewpanel
* @extends {PickupViewpickupviewpanelPickupviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class PickupViewpickupviewpanelPickupviewpanel extends PickupViewpickupviewpanelPickupviewpanelBase { }
</script>
app_AssetManagement/src/widgets/eamasset/child-grid-grid/child-grid-grid-model.ts
浏览文件 @
929a93b9
...
...
@@ -96,6 +96,34 @@ export default class ChildGridModel {
name
:
'eamasset'
,
prop
:
'assetid'
,
},
{
name
:
'n_assetnumber_like'
,
prop
:
'n_assetnumber_like'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_assetname_like'
,
prop
:
'n_assetname_like'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_eamassettypename_eq'
,
prop
:
'n_eamassettypename_eq'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'n_eamlocationname_eq'
,
prop
:
'n_eamlocationname_eq'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'n_eamlocationid_eq'
,
prop
:
'n_eamlocationid_eq'
,
},
{
name
:
'n_eamassettypeid_eq'
,
prop
:
'n_eamassettypeid_eq'
,
},
{
name
:
'size'
,
...
...
app_AssetManagement/src/widgets/eamasset/default-searchform/default-searchform-base.tsx
浏览文件 @
929a93b9
...
...
@@ -58,6 +58,12 @@ export class DefaultSearchFormBase extends SearchFormControlBase {
* @memberof DefaultSearchFormBase
*/
public
data
:
any
=
{
n_assetnumber_like
:
null
,
n_assetname_like
:
null
,
n_eamassettypename_eq
:
null
,
n_eamlocationname_eq
:
null
,
n_eamlocationid_eq
:
null
,
n_eamassettypeid_eq
:
null
,
};
/**
...
...
@@ -68,6 +74,18 @@ export class DefaultSearchFormBase extends SearchFormControlBase {
*/
public
detailsModel
:
any
=
{
formpage1
:
new
FormPageModel
({
caption
:
'常规条件'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
})
,
n_assetnumber_like
:
new
FormItemModel
({
caption
:
'资产编号(文本包含(%))'
,
detailType
:
'FORMITEM'
,
name
:
'n_assetnumber_like'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
n_assetname_like
:
new
FormItemModel
({
caption
:
'资产名称(文本包含(%))'
,
detailType
:
'FORMITEM'
,
name
:
'n_assetname_like'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
n_eamassettypename_eq
:
new
FormItemModel
({
caption
:
'资产类型(等于(=))'
,
detailType
:
'FORMITEM'
,
name
:
'n_eamassettypename_eq'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
n_eamlocationname_eq
:
new
FormItemModel
({
caption
:
'功能位置(等于(=))'
,
detailType
:
'FORMITEM'
,
name
:
'n_eamlocationname_eq'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
n_eamlocationid_eq
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'n_eamlocationid_eq'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
n_eamassettypeid_eq
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'n_eamassettypeid_eq'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
};
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset/default-searchform/default-searchform-model.ts
浏览文件 @
929a93b9
...
...
@@ -25,6 +25,32 @@ export default class DefaultModel {
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_assetnumber_like'
,
prop
:
'assetnumber'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_assetname_like'
,
prop
:
'assetname'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_eamassettypename_eq'
,
prop
:
'eamassettypename'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'n_eamlocationname_eq'
,
prop
:
'eamlocationname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'n_eamlocationid_eq'
,
},
{
name
:
'n_eamassettypeid_eq'
,
},
]
}
...
...
app_AssetManagement/src/widgets/eamasset/default-searchform/default-searchform-service.ts
浏览文件 @
929a93b9
...
...
@@ -2,6 +2,8 @@ import { Http,Util,Errorlog } from '@/utils';
import
ControlService
from
'@/widgets/control-service'
;
import
EAMAssetService
from
'@/service/eamasset/eamasset-service'
;
import
DefaultModel
from
'./default-searchform-model'
;
import
EAMAssetTypeService
from
'@/service/eamasset-type/eamasset-type-service'
;
import
EAMLocationService
from
'@/service/eamlocation/eamlocation-service'
;
/**
...
...
@@ -41,6 +43,22 @@ export default class DefaultService extends ControlService {
this
.
model
=
new
DefaultModel
();
}
/**
* 资产类型服务对象
*
* @type {EAMAssetTypeService}
* @memberof DefaultService
*/
public
eamassettypeService
:
EAMAssetTypeService
=
new
EAMAssetTypeService
();
/**
* 功能位置服务对象
*
* @type {EAMLocationService}
* @memberof DefaultService
*/
public
eamlocationService
:
EAMLocationService
=
new
EAMLocationService
();
/**
* 处理数据
*
...
...
@@ -80,6 +98,12 @@ export default class DefaultService extends ControlService {
*/
@
Errorlog
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
if
(
Object
.
is
(
serviceName
,
'EAMAssetTypeService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
eamassettypeService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'eamassettypeid'
,
'eamassettype'
);
}
if
(
Object
.
is
(
serviceName
,
'EAMLocationService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
eamlocationService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'eamlocationid'
,
'eamlocation'
);
}
return
Promise
.
reject
([])
}
...
...
app_AssetManagement/src/widgets/eamasset/default-searchform/default-searchform.html
浏览文件 @
929a93b9
...
...
@@ -5,5 +5,70 @@
<i-button
size=
"small"
type=
"default"
ghost
@
click=
"onReset.apply(_self, arguments)"
>
{{this.$t('app.searchButton.reset')}}
</i-button>
</div>
<div
class=
"form-content"
>
</div>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.n_assetnumber_like.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'n_assetnumber_like'
:itemRules=
"this.rules.n_assetnumber_like"
class=
''
:caption=
"$t('entities.eamasset.default_searchform.details.n_assetnumber_like')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_assetnumber_like.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.n_assetnumber_like"
@
enter=
"onEnter($event)"
:disabled=
"detailsModel.n_assetnumber_like.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.n_assetname_like.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'n_assetname_like'
:itemRules=
"this.rules.n_assetname_like"
class=
''
:caption=
"$t('entities.eamasset.default_searchform.details.n_assetname_like')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_assetname_like.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.n_assetname_like"
@
enter=
"onEnter($event)"
:disabled=
"detailsModel.n_assetname_like.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.n_eamassettypename_eq.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'n_eamassettypename_eq'
:itemRules=
"this.rules.n_eamassettypename_eq"
class=
''
:caption=
"$t('entities.eamasset.default_searchform.details.n_eamassettypename_eq')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_eamassettypename_eq.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.n_eamassettypename_eq.disabled"
name=
'n_eamassettypename_eq'
deMajorField=
'eamassettypename'
deKeyField=
'eamassettype'
:service=
"service"
:acParams=
"{ serviceName: 'EAMAssetTypeService', interfaceName: 'FetchDefault'}"
valueitem=
'n_eamassettypeid_eq'
:value=
"data.n_eamassettypename_eq"
:pickupView=
"{ viewname: 'eamasset-type-pickup-view', title: $t('entities.eamassettype.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'eamassettypes', parameterName: 'eamassettype' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.n_eamlocationname_eq.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'n_eamlocationname_eq'
:itemRules=
"this.rules.n_eamlocationname_eq"
class=
''
:caption=
"$t('entities.eamasset.default_searchform.details.n_eamlocationname_eq')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_eamlocationname_eq.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.n_eamlocationname_eq.disabled"
name=
'n_eamlocationname_eq'
deMajorField=
'eamlocationname'
deKeyField=
'eamlocation'
:service=
"service"
:acParams=
"{ serviceName: 'EAMLocationService', interfaceName: 'FetchDefault'}"
valueitem=
'n_eamlocationid_eq'
:value=
"data.n_eamlocationname_eq"
:pickupView=
"{ viewname: 'eamlocation-pickup-view', title: $t('entities.eamlocation.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
</div>
</i-form>
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset/main-grid/main-grid-model.ts
浏览文件 @
929a93b9
...
...
@@ -96,6 +96,34 @@ export default class MainModel {
name
:
'eamasset'
,
prop
:
'assetid'
,
},
{
name
:
'n_assetnumber_like'
,
prop
:
'n_assetnumber_like'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_assetname_like'
,
prop
:
'n_assetname_like'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_eamassettypename_eq'
,
prop
:
'n_eamassettypename_eq'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'n_eamlocationname_eq'
,
prop
:
'n_eamlocationname_eq'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'n_eamlocationid_eq'
,
prop
:
'n_eamlocationid_eq'
,
},
{
name
:
'n_eamassettypeid_eq'
,
prop
:
'n_eamassettypeid_eq'
,
},
{
name
:
'size'
,
...
...
app_AssetManagement/src/widgets/eamasset/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel-base.tsx
0 → 100644
浏览文件 @
929a93b9
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
EAMAssetService
from
'@/service/eamasset/eamasset-service'
;
import
PickupViewpickupviewpanelService
from
'./pickup-viewpickupviewpanel-pickupviewpanel-service'
;
import
EAMAssetUIService
from
'@/uiservice/eamasset/eamasset-ui-service'
;
import
PickupViewpickupviewpanelModel
from
'./pickup-viewpickupviewpanel-pickupviewpanel-model'
;
/**
* pickupviewpanel部件基类
*
* @export
* @class MainControlBase
* @extends {PickupViewpickupviewpanelPickupviewpanelBase}
*/
export
class
PickupViewpickupviewpanelPickupviewpanelBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof PickupViewpickupviewpanelPickupviewpanelBase
*/
protected
controlType
:
string
=
'PICKUPVIEWPANEL'
;
/**
* 建构部件服务对象
*
* @type {PickupViewpickupviewpanelService}
* @memberof PickupViewpickupviewpanelPickupviewpanelBase
*/
public
service
:
PickupViewpickupviewpanelService
=
new
PickupViewpickupviewpanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {EAMAssetService}
* @memberof PickupViewpickupviewpanelPickupviewpanelBase
*/
public
appEntityService
:
EAMAssetService
=
new
EAMAssetService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof PickupViewpickupviewpanelPickupviewpanelBase
*/
protected
appDeName
:
string
=
'eamasset'
;
/**
* 选中数据字符串
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
@
Prop
()
public
selectedData
?:
string
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof PickupViewpickupviewpanel
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof PickupViewpickupviewpanel
*/
public
getData
():
any
{
return
{};
}
/**
* 视图名称
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
view
:
any
=
{
viewname
:
'eamasset-pickup-grid-view'
,
data
:
{},
}
/**
* 局部上下文
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
localViewParam
:
any
=
null
;
/**
* 视图数据
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 视图参数
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 是否显示按钮
*
* @type {boolean}
* @memberof PickupViewpickupviewpanel
*/
@
Prop
({
default
:
true
})
public
isShowButton
!
:
boolean
;
/**
* 是否单选
*
* @type {boolean}
* @memberof PickupViewpickupviewpanel
*/
@
Prop
()
public
isSingleSelect
?:
boolean
;
/**
* 初始化完成
*
* @type {boolean}
* @memberof PickupViewpickupviewpanel
*/
public
inited
:
boolean
=
false
;
/**
* 视图数据变化
*
* @param {*} $event
* @memberof PickupViewpickupviewpanel
*/
public
onViewDatasChange
(
$event
:
any
):
void
{
if
(
$event
.
length
>
0
){
$event
.
forEach
((
item
:
any
,
index
:
any
)
=>
{
let
srfmajortext
=
item
[
'assetname'
];
if
(
srfmajortext
){
Object
.
assign
(
$event
[
index
],{
srfmajortext
:
srfmajortext
});
}
});
}
this
.
$emit
(
'selectionchange'
,
$event
);
}
/**
* 视图数据被激活
*
* @param {*} $event
* @memberof PickupViewpickupviewpanel
*/
public
viewDatasActivated
(
$event
:
any
):
void
{
this
.
$emit
(
'activated'
,
$event
);
}
/**
* 视图加载完成
*
* @param {*} $event
* @memberof PickupViewpickupviewpanel
*/
public
onViewLoad
(
$event
:
any
):
void
{
this
.
$emit
(
'load'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof PickupViewpickupviewpanel
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof PickupViewpickupviewpanel
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
if
(
Object
.
is
(
'load'
,
action
))
{
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
Object
.
assign
(
data
,
this
.
viewparams
));
this
.
inited
=
true
;
}
});
}
}
/**
* 初始化导航参数
*
* @memberof PickupViewpickupviewpanel
*/
public
initNavParam
(){
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* vue 生命周期
*
* @memberof PickupViewpickupviewpanel
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof PickupViewpickupviewpanel
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel-model.ts
0 → 100644
浏览文件 @
929a93b9
/**
* PickupViewpickupviewpanel 部件模型
*
* @export
* @class PickupViewpickupviewpanelModel
*/
export
default
class
PickupViewpickupviewpanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof PickupViewpickupviewpanelModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'eamasset'
,
prop
:
'assetid'
,
},
{
name
:
'assetname'
,
},
{
name
:
'createdate'
,
},
{
name
:
'createman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'eamassettypeid'
,
},
{
name
:
'eamlocationid'
,
},
{
name
:
'passetid'
,
},
{
name
:
'eamassettypename'
,
},
{
name
:
'eamlocationname'
,
},
{
name
:
'eamassetstateid'
,
},
{
name
:
'eamassetstatename'
,
},
{
name
:
'passetname'
,
},
{
name
:
'assetnumber'
,
},
]
}
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel-service.ts
0 → 100644
浏览文件 @
929a93b9
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* PickupViewpickupviewpanel 部件服务对象
*
* @export
* @class PickupViewpickupviewpanelService
*/
export
default
class
PickupViewpickupviewpanelService
extends
ControlService
{
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.html
0 → 100644
浏览文件 @
929a93b9
<div
class=
'pickupviewpanel'
>
<component
v-if=
"inited && view.viewname && !Object.is(view.viewname, '')"
:is=
"view.viewname"
class=
"viewcontainer3"
:viewdata=
"viewdata"
:viewparam=
"viewparam"
:viewDefaultUsage=
"false"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
@
viewdataschange=
"onViewDatasChange.apply(_self, arguments)"
@
viewdatasactivated=
"viewDatasActivated.apply(_self, arguments)"
@
viewload=
"onViewLoad.apply(_self, arguments)"
>
</component>
</div>
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.less
0 → 100644
浏览文件 @
929a93b9
.pickupviewpanel{
width: 100%;
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.vue
0 → 100644
浏览文件 @
929a93b9
<
template
src=
"./pickup-viewpickupviewpanel-pickupviewpanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { PickupViewpickupviewpanelPickupviewpanelBase } from './pickup-viewpickupviewpanel-pickupviewpanel-base';
/**
* pickupviewpanel部件
*
* @export
* @class PickupViewpickupviewpanelPickupviewpanel
* @extends {PickupViewpickupviewpanelPickupviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class PickupViewpickupviewpanelPickupviewpanel extends PickupViewpickupviewpanelPickupviewpanelBase { }
</script>
app_AssetManagement/src/widgets/eamasset/quick-create-form/quick-create-form-base.tsx
0 → 100644
浏览文件 @
929a93b9
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
EditFormControlBase
}
from
'@/studio-core'
;
import
EAMAssetService
from
'@/service/eamasset/eamasset-service'
;
import
QuickCreateService
from
'./quick-create-form-service'
;
import
EAMAssetUIService
from
'@/uiservice/eamasset/eamasset-ui-service'
;
import
{
FormButtonModel
,
FormPageModel
,
FormItemModel
,
FormDRUIPartModel
,
FormPartModel
,
FormGroupPanelModel
,
FormIFrameModel
,
FormRowItemModel
,
FormTabPageModel
,
FormTabPanelModel
,
FormUserControlModel
}
from
'@/model/form-detail'
;
/**
* form部件基类
*
* @export
* @class EditFormControlBase
* @extends {QuickCreateEditFormBase}
*/
export
class
QuickCreateEditFormBase
extends
EditFormControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof QuickCreateEditFormBase
*/
protected
controlType
:
string
=
'FORM'
;
/**
* 建构部件服务对象
*
* @type {QuickCreateService}
* @memberof QuickCreateEditFormBase
*/
public
service
:
QuickCreateService
=
new
QuickCreateService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {EAMAssetService}
* @memberof QuickCreateEditFormBase
*/
public
appEntityService
:
EAMAssetService
=
new
EAMAssetService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof QuickCreateEditFormBase
*/
protected
appDeName
:
string
=
'eamasset'
;
/**
* 界面UI服务对象
*
* @type {EAMAssetUIService}
* @memberof QuickCreateEditFormBase
*/
public
appUIService
:
EAMAssetUIService
=
new
EAMAssetUIService
(
this
.
$store
);
/**
* 表单数据对象
*
* @type {*}
* @memberof QuickCreateEditFormBase
*/
public
data
:
any
=
{
srfupdatedate
:
null
,
srforikey
:
null
,
srfkey
:
null
,
srfmajortext
:
null
,
srftempmode
:
null
,
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
assetnumber
:
null
,
assetname
:
null
,
eamassettypename
:
null
,
eamlocationname
:
null
,
passetname
:
null
,
eamlocationid
:
null
,
eamassettypeid
:
null
,
passetid
:
null
,
assetid
:
null
,
eamasset
:
null
,
};
/**
* 属性值规则
*
* @type {*}
* @memberof QuickCreateEditFormBase
*/
public
rules
:
any
=
{
assetnumber
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'资产编号 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'资产编号 值不能为空'
,
trigger
:
'blur'
},
],
assetname
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'资产名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'资产名称 值不能为空'
,
trigger
:
'blur'
},
],
}
/**
* 详情模型集合
*
* @type {*}
* @memberof QuickCreateEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.eamasset.quickcreate_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srforikey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srforikey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfkey
:
new
FormItemModel
({
caption
:
'资产标识'
,
detailType
:
'FORMITEM'
,
name
:
'srfkey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfmajortext
:
new
FormItemModel
({
caption
:
'资产名称'
,
detailType
:
'FORMITEM'
,
name
:
'srfmajortext'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srftempmode
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srftempmode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfuf
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfuf'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfdeid
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfdeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
assetnumber
:
new
FormItemModel
({
caption
:
'资产编号'
,
detailType
:
'FORMITEM'
,
name
:
'assetnumber'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
assetname
:
new
FormItemModel
({
caption
:
'资产名称'
,
detailType
:
'FORMITEM'
,
name
:
'assetname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
eamassettypename
:
new
FormItemModel
({
caption
:
'资产类型'
,
detailType
:
'FORMITEM'
,
name
:
'eamassettypename'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
eamlocationname
:
new
FormItemModel
({
caption
:
'功能位置'
,
detailType
:
'FORMITEM'
,
name
:
'eamlocationname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
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
}),
eamassettypeid
:
new
FormItemModel
({
caption
:
'资产类型标识'
,
detailType
:
'FORMITEM'
,
name
:
'eamassettypeid'
,
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
}),
};
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset/quick-create-form/quick-create-form-model.ts
0 → 100644
浏览文件 @
929a93b9
/**
* QuickCreate 部件模型
*
* @export
* @class QuickCreateModel
*/
export
default
class
QuickCreateModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof QuickCreateModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfupdatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'srforikey'
,
},
{
name
:
'srfkey'
,
prop
:
'assetid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'assetname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'assetnumber'
,
prop
:
'assetnumber'
,
dataType
:
'TEXT'
,
},
{
name
:
'assetname'
,
prop
:
'assetname'
,
dataType
:
'TEXT'
,
},
{
name
:
'eamassettypename'
,
prop
:
'eamassettypename'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'eamlocationname'
,
prop
:
'eamlocationname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'passetname'
,
prop
:
'passetname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'eamlocationid'
,
prop
:
'eamlocationid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'eamassettypeid'
,
prop
:
'eamassettypeid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'passetid'
,
prop
:
'passetid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'assetid'
,
prop
:
'assetid'
,
dataType
:
'GUID'
,
},
{
name
:
'eamasset'
,
prop
:
'assetid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset/quick-create-form/quick-create-form-service.ts
0 → 100644
浏览文件 @
929a93b9
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
EAMAssetService
from
'@/service/eamasset/eamasset-service'
;
import
QuickCreateModel
from
'./quick-create-form-model'
;
import
EAMAssetTypeService
from
'@/service/eamasset-type/eamasset-type-service'
;
import
EAMLocationService
from
'@/service/eamlocation/eamlocation-service'
;
/**
* QuickCreate 部件服务对象
*
* @export
* @class QuickCreateService
*/
export
default
class
QuickCreateService
extends
ControlService
{
/**
* 资产服务对象
*
* @type {EAMAssetService}
* @memberof QuickCreateService
*/
public
appEntityService
:
EAMAssetService
=
new
EAMAssetService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof QuickCreateService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of QuickCreateService.
*
* @param {*} [opts={}]
* @memberof QuickCreateService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
QuickCreateModel
();
}
/**
* 资产类型服务对象
*
* @type {EAMAssetTypeService}
* @memberof QuickCreateService
*/
public
eamassettypeService
:
EAMAssetTypeService
=
new
EAMAssetTypeService
();
/**
* 功能位置服务对象
*
* @type {EAMLocationService}
* @memberof QuickCreateService
*/
public
eamlocationService
:
EAMLocationService
=
new
EAMLocationService
();
/**
* 处理数据
*
* @private
* @param {Promise<any>} promise
* @returns {Promise<any>}
* @memberof QuickCreateService
*/
private
doItems
(
promise
:
Promise
<
any
>
,
deKeyField
:
string
,
deName
:
string
):
Promise
<
any
>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
promise
.
then
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
===
200
)
{
const
data
=
response
.
data
;
data
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
item
[
deName
]
=
item
[
deKeyField
];
data
[
index
]
=
item
;
});
resolve
(
data
);
}
else
{
reject
([])
}
}).
catch
((
response
:
any
)
=>
{
reject
([])
});
});
}
/**
* 获取跨实体数据集合
*
* @param {string} serviceName 服务名称
* @param {string} interfaceName 接口名称
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any[]>}
* @memberof QuickCreateService
*/
@
Errorlog
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
if
(
Object
.
is
(
serviceName
,
'EAMAssetTypeService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
eamassettypeService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'eamassettypeid'
,
'eamassettype'
);
}
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
([])
}
/**
* 启动工作流
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @param {*} [localdata]
* @returns {Promise<any>}
* @memberof QuickCreateService
*/
@
Errorlog
public
wfstart
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
,
localdata
?:
any
):
Promise
<
any
>
{
data
=
this
.
handleWFData
(
data
);
context
=
this
.
handleRequestData
(
action
,
context
,
data
).
context
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
context
,
data
,
isloading
,
localdata
);
}
else
{
result
=
this
.
appEntityService
.
WFStart
(
context
,
data
,
isloading
,
localdata
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 提交工作流
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @param {*} [localdata]
* @returns {Promise<any>}
* @memberof QuickCreateService
*/
@
Errorlog
public
wfsubmit
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
,
localdata
?:
any
):
Promise
<
any
>
{
data
=
this
.
handleWFData
(
data
,
true
);
context
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
).
context
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
context
,
data
,
isloading
,
localdata
);
}
else
{
result
=
this
.
appEntityService
.
WFSubmit
(
context
,
data
,
isloading
,
localdata
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 添加数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof QuickCreateService
*/
@
Errorlog
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Create
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 删除数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof QuickCreateService
*/
@
Errorlog
public
delete
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Remove
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 修改数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof QuickCreateService
*/
@
Errorlog
public
update
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Update
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof QuickCreateService
*/
@
Errorlog
public
get
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Get
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 加载草稿
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof QuickCreateService
*/
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
assetid
=
PrimaryKey
;
Data
.
eamasset
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
assetid
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 前台逻辑
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof QuickCreateService
*/
@
Errorlog
public
frontLogic
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
return
Promise
.
reject
({
status
:
500
,
data
:
{
title
:
'失败'
,
message
:
'系统异常'
}
});
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
})
}
/**
* 处理请求数据
*
* @param action 行为
* @param data 数据
* @memberof QuickCreateService
*/
public
handleRequestData
(
action
:
string
,
context
:
any
,
data
:
any
=
{},
isMerge
:
boolean
=
false
){
let
mode
:
any
=
this
.
getMode
();
if
(
!
mode
&&
mode
.
getDataItems
instanceof
Function
)
{
return
data
;
}
let
formItemItems
:
any
[]
=
mode
.
getDataItems
();
let
requestData
:
any
=
{};
if
(
isMerge
&&
(
data
&&
data
.
viewparams
)){
Object
.
assign
(
requestData
,
data
.
viewparams
);
}
formItemItems
.
forEach
((
item
:
any
)
=>
{
if
(
item
&&
item
.
dataType
&&
Object
.
is
(
item
.
dataType
,
'FONTKEY'
)){
if
(
item
&&
item
.
prop
){
requestData
[
item
.
prop
]
=
context
[
item
.
name
];
}
}
else
{
if
(
item
&&
item
.
prop
){
requestData
[
item
.
prop
]
=
data
[
item
.
name
];
}
}
});
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
if
(
tempContext
&&
tempContext
.
srfsessionid
){
tempContext
.
srfsessionkey
=
tempContext
.
srfsessionid
;
delete
tempContext
.
srfsessionid
;
}
return
{
context
:
tempContext
,
data
:
requestData
};
}
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset/quick-create-form/quick-create-form.html
0 → 100644
浏览文件 @
929a93b9
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'eamasset_quickcreate'
style=
""
>
<input
style=
"display:none;"
/>
<row
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
:model=
"detailsModel.group1"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.eamasset.quickcreate_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"1"
:isInfoGroupMode=
"false"
>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.assetnumber.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'assetnumber'
:itemRules=
"this.rules.assetnumber"
class=
''
:caption=
"$t('entities.eamasset.quickcreate_form.details.assetnumber')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.assetnumber.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.assetnumber"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.assetnumber.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.assetname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'assetname'
:itemRules=
"this.rules.assetname"
class=
''
:caption=
"$t('entities.eamasset.quickcreate_form.details.assetname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.assetname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.assetname"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.assetname.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.eamassettypename.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'eamassettypename'
:itemRules=
"this.rules.eamassettypename"
class=
''
:caption=
"$t('entities.eamasset.quickcreate_form.details.eamassettypename')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.eamassettypename.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.eamassettypename.disabled"
name=
'eamassettypename'
deMajorField=
'eamassettypename'
deKeyField=
'eamassettype'
:service=
"service"
:acParams=
"{ serviceName: 'EAMAssetTypeService', interfaceName: 'FetchDefault'}"
valueitem=
'eamassettypeid'
:value=
"data.eamassettypename"
:pickupView=
"{ viewname: 'eamasset-type-pickup-view', title: $t('entities.eamassettype.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'eamassettypes', parameterName: 'eamassettype' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.eamlocationname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'eamlocationname'
:itemRules=
"this.rules.eamlocationname"
class=
''
:caption=
"$t('entities.eamasset.quickcreate_form.details.eamlocationname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.eamlocationname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.eamlocationname.disabled"
name=
'eamlocationname'
deMajorField=
'eamlocationname'
deKeyField=
'eamlocation'
:service=
"service"
:acParams=
"{ serviceName: 'EAMLocationService', interfaceName: 'FetchDefault'}"
valueitem=
'eamlocationid'
:value=
"data.eamlocationname"
:pickupView=
"{ viewname: 'eamlocation-pickup-view', title: $t('entities.eamlocation.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.passetname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'passetname'
:itemRules=
"this.rules.passetname"
class=
''
:caption=
"$t('entities.eamasset.quickcreate_form.details.passetname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.passetname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.passetname.disabled"
name=
'passetname'
deMajorField=
'assetname'
deKeyField=
'eamasset'
:service=
"service"
:acParams=
"{ serviceName: 'EAMAssetService', interfaceName: 'FetchDefault'}"
valueitem=
'passetid'
:value=
"data.passetname"
:pickupView=
"{ viewname: 'eamasset-pickup-view', title: $t('entities.eamasset.views.pickupview.title'), deResParameters: [{ pathName: 'eamlocations', parameterName: 'eamlocation' }, ], parameters: [{ pathName: 'eamassets', parameterName: 'eamasset' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</row>
</i-form>
\ No newline at end of file
app_AssetManagement/src/widgets/eamasset/quick-create-form/quick-create-form.vue
0 → 100644
浏览文件 @
929a93b9
<
template
src=
"./quick-create-form.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { QuickCreateEditFormBase } from './quick-create-form-base';
/**
* form部件
*
* @export
* @class QuickCreateEditForm
* @extends {QuickCreateEditFormBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class QuickCreateEditForm extends QuickCreateEditFormBase { }
</script>
assetmanagement-core/src/main/java/cn/ibizlab/assetmanagement/core/asset/filter/EAMAssetSearchContext.java
浏览文件 @
929a93b9
...
...
@@ -118,6 +118,13 @@ public class EAMAssetSearchContext extends QueryWrapperContext<EAMAsset> {
this
.
getSearchCond
().
like
(
"passetname"
,
n_passetname_like
);
}
}
private
String
n_assetnumber_like
;
//[资产编号]
public
void
setN_assetnumber_like
(
String
n_assetnumber_like
)
{
this
.
n_assetnumber_like
=
n_assetnumber_like
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_assetnumber_like
)){
this
.
getSearchCond
().
like
(
"assetnumber"
,
n_assetnumber_like
);
}
}
/**
* 启用快速搜索
...
...
assetmanagement-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
929a93b9
...
...
@@ -116,7 +116,7 @@
<!--输出实体[EAMASSET]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamasset-
51
-6"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamasset-
68
-6"
>
<createTable
tableName=
"ASSET"
>
<column
name=
"ASSETID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_EAMASSET_ASSETID"
/>
...
...
@@ -146,7 +146,7 @@
<!--输出实体[EAMASSETSTATE]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamassetstate-2
4
-7"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamassetstate-2
5
-7"
>
<createTable
tableName=
"EAMASSETSTATE"
>
<column
name=
"CREATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
...
...
@@ -212,7 +212,7 @@
<!--输出实体[EAMASSETTYPE]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamassettype-
19
-10"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamassettype-
21
-10"
>
<createTable
tableName=
"EAMASSETTYPE"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
@@ -236,7 +236,7 @@
<!--输出实体[EAMLOCATION]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamlocation-
88
-11"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamlocation-
90
-11"
>
<createTable
tableName=
"EAMLOCATION"
>
<column
name=
"EAMLOCATIONID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_EAMLOCATION_EAMLOCATIONID"
/>
...
...
@@ -581,16 +581,16 @@
<addForeignKeyConstraint
baseColumnNames=
"EAMAPPLYSTATEMODELID"
baseTableName=
"EAMAPPLYTYPE"
constraintName=
"DER1N_EAMAPPLYTYPE_EAMAPPLYSTA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMAPPLYSTATEMODELID"
referencedTableName=
"EAMAPPLYSTATEMODEL"
validate=
"true"
/>
</changeSet>
<!--输出实体[EAMASSET]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamasset-
51
-31"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamasset-
68
-31"
>
<addForeignKeyConstraint
baseColumnNames=
"EAMASSETSTATEID"
baseTableName=
"ASSET"
constraintName=
"DER1N_EAMASSET_EAMASSETSTATE_E"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMASSETSTATEID"
referencedTableName=
"EAMASSETSTATE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamasset-
51
-32"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamasset-
68
-32"
>
<addForeignKeyConstraint
baseColumnNames=
"EAMASSETTYPEID"
baseTableName=
"ASSET"
constraintName=
"DER1N_EAMASSET_EAMASSETTYPE_EA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMASSETTYPEID"
referencedTableName=
"EAMASSETTYPE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamasset-
51
-33"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamasset-
68
-33"
>
<addForeignKeyConstraint
baseColumnNames=
"PASSETID"
baseTableName=
"ASSET"
constraintName=
"DER1N_EAMASSET_EAMASSET_PASSET"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ASSETID"
referencedTableName=
"ASSET"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamasset-
51
-34"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamasset-
68
-34"
>
<addForeignKeyConstraint
baseColumnNames=
"EAMLOCATIONID"
baseTableName=
"ASSET"
constraintName=
"DER1N_EAMASSET_EAMLOCATION_EAM"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMLOCATIONID"
referencedTableName=
"EAMLOCATION"
validate=
"true"
/>
</changeSet>
<!--输出实体[EAMASSETSTATE]外键关系 -->
...
...
@@ -600,17 +600,17 @@
<addForeignKeyConstraint
baseColumnNames=
"EAMASSETSTATEMODELID"
baseTableName=
"EAMASSETSTATEMODELLINE"
constraintName=
"DER1N_EAMASSETSTATEMODELLINE_E"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMASSETSTATEMODELID"
referencedTableName=
"EAMASSETSTATEMODEL"
validate=
"true"
/>
</changeSet>
<!--输出实体[EAMASSETTYPE]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamassettype-
19
-37"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamassettype-
21
-37"
>
<addForeignKeyConstraint
baseColumnNames=
"EAMASSETSTATEMODELID"
baseTableName=
"EAMASSETTYPE"
constraintName=
"DER1N_EAMASSETTYPE_EAMASSETSTA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMASSETSTATEMODELID"
referencedTableName=
"EAMASSETSTATEMODEL"
validate=
"true"
/>
</changeSet>
<!--输出实体[EAMLOCATION]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocation-
88
-38"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocation-
90
-38"
>
<addForeignKeyConstraint
baseColumnNames=
"EAMLOCATIONSTATEID"
baseTableName=
"EAMLOCATION"
constraintName=
"DER1N_EAMLOCATION_EAMLOCATIONS"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMLOCATIONSTATEID"
referencedTableName=
"EAMLOCATIONSTATE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocation-
88
-39"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocation-
90
-39"
>
<addForeignKeyConstraint
baseColumnNames=
"EAMLOCATIONTYPEID"
baseTableName=
"EAMLOCATION"
constraintName=
"DER1N_EAMLOCATION_EAMLOCATIONT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMLOCATIONTYPEID"
referencedTableName=
"EAMLOCATIONTYPE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocation-
88
-40"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocation-
90
-40"
>
<addForeignKeyConstraint
baseColumnNames=
"PEAMLOCATIONID"
baseTableName=
"EAMLOCATION"
constraintName=
"DER1N_EAMLOCATION_EAMLOCATION_"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMLOCATIONID"
referencedTableName=
"EAMLOCATION"
validate=
"true"
/>
</changeSet>
<!--输出实体[EAMLOCATIONSTATE]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录