提交 8f8b45ee 编写于 作者: ibizdev's avatar ibizdev

lab_gzf 部署微服务应用

上级 546ae8d6
...@@ -129,6 +129,16 @@ ...@@ -129,6 +129,16 @@
"viewtag": "2b28313d0f3925fa44b8683eb5ea54d6", "viewtag": "2b28313d0f3925fa44b8683eb5ea54d6",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"eamworkorderinfoview": {
"title": "工单信息",
"caption": "工单",
"viewtype": "DETABEXPVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWorkOrderInfoView",
"viewfilename": "eamwork-order-info-view",
"viewtag": "2fc820c040c33d878fc98791e3ad6d80",
"memo": ""
},
"eamassetstatemodelgridview": { "eamassetstatemodelgridview": {
"title": "资产状态模型信息", "title": "资产状态模型信息",
"caption": "资产状态模型", "caption": "资产状态模型",
...@@ -139,6 +149,26 @@ ...@@ -139,6 +149,26 @@
"viewtag": "30027967566375f388f110149cf48b49", "viewtag": "30027967566375f388f110149cf48b49",
"memo": "" "memo": ""
}, },
"eamworkorderquickcreateview": {
"title": "快速新建",
"caption": "工单",
"viewtype": "DEOPTVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWorkOrderQuickCreateView",
"viewfilename": "eamwork-order-quick-create-view",
"viewtag": "326f3b663c055e3f1ec6fa0d2c3f0223",
"memo": ""
},
"eamworkorderinfo_mainview": {
"title": "工单主信息",
"caption": "工单",
"viewtype": "DEEDITVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWorkOrderInfo_MainView",
"viewfilename": "eamwork-order-info-main-view",
"viewtag": "35d4b9cdba8869e6da734043cbd4f9a8",
"memo": ""
},
"eamapplytypepickupgridview": { "eamapplytypepickupgridview": {
"title": "维护申请类型选择表格视图", "title": "维护申请类型选择表格视图",
"caption": "维护申请类型", "caption": "维护申请类型",
...@@ -239,6 +269,16 @@ ...@@ -239,6 +269,16 @@
"viewtag": "67367b30b36597f2b4f455b9738f4dd8", "viewtag": "67367b30b36597f2b4f455b9738f4dd8",
"memo": "" "memo": ""
}, },
"eamwotypepickupview": {
"title": "工单类型数据选择视图",
"caption": "工单类型",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWOTypePickupView",
"viewfilename": "eamwotype-pickup-view",
"viewtag": "687ed577b14b3da7a542f17d0a1a6529",
"memo": "系统自动添加"
},
"eamlocationtypepickupgridview": { "eamlocationtypepickupgridview": {
"title": "功能位置类型选择表格视图", "title": "功能位置类型选择表格视图",
"caption": "功能位置类型", "caption": "功能位置类型",
...@@ -299,6 +339,16 @@ ...@@ -299,6 +339,16 @@
"viewtag": "72c39b4fb4834276ae3933be232a2c90", "viewtag": "72c39b4fb4834276ae3933be232a2c90",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"eamworkordergridview": {
"title": "工单信息",
"caption": "工单",
"viewtype": "DEGRIDVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWorkOrderGridView",
"viewfilename": "eamwork-order-grid-view",
"viewtag": "78b197ae25df6180e6c02c8b1b670a29",
"memo": ""
},
"eamapplysummaryview": { "eamapplysummaryview": {
"title": "维护申请主信息看板", "title": "维护申请主信息看板",
"caption": "维护申请", "caption": "维护申请",
...@@ -339,6 +389,16 @@ ...@@ -339,6 +389,16 @@
"viewtag": "81139a9fb0fce24a58db188651ba7155", "viewtag": "81139a9fb0fce24a58db188651ba7155",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"eamworkorderchildwogridview": {
"title": "子工单表格",
"caption": "工单",
"viewtype": "DEGRIDVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWorkOrderChildWOGridView",
"viewfilename": "eamwork-order-child-wogrid-view",
"viewtag": "8a03ef5ec2679c20c8072339004dcaaf",
"memo": ""
},
"eamworkordereditview": { "eamworkordereditview": {
"title": "工单编辑视图", "title": "工单编辑视图",
"caption": "工单", "caption": "工单",
...@@ -479,6 +539,16 @@ ...@@ -479,6 +539,16 @@
"viewtag": "afb13d98ae97ebb876598388432f8c1d", "viewtag": "afb13d98ae97ebb876598388432f8c1d",
"memo": "" "memo": ""
}, },
"eamworkordersummaryview": {
"title": "工单主信息看板",
"caption": "工单",
"viewtype": "DEPORTALVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWorkOrderSummaryView",
"viewfilename": "eamwork-order-summary-view",
"viewtag": "b1d6c73a4090f7747188a191cbb59000",
"memo": ""
},
"eamlocationchildgridview": { "eamlocationchildgridview": {
"title": "功能位置表格视图", "title": "功能位置表格视图",
"caption": "功能位置", "caption": "功能位置",
...@@ -529,6 +599,16 @@ ...@@ -529,6 +599,16 @@
"viewtag": "b97ed65fd88f536ebb13419938b19e2d", "viewtag": "b97ed65fd88f536ebb13419938b19e2d",
"memo": "" "memo": ""
}, },
"eamwotypepickupgridview": {
"title": "工单类型选择表格视图",
"caption": "工单类型",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWOTypePickupGridView",
"viewfilename": "eamwotype-pickup-grid-view",
"viewtag": "ba1263ca3437b411e86c330836d2a64b",
"memo": "系统自动添加"
},
"eamlocationstatemodelpickupgridview": { "eamlocationstatemodelpickupgridview": {
"title": "功能位置状态模型选择表格视图", "title": "功能位置状态模型选择表格视图",
"caption": "功能位置状态模型", "caption": "功能位置状态模型",
...@@ -730,7 +810,7 @@ ...@@ -730,7 +810,7 @@
"memo": "" "memo": ""
}, },
"eamapplyquickcreateview": { "eamapplyquickcreateview": {
"title": "快速新建视图", "title": "快速新建",
"caption": "维护申请", "caption": "维护申请",
"viewtype": "DEOPTVIEW", "viewtype": "DEOPTVIEW",
"viewmodule": "Apply", "viewmodule": "Apply",
......
...@@ -161,6 +161,7 @@ export default { ...@@ -161,6 +161,7 @@ export default {
menuitem14: "备件包", menuitem14: "备件包",
menuitem4: "工单管理", menuitem4: "工单管理",
menuitem3: "维护申请", menuitem3: "维护申请",
menuitem18: "工单",
menuitem5: "维护计划", menuitem5: "维护计划",
}, },
}, },
......
...@@ -161,6 +161,7 @@ export default { ...@@ -161,6 +161,7 @@ export default {
menuitem14: "备件包", menuitem14: "备件包",
menuitem4: "工单管理", menuitem4: "工单管理",
menuitem3: "维护申请", menuitem3: "维护申请",
menuitem18: "工单",
menuitem5: "维护计划", menuitem5: "维护计划",
}, },
}, },
......
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
}, },
quickcreateview: { quickcreateview: {
caption: "维护申请", caption: "维护申请",
title: "快速新建视图", title: "快速新建",
}, },
}, },
if_001_form: { if_001_form: {
......
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
}, },
quickcreateview: { quickcreateview: {
caption: "维护申请", caption: "维护申请",
title: "快速新建视图", title: "快速新建",
}, },
}, },
if_001_form: { if_001_form: {
......
...@@ -27,15 +27,98 @@ export default { ...@@ -27,15 +27,98 @@ export default {
pworkordername: "上级工单", pworkordername: "上级工单",
}, },
views: { views: {
infoview: {
caption: "工单",
title: "工单信息",
},
quickcreateview: {
caption: "工单",
title: "快速新建",
},
info_mainview: {
caption: "工单",
title: "工单主信息",
},
gridview: {
caption: "工单",
title: "工单信息",
},
childwogridview: {
caption: "工单",
title: "子工单表格",
},
editview: { editview: {
caption: "工单", caption: "工单",
title: "工单编辑视图", title: "工单编辑视图",
}, },
summaryview: {
caption: "工单",
title: "工单主信息看板",
},
applywogridview: { applywogridview: {
caption: "工单", caption: "工单",
title: "申请产生工单", title: "申请产生工单",
}, },
}, },
if_001_form: {
details: {
group1: "基本信息",
grouppanel1: "资产信息",
grouppanel2: "执行信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "工单标识",
srfmajortext: "工单名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
wonumber: "工单编号",
workordername: "工单名称",
eamwotypename: "工单类型",
pworkordername: "上级工单",
eamservicelevelname: "服务等级",
mdate: "制定日期",
eamwooriginname: "工单来源",
assetname: "资产",
eamlocationname: "功能位置",
wodate: "执行日期",
begintime: "实际开始时间",
endtime: "实际结束时间",
worklength: "工时",
eamlocationid: "功能位置标识",
workorderid: "工单标识",
assetid: "资产标识",
},
uiactions: {
},
},
ef_001_form: {
details: {
group1: "工单基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "工单标识",
srfmajortext: "工单名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
wonumber: "工单编号",
workordername: "工单名称",
eamwotypename: "工单类型",
assetname: "资产",
eamlocationname: "功能位置",
eamlocationid: "功能位置标识",
workorderid: "工单标识",
eamwotypeid: "工单类型标识",
assetid: "资产标识",
},
uiactions: {
},
},
main_form: { main_form: {
details: { details: {
group1: "工单基本信息", group1: "工单基本信息",
...@@ -55,6 +138,20 @@ export default { ...@@ -55,6 +138,20 @@ export default {
uiactions: { uiactions: {
}, },
}, },
grid_002_grid: {
columns: {
pworkordername: "上级工单",
wonumber: "工单编号",
workordername: "工单名称",
eamwotypename: "工单类型",
eamwooriginname: "工单来源",
assetname: "资产",
eamlocationname: "功能位置",
wodate: "执行日期",
},
uiactions: {
},
},
grid_001_grid: { grid_001_grid: {
columns: { columns: {
wonumber: "工单编号", wonumber: "工单编号",
...@@ -68,6 +165,19 @@ export default { ...@@ -68,6 +165,19 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main_grid: {
columns: {
wonumber: "工单编号",
workordername: "工单名称",
eamwotypename: "工单类型",
eamwooriginname: "工单来源",
assetname: "资产",
eamlocationname: "功能位置",
wodate: "执行日期",
},
uiactions: {
},
},
default_searchform: { default_searchform: {
details: { details: {
formpage1: "常规条件", formpage1: "常规条件",
...@@ -75,6 +185,52 @@ export default { ...@@ -75,6 +185,52 @@ export default {
uiactions: { uiactions: {
}, },
}, },
childwogridviewtoolbar_toolbar: {
tbitem5: {
caption: "New",
tip: "New",
},
seperator1: {
caption: "",
tip: "",
},
tbitem2: {
caption: "Edit",
tip: "Edit {0}",
},
seperator2: {
caption: "",
tip: "",
},
tbitem1: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem15: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem3: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem10: {
caption: "Filter",
tip: "Filter",
},
},
applywogridviewtoolbar_toolbar: { applywogridviewtoolbar_toolbar: {
tbitem5: { tbitem5: {
caption: "New", caption: "New",
...@@ -121,6 +277,44 @@ export default { ...@@ -121,6 +277,44 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
gridviewtoolbar_toolbar: {
tbitem2: {
caption: "Edit",
tip: "Edit {0}",
},
seperator2: {
caption: "",
tip: "",
},
tbitem1: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem15: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem3: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem10: {
caption: "Filter",
tip: "Filter",
},
},
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
tbitem2: { tbitem2: {
caption: "Save And Close", caption: "Save And Close",
......
...@@ -26,15 +26,98 @@ export default { ...@@ -26,15 +26,98 @@ export default {
pworkordername: "上级工单", pworkordername: "上级工单",
}, },
views: { views: {
infoview: {
caption: "工单",
title: "工单信息",
},
quickcreateview: {
caption: "工单",
title: "快速新建",
},
info_mainview: {
caption: "工单",
title: "工单主信息",
},
gridview: {
caption: "工单",
title: "工单信息",
},
childwogridview: {
caption: "工单",
title: "子工单表格",
},
editview: { editview: {
caption: "工单", caption: "工单",
title: "工单编辑视图", title: "工单编辑视图",
}, },
summaryview: {
caption: "工单",
title: "工单主信息看板",
},
applywogridview: { applywogridview: {
caption: "工单", caption: "工单",
title: "申请产生工单", title: "申请产生工单",
}, },
}, },
if_001_form: {
details: {
group1: "基本信息",
grouppanel1: "资产信息",
grouppanel2: "执行信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "工单标识",
srfmajortext: "工单名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
wonumber: "工单编号",
workordername: "工单名称",
eamwotypename: "工单类型",
pworkordername: "上级工单",
eamservicelevelname: "服务等级",
mdate: "制定日期",
eamwooriginname: "工单来源",
assetname: "资产",
eamlocationname: "功能位置",
wodate: "执行日期",
begintime: "实际开始时间",
endtime: "实际结束时间",
worklength: "工时",
eamlocationid: "功能位置标识",
workorderid: "工单标识",
assetid: "资产标识",
},
uiactions: {
},
},
ef_001_form: {
details: {
group1: "工单基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "工单标识",
srfmajortext: "工单名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
wonumber: "工单编号",
workordername: "工单名称",
eamwotypename: "工单类型",
assetname: "资产",
eamlocationname: "功能位置",
eamlocationid: "功能位置标识",
workorderid: "工单标识",
eamwotypeid: "工单类型标识",
assetid: "资产标识",
},
uiactions: {
},
},
main_form: { main_form: {
details: { details: {
group1: "工单基本信息", group1: "工单基本信息",
...@@ -54,6 +137,20 @@ export default { ...@@ -54,6 +137,20 @@ export default {
uiactions: { uiactions: {
}, },
}, },
grid_002_grid: {
columns: {
pworkordername: "上级工单",
wonumber: "工单编号",
workordername: "工单名称",
eamwotypename: "工单类型",
eamwooriginname: "工单来源",
assetname: "资产",
eamlocationname: "功能位置",
wodate: "执行日期",
},
uiactions: {
},
},
grid_001_grid: { grid_001_grid: {
columns: { columns: {
wonumber: "工单编号", wonumber: "工单编号",
...@@ -67,6 +164,19 @@ export default { ...@@ -67,6 +164,19 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main_grid: {
columns: {
wonumber: "工单编号",
workordername: "工单名称",
eamwotypename: "工单类型",
eamwooriginname: "工单来源",
assetname: "资产",
eamlocationname: "功能位置",
wodate: "执行日期",
},
uiactions: {
},
},
default_searchform: { default_searchform: {
details: { details: {
formpage1: "常规条件", formpage1: "常规条件",
...@@ -74,6 +184,52 @@ export default { ...@@ -74,6 +184,52 @@ export default {
uiactions: { uiactions: {
}, },
}, },
childwogridviewtoolbar_toolbar: {
tbitem5: {
caption: "新建",
tip: "新建",
},
seperator1: {
caption: "",
tip: "",
},
tbitem2: {
caption: "编辑",
tip: "编辑",
},
seperator2: {
caption: "",
tip: "",
},
tbitem1: {
caption: "拷贝",
tip: "拷贝",
},
tbitem15: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem3: {
caption: "导出",
tip: "导出",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem10: {
caption: "过滤",
tip: "过滤",
},
},
applywogridviewtoolbar_toolbar: { applywogridviewtoolbar_toolbar: {
tbitem5: { tbitem5: {
caption: "新建", caption: "新建",
...@@ -120,6 +276,44 @@ export default { ...@@ -120,6 +276,44 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
gridviewtoolbar_toolbar: {
tbitem2: {
caption: "编辑",
tip: "编辑",
},
seperator2: {
caption: "",
tip: "",
},
tbitem1: {
caption: "拷贝",
tip: "拷贝",
},
tbitem15: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem3: {
caption: "导出",
tip: "导出",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem10: {
caption: "过滤",
tip: "过滤",
},
},
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
tbitem2: { tbitem2: {
caption: "保存并关闭", caption: "保存并关闭",
......
...@@ -9,4 +9,27 @@ export default { ...@@ -9,4 +9,27 @@ export default {
updatedate: "更新时间", updatedate: "更新时间",
eamwostatemodelid: "工单状态模型标识", eamwostatemodelid: "工单状态模型标识",
}, },
views: {
pickupview: {
caption: "工单类型",
title: "工单类型数据选择视图",
},
pickupgridview: {
caption: "工单类型",
title: "工单类型选择表格视图",
},
},
main_grid: {
columns: {
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
}; };
\ No newline at end of file
...@@ -8,4 +8,27 @@ export default { ...@@ -8,4 +8,27 @@ export default {
updatedate: "更新时间", updatedate: "更新时间",
eamwostatemodelid: "工单状态模型标识", eamwostatemodelid: "工单状态模型标识",
}, },
views: {
pickupview: {
caption: "工单类型",
title: "工单类型数据选择视图",
},
pickupgridview: {
caption: "工单类型",
title: "工单类型选择表格视图",
},
},
main_grid: {
columns: {
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
}; };
\ No newline at end of file
...@@ -79,7 +79,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => { ...@@ -79,7 +79,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-server', iconcls: 'fa fa-server',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_13', appfunctag: '_14',
resourcetag: '', resourcetag: '',
}, },
{ {
...@@ -155,7 +155,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => { ...@@ -155,7 +155,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-life-ring', iconcls: 'fa fa-life-ring',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_7', appfunctag: '_8',
resourcetag: '', resourcetag: '',
}, },
{ {
...@@ -173,7 +173,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => { ...@@ -173,7 +173,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-cube', iconcls: 'fa fa-cube',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_6', appfunctag: '_7',
resourcetag: '', resourcetag: '',
}, },
{ {
...@@ -191,7 +191,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => { ...@@ -191,7 +191,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-legal', iconcls: 'fa fa-legal',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_9', appfunctag: '_10',
resourcetag: '', resourcetag: '',
}, },
{ {
...@@ -209,7 +209,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => { ...@@ -209,7 +209,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-navicon', iconcls: 'fa fa-navicon',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_12', appfunctag: '_13',
resourcetag: '', resourcetag: '',
}, },
], ],
...@@ -283,7 +283,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => { ...@@ -283,7 +283,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-legal', iconcls: 'fa fa-legal',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_11', appfunctag: '_12',
resourcetag: '', resourcetag: '',
}, },
{ {
...@@ -301,7 +301,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => { ...@@ -301,7 +301,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-rocket', iconcls: 'fa fa-rocket',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_10', appfunctag: '_11',
resourcetag: '', resourcetag: '',
}, },
{ {
...@@ -319,7 +319,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => { ...@@ -319,7 +319,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-instagram', iconcls: 'fa fa-instagram',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_5', appfunctag: '_6',
resourcetag: '', resourcetag: '',
}, },
], ],
...@@ -357,7 +357,25 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => { ...@@ -357,7 +357,25 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-share-square', iconcls: 'fa fa-share-square',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_8', appfunctag: '_9',
resourcetag: '',
},
{
id: '885534EC-341F-4B11-A754-A23EDEF10B24',
name: 'menuitem18',
text: '工单',
type: 'MENUITEM',
counterid: '',
tooltip: '工单',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-file-word-o',
icon: '',
textcls: '',
appfunctag: '_5',
resourcetag: '', resourcetag: '',
}, },
], ],
......
...@@ -428,6 +428,95 @@ mock.onPost(new RegExp(/^\/eamworkorders\/?([a-zA-Z0-9\-\;]{0,35})\/save$/)).rep ...@@ -428,6 +428,95 @@ mock.onPost(new RegExp(/^\/eamworkorders\/?([a-zA-Z0-9\-\;]{0,35})\/save$/)).rep
}); });
// FetchChildWO
mock.onGet(new RegExp(/^\/eamapplies\/([a-zA-Z0-9\-\;]{1,35})\/eamworkorders\/fetchchildwo$/)).reply((config: any) => {
console.groupCollapsed("实体:eamworkorder 方法: FetchChildWO");
console.table({url:config.url, method: config.method, data:config.data});
let status = MockAdapter.mockStatus(config);
if (status !== 200) {
return [status, null];
}
const paramArray:Array<any> = ['eamapplyid'];
let tempValue: any = {};
const matchArray:any = new RegExp(/^\/eamapplies\/([a-zA-Z0-9\-\;]{1,35})\/eamworkorders\/fetchchildwo$/).exec(config.url);
if(matchArray && matchArray.length >1 && paramArray && paramArray.length >0){
paramArray.forEach((item: any, index: number) => {
Object.defineProperty(tempValue, item, {
enumerable: true,
value: matchArray[index + 1]
});
});
}
let items = mockDatas ? mockDatas : [];
if (items.length > 0 && paramArray.length > 0) {
paramArray.forEach((paramkey: any) => {
if (tempValue[paramkey] && tempValue[paramkey].indexOf(";") > 0) {
let keysGrounp: Array<any> = tempValue[paramkey].split(new RegExp(/[\;]/));
let tempArray: Array<any> = [];
keysGrounp.forEach((singlekey: any) => {
let _items = items.filter((item: any) => { return item[paramkey] == singlekey });
if(_items.length >0){
tempArray.push(..._items);
}
})
items = tempArray;
} else {
items = items.filter((item: any) => { return item[paramkey] == tempValue[paramkey] });
}
})
}
console.groupCollapsed("response数据 status: "+status+" data: ");
console.table(items);
console.groupEnd();
console.groupEnd();
return [status, items];
});
// FetchChildWO
mock.onGet(new RegExp(/^\/eamworkorders\/fetchchildwo$/)).reply((config: any) => {
console.groupCollapsed("实体:eamworkorder 方法: FetchChildWO");
console.table({url:config.url, method: config.method, data:config.data});
let status = MockAdapter.mockStatus(config);
if (status !== 200) {
return [status, null];
}
console.groupCollapsed("response数据 status: "+status+" data: ");
console.table(mockDatas);
console.groupEnd();
console.groupEnd();
return [status, mockDatas ? mockDatas : []];
});
// FetchChildWO
mock.onGet(new RegExp(/^\/eamworkorders\/fetchchildwo(\?[\w-./?%&=,]*)*$/)).reply((config: any) => {
console.groupCollapsed("实体:eamworkorder 方法: FetchChildWO");
console.table({url:config.url, method: config.method, data:config.data});
if(config.url.includes('page')){
let url = config.url.split('?')[1];
let params = qs.parse(url);
Object.assign(config, params);
}
let status = MockAdapter.mockStatus(config);
if (status !== 200) {
return [status, null];
}
let total = mockDatas.length;
let records: Array<any> = [];
if(!config.page || !config.size){
records = mockDatas;
}else{
if((config.page-1)*config.size < total){
records = mockDatas.slice(config.page,config.size);
}
}
console.groupCollapsed("response数据 status: "+status+" data: ");
console.table(records ? records : []);
console.groupEnd();
console.groupEnd();
return [status, records ? records : []];
});
// FetchDefault // FetchDefault
mock.onGet(new RegExp(/^\/eamapplies\/([a-zA-Z0-9\-\;]{1,35})\/eamworkorders\/fetchdefault$/)).reply((config: any) => { mock.onGet(new RegExp(/^\/eamapplies\/([a-zA-Z0-9\-\;]{1,35})\/eamworkorders\/fetchdefault$/)).reply((config: any) => {
console.groupCollapsed("实体:eamworkorder 方法: FetchDefault"); console.groupCollapsed("实体:eamworkorder 方法: FetchDefault");
......
...@@ -111,6 +111,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -111,6 +111,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMLocationPickupView", "viewname": "EAMLocationPickupView",
"viewtag": "2b28313d0f3925fa44b8683eb5ea54d6" "viewtag": "2b28313d0f3925fa44b8683eb5ea54d6"
}, },
"eamworkorderinfoview": {
"title": "工单信息",
"caption": "工单",
"viewtype": "DETABEXPVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWorkOrderInfoView",
"viewtag": "2fc820c040c33d878fc98791e3ad6d80"
},
"eamassetstatemodelgridview": { "eamassetstatemodelgridview": {
"title": "资产状态模型信息", "title": "资产状态模型信息",
"caption": "资产状态模型", "caption": "资产状态模型",
...@@ -119,6 +127,22 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -119,6 +127,22 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMAssetStateModelGridView", "viewname": "EAMAssetStateModelGridView",
"viewtag": "30027967566375f388f110149cf48b49" "viewtag": "30027967566375f388f110149cf48b49"
}, },
"eamworkorderquickcreateview": {
"title": "快速新建",
"caption": "工单",
"viewtype": "DEOPTVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWorkOrderQuickCreateView",
"viewtag": "326f3b663c055e3f1ec6fa0d2c3f0223"
},
"eamworkorderinfo_mainview": {
"title": "工单主信息",
"caption": "工单",
"viewtype": "DEEDITVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWorkOrderInfo_MainView",
"viewtag": "35d4b9cdba8869e6da734043cbd4f9a8"
},
"eamapplytypepickupgridview": { "eamapplytypepickupgridview": {
"title": "维护申请类型选择表格视图", "title": "维护申请类型选择表格视图",
"caption": "维护申请类型", "caption": "维护申请类型",
...@@ -199,6 +223,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -199,6 +223,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMApplyStateGridView", "viewname": "EAMApplyStateGridView",
"viewtag": "67367b30b36597f2b4f455b9738f4dd8" "viewtag": "67367b30b36597f2b4f455b9738f4dd8"
}, },
"eamwotypepickupview": {
"title": "工单类型数据选择视图",
"caption": "工单类型",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWOTypePickupView",
"viewtag": "687ed577b14b3da7a542f17d0a1a6529"
},
"eamlocationtypepickupgridview": { "eamlocationtypepickupgridview": {
"title": "功能位置类型选择表格视图", "title": "功能位置类型选择表格视图",
"caption": "功能位置类型", "caption": "功能位置类型",
...@@ -247,6 +279,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -247,6 +279,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMAssetTypePickupView", "viewname": "EAMAssetTypePickupView",
"viewtag": "72c39b4fb4834276ae3933be232a2c90" "viewtag": "72c39b4fb4834276ae3933be232a2c90"
}, },
"eamworkordergridview": {
"title": "工单信息",
"caption": "工单",
"viewtype": "DEGRIDVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWorkOrderGridView",
"viewtag": "78b197ae25df6180e6c02c8b1b670a29"
},
"eamapplysummaryview": { "eamapplysummaryview": {
"title": "维护申请主信息看板", "title": "维护申请主信息看板",
"caption": "维护申请", "caption": "维护申请",
...@@ -279,6 +319,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -279,6 +319,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMSparePartsGroupPickupView", "viewname": "EAMSparePartsGroupPickupView",
"viewtag": "81139a9fb0fce24a58db188651ba7155" "viewtag": "81139a9fb0fce24a58db188651ba7155"
}, },
"eamworkorderchildwogridview": {
"title": "子工单表格",
"caption": "工单",
"viewtype": "DEGRIDVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWorkOrderChildWOGridView",
"viewtag": "8a03ef5ec2679c20c8072339004dcaaf"
},
"eamworkordereditview": { "eamworkordereditview": {
"title": "工单编辑视图", "title": "工单编辑视图",
"caption": "工单", "caption": "工单",
...@@ -391,6 +439,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -391,6 +439,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMAssetInfo_MainView", "viewname": "EAMAssetInfo_MainView",
"viewtag": "afb13d98ae97ebb876598388432f8c1d" "viewtag": "afb13d98ae97ebb876598388432f8c1d"
}, },
"eamworkordersummaryview": {
"title": "工单主信息看板",
"caption": "工单",
"viewtype": "DEPORTALVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWorkOrderSummaryView",
"viewtag": "b1d6c73a4090f7747188a191cbb59000"
},
"eamlocationchildgridview": { "eamlocationchildgridview": {
"title": "功能位置表格视图", "title": "功能位置表格视图",
"caption": "功能位置", "caption": "功能位置",
...@@ -431,6 +487,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -431,6 +487,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMSparePartsGroupGridView", "viewname": "EAMSparePartsGroupGridView",
"viewtag": "b97ed65fd88f536ebb13419938b19e2d" "viewtag": "b97ed65fd88f536ebb13419938b19e2d"
}, },
"eamwotypepickupgridview": {
"title": "工单类型选择表格视图",
"caption": "工单类型",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "WorkOrder",
"viewname": "EAMWOTypePickupGridView",
"viewtag": "ba1263ca3437b411e86c330836d2a64b"
},
"eamlocationstatemodelpickupgridview": { "eamlocationstatemodelpickupgridview": {
"title": "功能位置状态模型选择表格视图", "title": "功能位置状态模型选择表格视图",
"caption": "功能位置状态模型", "caption": "功能位置状态模型",
...@@ -592,7 +656,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -592,7 +656,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag": "eee617336f6dc6e5e97835d6309fd452" "viewtag": "eee617336f6dc6e5e97835d6309fd452"
}, },
"eamapplyquickcreateview": { "eamapplyquickcreateview": {
"title": "快速新建视图", "title": "快速新建",
"caption": "维护申请", "caption": "维护申请",
"viewtype": "DEOPTVIEW", "viewtype": "DEOPTVIEW",
"viewmodule": "Apply", "viewmodule": "Apply",
......
...@@ -6,7 +6,7 @@ import OptionViewEngine from '@engine/view/option-view-engine'; ...@@ -6,7 +6,7 @@ import OptionViewEngine from '@engine/view/option-view-engine';
import EAMApplyUIService from '@/uiservice/eamapply/eamapply-ui-service'; import EAMApplyUIService from '@/uiservice/eamapply/eamapply-ui-service';
/** /**
* 快速新建视图视图基类 * 快速新建视图基类
* *
* @export * @export
* @class EAMApplyQuickCreateViewBase * @class EAMApplyQuickCreateViewBase
......
<studio-view-style2 viewName="eamapplyquickcreateview" viewTitle="快速新建视图" class='deoptview eamapply-quick-create-view'> <studio-view-style2 viewName="eamapplyquickcreateview" viewTitle="快速新建" class='deoptview eamapply-quick-create-view'>
<template slot='title'> <template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span> <span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template> </template>
......
...@@ -6,7 +6,7 @@ import { EAMApplyQuickCreateViewBase } from './eamapply-quick-create-view-base'; ...@@ -6,7 +6,7 @@ import { EAMApplyQuickCreateViewBase } from './eamapply-quick-create-view-base';
import view_form from '@widgets/eamapply/ef-001-form/ef-001-form.vue'; import view_form from '@widgets/eamapply/ef-001-form/ef-001-form.vue';
/** /**
* 快速新建视图视图 * 快速新建视图
* *
* @export * @export
* @class EAMApplyQuickCreateView * @class EAMApplyQuickCreateView
......
...@@ -20,16 +20,19 @@ export const PageComponents = { ...@@ -20,16 +20,19 @@ export const PageComponents = {
Vue.component('eamspare-parts-group-edit-view', () => import('@pages/asset/eamspare-parts-group-edit-view/eamspare-parts-group-edit-view.vue')); Vue.component('eamspare-parts-group-edit-view', () => import('@pages/asset/eamspare-parts-group-edit-view/eamspare-parts-group-edit-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('eamspare-parts-proparts-pro-grid-view', () => import('@pages/asset/eamspare-parts-proparts-pro-grid-view/eamspare-parts-proparts-pro-grid-view.vue')); Vue.component('eamspare-parts-proparts-pro-grid-view', () => import('@pages/asset/eamspare-parts-proparts-pro-grid-view/eamspare-parts-proparts-pro-grid-view.vue'));
Vue.component('eamwork-order-child-wogrid-view', () => import('@pages/work-order/eamwork-order-child-wogrid-view/eamwork-order-child-wogrid-view.vue'));
Vue.component('eamapply-type-pickup-view', () => import('@pages/apply/eamapply-type-pickup-view/eamapply-type-pickup-view.vue')); Vue.component('eamapply-type-pickup-view', () => import('@pages/apply/eamapply-type-pickup-view/eamapply-type-pickup-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-pickup-view', () => import('@pages/location/eamlocation-state-pickup-view/eamlocation-state-pickup-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-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('eamwork-order-info-main-view', () => import('@pages/work-order/eamwork-order-info-main-view/eamwork-order-info-main-view.vue'));
Vue.component('eamspare-parts-group-pickup-view', () => import('@pages/asset/eamspare-parts-group-pickup-view/eamspare-parts-group-pickup-view.vue')); Vue.component('eamspare-parts-group-pickup-view', () => import('@pages/asset/eamspare-parts-group-pickup-view/eamspare-parts-group-pickup-view.vue'));
Vue.component('eamapply-grid-view', () => import('@pages/apply/eamapply-grid-view/eamapply-grid-view.vue')); Vue.component('eamapply-grid-view', () => import('@pages/apply/eamapply-grid-view/eamapply-grid-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('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('eamwork-order-grid-view', () => import('@pages/work-order/eamwork-order-grid-view/eamwork-order-grid-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'));
...@@ -44,6 +47,7 @@ export const PageComponents = { ...@@ -44,6 +47,7 @@ export const PageComponents = {
Vue.component('eamasset-parts-group-edit-view', () => import('@pages/asset/eamasset-parts-group-edit-view/eamasset-parts-group-edit-view.vue')); Vue.component('eamasset-parts-group-edit-view', () => import('@pages/asset/eamasset-parts-group-edit-view/eamasset-parts-group-edit-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('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-type-edit-view', () => import('@pages/asset/eamasset-type-edit-view/eamasset-type-edit-view.vue'));
Vue.component('eamwork-order-summary-view', () => import('@pages/work-order/eamwork-order-summary-view/eamwork-order-summary-view.vue'));
Vue.component('eamasset-summary-view', () => import('@pages/asset/eamasset-summary-view/eamasset-summary-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('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-state-edit-view', () => import('@pages/location/eamlocation-state-edit-view/eamlocation-state-edit-view.vue')); Vue.component('eamlocation-state-edit-view', () => import('@pages/location/eamlocation-state-edit-view/eamlocation-state-edit-view.vue'));
...@@ -51,7 +55,8 @@ export const PageComponents = { ...@@ -51,7 +55,8 @@ export const PageComponents = {
Vue.component('eamasset-info-view', () => import('@pages/asset/eamasset-info-view/eamasset-info-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-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('eamasset-state-pickup-grid-view', () => import('@pages/asset/eamasset-state-pickup-grid-view/eamasset-state-pickup-grid-view.vue'));
Vue.component('eamwork-order-edit-view', () => import('@pages/work-order/eamwork-order-edit-view/eamwork-order-edit-view.vue')); Vue.component('eamwotype-pickup-view', () => import('@pages/work-order/eamwotype-pickup-view/eamwotype-pickup-view.vue'));
Vue.component('eamwork-order-info-view', () => import('@pages/work-order/eamwork-order-info-view/eamwork-order-info-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('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-state-model-pickup-view', () => import('@pages/asset/eamasset-state-model-pickup-view/eamasset-state-model-pickup-view.vue'));
Vue.component('eamapply-quick-create-view', () => import('@pages/apply/eamapply-quick-create-view/eamapply-quick-create-view.vue')); Vue.component('eamapply-quick-create-view', () => import('@pages/apply/eamapply-quick-create-view/eamapply-quick-create-view.vue'));
...@@ -64,16 +69,18 @@ export const PageComponents = { ...@@ -64,16 +69,18 @@ export const PageComponents = {
Vue.component('eamproductpickup-grid-view', () => import('@pages/asset/eamproductpickup-grid-view/eamproductpickup-grid-view.vue')); Vue.component('eamproductpickup-grid-view', () => import('@pages/asset/eamproductpickup-grid-view/eamproductpickup-grid-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-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-type-edit-view', () => import('@pages/location/eamlocation-type-edit-view/eamlocation-type-edit-view.vue'));
Vue.component('eamwotype-pickup-grid-view', () => import('@pages/work-order/eamwotype-pickup-grid-view/eamwotype-pickup-grid-view.vue'));
Vue.component('eamspare-parts-group-info-main-view', () => import('@pages/asset/eamspare-parts-group-info-main-view/eamspare-parts-group-info-main-view.vue')); Vue.component('eamspare-parts-group-info-main-view', () => import('@pages/asset/eamspare-parts-group-info-main-view/eamspare-parts-group-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-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('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('eamasset-pickup-view', () => import('@pages/asset/eamasset-pickup-view/eamasset-pickup-view.vue'));
Vue.component('eamasset-quick-create-view', () => import('@pages/asset/eamasset-quick-create-view/eamasset-quick-create-view.vue'));
Vue.component('eamapply-type-grid-view', () => import('@pages/apply/eamapply-type-grid-view/eamapply-type-grid-view.vue')); Vue.component('eamapply-type-grid-view', () => import('@pages/apply/eamapply-type-grid-view/eamapply-type-grid-view.vue'));
Vue.component('eamwork-order-quick-create-view', () => import('@pages/work-order/eamwork-order-quick-create-view/eamwork-order-quick-create-view.vue'));
Vue.component('eamlocation-grid-view', () => import('@pages/location/eamlocation-grid-view/eamlocation-grid-view.vue')); Vue.component('eamlocation-grid-view', () => import('@pages/location/eamlocation-grid-view/eamlocation-grid-view.vue'));
Vue.component('eamasset-type-pickup-grid-view', () => import('@pages/asset/eamasset-type-pickup-grid-view/eamasset-type-pickup-grid-view.vue')); Vue.component('eamasset-type-pickup-grid-view', () => import('@pages/asset/eamasset-type-pickup-grid-view/eamasset-type-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('eamapply-summary-view', () => import('@pages/apply/eamapply-summary-view/eamapply-summary-view.vue')); Vue.component('eamapply-summary-view', () => import('@pages/apply/eamapply-summary-view/eamapply-summary-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('eamspare-parts-proedit-view', () => import('@pages/asset/eamspare-parts-proedit-view/eamspare-parts-proedit-view.vue')); Vue.component('eamspare-parts-proedit-view', () => import('@pages/asset/eamspare-parts-proedit-view/eamspare-parts-proedit-view.vue'));
} }
}; };
\ No newline at end of file
...@@ -511,16 +511,28 @@ export class EAMWorkOrderApplyWOGridViewBase extends GridViewBase { ...@@ -511,16 +511,28 @@ export class EAMWorkOrderApplyWOGridViewBase extends GridViewBase {
} }
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'eamworkorders', parameterName: 'eamworkorder' }, { pathName: 'eamworkorders', parameterName: 'eamworkorder' },
{ 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;
}
if (!xData || !(xData.refresh instanceof Function)) {
return;
}
xData.refresh(result.datas);
});
} }
openIndexViewTab(data); const view: any = {
viewname: 'eamwork-order-quick-create-view',
height: 0,
width: 0,
title: this.$t('entities.eamworkorder.views.quickcreateview.title'),
placement: 'DRAWER_RIGHT',
};
openDrawer(view, data);
} }
...@@ -550,7 +562,7 @@ export class EAMWorkOrderApplyWOGridViewBase extends GridViewBase { ...@@ -550,7 +562,7 @@ export class EAMWorkOrderApplyWOGridViewBase extends GridViewBase {
} }
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'eamworkorders', parameterName: 'eamworkorder' }, { pathName: 'eamworkorders', parameterName: 'eamworkorder' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'infoview', parameterName: 'infoview' },
]; ];
const _this: any = this; const _this: any = this;
const openIndexViewTab = (data: any) => { const openIndexViewTab = (data: any) => {
......
<studio-view-style2 viewName="eamworkorderchildwogridview" viewTitle="子工单表格" class='degridview eamwork-order-child-wogrid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" placeholder="工单名称" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </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"
:showBusyIndicator="true"
:isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode"
@save="onSave.apply(_self, arguments)"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchChildWO"
:newdata="newdata.bind(_self)"
:opendata="opendata.bind(_self)"
name="grid"
ref='grid'
@selectionchange="grid_selectionchange($event)"
@beforeload="grid_beforeload($event)"
@rowdblclick="grid_rowdblclick($event)"
@remove="grid_remove($event)"
@load="grid_load($event)"
@closeview="closeView($event)">
</view_grid>
</studio-view-style2>
\ No newline at end of file
<template src="./eamwork-order-child-wogrid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMWorkOrderChildWOGridViewBase } from './eamwork-order-child-wogrid-view-base';
import view_grid from '@widgets/eamwork-order/grid-002-grid/grid-002-grid.vue';
import view_searchform from '@widgets/eamwork-order/default-searchform/default-searchform.vue';
/**
* 子工单表格视图
*
* @export
* @class EAMWorkOrderChildWOGridView
* @extends {EAMWorkOrderChildWOGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class EAMWorkOrderChildWOGridView extends EAMWorkOrderChildWOGridViewBase { }
</script>
<studio-view-style2 viewName="eamworkordergridview" viewTitle="工单信息" class='degridview eamwork-order-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" placeholder="工单名称" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </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"
:showBusyIndicator="true"
:isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode"
@save="onSave.apply(_self, arguments)"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
:newdata="newdata.bind(_self)"
:opendata="opendata.bind(_self)"
name="grid"
ref='grid'
@selectionchange="grid_selectionchange($event)"
@beforeload="grid_beforeload($event)"
@rowdblclick="grid_rowdblclick($event)"
@remove="grid_remove($event)"
@load="grid_load($event)"
@closeview="closeView($event)">
</view_grid>
</studio-view-style2>
\ No newline at end of file
<template src="./eamwork-order-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMWorkOrderGridViewBase } from './eamwork-order-grid-view-base';
import view_grid from '@widgets/eamwork-order/main-grid/main-grid.vue';
import view_searchform from '@widgets/eamwork-order/default-searchform/default-searchform.vue';
/**
* 工单信息视图
*
* @export
* @class EAMWorkOrderGridView
* @extends {EAMWorkOrderGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class EAMWorkOrderGridView extends EAMWorkOrderGridViewBase { }
</script>
import { Subject } from 'rxjs';
import { EditViewBase } from '@/studio-core';
import EAMWorkOrderService from '@/service/eamwork-order/eamwork-order-service';
import EAMWorkOrderAuthService from '@/authservice/eamwork-order/eamwork-order-auth-service';
import EditViewEngine from '@engine/view/edit-view-engine';
import EAMWorkOrderUIService from '@/uiservice/eamwork-order/eamwork-order-ui-service';
/**
* 工单主信息视图基类
*
* @export
* @class EAMWorkOrderInfo_MainViewBase
* @extends {EditViewBase}
*/
export class EAMWorkOrderInfo_MainViewBase extends EditViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMWorkOrderInfo_MainViewBase
*/
protected appDeName: string = 'eamworkorder';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMWorkOrderInfo_MainViewBase
*/
protected appDeKey: string = 'workorderid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMWorkOrderInfo_MainViewBase
*/
protected appDeMajor: string = 'workordername';
/**
* 实体服务对象
*
* @type {EAMWorkOrderService}
* @memberof EAMWorkOrderInfo_MainViewBase
*/
protected appEntityService: EAMWorkOrderService = new EAMWorkOrderService;
/**
* 实体权限服务对象
*
* @type EAMWorkOrderUIService
* @memberof EAMWorkOrderInfo_MainViewBase
*/
public appUIService: EAMWorkOrderUIService = new EAMWorkOrderUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMWorkOrderInfo_MainViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMWorkOrderInfo_MainViewBase
*/
protected model: any = {
srfCaption: 'entities.eamworkorder.views.info_mainview.caption',
srfTitle: 'entities.eamworkorder.views.info_mainview.title',
srfSubTitle: 'entities.eamworkorder.views.info_mainview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMWorkOrderInfo_MainViewBase
*/
protected containerModel: any = {
view_form: { name: 'form', type: 'FORM' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = '35d4b9cdba8869e6da734043cbd4f9a8';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMWorkOrderInfo_MainViewBase
*/
public engine: EditViewEngine = new EditViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof EAMWorkOrderInfo_MainViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'eamworkorder',
majorPSDEField: 'workordername',
isLoadDefault: true,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWorkOrderInfo_MainViewBase
*/
public form_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWorkOrderInfo_MainViewBase
*/
public form_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWorkOrderInfo_MainViewBase
*/
public form_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'load', $event);
}
}
\ No newline at end of file
<studio-view-style2 viewName="eamworkorderinfo_mainview" viewTitle="工单主信息" class='deeditview eamwork-order-info-main-view from-dashboard-style'>
<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>
</studio-view-style2>
\ No newline at end of file
<template src="./eamwork-order-info-main-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMWorkOrderInfo_MainViewBase } from './eamwork-order-info-main-view-base';
import view_form from '@widgets/eamwork-order/if-001-form/if-001-form.vue';
/**
* 工单主信息视图
*
* @export
* @class EAMWorkOrderInfo_MainView
* @extends {EAMWorkOrderInfo_MainViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class EAMWorkOrderInfo_MainView extends EAMWorkOrderInfo_MainViewBase { }
</script>
import { Subject } from 'rxjs';
import { TabExpViewBase } from '@/studio-core';
import EAMWorkOrderService from '@/service/eamwork-order/eamwork-order-service';
import EAMWorkOrderAuthService from '@/authservice/eamwork-order/eamwork-order-auth-service';
import TabExpViewEngine from '@engine/view/tab-exp-view-engine';
import EAMWorkOrderUIService from '@/uiservice/eamwork-order/eamwork-order-ui-service';
/**
* 工单信息视图基类
*
* @export
* @class EAMWorkOrderInfoViewBase
* @extends {TabExpViewBase}
*/
export class EAMWorkOrderInfoViewBase extends TabExpViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMWorkOrderInfoViewBase
*/
protected appDeName: string = 'eamworkorder';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMWorkOrderInfoViewBase
*/
protected appDeKey: string = 'workorderid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMWorkOrderInfoViewBase
*/
protected appDeMajor: string = 'workordername';
/**
* 实体服务对象
*
* @type {EAMWorkOrderService}
* @memberof EAMWorkOrderInfoViewBase
*/
protected appEntityService: EAMWorkOrderService = new EAMWorkOrderService;
/**
* 实体权限服务对象
*
* @type EAMWorkOrderUIService
* @memberof EAMWorkOrderInfoViewBase
*/
public appUIService: EAMWorkOrderUIService = new EAMWorkOrderUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMWorkOrderInfoViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMWorkOrderInfoViewBase
*/
protected model: any = {
srfCaption: 'entities.eamworkorder.views.infoview.caption',
srfTitle: 'entities.eamworkorder.views.infoview.title',
srfSubTitle: 'entities.eamworkorder.views.infoview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMWorkOrderInfoViewBase
*/
protected containerModel: any = {
view_tabexppanel: { name: 'tabexppanel', type: 'TABEXPPANEL' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = '2fc820c040c33d878fc98791e3ad6d80';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMWorkOrderInfoViewBase
*/
public engine: TabExpViewEngine = new TabExpViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof EAMWorkOrderInfoViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
keyPSDEField: 'eamworkorder',
majorPSDEField: 'workordername',
isLoadDefault: true,
});
}
}
\ No newline at end of file
<studio-view-style2 viewName="eamworkorderinfoview" viewTitle="工单信息" class='detabexpview eamwork-order-info-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_tabexppanel
:viewState="viewState"
:viewparams="viewparams"
:context="context"
name="tabexppanel"
ref='tabexppanel'
@closeview="closeView($event)">
</view_tabexppanel>
</studio-view-style2>
\ No newline at end of file
<template src="./eamwork-order-info-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMWorkOrderInfoViewBase } from './eamwork-order-info-view-base';
import view_tabexppanel from '@widgets/eamwork-order/info-viewtabexppanel-tabexppanel/info-viewtabexppanel-tabexppanel.vue';
/**
* 工单信息视图
*
* @export
* @class EAMWorkOrderInfoView
* @extends {EAMWorkOrderInfoViewBase}
*/
@Component({
components: {
view_tabexppanel,
}
})
@VueLifeCycleProcessing()
export default class EAMWorkOrderInfoView extends EAMWorkOrderInfoViewBase { }
</script>
import { Subject } from 'rxjs';
import { OptionViewBase } from '@/studio-core';
import EAMWorkOrderService from '@/service/eamwork-order/eamwork-order-service';
import EAMWorkOrderAuthService from '@/authservice/eamwork-order/eamwork-order-auth-service';
import OptionViewEngine from '@engine/view/option-view-engine';
import EAMWorkOrderUIService from '@/uiservice/eamwork-order/eamwork-order-ui-service';
/**
* 快速新建视图基类
*
* @export
* @class EAMWorkOrderQuickCreateViewBase
* @extends {OptionViewBase}
*/
export class EAMWorkOrderQuickCreateViewBase extends OptionViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMWorkOrderQuickCreateViewBase
*/
protected appDeName: string = 'eamworkorder';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMWorkOrderQuickCreateViewBase
*/
protected appDeKey: string = 'workorderid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMWorkOrderQuickCreateViewBase
*/
protected appDeMajor: string = 'workordername';
/**
* 实体服务对象
*
* @type {EAMWorkOrderService}
* @memberof EAMWorkOrderQuickCreateViewBase
*/
protected appEntityService: EAMWorkOrderService = new EAMWorkOrderService;
/**
* 实体权限服务对象
*
* @type EAMWorkOrderUIService
* @memberof EAMWorkOrderQuickCreateViewBase
*/
public appUIService: EAMWorkOrderUIService = new EAMWorkOrderUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMWorkOrderQuickCreateViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMWorkOrderQuickCreateViewBase
*/
protected model: any = {
srfCaption: 'entities.eamworkorder.views.quickcreateview.caption',
srfTitle: 'entities.eamworkorder.views.quickcreateview.title',
srfSubTitle: 'entities.eamworkorder.views.quickcreateview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMWorkOrderQuickCreateViewBase
*/
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 = '326f3b663c055e3f1ec6fa0d2c3f0223';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMWorkOrderQuickCreateViewBase
*/
public engine: OptionViewEngine = new OptionViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof EAMWorkOrderQuickCreateViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'eamworkorder',
majorPSDEField: 'workordername',
isLoadDefault: true,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWorkOrderQuickCreateViewBase
*/
public form_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWorkOrderQuickCreateViewBase
*/
public form_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWorkOrderQuickCreateViewBase
*/
public form_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'load', $event);
}
}
\ No newline at end of file
<studio-view-style2 viewName="eamworkorderquickcreateview" viewTitle="快速新建" class='deoptview eamwork-order-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="./eamwork-order-quick-create-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMWorkOrderQuickCreateViewBase } from './eamwork-order-quick-create-view-base';
import view_form from '@widgets/eamwork-order/ef-001-form/ef-001-form.vue';
/**
* 快速新建视图
*
* @export
* @class EAMWorkOrderQuickCreateView
* @extends {EAMWorkOrderQuickCreateViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class EAMWorkOrderQuickCreateView extends EAMWorkOrderQuickCreateViewBase { }
</script>
import { Subject } from 'rxjs';
import { DashboardViewBase } from '@/studio-core';
import EAMWorkOrderService from '@/service/eamwork-order/eamwork-order-service';
import EAMWorkOrderAuthService from '@/authservice/eamwork-order/eamwork-order-auth-service';
import PortalViewEngine from '@engine/view/portal-view-engine';
import EAMWorkOrderUIService from '@/uiservice/eamwork-order/eamwork-order-ui-service';
/**
* 工单主信息看板视图基类
*
* @export
* @class EAMWorkOrderSummaryViewBase
* @extends {DashboardViewBase}
*/
export class EAMWorkOrderSummaryViewBase extends DashboardViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMWorkOrderSummaryViewBase
*/
protected appDeName: string = 'eamworkorder';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMWorkOrderSummaryViewBase
*/
protected appDeKey: string = 'workorderid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMWorkOrderSummaryViewBase
*/
protected appDeMajor: string = 'workordername';
/**
* 实体服务对象
*
* @type {EAMWorkOrderService}
* @memberof EAMWorkOrderSummaryViewBase
*/
protected appEntityService: EAMWorkOrderService = new EAMWorkOrderService;
/**
* 实体权限服务对象
*
* @type EAMWorkOrderUIService
* @memberof EAMWorkOrderSummaryViewBase
*/
public appUIService: EAMWorkOrderUIService = new EAMWorkOrderUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMWorkOrderSummaryViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMWorkOrderSummaryViewBase
*/
protected model: any = {
srfCaption: 'entities.eamworkorder.views.summaryview.caption',
srfTitle: 'entities.eamworkorder.views.summaryview.title',
srfSubTitle: 'entities.eamworkorder.views.summaryview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMWorkOrderSummaryViewBase
*/
protected containerModel: any = {
view_dashboard: { name: 'dashboard', type: 'DASHBOARD' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = 'b1d6c73a4090f7747188a191cbb59000';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMWorkOrderSummaryViewBase
*/
public engine: PortalViewEngine = new PortalViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof EAMWorkOrderSummaryViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
dashboard: this.$refs.dashboard,
keyPSDEField: 'eamworkorder',
majorPSDEField: 'workordername',
isLoadDefault: true,
});
}
/**
* dashboard 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWorkOrderSummaryViewBase
*/
public dashboard_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('dashboard', 'load', $event);
}
}
\ No newline at end of file
<studio-view-style2 viewName="eamworkordersummaryview" viewTitle="工单主信息看板" class='deportalview eamwork-order-summary-view'>
<view_dashboard
:viewState="viewState"
:viewparams="viewparams"
:context="JSON.parse(JSON.stringify(context))"
:isEnableCustomized = "false"
name="dashboard"
ref='dashboard'
@load="dashboard_load($event)"
@closeview="closeView($event)">
</view_dashboard>
</studio-view-style2>
\ No newline at end of file
<template src="./eamwork-order-summary-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMWorkOrderSummaryViewBase } from './eamwork-order-summary-view-base';
import view_dashboard from '@widgets/eamwork-order/board-001-dashboard/board-001-dashboard.vue';
/**
* 工单主信息看板视图
*
* @export
* @class EAMWorkOrderSummaryView
* @extends {EAMWorkOrderSummaryViewBase}
*/
@Component({
components: {
view_dashboard,
}
})
@VueLifeCycleProcessing()
export default class EAMWorkOrderSummaryView extends EAMWorkOrderSummaryViewBase { }
</script>
import { Subject } from 'rxjs';
import { PickupGridViewBase } from '@/studio-core';
import EAMWOTypeService from '@/service/eamwotype/eamwotype-service';
import EAMWOTypeAuthService from '@/authservice/eamwotype/eamwotype-auth-service';
import PickupGridViewEngine from '@engine/view/pickup-grid-view-engine';
import EAMWOTypeUIService from '@/uiservice/eamwotype/eamwotype-ui-service';
/**
* 工单类型选择表格视图视图基类
*
* @export
* @class EAMWOTypePickupGridViewBase
* @extends {PickupGridViewBase}
*/
export class EAMWOTypePickupGridViewBase extends PickupGridViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMWOTypePickupGridViewBase
*/
protected appDeName: string = 'eamwotype';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMWOTypePickupGridViewBase
*/
protected appDeKey: string = 'eamwotypeid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMWOTypePickupGridViewBase
*/
protected appDeMajor: string = 'eamwotypename';
/**
* 实体服务对象
*
* @type {EAMWOTypeService}
* @memberof EAMWOTypePickupGridViewBase
*/
protected appEntityService: EAMWOTypeService = new EAMWOTypeService;
/**
* 实体权限服务对象
*
* @type EAMWOTypeUIService
* @memberof EAMWOTypePickupGridViewBase
*/
public appUIService: EAMWOTypeUIService = new EAMWOTypeUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMWOTypePickupGridViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMWOTypePickupGridViewBase
*/
protected model: any = {
srfCaption: 'entities.eamwotype.views.pickupgridview.caption',
srfTitle: 'entities.eamwotype.views.pickupgridview.title',
srfSubTitle: 'entities.eamwotype.views.pickupgridview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMWOTypePickupGridViewBase
*/
protected containerModel: any = {
view_grid: { name: 'grid', type: 'GRID' },
view_searchform: { name: 'searchform', type: 'SEARCHFORM' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = 'ba1263ca3437b411e86c330836d2a64b';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMWOTypePickupGridViewBase
*/
public engine: PickupGridViewEngine = new PickupGridViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof EAMWOTypePickupGridViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
grid: this.$refs.grid,
searchform: this.$refs.searchform,
keyPSDEField: 'eamwotype',
majorPSDEField: 'eamwotypename',
isLoadDefault: true,
});
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWOTypePickupGridViewBase
*/
public grid_selectionchange($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'selectionchange', $event);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWOTypePickupGridViewBase
*/
public grid_beforeload($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'beforeload', $event);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWOTypePickupGridViewBase
*/
public grid_rowdblclick($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'rowdblclick', $event);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWOTypePickupGridViewBase
*/
public grid_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'load', $event);
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWOTypePickupGridViewBase
*/
public searchform_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('searchform', 'save', $event);
}
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWOTypePickupGridViewBase
*/
public searchform_search($event: any, $event2?: any): void {
this.engine.onCtrlEvent('searchform', 'search', $event);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWOTypePickupGridViewBase
*/
public searchform_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('searchform', 'load', $event);
}
/**
* 是否展开搜索表单
*
* @protected
* @type {boolean}
* @memberof EAMWOTypePickupGridViewBase
*/
protected isExpandSearchForm: boolean = true;
}
\ No newline at end of file
<studio-view-style2 viewName="eamwotypepickupgridview" viewTitle="工单类型选择表格视图" class='depickupgridview eamwotype-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="./eamwotype-pickup-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMWOTypePickupGridViewBase } from './eamwotype-pickup-grid-view-base';
import view_grid from '@widgets/eamwotype/main-grid/main-grid.vue';
import view_searchform from '@widgets/eamwotype/default-searchform/default-searchform.vue';
/**
* 工单类型选择表格视图视图
*
* @export
* @class EAMWOTypePickupGridView
* @extends {EAMWOTypePickupGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class EAMWOTypePickupGridView extends EAMWOTypePickupGridViewBase { }
</script>
import { Subject } from 'rxjs';
import { PickupViewBase } from '@/studio-core';
import EAMWOTypeService from '@/service/eamwotype/eamwotype-service';
import EAMWOTypeAuthService from '@/authservice/eamwotype/eamwotype-auth-service';
import PickupViewEngine from '@engine/view/pickup-view-engine';
import EAMWOTypeUIService from '@/uiservice/eamwotype/eamwotype-ui-service';
/**
* 工单类型数据选择视图视图基类
*
* @export
* @class EAMWOTypePickupViewBase
* @extends {PickupViewBase}
*/
export class EAMWOTypePickupViewBase extends PickupViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMWOTypePickupViewBase
*/
protected appDeName: string = 'eamwotype';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMWOTypePickupViewBase
*/
protected appDeKey: string = 'eamwotypeid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMWOTypePickupViewBase
*/
protected appDeMajor: string = 'eamwotypename';
/**
* 实体服务对象
*
* @type {EAMWOTypeService}
* @memberof EAMWOTypePickupViewBase
*/
protected appEntityService: EAMWOTypeService = new EAMWOTypeService;
/**
* 实体权限服务对象
*
* @type EAMWOTypeUIService
* @memberof EAMWOTypePickupViewBase
*/
public appUIService: EAMWOTypeUIService = new EAMWOTypeUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMWOTypePickupViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMWOTypePickupViewBase
*/
protected model: any = {
srfCaption: 'entities.eamwotype.views.pickupview.caption',
srfTitle: 'entities.eamwotype.views.pickupview.title',
srfSubTitle: 'entities.eamwotype.views.pickupview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMWOTypePickupViewBase
*/
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 = '687ed577b14b3da7a542f17d0a1a6529';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMWOTypePickupViewBase
*/
public engine: PickupViewEngine = new PickupViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof EAMWOTypePickupViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
pickupviewpanel: this.$refs.pickupviewpanel,
keyPSDEField: 'eamwotype',
majorPSDEField: 'eamwotypename',
isLoadDefault: true,
});
}
/**
* pickupviewpanel 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWOTypePickupViewBase
*/
public pickupviewpanel_selectionchange($event: any, $event2?: any): void {
this.engine.onCtrlEvent('pickupviewpanel', 'selectionchange', $event);
}
/**
* pickupviewpanel 部件 activated 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWOTypePickupViewBase
*/
public pickupviewpanel_activated($event: any, $event2?: any): void {
this.engine.onCtrlEvent('pickupviewpanel', 'activated', $event);
}
/**
* pickupviewpanel 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMWOTypePickupViewBase
*/
public pickupviewpanel_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('pickupviewpanel', 'load', $event);
}
}
\ No newline at end of file
<studio-view-style2 viewName="eamwotypepickupview" viewTitle="工单类型数据选择视图" class='depickupview eamwotype-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="./eamwotype-pickup-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMWOTypePickupViewBase } from './eamwotype-pickup-view-base';
import view_pickupviewpanel from '@widgets/eamwotype/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.vue';
/**
* 工单类型数据选择视图视图
*
* @export
* @class EAMWOTypePickupView
* @extends {EAMWOTypePickupViewBase}
*/
@Component({
components: {
view_pickupviewpanel,
}
})
@VueLifeCycleProcessing()
export default class EAMWOTypePickupView extends EAMWOTypePickupViewBase { }
</script>
...@@ -225,6 +225,26 @@ export default class EAMWorkOrderServiceBase extends EntityService { ...@@ -225,6 +225,26 @@ export default class EAMWorkOrderServiceBase extends EntityService {
return res; return res;
} }
/**
* FetchChildWO接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof EAMWorkOrderServiceBase
*/
public async FetchChildWO(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
if(context.eamapply && true){
let tempData:any = JSON.parse(JSON.stringify(data));
let res:any = Http.getInstance().get(`/eamapplies/${context.eamapply}/eamworkorders/fetchchildwo`,tempData,isloading);
return res;
}
let tempData:any = JSON.parse(JSON.stringify(data));
let res:any = Http.getInstance().get(`/eamworkorders/fetchchildwo`,tempData,isloading);
return res;
}
/** /**
* FetchDefault接口方法 * FetchDefault接口方法
* *
......
...@@ -136,6 +136,17 @@ export const viewstate: any = { ...@@ -136,6 +136,17 @@ export const viewstate: any = {
'f572d337efac74735bf54b199e054081', 'f572d337efac74735bf54b199e054081',
], ],
}, },
{
viewtag: '2fc820c040c33d878fc98791e3ad6d80',
viewmodule: 'WorkOrder',
viewname: 'EAMWorkOrderInfoView',
viewaction: '',
viewdatachange: false,
refviews: [
'8a03ef5ec2679c20c8072339004dcaaf',
'b1d6c73a4090f7747188a191cbb59000',
],
},
{ {
viewtag: '30027967566375f388f110149cf48b49', viewtag: '30027967566375f388f110149cf48b49',
viewmodule: 'Asset', viewmodule: 'Asset',
...@@ -146,6 +157,29 @@ export const viewstate: any = { ...@@ -146,6 +157,29 @@ export const viewstate: any = {
'6c2c69027dbbe13ab8d2732923487f59', '6c2c69027dbbe13ab8d2732923487f59',
], ],
}, },
{
viewtag: '326f3b663c055e3f1ec6fa0d2c3f0223',
viewmodule: 'WorkOrder',
viewname: 'EAMWorkOrderQuickCreateView',
viewaction: '',
viewdatachange: false,
refviews: [
'906130a9861c2b0cff3173c9e171c1d1',
'2b28313d0f3925fa44b8683eb5ea54d6',
'687ed577b14b3da7a542f17d0a1a6529',
],
},
{
viewtag: '35d4b9cdba8869e6da734043cbd4f9a8',
viewmodule: 'WorkOrder',
viewname: 'EAMWorkOrderInfo_MainView',
viewaction: '',
viewdatachange: false,
refviews: [
'd3466c5c60a573062d543896976bf68c',
'6c816d46a07d56b2a9afca077d9bbfc3',
],
},
{ {
viewtag: '36033e61af0b1c58739674b69f745704', viewtag: '36033e61af0b1c58739674b69f745704',
viewmodule: 'Apply', viewmodule: 'Apply',
...@@ -238,6 +272,16 @@ export const viewstate: any = { ...@@ -238,6 +272,16 @@ export const viewstate: any = {
'96e58ee9a57415beb8209aae53b14926', '96e58ee9a57415beb8209aae53b14926',
], ],
}, },
{
viewtag: '687ed577b14b3da7a542f17d0a1a6529',
viewmodule: 'WorkOrder',
viewname: 'EAMWOTypePickupView',
viewaction: '',
viewdatachange: false,
refviews: [
'ba1263ca3437b411e86c330836d2a64b',
],
},
{ {
viewtag: '6a395ea52232233416d9c7120518863d', viewtag: '6a395ea52232233416d9c7120518863d',
viewmodule: 'Location', viewmodule: 'Location',
...@@ -300,6 +344,17 @@ export const viewstate: any = { ...@@ -300,6 +344,17 @@ export const viewstate: any = {
'58b301299902245cdd7dfd5ae23545b4', '58b301299902245cdd7dfd5ae23545b4',
], ],
}, },
{
viewtag: '78b197ae25df6180e6c02c8b1b670a29',
viewmodule: 'WorkOrder',
viewname: 'EAMWorkOrderGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'326f3b663c055e3f1ec6fa0d2c3f0223',
'2fc820c040c33d878fc98791e3ad6d80',
],
},
{ {
viewtag: '7a8816b602f7aa58d702cb0743841f59', viewtag: '7a8816b602f7aa58d702cb0743841f59',
viewmodule: 'Apply', viewmodule: 'Apply',
...@@ -342,12 +397,14 @@ export const viewstate: any = { ...@@ -342,12 +397,14 @@ export const viewstate: any = {
], ],
}, },
{ {
viewtag: '8e9374f1a99e9f5e7b70b37ea8c6936c', viewtag: '8a03ef5ec2679c20c8072339004dcaaf',
viewmodule: 'WorkOrder', viewmodule: 'WorkOrder',
viewname: 'EAMWorkOrderEditView', viewname: 'EAMWorkOrderChildWOGridView',
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'326f3b663c055e3f1ec6fa0d2c3f0223',
'2fc820c040c33d878fc98791e3ad6d80',
], ],
}, },
{ {
...@@ -481,6 +538,16 @@ export const viewstate: any = { ...@@ -481,6 +538,16 @@ export const viewstate: any = {
'6c816d46a07d56b2a9afca077d9bbfc3', '6c816d46a07d56b2a9afca077d9bbfc3',
], ],
}, },
{
viewtag: 'b1d6c73a4090f7747188a191cbb59000',
viewmodule: 'WorkOrder',
viewname: 'EAMWorkOrderSummaryView',
viewaction: '',
viewdatachange: false,
refviews: [
'35d4b9cdba8869e6da734043cbd4f9a8',
],
},
{ {
viewtag: 'b24fce391aeca43222a1017b50ba40e2', viewtag: 'b24fce391aeca43222a1017b50ba40e2',
viewmodule: 'Location', viewmodule: 'Location',
...@@ -532,6 +599,15 @@ export const viewstate: any = { ...@@ -532,6 +599,15 @@ export const viewstate: any = {
'9d4bfdacbd01e6a5072e50c5ecb24e70', '9d4bfdacbd01e6a5072e50c5ecb24e70',
], ],
}, },
{
viewtag: 'ba1263ca3437b411e86c330836d2a64b',
viewmodule: 'WorkOrder',
viewname: 'EAMWOTypePickupGridView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: 'bb8b4b03a77ed63b8eb4ef3d62b669a6', viewtag: 'bb8b4b03a77ed63b8eb4ef3d62b669a6',
viewmodule: 'Location', viewmodule: 'Location',
...@@ -649,6 +725,7 @@ export const viewstate: any = { ...@@ -649,6 +725,7 @@ export const viewstate: any = {
'b97ed65fd88f536ebb13419938b19e2d', 'b97ed65fd88f536ebb13419938b19e2d',
'ca66d81a69c0f084e3f7cf1e99ae9d28', 'ca66d81a69c0f084e3f7cf1e99ae9d28',
'00fcbd6336b5d40a31a2c3d5c346d16c', '00fcbd6336b5d40a31a2c3d5c346d16c',
'78b197ae25df6180e6c02c8b1b670a29',
'30027967566375f388f110149cf48b49', '30027967566375f388f110149cf48b49',
'135343573fd869053d84ecc2f48ffd49', '135343573fd869053d84ecc2f48ffd49',
'b4c8e0e90e3940abee6c5f4909fd0e00', 'b4c8e0e90e3940abee6c5f4909fd0e00',
...@@ -761,7 +838,8 @@ export const viewstate: any = { ...@@ -761,7 +838,8 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'8e9374f1a99e9f5e7b70b37ea8c6936c', '326f3b663c055e3f1ec6fa0d2c3f0223',
'2fc820c040c33d878fc98791e3ad6d80',
], ],
}, },
{ {
......
...@@ -89,7 +89,13 @@ export default class EAMWorkOrderUIServiceBase extends UIService { ...@@ -89,7 +89,13 @@ export default class EAMWorkOrderUIServiceBase extends UIService {
* @memberof EAMWorkOrderUIServiceBase * @memberof EAMWorkOrderUIServiceBase
*/ */
public initViewMap(){ public initViewMap(){
this.allViewMap.set(':',{viewname:'infoview',srfappde:'eamworkorders'});
this.allViewMap.set(':',{viewname:'quickcreateview',srfappde:'eamworkorders'});
this.allViewMap.set(':',{viewname:'info_mainview',srfappde:'eamworkorders'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'eamworkorders'});
this.allViewMap.set(':',{viewname:'childwogridview',srfappde:'eamworkorders'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'eamworkorders'}); this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'eamworkorders'});
this.allViewMap.set(':',{viewname:'summaryview',srfappde:'eamworkorders'});
this.allViewMap.set(':',{viewname:'applywogridview',srfappde:'eamworkorders'}); this.allViewMap.set(':',{viewname:'applywogridview',srfappde:'eamworkorders'});
} }
......
...@@ -89,6 +89,8 @@ export default class EAMWOTypeUIServiceBase extends UIService { ...@@ -89,6 +89,8 @@ export default class EAMWOTypeUIServiceBase extends UIService {
* @memberof EAMWOTypeUIServiceBase * @memberof EAMWOTypeUIServiceBase
*/ */
public initViewMap(){ public initViewMap(){
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'eamwotypes'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'eamwotypes'});
} }
/** /**
......
/**
* BOARD_001 部件模型
*
* @export
* @class BOARD_001Model
*/
export default class BOARD_001Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof BOARD_001Model
*/
public getDataItems(): any[] {
return [
{
name: 'eamworkorder',
prop: 'workorderid',
},
{
name: 'workordername',
},
{
name: 'createdate',
},
{
name: 'createman',
},
{
name: 'updatedate',
},
{
name: 'updateman',
},
{
name: 'eamwotypeid',
},
{
name: 'assetid',
},
{
name: 'eamlocationid',
},
{
name: 'pworkorderid',
},
{
name: 'wooriginid',
},
{
name: 'wonumber',
},
{
name: 'mdate',
},
{
name: 'wodate',
},
{
name: 'begintime',
},
{
name: 'endtime',
},
{
name: 'eamservicelevelid',
},
{
name: 'worklength',
},
{
name: 'assetname',
},
{
name: 'eamlocationname',
},
{
name: 'eamservicelevelname',
},
{
name: 'wooriginname',
},
{
name: 'eamwotypename',
},
{
name: 'pworkordername',
},
]
}
}
\ No newline at end of file
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* BOARD_001 部件服务对象
*
* @export
* @class BOARD_001Service
*/
export default class BOARD_001Service extends ControlService {
}
\ No newline at end of file
<div class='dashboard'>
<row v-if="isEnableCustomized">
<app-build @handleClick="handleClick.apply(_self, arguments)"></app-build>
</row>
<row v-if="!isHasCustomized">
<i-col :md="{ span: 24, offset: 0 }">
<card class="portlet-card" :bordered="false" dis-hover :padding="0">
<span>
<div class='portlet-container summary-viewdashboard-container1 portlet-container-no-border' :style="{}">
<row>
<i-col :md="{ span: 24, offset: 0 }">
<div class="portlet-without-title">
<card class="portlet-card" :bordered="false" dis-hover :padding="0">
<span>
<view_dashboard_sysportlet1
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
@closeview="closeView($event)">
</view_dashboard_sysportlet1>
</span>
</card>
</div>
</i-col>
</row>
</div>
</span>
</card>
</i-col>
</row>
<row v-if="isHasCustomized" style="width: 100%;min-height: calc(100% - 40px);">
<div class="portlet-container" style="position: relative;width:100%;">
<template v-for="(item, index) of modelDta">
<div :key="index" :style="{zIndex: 10, position: 'absolute', height: item.h*layoutRowH + 'px', width: `calc(100% / ${layoutColNum} * ${item.w})`,top: item.y*layoutRowH + 'px', left: `calc(100% / ${layoutColNum} * ${item.x})`}">
<component :key="$util.createUUID()" :is="item.componentName" :name="item.portletCodeName" :context="JSON.parse(JSON.stringify(context))" :viewDefaultUsage="false" :isAdaptiveSize="true" :viewState="viewState"></component>
</div>
</template>
</div>
</row>
</div>
\ No newline at end of file
<template src="./board-001-dashboard.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { BOARD_001DashboardBase } from './board-001-dashboard-base';
import view_dashboard_sysportlet1 from '@widgets/eamwork-order/part-v-001-portlet/part-v-001-portlet.vue';
/**
* dashboard部件
*
* @export
* @class BOARD_001Dashboard
* @extends {BOARD_001DashboardBase}
*/
@Component({
components: {
view_dashboard_sysportlet1,
}
})
@VueLifeCycleProcessing()
export default class BOARD_001Dashboard extends BOARD_001DashboardBase { }
</script>
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* InfoViewtabviewpanel 部件服务对象
*
* @export
* @class InfoViewtabviewpanelService
*/
export default class InfoViewtabviewpanelService extends ControlService {
}
\ No newline at end of file
<div class='portlet part-v-001 ' :style="{}">
<div class="portlet-without-title">
<eamwork-order-info-main-view :viewUsage="4" :viewdata="JSON.stringify(context)" :viewDefaultUsage="false" ></eamwork-order-info-main-view>
</div>
</div>
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册