From 5bab148561462efb5c725240db1a5e8c9c57abbe Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期三, 09 四月 2025 17:54:17 +0800 Subject: [PATCH] 修改flow --- src/views/eam/maintenance/modules/EamInspectionOrderModal.vue | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/views/eam/maintenance/modules/EamInspectionOrderModal.vue b/src/views/eam/maintenance/modules/EamInspectionOrderModal.vue index 49776ee..67e0612 100644 --- a/src/views/eam/maintenance/modules/EamInspectionOrderModal.vue +++ b/src/views/eam/maintenance/modules/EamInspectionOrderModal.vue @@ -61,6 +61,21 @@ </a-col> </a-row> <a-row :gutter="24"> + <a-col :span="8"> + <a-form-model-item + label="鐓х墖鏂囦欢" + :labelCol="labelCol" + :wrapperCol="wrapperCol" + prop="imageFiles"> + <lx-upload :returnUrl="false" + :multiple="false" + v-model="model.imageFiles" + biz="EamMaintenanceStandard"> + </lx-upload> + </a-form-model-item> + </a-col> + </a-row> + <a-row :gutter="24"> <a-col :span="24"> <a-form-model-item label="澶囨敞" :labelCol="{span:1}" :wrapperCol="{span:22}" prop="remark"> <a-textarea v-model="model.remark" rows="3" placeholder="璇疯緭鍏ュ娉�" /> @@ -193,6 +208,7 @@ this.standardId=record.standardId this.visible = true this.editable = true + this.detail.dataSource = [] if (record && record.referenceFile) { let obj = JSON.parse(record.referenceFile) this.model.fileList = [obj] @@ -273,17 +289,16 @@ }, //鍔犺浇璇︽儏鏁版嵁 loadDetail(standardId) { - this.detail.dataSource = [] if (standardId) { getAction(this.url.detail, { standardId: standardId }).then(res => { if (res.success) { this.detail.dataSource = [...res.result] + this.standardId=undefined; } }) } }, loadDetailOrder(orderId){ - this.detail.dataSource = [] if (orderId) { getAction(this.url.detailOrder, { orderId: orderId }).then(res => { if (res.success) { -- Gitblit v1.9.3