提交 929a93b9 编写于 作者: ibizdev's avatar ibizdev

lab_gzf 部署微服务应用

上级 3b1e7c6e
...@@ -149,6 +149,16 @@ ...@@ -149,6 +149,16 @@
"viewtag": "4db903dc10459c98d4834775020d8b74", "viewtag": "4db903dc10459c98d4834775020d8b74",
"memo": "" "memo": ""
}, },
"eamassettypepickupgridview": {
"title": "资产类型选择表格视图",
"caption": "资产类型",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetTypePickupGridView",
"viewfilename": "eamasset-type-pickup-grid-view",
"viewtag": "58b301299902245cdd7dfd5ae23545b4",
"memo": "系统自动添加"
},
"eamapplystategridview": { "eamapplystategridview": {
"title": "维护申请状态表格视图", "title": "维护申请状态表格视图",
"caption": "维护申请状态", "caption": "维护申请状态",
...@@ -189,6 +199,16 @@ ...@@ -189,6 +199,16 @@
"viewtag": "6c816d46a07d56b2a9afca077d9bbfc3", "viewtag": "6c816d46a07d56b2a9afca077d9bbfc3",
"memo": "" "memo": ""
}, },
"eamassettypepickupview": {
"title": "资产类型数据选择视图",
"caption": "资产类型",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetTypePickupView",
"viewfilename": "eamasset-type-pickup-view",
"viewtag": "72c39b4fb4834276ae3933be232a2c90",
"memo": "系统自动添加"
},
"eamlocationstatemodeleditview": { "eamlocationstatemodeleditview": {
"title": "功能位置状态模型信息", "title": "功能位置状态模型信息",
"caption": "功能位置状态模型", "caption": "功能位置状态模型",
...@@ -199,6 +219,16 @@ ...@@ -199,6 +219,16 @@
"viewtag": "7bf1327f579d782d5cdb98528999a5e0", "viewtag": "7bf1327f579d782d5cdb98528999a5e0",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"eamassetpickupview": {
"title": "资产数据选择视图",
"caption": "资产",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetPickupView",
"viewfilename": "eamasset-pickup-view",
"viewtag": "906130a9861c2b0cff3173c9e171c1d1",
"memo": "系统自动添加"
},
"eamlocationstatemodelgridview": { "eamlocationstatemodelgridview": {
"title": "功能位置状态模型信息", "title": "功能位置状态模型信息",
"caption": "功能位置状态模型", "caption": "功能位置状态模型",
...@@ -329,6 +359,16 @@ ...@@ -329,6 +359,16 @@
"viewtag": "bb8b4b03a77ed63b8eb4ef3d62b669a6", "viewtag": "bb8b4b03a77ed63b8eb4ef3d62b669a6",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"eamassetquickcreateview": {
"title": "资产快速新建视图",
"caption": "资产",
"viewtype": "DEOPTVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetQuickCreateView",
"viewfilename": "eamasset-quick-create-view",
"viewtag": "bcdc34d8df9323426a402ba7b111fef2",
"memo": ""
},
"eamassetlocationassetgridview": { "eamassetlocationassetgridview": {
"title": "资产信息", "title": "资产信息",
"caption": "资产", "caption": "资产",
...@@ -469,6 +509,16 @@ ...@@ -469,6 +509,16 @@
"viewtag": "f7c04762f2a3e3026c909e6191a0998f", "viewtag": "f7c04762f2a3e3026c909e6191a0998f",
"memo": "" "memo": ""
}, },
"eamassetpickupgridview": {
"title": "资产选择表格视图",
"caption": "资产",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetPickupGridView",
"viewfilename": "eamasset-pickup-grid-view",
"viewtag": "fc2bbe178f6e4ee12ebeb45875b7f87c",
"memo": "系统自动添加"
},
"eamassetgridview": { "eamassetgridview": {
"title": "资产信息", "title": "资产信息",
"caption": "资产", "caption": "资产",
......
...@@ -12,6 +12,14 @@ export default { ...@@ -12,6 +12,14 @@ export default {
assettypenumber: "资产类型编号", assettypenumber: "资产类型编号",
}, },
views: { views: {
pickupgridview: {
caption: "资产类型",
title: "资产类型选择表格视图",
},
pickupview: {
caption: "资产类型",
title: "资产类型数据选择视图",
},
gridview: { gridview: {
caption: "资产类型", caption: "资产类型",
title: "资产类型信息", title: "资产类型信息",
......
...@@ -11,6 +11,14 @@ export default { ...@@ -11,6 +11,14 @@ export default {
assettypenumber: "资产类型编号", assettypenumber: "资产类型编号",
}, },
views: { views: {
pickupgridview: {
caption: "资产类型",
title: "资产类型选择表格视图",
},
pickupview: {
caption: "资产类型",
title: "资产类型数据选择视图",
},
gridview: { gridview: {
caption: "资产类型", caption: "资产类型",
title: "资产类型信息", title: "资产类型信息",
......
...@@ -34,10 +34,18 @@ export default { ...@@ -34,10 +34,18 @@ export default {
caption: "资产", caption: "资产",
title: "资产信息", title: "资产信息",
}, },
pickupview: {
caption: "资产",
title: "资产数据选择视图",
},
info_mainview: { info_mainview: {
caption: "资产", caption: "资产",
title: "资产信息", title: "资产信息",
}, },
quickcreateview: {
caption: "资产",
title: "资产快速新建视图",
},
locationassetgridview: { locationassetgridview: {
caption: "资产", caption: "资产",
title: "资产信息", title: "资产信息",
...@@ -46,17 +54,19 @@ export default { ...@@ -46,17 +54,19 @@ export default {
caption: "资产", caption: "资产",
title: "资产表格视图", title: "资产表格视图",
}, },
pickupgridview: {
caption: "资产",
title: "资产选择表格视图",
},
gridview: { gridview: {
caption: "资产", caption: "资产",
title: "资产信息", title: "资产信息",
}, },
}, },
main_form: { quickcreate_form: {
details: { details: {
group1: "资产基本信息", group1: "基本信息",
formpage1: "基本信息", formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
srfkey: "资产标识", srfkey: "资产标识",
...@@ -65,6 +75,14 @@ export default { ...@@ -65,6 +75,14 @@ export default {
srfuf: "", srfuf: "",
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
assetnumber: "资产编号",
assetname: "资产名称",
eamassettypename: "资产类型",
eamlocationname: "功能位置",
passetname: "上级资产",
eamlocationid: "功能位置标识",
eamassettypeid: "资产类型标识",
passetid: "上级资产标识",
assetid: "资产标识", assetid: "资产标识",
}, },
uiactions: { uiactions: {
...@@ -92,6 +110,25 @@ export default { ...@@ -92,6 +110,25 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main_form: {
details: {
group1: "资产基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "资产标识",
srfmajortext: "资产名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
assetid: "资产标识",
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
assetnumber: "资产编号", assetnumber: "资产编号",
...@@ -119,17 +156,23 @@ export default { ...@@ -119,17 +156,23 @@ export default {
default_searchform: { default_searchform: {
details: { details: {
formpage1: "常规条件", formpage1: "常规条件",
n_assetnumber_like: "资产编号(文本包含(%))",
n_assetname_like: "资产名称(文本包含(%))",
n_eamassettypename_eq: "资产类型(等于(=))",
n_eamlocationname_eq: "功能位置(等于(=))",
n_eamlocationid_eq: "",
n_eamassettypeid_eq: "",
}, },
uiactions: { uiactions: {
}, },
}, },
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem5: { tbitem12_openquickcreateview: {
caption: "New", caption: "新建",
tip: "New", tip: "新建",
}, },
seperator1: { tbitem14: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
tbitem2: { tbitem2: {
...@@ -169,16 +212,6 @@ export default { ...@@ -169,16 +212,6 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
editviewtoolbar_toolbar: {
tbitem2: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem1: {
caption: "关闭",
tip: "关闭",
},
},
childgridviewtoolbar_toolbar: { childgridviewtoolbar_toolbar: {
tbitem5: { tbitem5: {
caption: "New", caption: "New",
...@@ -225,6 +258,16 @@ export default { ...@@ -225,6 +258,16 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
editviewtoolbar_toolbar: {
tbitem2: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem1: {
caption: "关闭",
tip: "关闭",
},
},
locationassetgridviewtoolbar_toolbar: { locationassetgridviewtoolbar_toolbar: {
tbitem5: { tbitem5: {
caption: "New", caption: "New",
......
...@@ -33,10 +33,18 @@ export default { ...@@ -33,10 +33,18 @@ export default {
caption: "资产", caption: "资产",
title: "资产信息", title: "资产信息",
}, },
pickupview: {
caption: "资产",
title: "资产数据选择视图",
},
info_mainview: { info_mainview: {
caption: "资产", caption: "资产",
title: "资产信息", title: "资产信息",
}, },
quickcreateview: {
caption: "资产",
title: "资产快速新建视图",
},
locationassetgridview: { locationassetgridview: {
caption: "资产", caption: "资产",
title: "资产信息", title: "资产信息",
...@@ -45,17 +53,19 @@ export default { ...@@ -45,17 +53,19 @@ export default {
caption: "资产", caption: "资产",
title: "资产表格视图", title: "资产表格视图",
}, },
pickupgridview: {
caption: "资产",
title: "资产选择表格视图",
},
gridview: { gridview: {
caption: "资产", caption: "资产",
title: "资产信息", title: "资产信息",
}, },
}, },
main_form: { quickcreate_form: {
details: { details: {
group1: "资产基本信息", group1: "基本信息",
formpage1: "基本信息", formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
srfkey: "资产标识", srfkey: "资产标识",
...@@ -64,6 +74,14 @@ export default { ...@@ -64,6 +74,14 @@ export default {
srfuf: "", srfuf: "",
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
assetnumber: "资产编号",
assetname: "资产名称",
eamassettypename: "资产类型",
eamlocationname: "功能位置",
passetname: "上级资产",
eamlocationid: "功能位置标识",
eamassettypeid: "资产类型标识",
passetid: "上级资产标识",
assetid: "资产标识", assetid: "资产标识",
}, },
uiactions: { uiactions: {
...@@ -91,6 +109,25 @@ export default { ...@@ -91,6 +109,25 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main_form: {
details: {
group1: "资产基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "资产标识",
srfmajortext: "资产名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
assetid: "资产标识",
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
assetnumber: "资产编号", assetnumber: "资产编号",
...@@ -118,17 +155,23 @@ export default { ...@@ -118,17 +155,23 @@ export default {
default_searchform: { default_searchform: {
details: { details: {
formpage1: "常规条件", formpage1: "常规条件",
n_assetnumber_like: "资产编号(文本包含(%))",
n_assetname_like: "资产名称(文本包含(%))",
n_eamassettypename_eq: "资产类型(等于(=))",
n_eamlocationname_eq: "功能位置(等于(=))",
n_eamlocationid_eq: "",
n_eamassettypeid_eq: "",
}, },
uiactions: { uiactions: {
}, },
}, },
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem5: { tbitem12_openquickcreateview: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
}, },
seperator1: { tbitem14: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
tbitem2: { tbitem2: {
...@@ -168,16 +211,6 @@ export default { ...@@ -168,16 +211,6 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
editviewtoolbar_toolbar: {
tbitem2: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem1: {
caption: "关闭",
tip: "关闭",
},
},
childgridviewtoolbar_toolbar: { childgridviewtoolbar_toolbar: {
tbitem5: { tbitem5: {
caption: "新建", caption: "新建",
...@@ -224,6 +257,16 @@ export default { ...@@ -224,6 +257,16 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
editviewtoolbar_toolbar: {
tbitem2: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem1: {
caption: "关闭",
tip: "关闭",
},
},
locationassetgridviewtoolbar_toolbar: { locationassetgridviewtoolbar_toolbar: {
tbitem5: { tbitem5: {
caption: "新建", caption: "新建",
......
...@@ -127,6 +127,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -127,6 +127,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMAssetSummaryView", "viewname": "EAMAssetSummaryView",
"viewtag": "4db903dc10459c98d4834775020d8b74" "viewtag": "4db903dc10459c98d4834775020d8b74"
}, },
"eamassettypepickupgridview": {
"title": "资产类型选择表格视图",
"caption": "资产类型",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetTypePickupGridView",
"viewtag": "58b301299902245cdd7dfd5ae23545b4"
},
"eamapplystategridview": { "eamapplystategridview": {
"title": "维护申请状态表格视图", "title": "维护申请状态表格视图",
"caption": "维护申请状态", "caption": "维护申请状态",
...@@ -159,6 +167,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -159,6 +167,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMAssetInfoView", "viewname": "EAMAssetInfoView",
"viewtag": "6c816d46a07d56b2a9afca077d9bbfc3" "viewtag": "6c816d46a07d56b2a9afca077d9bbfc3"
}, },
"eamassettypepickupview": {
"title": "资产类型数据选择视图",
"caption": "资产类型",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetTypePickupView",
"viewtag": "72c39b4fb4834276ae3933be232a2c90"
},
"eamlocationstatemodeleditview": { "eamlocationstatemodeleditview": {
"title": "功能位置状态模型信息", "title": "功能位置状态模型信息",
"caption": "功能位置状态模型", "caption": "功能位置状态模型",
...@@ -167,6 +183,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -167,6 +183,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMLocationStateModelEditView", "viewname": "EAMLocationStateModelEditView",
"viewtag": "7bf1327f579d782d5cdb98528999a5e0" "viewtag": "7bf1327f579d782d5cdb98528999a5e0"
}, },
"eamassetpickupview": {
"title": "资产数据选择视图",
"caption": "资产",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetPickupView",
"viewtag": "906130a9861c2b0cff3173c9e171c1d1"
},
"eamlocationstatemodelgridview": { "eamlocationstatemodelgridview": {
"title": "功能位置状态模型信息", "title": "功能位置状态模型信息",
"caption": "功能位置状态模型", "caption": "功能位置状态模型",
...@@ -271,6 +295,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -271,6 +295,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMLocationStateModelPickupGridView", "viewname": "EAMLocationStateModelPickupGridView",
"viewtag": "bb8b4b03a77ed63b8eb4ef3d62b669a6" "viewtag": "bb8b4b03a77ed63b8eb4ef3d62b669a6"
}, },
"eamassetquickcreateview": {
"title": "资产快速新建视图",
"caption": "资产",
"viewtype": "DEOPTVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetQuickCreateView",
"viewtag": "bcdc34d8df9323426a402ba7b111fef2"
},
"eamassetlocationassetgridview": { "eamassetlocationassetgridview": {
"title": "资产信息", "title": "资产信息",
"caption": "资产", "caption": "资产",
...@@ -383,6 +415,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -383,6 +415,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMLocationStateGridView", "viewname": "EAMLocationStateGridView",
"viewtag": "f7c04762f2a3e3026c909e6191a0998f" "viewtag": "f7c04762f2a3e3026c909e6191a0998f"
}, },
"eamassetpickupgridview": {
"title": "资产选择表格视图",
"caption": "资产",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetPickupGridView",
"viewtag": "fc2bbe178f6e4ee12ebeb45875b7f87c"
},
"eamassetgridview": { "eamassetgridview": {
"title": "资产信息", "title": "资产信息",
"caption": "资产", "caption": "资产",
......
...@@ -103,9 +103,9 @@ export class EAMAssetGridViewBase extends GridViewBase { ...@@ -103,9 +103,9 @@ export class EAMAssetGridViewBase extends GridViewBase {
* @memberof EAMAssetGridView * @memberof EAMAssetGridView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
tbitem5: { 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: '' } }, tbitem12_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: '' } }, 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: { } }, seperator2: { name: 'seperator2', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
...@@ -174,8 +174,8 @@ export class EAMAssetGridViewBase extends GridViewBase { ...@@ -174,8 +174,8 @@ export class EAMAssetGridViewBase extends GridViewBase {
* @memberof EAMAssetGridViewBase * @memberof EAMAssetGridViewBase
*/ */
public toolbar_click($event: any, $event2?: any): void { public toolbar_click($event: any, $event2?: any): void {
if (Object.is($event.tag, 'tbitem5')) { if (Object.is($event.tag, 'tbitem12_openquickcreateview')) {
this.toolbar_tbitem5_click(null, '', $event2); this.toolbar_tbitem12_openquickcreateview_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem2')) { if (Object.is($event.tag, 'tbitem2')) {
this.toolbar_tbitem2_click(null, '', $event2); this.toolbar_tbitem2_click(null, '', $event2);
...@@ -293,7 +293,7 @@ export class EAMAssetGridViewBase extends GridViewBase { ...@@ -293,7 +293,7 @@ export class EAMAssetGridViewBase extends GridViewBase {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public toolbar_tbitem5_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem12_openquickcreateview_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -310,7 +310,8 @@ export class EAMAssetGridViewBase extends GridViewBase { ...@@ -310,7 +310,8 @@ export class EAMAssetGridViewBase extends GridViewBase {
datas = [params]; 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 { ...@@ -511,16 +512,28 @@ export class EAMAssetGridViewBase extends GridViewBase {
} }
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'eamassets', parameterName: 'eamasset' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'editview', parameterName: 'editview' },
]; ];
const _this: any = this; const _this: any = this;
const openIndexViewTab = (data: any) => { const openDrawer = (view: any, data: any) => {
const _data: any = { w: (new Date().getTime()) }; let container: Subject<any> = this.$appdrawer.openDrawer(view, tempContext, data);
Object.assign(_data, data); container.subscribe((result: any) => {
const routePath = this.$viewTool.buildUpRoutePath(this.$route, tempContext, deResParameters, parameters, args, _data); if (!result || !Object.is(result.ret, 'OK')) {
this.$router.push(routePath); return;
} }
openIndexViewTab(data); if (!xData || !(xData.refresh instanceof Function)) {
return;
}
xData.refresh(result.datas);
});
}
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 { ...@@ -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 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 编辑 * 编辑
* *
......
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
<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>
&nbsp;&nbsp;
<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
<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>
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
<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>
&nbsp;&nbsp;
<i-button @click="onClickCancel.apply(_self, arguments)">{{ containerModel.view_cancelbtn.text }}</i-button>
</div>
</template>
</studio-view-style2>
\ No newline at end of file
<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>
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
<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
<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>
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
<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>
&nbsp;&nbsp;
<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
<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>
export const PageComponents = { export const PageComponents = {
install(Vue: any, opt: any) { install(Vue: any, opt: any) {
Vue.component('eamlocation-info-view', () => import('@pages/location/eamlocation-info-view/eamlocation-info-view.vue')); Vue.component('eamasset-type-pickup-view', () => import('@pages/asset/eamasset-type-pickup-view/eamasset-type-pickup-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-state-model-line-edit-view', () => import('@pages/asset/eamasset-state-model-line-edit-view/eamasset-state-model-line-edit-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-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-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-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-tree-exp-view', () => import('@pages/location/eamlocation-tree-exp-view/eamlocation-tree-exp-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('eamasset-state-edit-view', () => import('@pages/asset/eamasset-state-edit-view/eamasset-state-edit-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('eamlocation-tree-child-grid-view', () => import('@pages/location/eamlocation-tree-child-grid-view/eamlocation-tree-child-grid-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-pickup-grid-view', () => import('@pages/location/eamlocation-state-pickup-grid-view/eamlocation-state-pickup-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-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-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-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-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-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('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('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-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-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('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-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('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('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
...@@ -44,32 +44,18 @@ const router = new Router({ ...@@ -44,32 +44,18 @@ const router = new Router({
component: () => import('@pages/base/app-index-view/app-index-view.vue'), component: () => import('@pages/base/app-index-view/app-index-view.vue'),
children: [ children: [
{ {
path: 'eamlocations/:eamlocation?/infoview/:infoview?', path: 'eamassettypes/:eamassettype?/pickupview/:pickupview?',
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?',
meta: { meta: {
caption: 'entities.eamlocationtype.views.pickupgridview.title', caption: 'entities.eamassettype.views.pickupview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationtypes', parameterName: 'eamlocationtype' }, { pathName: 'eamassettypes', parameterName: 'eamassettype' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' }, { pathName: 'pickupview', parameterName: 'pickupview' },
], ],
requireAuth: true, 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?', path: 'eamassetstatemodellines/:eamassetstatemodelline?/editview/:editview?',
...@@ -85,20 +71,6 @@ const router = new Router({ ...@@ -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'), 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?', path: 'eamlocations/:eamlocation?/eamassets/:eamasset?/treeexpview/:treeexpview?',
meta: { meta: {
...@@ -128,35 +100,6 @@ const router = new Router({ ...@@ -128,35 +100,6 @@ const router = new Router({
}, },
component: () => import('@pages/asset/eamasset-tree-exp-view/eamasset-tree-exp-view.vue'), 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?', path: 'eamlocations/:eamlocation?/eamassets/:eamasset?/childgridview/:childgridview?',
meta: { meta: {
...@@ -187,18 +130,18 @@ const router = new Router({ ...@@ -187,18 +130,18 @@ const router = new Router({
component: () => import('@pages/asset/eamasset-child-grid-view/eamasset-child-grid-view.vue'), component: () => import('@pages/asset/eamasset-child-grid-view/eamasset-child-grid-view.vue'),
}, },
{ {
path: 'eamassetstatemodellines/:eamassetstatemodelline?/gridview/:gridview?', path: 'eamlocations/:eamlocation?/editview/:editview?',
meta: { meta: {
caption: 'entities.eamassetstatemodelline.views.gridview.title', caption: 'entities.eamlocation.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassetstatemodellines', parameterName: 'eamassetstatemodelline' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, 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?', path: 'eamlocations/:eamlocation?/treeexpview/:treeexpview?',
...@@ -215,569 +158,741 @@ const router = new Router({ ...@@ -215,569 +158,741 @@ const router = new Router({
component: () => import('@pages/location/eamlocation-tree-exp-view/eamlocation-tree-exp-view.vue'), component: () => import('@pages/location/eamlocation-tree-exp-view/eamlocation-tree-exp-view.vue'),
}, },
{ {
path: 'eamlocations/:eamlocation?/editview/:editview?', path: 'eamassetstates/:eamassetstate?/editview/:editview?',
meta: { meta: {
caption: 'entities.eamlocation.views.editview.title', caption: 'entities.eamassetstate.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamassetstates', parameterName: 'eamassetstate' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, 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: 'eamlocationstates/:eamlocationstate?/editview/:editview?', path: 'eamlocations/:eamlocation?/treechildgridview/:treechildgridview?',
meta: { meta: {
caption: 'entities.eamlocationstate.views.editview.title', caption: 'entities.eamlocation.views.treechildgridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationstates', parameterName: 'eamlocationstate' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'treechildgridview', parameterName: 'treechildgridview' },
], ],
requireAuth: true, 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: 'eamlocationtypes/:eamlocationtype?/gridview/:gridview?', path: 'eamlocationstates/:eamlocationstate?/pickupgridview/:pickupgridview?',
meta: { meta: {
caption: 'entities.eamlocationtype.views.gridview.title', caption: 'entities.eamlocationstate.views.pickupgridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationtypes', parameterName: 'eamlocationtype' }, { pathName: 'eamlocationstates', parameterName: 'eamlocationstate' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' },
], ],
requireAuth: true, 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/:infoview?', path: 'eamlocations/:eamlocation?/eamassets/:eamasset?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.eamasset.views.infoview.title', caption: 'entities.eamasset.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'eamassets', parameterName: 'eamasset' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'infoview', parameterName: 'infoview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, 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/:infoview?', path: 'eamassets/:eamasset?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.eamasset.views.infoview.title', caption: 'entities.eamasset.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassets', parameterName: 'eamasset' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'infoview', parameterName: 'infoview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, 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/:treechildgridview?', path: 'eamlocationstatemodels/:eamlocationstatemodel?/pickupgridview/:pickupgridview?',
meta: { meta: {
caption: 'entities.eamlocation.views.treechildgridview.title', caption: 'entities.eamlocationstatemodel.views.pickupgridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamlocationstatemodels', parameterName: 'eamlocationstatemodel' },
{ pathName: 'treechildgridview', parameterName: 'treechildgridview' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' },
], ],
requireAuth: true, 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: 'eamassetstates/:eamassetstate?/editview/:editview?', path: 'eamlocations/:eamlocation?/pickupview/:pickupview?',
meta: { meta: {
caption: 'entities.eamassetstate.views.editview.title', caption: 'entities.eamlocation.views.pickupview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassetstates', parameterName: 'eamassetstate' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'pickupview', parameterName: 'pickupview' },
], ],
requireAuth: true, 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: 'eamassetstatemodels/:eamassetstatemodel?/editview/:editview?', path: 'eamlocationstatemodels/:eamlocationstatemodel?/pickupview/:pickupview?',
meta: { meta: {
caption: 'entities.eamassetstatemodel.views.editview.title', caption: 'entities.eamlocationstatemodel.views.pickupview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassetstatemodels', parameterName: 'eamassetstatemodel' }, { pathName: 'eamlocationstatemodels', parameterName: 'eamlocationstatemodel' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'pickupview', parameterName: 'pickupview' },
], ],
requireAuth: true, 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: 'eamassetstates/:eamassetstate?/pickupgridview/:pickupgridview?', path: 'eamlocationstates/:eamlocationstate?/pickupview/:pickupview?',
meta: { meta: {
caption: 'entities.eamassetstate.views.pickupgridview.title', caption: 'entities.eamlocationstate.views.pickupview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassetstates', parameterName: 'eamassetstate' }, { pathName: 'eamlocationstates', parameterName: 'eamlocationstate' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' }, { pathName: 'pickupview', parameterName: 'pickupview' },
], ],
requireAuth: true, 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: 'eamlocationstates/:eamlocationstate?/pickupgridview/:pickupgridview?', path: 'eamlocations/:eamlocation?/info_mainview/:info_mainview?',
meta: { meta: {
caption: 'entities.eamlocationstate.views.pickupgridview.title', caption: 'entities.eamlocation.views.info_mainview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationstates', parameterName: 'eamlocationstate' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' }, { pathName: 'info_mainview', parameterName: 'info_mainview' },
], ],
requireAuth: true, 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: 'eamlocationstatemodels/:eamlocationstatemodel?/editview/:editview?', path: 'eamassetstates/:eamassetstate?/pickupview/:pickupview?',
meta: { meta: {
caption: 'entities.eamlocationstatemodel.views.editview.title', caption: 'entities.eamassetstate.views.pickupview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationstatemodels', parameterName: 'eamlocationstatemodel' }, { pathName: 'eamassetstates', parameterName: 'eamassetstate' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'pickupview', parameterName: 'pickupview' },
], ],
requireAuth: true, 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: 'eamlocations/:eamlocation?/eamassets/:eamasset?/gridview/:gridview?', path: 'eamassetstates/:eamassetstate?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.eamasset.views.gridview.title', caption: 'entities.eamassetstate.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamassetstates', parameterName: 'eamassetstate' },
{ pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, 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: 'eamassets/:eamasset?/gridview/:gridview?', path: 'eamlocationtypes/:eamlocationtype?/pickupview/:pickupview?',
meta: { meta: {
caption: 'entities.eamasset.views.gridview.title', caption: 'entities.eamlocationtype.views.pickupview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassets', parameterName: 'eamasset' }, { pathName: 'eamlocationtypes', parameterName: 'eamlocationtype' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'pickupview', parameterName: 'pickupview' },
], ],
requireAuth: true, 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: 'eamassetstatemodels/:eamassetstatemodel?/pickupview/:pickupview?', path: 'eamlocations/:eamlocation?/eamassets/:eamasset?/info_mainview/:info_mainview?',
meta: { meta: {
caption: 'entities.eamassetstatemodel.views.pickupview.title', caption: 'entities.eamasset.views.info_mainview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassetstatemodels', parameterName: 'eamassetstatemodel' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'pickupview', parameterName: 'pickupview' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'info_mainview', parameterName: 'info_mainview' },
], ],
requireAuth: true, 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: 'eamlocationstatemodels/:eamlocationstatemodel?/pickupgridview/:pickupgridview?', path: 'eamassets/:eamasset?/info_mainview/:info_mainview?',
meta: { meta: {
caption: 'entities.eamlocationstatemodel.views.pickupgridview.title', caption: 'entities.eamasset.views.info_mainview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationstatemodels', parameterName: 'eamlocationstatemodel' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' }, { pathName: 'info_mainview', parameterName: 'info_mainview' },
], ],
requireAuth: true, 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: 'eamlocations/:eamlocation?/childgridview/:childgridview?', path: 'eamassetstatemodels/:eamassetstatemodel?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.eamlocation.views.childgridview.title', caption: 'entities.eamassetstatemodel.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamassetstatemodels', parameterName: 'eamassetstatemodel' },
{ pathName: 'childgridview', parameterName: 'childgridview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, 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: 'eamlocationstatemodellines/:eamlocationstatemodelline?/editview/:editview?', path: 'eamlocations/:eamlocation?/eamassets/:eamasset?/editview/:editview?',
meta: { meta: {
caption: 'entities.eamlocationstatemodelline.views.editview.title', caption: 'entities.eamasset.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationstatemodellines', parameterName: 'eamlocationstatemodelline' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, 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: 'eamlocationstates/:eamlocationstate?/listexpview/:listexpview?', path: 'eamassets/:eamasset?/editview/:editview?',
meta: { meta: {
caption: 'entities.eamlocationstate.views.listexpview.title', caption: 'entities.eamasset.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationstates', parameterName: 'eamlocationstate' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'listexpview', parameterName: 'listexpview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, 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: 'eamlocations/:eamlocation?/pickupview/:pickupview?', path: 'eamassettypes/:eamassettype?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.eamlocation.views.pickupview.title', caption: 'entities.eamassettype.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamassettypes', parameterName: 'eamassettype' },
{ pathName: 'pickupview', parameterName: 'pickupview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, 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: 'eamlocationstatemodellines/:eamlocationstatemodelline?/gridview/:gridview?', path: 'eamassetstatemodels/:eamassetstatemodel?/pickupgridview/:pickupgridview?',
meta: { meta: {
caption: 'entities.eamlocationstatemodelline.views.gridview.title', caption: 'entities.eamassetstatemodel.views.pickupgridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationstatemodellines', parameterName: 'eamlocationstatemodelline' }, { pathName: 'eamassetstatemodels', parameterName: 'eamassetstatemodel' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' },
], ],
requireAuth: true, 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: 'eamlocationtypes/:eamlocationtype?/editview/:editview?', path: 'eamlocations/:eamlocation?/eamassets/:eamasset?/locationassetgridview/:locationassetgridview?',
meta: { meta: {
caption: 'entities.eamlocationtype.views.editview.title', caption: 'entities.eamasset.views.locationassetgridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationtypes', parameterName: 'eamlocationtype' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'locationassetgridview', parameterName: 'locationassetgridview' },
], ],
requireAuth: true, 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: 'eamlocationstates/:eamlocationstate?/pickupview/:pickupview?', path: 'eamassets/:eamasset?/locationassetgridview/:locationassetgridview?',
meta: { meta: {
caption: 'entities.eamlocationstate.views.pickupview.title', caption: 'entities.eamasset.views.locationassetgridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationstates', parameterName: 'eamlocationstate' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'pickupview', parameterName: 'pickupview' }, { pathName: 'locationassetgridview', parameterName: 'locationassetgridview' },
], ],
requireAuth: true, 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: 'eamlocationstatemodels/:eamlocationstatemodel?/pickupview/:pickupview?', path: 'eamlocations/:eamlocation?/infoview/:infoview?',
meta: { meta: {
caption: 'entities.eamlocationstatemodel.views.pickupview.title', caption: 'entities.eamlocation.views.infoview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationstatemodels', parameterName: 'eamlocationstatemodel' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'pickupview', parameterName: 'pickupview' }, { pathName: 'infoview', parameterName: 'infoview' },
], ],
requireAuth: true, 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: 'eamlocations/:eamlocation?/info_mainview/:info_mainview?', path: 'eamlocationtypes/:eamlocationtype?/pickupgridview/:pickupgridview?',
meta: { meta: {
caption: 'entities.eamlocation.views.info_mainview.title', caption: 'entities.eamlocationtype.views.pickupgridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamlocationtypes', parameterName: 'eamlocationtype' },
{ pathName: 'info_mainview', parameterName: 'info_mainview' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' },
], ],
requireAuth: true, 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: 'eamlocations/:eamlocation?/pickupgridview/:pickupgridview?', path: 'eamassettypes/:eamassettype?/editview/:editview?',
meta: { meta: {
caption: 'entities.eamlocation.views.pickupgridview.title', caption: 'entities.eamassettype.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamassettypes', parameterName: 'eamassettype' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, 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: { meta: {
caption: 'entities.eamlocation.views.summaryview.title', caption: 'entities.eamasset.views.summaryview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'summaryview', parameterName: 'summaryview' }, { pathName: 'summaryview', parameterName: 'summaryview' },
], ],
requireAuth: true, 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: 'eamassetstates/:eamassetstate?/pickupview/:pickupview?', path: 'eamassets/:eamasset?/summaryview/:summaryview?',
meta: { meta: {
caption: 'entities.eamassetstate.views.pickupview.title', caption: 'entities.eamasset.views.summaryview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassetstates', parameterName: 'eamassetstate' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'pickupview', parameterName: 'pickupview' }, { pathName: 'summaryview', parameterName: 'summaryview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/asset/eamasset-state-pickup-view/eamasset-state-pickup-view.vue'), component: () => import('@pages/asset/eamasset-summary-view/eamasset-summary-view.vue'),
}, },
{ {
path: 'eamlocationtypes/:eamlocationtype?/pickupview/:pickupview?', path: 'eamassetstatemodellines/:eamassetstatemodelline?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.eamlocationtype.views.pickupview.title', caption: 'entities.eamassetstatemodelline.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationtypes', parameterName: 'eamlocationtype' }, { pathName: 'eamassetstatemodellines', parameterName: 'eamassetstatemodelline' },
{ pathName: 'pickupview', parameterName: 'pickupview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, 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: 'eamassetstates/:eamassetstate?/gridview/:gridview?', path: 'eamlocationtypes/:eamlocationtype?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.eamassetstate.views.gridview.title', caption: 'entities.eamlocationtype.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassetstates', parameterName: 'eamassetstate' }, { pathName: 'eamlocationtypes', parameterName: 'eamlocationtype' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/asset/eamasset-state-grid-view/eamasset-state-grid-view.vue'), component: () => import('@pages/location/eamlocation-type-grid-view/eamlocation-type-grid-view.vue'),
}, },
{ {
path: 'eamlocations/:eamlocation?/eamassets/:eamasset?/info_mainview/:info_mainview?', path: 'eamlocationstates/:eamlocationstate?/editview/:editview?',
meta: { 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:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'eamassets', parameterName: 'eamasset' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'info_mainview', parameterName: 'info_mainview' }, { pathName: 'infoview', parameterName: 'infoview' },
], ],
requireAuth: true, 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_mainview?', path: 'eamassets/:eamasset?/infoview/:infoview?',
meta: { meta: {
caption: 'entities.eamasset.views.info_mainview.title', caption: 'entities.eamasset.views.infoview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassets', parameterName: 'eamasset' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'info_mainview', parameterName: 'info_mainview' }, { pathName: 'infoview', parameterName: 'infoview' },
], ],
requireAuth: true, 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/:gridview?', path: 'eamassetstatemodels/:eamassetstatemodel?/editview/:editview?',
meta: { meta: {
caption: 'entities.eamassetstatemodel.views.gridview.title', caption: 'entities.eamassetstatemodel.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassetstatemodels', parameterName: 'eamassetstatemodel' }, { pathName: 'eamassetstatemodels', parameterName: 'eamassetstatemodel' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, 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: 'eamlocations/:eamlocation?/eamassets/:eamasset?/editview/:editview?', path: 'eamassetstates/:eamassetstate?/pickupgridview/:pickupgridview?',
meta: { 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:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'eamassets', parameterName: 'eamasset' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' },
], ],
requireAuth: true, 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/:editview?', path: 'eamassets/:eamasset?/pickupgridview/:pickupgridview?',
meta: { meta: {
caption: 'entities.eamasset.views.editview.title', caption: 'entities.eamasset.views.pickupgridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassets', parameterName: 'eamasset' }, { 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' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, 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/:childgridview?',
meta: { meta: {
caption: 'entities.eamlocation.views.gridview.title', caption: 'entities.eamlocation.views.childgridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'childgridview', parameterName: 'childgridview' },
], ],
requireAuth: true, 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: 'eamassettypes/:eamassettype?/gridview/:gridview?', path: 'eamlocationstates/:eamlocationstate?/listexpview/:listexpview?',
meta: { meta: {
caption: 'entities.eamassettype.views.gridview.title', caption: 'entities.eamlocationstate.views.listexpview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { 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' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/asset/eamasset-type-grid-view/eamasset-type-grid-view.vue'), component: () => import('@pages/location/eamlocation-state-model-line-grid-view/eamlocation-state-model-line-grid-view.vue'),
}, },
{ {
path: 'eamassetstatemodels/:eamassetstatemodel?/pickupgridview/:pickupgridview?', path: 'eamlocationtypes/:eamlocationtype?/editview/:editview?',
meta: { meta: {
caption: 'entities.eamassetstatemodel.views.pickupgridview.title', caption: 'entities.eamlocationtype.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { 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' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' },
], ],
requireAuth: true, 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: 'eamlocationstatemodels/:eamlocationstatemodel?/gridview/:gridview?', path: 'eamlocations/:eamlocation?/summaryview/:summaryview?',
meta: { meta: {
caption: 'entities.eamlocationstatemodel.views.gridview.title', caption: 'entities.eamlocation.views.summaryview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocationstatemodels', parameterName: 'eamlocationstatemodel' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'summaryview', parameterName: 'summaryview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/location/eamlocation-state-model-grid-view/eamlocation-state-model-grid-view.vue'), component: () => import('@pages/location/eamlocation-summary-view/eamlocation-summary-view.vue'),
}, },
{ {
path: 'eamlocations/:eamlocation?/eamassets/:eamasset?/locationassetgridview/:locationassetgridview?', path: 'eamlocations/:eamlocation?/eamassets/:eamasset?/quickcreateview/:quickcreateview?',
meta: { meta: {
caption: 'entities.eamasset.views.locationassetgridview.title', caption: 'entities.eamasset.views.quickcreateview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamlocations', parameterName: 'eamlocation' }, { pathName: 'eamlocations', parameterName: 'eamlocation' },
{ pathName: 'eamassets', parameterName: 'eamasset' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'locationassetgridview', parameterName: 'locationassetgridview' }, { pathName: 'quickcreateview', parameterName: 'quickcreateview' },
], ],
requireAuth: true, 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/:locationassetgridview?', path: 'eamassets/:eamasset?/quickcreateview/:quickcreateview?',
meta: { meta: {
caption: 'entities.eamasset.views.locationassetgridview.title', caption: 'entities.eamasset.views.quickcreateview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'eamassets', parameterName: 'eamasset' }, { pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'locationassetgridview', parameterName: 'locationassetgridview' }, { pathName: 'quickcreateview', parameterName: 'quickcreateview' },
], ],
requireAuth: true, 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, ...indexRoutes,
], ],
......
...@@ -156,6 +156,15 @@ export const viewstate: any = { ...@@ -156,6 +156,15 @@ export const viewstate: any = {
'afb13d98ae97ebb876598388432f8c1d', 'afb13d98ae97ebb876598388432f8c1d',
], ],
}, },
{
viewtag: '58b301299902245cdd7dfd5ae23545b4',
viewmodule: 'Asset',
viewname: 'EAMAssetTypePickupGridView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '6a395ea52232233416d9c7120518863d', viewtag: '6a395ea52232233416d9c7120518863d',
viewmodule: 'Location', viewmodule: 'Location',
...@@ -186,6 +195,16 @@ export const viewstate: any = { ...@@ -186,6 +195,16 @@ export const viewstate: any = {
'c8bf8b682adc459f7f285328199ba4b4', 'c8bf8b682adc459f7f285328199ba4b4',
], ],
}, },
{
viewtag: '72c39b4fb4834276ae3933be232a2c90',
viewmodule: 'Asset',
viewname: 'EAMAssetTypePickupView',
viewaction: '',
viewdatachange: false,
refviews: [
'58b301299902245cdd7dfd5ae23545b4',
],
},
{ {
viewtag: '7bf1327f579d782d5cdb98528999a5e0', viewtag: '7bf1327f579d782d5cdb98528999a5e0',
viewmodule: 'Location', viewmodule: 'Location',
...@@ -196,6 +215,16 @@ export const viewstate: any = { ...@@ -196,6 +215,16 @@ export const viewstate: any = {
'ecd1ec6299b5b24e2004fa15c4eef92d', 'ecd1ec6299b5b24e2004fa15c4eef92d',
], ],
}, },
{
viewtag: '906130a9861c2b0cff3173c9e171c1d1',
viewmodule: 'Asset',
viewname: 'EAMAssetPickupView',
viewaction: '',
viewdatachange: false,
refviews: [
'fc2bbe178f6e4ee12ebeb45875b7f87c',
],
},
{ {
viewtag: '9e9b3600ba892d31757bacef1dcc9458', viewtag: '9e9b3600ba892d31757bacef1dcc9458',
viewmodule: 'Location', viewmodule: 'Location',
...@@ -322,6 +351,18 @@ export const viewstate: any = { ...@@ -322,6 +351,18 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: 'bcdc34d8df9323426a402ba7b111fef2',
viewmodule: 'Asset',
viewname: 'EAMAssetQuickCreateView',
viewaction: '',
viewdatachange: false,
refviews: [
'906130a9861c2b0cff3173c9e171c1d1',
'72c39b4fb4834276ae3933be232a2c90',
'2b28313d0f3925fa44b8683eb5ea54d6',
],
},
{ {
viewtag: 'c6a93309b2a9d12617cdbaf29731d2a4', viewtag: 'c6a93309b2a9d12617cdbaf29731d2a4',
viewmodule: 'Asset', viewmodule: 'Asset',
...@@ -329,8 +370,10 @@ export const viewstate: any = { ...@@ -329,8 +370,10 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'72c39b4fb4834276ae3933be232a2c90',
'3bac4846ece1082b8c3799d9a1fc7dde', '3bac4846ece1082b8c3799d9a1fc7dde',
'6c816d46a07d56b2a9afca077d9bbfc3', '6c816d46a07d56b2a9afca077d9bbfc3',
'2b28313d0f3925fa44b8683eb5ea54d6',
], ],
}, },
{ {
...@@ -340,7 +383,9 @@ export const viewstate: any = { ...@@ -340,7 +383,9 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'72c39b4fb4834276ae3933be232a2c90',
'3bac4846ece1082b8c3799d9a1fc7dde', '3bac4846ece1082b8c3799d9a1fc7dde',
'2b28313d0f3925fa44b8683eb5ea54d6',
], ],
}, },
{ {
...@@ -460,8 +505,11 @@ export const viewstate: any = { ...@@ -460,8 +505,11 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'3bac4846ece1082b8c3799d9a1fc7dde', '72c39b4fb4834276ae3933be232a2c90',
'bcdc34d8df9323426a402ba7b111fef2',
'afb13d98ae97ebb876598388432f8c1d',
'6c816d46a07d56b2a9afca077d9bbfc3', '6c816d46a07d56b2a9afca077d9bbfc3',
'2b28313d0f3925fa44b8683eb5ea54d6',
], ],
}, },
], ],
......
...@@ -89,6 +89,8 @@ export default class EAMAssetTypeUIServiceBase extends UIService { ...@@ -89,6 +89,8 @@ export default class EAMAssetTypeUIServiceBase extends UIService {
* @memberof EAMAssetTypeUIServiceBase * @memberof EAMAssetTypeUIServiceBase
*/ */
public initViewMap(){ 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('MDATAVIEW:',{viewname:'gridview',srfappde:'eamassettypes'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'eamassettypes'}); this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'eamassettypes'});
} }
......
...@@ -93,9 +93,12 @@ export default class EAMAssetUIServiceBase extends UIService { ...@@ -93,9 +93,12 @@ export default class EAMAssetUIServiceBase extends UIService {
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'eamassets'}); this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'summaryview',srfappde:'eamassets'}); this.allViewMap.set(':',{viewname:'summaryview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'infoview',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:'info_mainview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'quickcreateview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'locationassetgridview',srfappde:'eamassets'}); this.allViewMap.set(':',{viewname:'locationassetgridview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'childgridview',srfappde:'eamassets'}); this.allViewMap.set(':',{viewname:'childgridview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'eamassets'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'eamassets'}); this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'eamassets'});
} }
...@@ -115,6 +118,131 @@ export default class EAMAssetUIServiceBase extends UIService { ...@@ -115,6 +118,131 @@ export default class EAMAssetUIServiceBase extends UIService {
public initDeMainStateOPPrivsMap(){ 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);
}
/** /**
* 获取指定数据的重定向页面 * 获取指定数据的重定向页面
......
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
/**
* 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
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
<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
<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>
...@@ -96,6 +96,34 @@ export default class ChildGridModel { ...@@ -96,6 +96,34 @@ export default class ChildGridModel {
name: 'eamasset', name: 'eamasset',
prop: 'assetid', 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', name:'size',
......
...@@ -58,6 +58,12 @@ export class DefaultSearchFormBase extends SearchFormControlBase { ...@@ -58,6 +58,12 @@ export class DefaultSearchFormBase extends SearchFormControlBase {
* @memberof DefaultSearchFormBase * @memberof DefaultSearchFormBase
*/ */
public data: any = { 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 { ...@@ -68,6 +74,18 @@ export class DefaultSearchFormBase extends SearchFormControlBase {
*/ */
public detailsModel: any = { public detailsModel: any = {
formpage1: new FormPageModel({ caption: '常规条件', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this }) 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
...@@ -25,6 +25,32 @@ export default class DefaultModel { ...@@ -25,6 +25,32 @@ export default class DefaultModel {
prop: 'srffrontuf', prop: 'srffrontuf',
dataType: 'TEXT', 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',
},
] ]
} }
......
...@@ -2,6 +2,8 @@ import { Http,Util,Errorlog } from '@/utils'; ...@@ -2,6 +2,8 @@ import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service'; import ControlService from '@/widgets/control-service';
import EAMAssetService from '@/service/eamasset/eamasset-service'; import EAMAssetService from '@/service/eamasset/eamasset-service';
import DefaultModel from './default-searchform-model'; 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 { ...@@ -41,6 +43,22 @@ export default class DefaultService extends ControlService {
this.model = new DefaultModel(); 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 { ...@@ -80,6 +98,12 @@ export default class DefaultService extends ControlService {
*/ */
@Errorlog @Errorlog
public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> { 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([]) return Promise.reject([])
} }
......
...@@ -5,5 +5,70 @@ ...@@ -5,5 +5,70 @@
<i-button size="small" type="default" ghost @click="onReset.apply(_self, arguments)">{{this.$t('app.searchButton.reset')}}</i-button> <i-button size="small" type="default" ghost @click="onReset.apply(_self, arguments)">{{this.$t('app.searchButton.reset')}}</i-button>
</div> </div>
<div class="form-content"> <div class="form-content">
<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> </div>
</i-form> </i-form>
\ No newline at end of file
...@@ -96,6 +96,34 @@ export default class MainModel { ...@@ -96,6 +96,34 @@ export default class MainModel {
name: 'eamasset', name: 'eamasset',
prop: 'assetid', 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', name:'size',
......
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
/**
* 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
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
<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
<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>
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
/**
* 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
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
<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
<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>
...@@ -118,6 +118,13 @@ public class EAMAssetSearchContext extends QueryWrapperContext<EAMAsset> { ...@@ -118,6 +118,13 @@ public class EAMAssetSearchContext extends QueryWrapperContext<EAMAsset> {
this.getSearchCond().like("passetname", n_passetname_like); 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);
}
}
/** /**
* 启用快速搜索 * 启用快速搜索
......
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
<!--输出实体[EAMASSET]数据结构 --> <!--输出实体[EAMASSET]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-eamasset-51-6"> <changeSet author="a_LAB01_e85d8801c" id="tab-eamasset-68-6">
<createTable tableName="ASSET"> <createTable tableName="ASSET">
<column name="ASSETID" remarks="" type="VARCHAR(100)"> <column name="ASSETID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_EAMASSET_ASSETID"/> <constraints primaryKey="true" primaryKeyName="PK_EAMASSET_ASSETID"/>
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
<!--输出实体[EAMASSETSTATE]数据结构 --> <!--输出实体[EAMASSETSTATE]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-eamassetstate-24-7"> <changeSet author="a_LAB01_e85d8801c" id="tab-eamassetstate-25-7">
<createTable tableName="EAMASSETSTATE"> <createTable tableName="EAMASSETSTATE">
<column name="CREATEDATE" remarks="" type="DATETIME"> <column name="CREATEDATE" remarks="" type="DATETIME">
</column> </column>
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
<!--输出实体[EAMASSETTYPE]数据结构 --> <!--输出实体[EAMASSETTYPE]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-eamassettype-19-10"> <changeSet author="a_LAB01_e85d8801c" id="tab-eamassettype-21-10">
<createTable tableName="EAMASSETTYPE"> <createTable tableName="EAMASSETTYPE">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
<!--输出实体[EAMLOCATION]数据结构 --> <!--输出实体[EAMLOCATION]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-eamlocation-88-11"> <changeSet author="a_LAB01_e85d8801c" id="tab-eamlocation-90-11">
<createTable tableName="EAMLOCATION"> <createTable tableName="EAMLOCATION">
<column name="EAMLOCATIONID" remarks="" type="VARCHAR(100)"> <column name="EAMLOCATIONID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_EAMLOCATION_EAMLOCATIONID"/> <constraints primaryKey="true" primaryKeyName="PK_EAMLOCATION_EAMLOCATIONID"/>
...@@ -581,16 +581,16 @@ ...@@ -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"/> <addForeignKeyConstraint baseColumnNames="EAMAPPLYSTATEMODELID" baseTableName="EAMAPPLYTYPE" constraintName="DER1N_EAMAPPLYTYPE_EAMAPPLYSTA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMAPPLYSTATEMODELID" referencedTableName="EAMAPPLYSTATEMODEL" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[EAMASSET]外键关系 --> <!--输出实体[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"/> <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>
<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"/> <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>
<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"/> <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>
<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"/> <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> </changeSet>
<!--输出实体[EAMASSETSTATE]外键关系 --> <!--输出实体[EAMASSETSTATE]外键关系 -->
...@@ -600,17 +600,17 @@ ...@@ -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"/> <addForeignKeyConstraint baseColumnNames="EAMASSETSTATEMODELID" baseTableName="EAMASSETSTATEMODELLINE" constraintName="DER1N_EAMASSETSTATEMODELLINE_E" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMASSETSTATEMODELID" referencedTableName="EAMASSETSTATEMODEL" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[EAMASSETTYPE]外键关系 --> <!--输出实体[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"/> <addForeignKeyConstraint baseColumnNames="EAMASSETSTATEMODELID" baseTableName="EAMASSETTYPE" constraintName="DER1N_EAMASSETTYPE_EAMASSETSTA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMASSETSTATEMODELID" referencedTableName="EAMASSETSTATEMODEL" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[EAMLOCATION]外键关系 --> <!--输出实体[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"/> <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>
<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"/> <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>
<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"/> <addForeignKeyConstraint baseColumnNames="PEAMLOCATIONID" baseTableName="EAMLOCATION" constraintName="DER1N_EAMLOCATION_EAMLOCATION_" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMLOCATIONID" referencedTableName="EAMLOCATION" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[EAMLOCATIONSTATE]外键关系 --> <!--输出实体[EAMLOCATIONSTATE]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册