From fd019c06c025ff7871d77c679d2b61680daf0b4d Mon Sep 17 00:00:00 2001 From: qushaowei <qushaowei@163.com> Date: 星期三, 30 八月 2023 18:40:32 +0800 Subject: [PATCH] 保养修改 --- src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue index 8f34416..e5a0ffc 100644 --- a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue +++ b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue @@ -152,11 +152,14 @@ <a-select v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '2'" :value="text" - :options="record.inspectionCycles" @change="(e) => handleChange(e, record.key, col, index)" style="width: 100%" :disabled="record.disabled" - /> + > + <!-- :options="record.inspectionCycles" --> + <a-select-option value="1">姝e父</a-select-option> + <a-select-option value="2">寮傚父</a-select-option> + </a-select> <a-input-number :value="text" v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '1'" @@ -679,7 +682,15 @@ target['judgmentResult'] = ""; } } else { - + target[column.dataIndex] = value; + if (value == "1") { + target['judgmentResult'] = "pass"; + } else { + target['judgmentResult'] = "fail"; + } + if (value == null || value == "") { + target['judgmentResult'] = ""; + } } } if (column.dataIndex == 'abnormalDesc') { -- Gitblit v1.9.3