From a751e547d67c4f8e2c6fddf958c1559f792515bd Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期五, 27 六月 2025 16:11:50 +0800 Subject: [PATCH] 添加工作流 --- src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportDrawerList.vue | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportDrawerList.vue b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportDrawerList.vue index 8569e07..7a8424c 100644 --- a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportDrawerList.vue +++ b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportDrawerList.vue @@ -19,6 +19,7 @@ @click="handleAdd" type="primary" icon="plus" + :disabled="buttonDistable" >鏂板</a-button> <a-table ref="table" @@ -43,7 +44,10 @@ slot="action" slot-scope="text, record" > - <a @click="handleEdit(record)">缂栬緫</a> + <a + :disabled="buttonDistable" + @click="handleEdit(record)" + >缂栬緫</a> <a-divider type="vertical" /> <Tooltip @@ -66,6 +70,7 @@ v-if="record.upload.path && record.upload.format.toLowerCase()=='pdf'" href="javascript:;" @click="view(record)" + :disabled="buttonDistable" > 棰勮 </a> @@ -78,6 +83,7 @@ <a href="javascript:;" @click="handleDownload(record)" + :disabled="buttonDistable" >涓嬭浇</a> <a-divider type="vertical" /> @@ -85,7 +91,7 @@ title="纭畾鍒犻櫎鍚�?" @confirm="() => handleDelete(record.id)" > - <a>鍒犻櫎</a> + <a :disabled="buttonDistable">鍒犻櫎</a> </a-popconfirm> </span> @@ -133,6 +139,11 @@ calibrationOrderId: { type: String, default: '-1', + required: false + }, + buttonDistable: { + type: Boolean, + default: 'false', required: false } }, @@ -188,7 +199,7 @@ { title: '鍒ゅ畾缁撴灉', align: 'center', - dataIndex: 'judgmentResultName' + dataIndex: 'judgmentResult_dicText' }, { title: '鎿嶄綔', @@ -216,7 +227,7 @@ handleAdd: function () { this.$refs.modalForm.add(this.calibrationOrderId); - this.$refs.modalForm.title = "涓婁紶妫�瀹氭姤鍛�"; + this.$refs.modalForm.title = "涓婁紶閴村畾鎶ュ憡"; this.$refs.modalForm.disableSubmit = false; }, -- Gitblit v1.9.3