Selaa lähdekoodia

优化管理员科室模糊匹配、长期医嘱详情展示

gaohaiyong 8 kuukautta sitten
vanhempi
commit
c218c3e58f

+ 1 - 1
src/views/recordsRoom/qc/caseViews.vue

@@ -552,7 +552,7 @@ export default {
           params.is_tm = 1
           params.is_tm = 1
         }
         }
         getLong(params).then(res => {
         getLong(params).then(res => {
-          this.longAdvice = res.p
+          this.longAdvice = res.data
         })
         })
       }
       }
       if (that.is_active == '临时医嘱') {
       if (that.is_active == '临时医嘱') {

+ 2 - 2
src/views/system/admin/index.vue

@@ -142,7 +142,7 @@
           </el-select>
           </el-select>
         </el-form-item>
         </el-form-item>
         <el-form-item label="科室">
         <el-form-item label="科室">
-          <el-select v-model="alertForm.KSDM">
+          <el-select v-model="alertForm.KSDM" filterable clearable>
             <el-option
             <el-option
               v-for="(v,k) in deportmentList"
               v-for="(v,k) in deportmentList"
               :key="k"
               :key="k"
@@ -309,7 +309,7 @@ export default {
       this.alertForm.phone = data.phone
       this.alertForm.phone = data.phone
       this.alertForm.realname = data.realname
       this.alertForm.realname = data.realname
       this.alertForm.group_id = parseInt(data.group_id)
       this.alertForm.group_id = parseInt(data.group_id)
-      this.alertForm.KSDM = data.KSDM
+      this.alertForm.KSDM = parseInt(data.KSDM)
       this.alertForm.desc = data.desc
       this.alertForm.desc = data.desc
       this.dialogStatus = 'update'
       this.dialogStatus = 'update'
       this.dialogVisible = true
       this.dialogVisible = true