From 0a26d58a3906b9e13946c7cb46fae51a0de98920 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期一, 17 三月 2025 15:49:08 +0800
Subject: [PATCH] Merge branch 'dev' into dev_tides

---
 src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue b/src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue
index fe26f2c..7672cfe 100644
--- a/src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue
+++ b/src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue
@@ -38,7 +38,7 @@
         </el-col>
         <el-col :span="12">
           <el-form-item label="鐩戠潱鍘熷洜" prop="superviseReason">
-            <el-input v-model="form.superviseReason" clearable size="small"></el-input>
+            <el-input v-model="form.superviseReason" clearable disabled size="small"></el-input>
           </el-form-item>
         </el-col>
         <el-col :span="12">
@@ -94,10 +94,15 @@
   },
   // 鏂规硶闆嗗悎
   methods: {
-    openDia(type, row) {
+    openDia(type, row, causeType) {
       this.formDia = true
       this.operationType = type
       this.getUserList()
+      if (causeType == 1) {
+        this.form.superviseReason = '瀹氭湡鐩戠潱'
+      } else {
+        this.form.superviseReason = '鍔ㄦ�佺洃鐫�'
+      }
       if (type === 'edit') {
         this.searchInfo(row)
       }
@@ -157,7 +162,7 @@
       this.$emit('closeDia')
     },
     getUserList(){
-      selectUserCondition({ type: 0 }).then((res) => {
+      selectUserCondition({ type: 2 }).then((res) => {
         this.userList = res.data;
       })
     },

--
Gitblit v1.9.3