From 033c329be810727208e8e124f5f31314305b0808 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期四, 10 七月 2025 20:18:55 +0800 Subject: [PATCH] 1、点检工单流程开发 2、点检工单领取时增加列表loading提示 --- src/views/eam/maintenance/modules/EamInspectionOrderModal.vue | 39 +++++++++++++++++---------------------- 1 files changed, 17 insertions(+), 22 deletions(-) diff --git a/src/views/eam/maintenance/modules/EamInspectionOrderModal.vue b/src/views/eam/maintenance/modules/EamInspectionOrderModal.vue index 1ecc745..8361c6c 100644 --- a/src/views/eam/maintenance/modules/EamInspectionOrderModal.vue +++ b/src/views/eam/maintenance/modules/EamInspectionOrderModal.vue @@ -128,24 +128,21 @@ { title: '搴忓彿', key: 'itemCode', - type: JVXETypes.inputNumber, + type: JVXETypes.normal, width: 100, align: 'center', - disabled: true }, { title: '淇濆吇椤�', key: 'itemName', - type: JVXETypes.textarea, + type: JVXETypes.normal, align: 'center', - disabled: true }, { title: '淇濆吇瑙勮寖鎴栬姹�', key: 'itemDemand', - type: JVXETypes.textarea, + type: JVXETypes.normal, align: 'center', - disabled: true } ], weekInspectionColumns: [], @@ -156,42 +153,40 @@ type: JVXETypes.normal, width: 60, align: 'center', - fixed: 'left' }, { title: '淇濆吇椤�', key: 'itemName', - type: JVXETypes.textarea, + type: JVXETypes.normal, align: 'center', - fixed: 'left' }, { title: '淇濆吇瑕佹眰', key: 'itemDemand', - type: JVXETypes.textarea, + type: JVXETypes.normal, align: 'center', - fixed: 'left' }, { title: '鐐规缁撴灉', key: 'inspectionResult', - type: JVXETypes.slot, - slotName: 'inspectionResult', - align: 'center' + type: JVXETypes.select, + dictCode: 'inspection_project_result', + align: 'center', + disabled: true }, { title: '寮傚父鎻忚堪', key: 'exceptionDescription', - type: JVXETypes.slot, - slotName: 'exceptionDescription', - align: 'center' + type: JVXETypes.normal, + align: 'center', }, { title: '寮傚父鏄惁鎶ヤ慨', key: 'reportFlag', - type: JVXETypes.slot, - slotName: 'reportFlag', - align: 'center' + type: JVXETypes.select, + ditCode: 'yn', + align: 'center', + disabled: true } ] } @@ -302,8 +297,8 @@ }) .then(res => { if (res.success) { - if (res.result.length > 0) { - this.detail.weekInspectionList = res.result + if (res.result.list.length > 0) { + this.detail.weekInspectionList = res.result.list this.detail.weekInspectionColumns = this.detail.weekInspectionOrderColumns } } -- Gitblit v1.9.3