소스 검색

列表页删除层级定义,扣分项和提示语必填

zhangxc 5 년 전
부모
커밋
8283de9e95
3개의 변경된 파일22개의 추가작업 그리고 6개의 파일을 삭제
  1. 16 0
      src/components/recordInput/AddRecordItem.vue
  2. 4 4
      src/components/recordInput/RecordItemList.vue
  3. 2 2
      vue.config.js

+ 16 - 0
src/components/recordInput/AddRecordItem.vue

@@ -274,6 +274,22 @@
           let  casesEntryHospitals = []
           for(let i = 0; i < this.multipleSelection.length; i++){
             const item = this.multipleSelection[i]
+            if(item.value ===''){
+              this.$message({
+                message:"请填写所选医院扣分项",
+                type:'warning',
+                showClose: true
+              })
+              return
+            }
+            if(item.tipMsg ===''){
+              this.$message({
+                message:"请填写所选医院提示语",
+                type:'warning',
+                showClose: true
+              })
+              return
+            }
             casesEntryHospitals.push({
               creator: '0',
               score: item.value,

+ 4 - 4
src/components/recordInput/RecordItemList.vue

@@ -20,9 +20,9 @@
                     </el-option>
                   </el-select>
                </el-form-item>
-               <el-form-item label="层级定义:">
+               <!-- <el-form-item label="层级定义:">
                    <el-input size="mini" v-model.trim="filter.level" placeholder="层级定义" clearable></el-input>
-               </el-form-item>
+               </el-form-item> -->
                <el-form-item label="条目编码:">
                    <el-input size="mini" v-model.trim="filter.itemCode" placeholder="条目编码" clearable></el-input>
                </el-form-item>
@@ -70,8 +70,8 @@
                 </el-table-column>
                 <el-table-column
                         :resizable = "false"
-                        prop="levelNo"
-                        label="层级定义"
+                        prop="modeName"
+                        label="医院数据模块"
                         width="">
                   
                 </el-table-column>

+ 2 - 2
vue.config.js

@@ -1,10 +1,10 @@
 const path = require('path');
 // const proxy_path = 'http://192.168.2.236:80';
 // const proxy_path = 'http://192.168.2.241:88';
-const proxy_path = 'http://192.168.2.236:88';
+// const proxy_path = 'http://192.168.2.236:88';
 // const proxy_path = 'http://192.168.3.101:5050';
 // const proxy_path = 'http://192.168.3.117:5050';//周铁刚
-// const proxy_path = 'http://192.168.3.115:5050';
+const proxy_path = 'http://192.168.3.113:5050'; //王峰
 
 module.exports = {
     lintOnSave: false,