From 3fb908f2d537a8a047388963202185e5844317cb Mon Sep 17 00:00:00 2001
From: yangkang <yangkang@xalxzn.com>
Date: 星期二, 12 九月 2023 09:26:35 +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