浏览代码

Merge remote-tracking branch 'origin/AIControl' into test

zhouna 5 年之前
父节点
当前提交
b8ba653da5

+ 1 - 0
src/components/qualityControl/AddCombineFeild.vue

@@ -141,6 +141,7 @@
         }
         this.form = Object.assign({},data);
         if(isCopy){
+          this.title='组合字段维护-复制组合字段';
           this.isCopy = isCopy
           this.form.tagName = ""
           this.form.id=""

+ 3 - 3
src/components/qualityControl/AddQcType.vue

@@ -7,7 +7,7 @@
                     <el-form-item label="所属医院:" prop="hospitalId">
                         <el-select v-model="form.hospitalId"
                                    placeholder="请选择"
-                                   :disabled="!!this.form.id"
+                                   :disabled="!!this.form.id||copy"
                                    @change="changeHospital"
                                    size="small">
                             <el-option
@@ -99,7 +99,7 @@
         };
         //this.getQcTypeItem({hospitalId:info.hospitalId});
       }else{
-        let hospitalId = localStorage.getItem("qcSelectHospital");
+        let hospitalId = localStorage.getItem("qcSelectHospital")||this.hisTypes[0].val;
         this.form.hospitalId = +hospitalId;
         this.getQcTypeItem({hospitalId:hospitalId});
       }
@@ -114,7 +114,7 @@
                 list.push({caseEntryId:t.id});
               }
             })
-          }console.log(list)
+          }
           this.form.qcTypeCasesEntryVOList=list;
         },
         deep:true

+ 2 - 1
src/components/qualityControl/BaseFieldList.vue

@@ -227,7 +227,8 @@
       getFilterItems() {
         const param = Object.assign({
           current: this.currentPage,
-          size: this.pageSize
+          size: this.pageSize,
+          tagTypeList:[1]
         },this.filter);
         return param;
       },

+ 2 - 1
src/components/qualityControl/CombineFeildList.vue

@@ -208,7 +208,8 @@
       getFilterItems() {
         const param =  Object.assign({
           current: this.currentPage,
-          size: this.pageSize
+          size: this.pageSize,
+          tagTypeList:[4]
         },this.filter);
         return param;
       },

+ 2 - 2
src/components/qualityControl/FieldMatch.vue

@@ -191,7 +191,7 @@
             const data = res.data.data;
             this.flawList = []
             this.flawList = data.records;
-            let info = this.$route.params.info;
+            /*let info = this.$route.params.info;
             if(info){
               const infoCopy =  Object.assign({},this.form);
 
@@ -205,7 +205,7 @@
               }
               this.flawList.unshift(obj)
             }
-            }
+            }*/
           }else{
             this.warning("获取缺陷条目失败");
           }

+ 2 - 2
src/components/qualityControl/QCTypeMang.vue

@@ -42,7 +42,7 @@
                         label="质控类型">
                 </el-table-column>
                 <el-table-column
-                        label="操作" width="100">
+                        label="操作" width="150">
                     <template slot-scope="scope">
                         <el-button type="text" size="small" @click="toEditField(scope.row, 'modify')">修改</el-button>
                         <span style="margin:0 3px;">|</span>
@@ -211,7 +211,7 @@
         }).catch(() => {});
       },
       showDelDialog(id){
-        this.showConfirmDialog('是否删除该字段映射?',()=>{
+        this.showConfirmDialog('是否删除该质控类型?',()=>{
           api.delQcType({ids:[id]}).then((res)=>{
             if(res.data.code=='0'){
               this.warning(res.data.msg||'操作成功','success');