From c95b7b06a7e20d047563384b35a6a7fcd51c2868 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期四, 06 三月 2025 09:18:56 +0800
Subject: [PATCH] art: 设备台账-生产设备 页面修改,直接引用 所有设备页面,统一编码和修改
---
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