From e9bb50dcb395c160adb7f89f2f0972d9bdce3f3c Mon Sep 17 00:00:00 2001 From: qushaowei <qushaowei@163.com> Date: 星期二, 29 八月 2023 17:56:17 +0800 Subject: [PATCH] 修改宽度 --- src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue | 25 ++++++++++++++----------- 1 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue index e63f4fb..8f34416 100644 --- a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue +++ b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue @@ -17,18 +17,21 @@ @click="handleSW" :disabled=SWbuttonDistable type="primary" + v-has="'dailyInspectionOrder:SW'" >寮�宸�</a-button> <a-button :style="{marginRight: '8px'}" @click="handleReport" :disabled="buttonDistable" type="primary" + v-has="'dailyInspectionOrder:report'" >鎶ュ伐</a-button> <a-button :style="{marginRight: '8px'}" @click="handleReset" :disabled="revocationDistable" type="primary" + v-has="'dailyInspectionOrder:reset'" >鎾ら攢</a-button> </a-row> </div> @@ -147,7 +150,7 @@ style="max-width:80px;font-size: 12px;font-style: italic;" /> <a-select - v-if="col.dataIndex == 'inspectionProjectResult' && record.analysisMethod == '2'" + v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '2'" :value="text" :options="record.inspectionCycles" @change="(e) => handleChange(e, record.key, col, index)" @@ -156,7 +159,7 @@ /> <a-input-number :value="text" - v-if="col.dataIndex == 'inspectionProjectResult' && record.analysisMethod == '1'" + v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '1'" :min="0" :max="20000" @change="(e)=>handleChange(e, record.key, col, index,record)" @@ -262,11 +265,13 @@ @click="handleTS" :disabled="buttonDistable" type="primary" + v-has="'dailyInspectionOrder:TS'" >鏆傚瓨</a-button> <a-button @click="handleOk" :disabled="buttonDistable" type="primary" + v-has="'dailyInspectionOrder:save'" >淇濆瓨</a-button> </a-row> </div> @@ -393,14 +398,12 @@ dataIndex: 'abnormalDesc', scopedSlots: { customRender: 'abnormalDesc' }, }, - { - title: '寮傚父鎷嶇収', - align: 'center', - dataIndex: 'abnormalPhoto', - scopedSlots: { customRender: 'abnormalPhoto' }, - // dataIndex: 'action', - // scopedSlots: { customRender: 'action' }, - }, + // { + // title: '寮傚父鎷嶇収', + // align: 'center', + // dataIndex: 'abnormalPhoto', + // scopedSlots: { customRender: 'abnormalPhoto' }, + // }, { title: '*寮傚父澶勭疆', align: 'center', @@ -663,7 +666,7 @@ if (target) { if (column.dataIndex == 'inspectionProjectResult') { - if (target.analysisMethod === "1") { + if (target.testValueType === "1") { target[column.dataIndex] = value; let maxValue = target.maxValue let minValue = target.minValue -- Gitblit v1.9.3