From 6fe105ad43fa044d205a5a0ef5ad8533de2a52b1 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期四, 28 十一月 2024 10:03:01 +0800
Subject: [PATCH] 新增MDC设备实施台账页面新增导入,按照车间、工段筛选,调整表格标题展示
---
src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportDrawerList.vue | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportDrawerList.vue b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportDrawerList.vue
index 8569e07..d489128 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: '鎿嶄綔',
--
Gitblit v1.9.3