diff --git a/src/jmapNew/theme/factory.js b/src/jmapNew/theme/factory.js index b79bfb78c..d9837714b 100644 --- a/src/jmapNew/theme/factory.js +++ b/src/jmapNew/theme/factory.js @@ -109,12 +109,12 @@ class Theme { } // 加载行调菜单组件 loadDispatchWorkMenuComponent(code) { - if (code == '02' || code == '16') { + if (['02', '10', '11', '16'].includes(code)) { return Object.assign({}, require(`./${this._mapMenu[code || this._code]}/menus/dispatchWorkMenu`).default); } } loadLocalWorkMenuComponent(code) { - if (code == '02' || code == '16') { + if (['02', '10', '11', '16'].includes(code)) { return Object.assign({}, require(`./${this._mapMenu[code || this._code]}/menus/localWorkMenu`).default); } } diff --git a/src/jmapNew/theme/xian_01/menus/index.vue b/src/jmapNew/theme/xian_01/menus/dispatchWorkMenu.vue similarity index 95% rename from src/jmapNew/theme/xian_01/menus/index.vue rename to src/jmapNew/theme/xian_01/menus/dispatchWorkMenu.vue index a612a929a..41257f6ce 100644 --- a/src/jmapNew/theme/xian_01/menus/index.vue +++ b/src/jmapNew/theme/xian_01/menus/dispatchWorkMenu.vue @@ -1,13 +1,13 @@ + + + + diff --git a/src/views/newMap/display/terminals/pis/index.vue b/src/views/newMap/display/terminals/pis/index.vue new file mode 100644 index 000000000..70effe550 --- /dev/null +++ b/src/views/newMap/display/terminals/pis/index.vue @@ -0,0 +1,441 @@ + + + + + diff --git a/src/views/system/deviceManage/add.vue b/src/views/system/deviceManage/add.vue index 4cb019946..04146c38f 100644 --- a/src/views/system/deviceManage/add.vue +++ b/src/views/system/deviceManage/add.vue @@ -19,7 +19,7 @@ export default { formModel: { code: '', type: '', - projectCode: '' + project: '' }, LessonList: [], UserList: [], @@ -35,7 +35,7 @@ export default { items: [ { prop: 'code', label: this.$t('system.deviceCode'), type: 'text', required: true, placeholder: this.$t('rules.enterDeviceCode') }, { prop: 'type', label: this.$t('system.deviceType1'), type: 'select', required: true, options: this.deviceTypeList, placeholder: this.$t('rules.selectDeviceType') }, - {prop: 'projectCode', label:'所属项目', type: 'select', required: true, options:ConstConfig.ConstSelect.projectList } + {prop: 'project', label:'所属项目', type: 'select', required: true, options:ConstConfig.ConstSelect.projectList } ] }; return form; @@ -48,7 +48,7 @@ export default { type: [ { required: true, message: this.$t('rules.selectDeviceType'), trigger: 'change' } ], - projectCode: [ + project: [ { required: true, message: '请选择所属项目', trigger: 'change' } ] }; @@ -70,7 +70,7 @@ export default { const params = { code: this.formModel.code, type: this.formModel.type, - projectCode: this.formModel.projectCode + project: this.formModel.project }; deviceIsExist(params.code).then(response => { if (!response.data) { @@ -92,7 +92,7 @@ export default { this.formModel = { code: '', type: '', - projectCode: '' + project: '' }; this.$refs.dataform.resetForm(); this.dialogVisible = false; diff --git a/src/views/system/deviceManage/editConfig.vue b/src/views/system/deviceManage/editConfig.vue index 09b0157b4..feec37b99 100644 --- a/src/views/system/deviceManage/editConfig.vue +++ b/src/views/system/deviceManage/editConfig.vue @@ -21,10 +21,40 @@ /> - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -137,7 +197,7 @@