From c7b33db117fd2893d7d1c93bf5d46e87d33e44d0 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期一, 16 十二月 2024 16:08:51 +0800
Subject: [PATCH] 初审结果查询

---
 src/views/system/dept/index.vue |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index 1eb767f..45949df 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -234,10 +234,11 @@
             style="width: 200px"
             clearable
             filterable
+            @change="$forceUpdate()"
           >
             <el-option
               v-for="dict in deptOption"
-              :key="dict.label"
+              :key="dict.id"
               :label="dict.label"
               :value="dict.id"
             ></el-option>
@@ -267,7 +268,7 @@
               v-for="dict in hospList"
               :key="dict.hospAreaName"
               :label="dict.hospAreaName"
-              :value="dict.hospAreaName"
+              :value="dict.hospAreaId"
             />
           </el-select>
         </el-form-item>
@@ -421,7 +422,6 @@
   components: { Treeselect },
   data() {
     let checkPhoneNum = (rule, value, callback) => {
-      console.log(value);
       let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/);
       if (value == "" && value == undefined && !value) {
         return callback("");
@@ -659,11 +659,9 @@
       // console.log(11111)
       // this.reset();
       this.form = row;
-      console.log(this.form )
-      // this.form.parentId = this.form.parentId.toString()
+      this.form.parentId = this.form.parentId.toString()
       if(this.form.parentId == 0){
         this.deptOption.push({ "id": 0, "label": "涓荤被鐩�", });
-        console.log(this.deptOption);
       }
       this.open = true;
       this.title = "绉戝淇℃伅缁存姢  ";
@@ -690,7 +688,7 @@
         if (valid) {
           if (this.form.deptId != undefined) {
             if(this.form.hospId ){
-              console.log(this.form);
+              // console.log(this.form);
               updateDept(this.form).then((response) => {
               this.$modal.msgSuccess("淇敼鎴愬姛");
               this.open = false;

--
Gitblit v1.8.0