miaofuhao 1 year ago
parent
commit
b45132a187

BIN
CallCenterWeb.UI/RMYY/0116-2dist.zip


+ 1 - 1
CallCenterWeb.UI/RMYY/src/components/workOrder/information/addOrEditInfOrder.vue

273
               </el-form-item>
273
               </el-form-item>
274
             </el-col>
274
             </el-col>
275
             <el-col v-if="patientMsgAll[currentIndex]" :span="12">
275
             <el-col v-if="patientMsgAll[currentIndex]" :span="12">
276
-              <el-form-item label="接诊科室">
276
+              <el-form-item label="接诊科室" required>
277
                 <el-input v-model="patientMsgAll[currentIndex].jzks" placeholder="请输入接诊科室" clearable />
277
                 <el-input v-model="patientMsgAll[currentIndex].jzks" placeholder="请输入接诊科室" clearable />
278
               </el-form-item>
278
               </el-form-item>
279
             </el-col>
279
             </el-col>

+ 11 - 5
CallCenterWeb.UI/RMYY/src/views/systemSetup/sysSetting/orderTypeManage/addOrEditOrderType.vue

31
       </el-form-item>
31
       </el-form-item>
32
       <el-form-item label="流转部门">
32
       <el-form-item label="流转部门">
33
         <el-row v-for="(item, index) in autolist" :key="index" style="margin-bottom: 10px;">
33
         <el-row v-for="(item, index) in autolist" :key="index" style="margin-bottom: 10px;">
34
-          <el-select v-model="item.autoyq" clearable placeholder="请选择院区" @change="(autoyq)=>changeyq(autoyq,index)">
34
+          <el-select v-model="item.autoyq" clearable placeholder="请选择院区" @change="(autoyq)=>changeyq(autoyq,index)" @clear="clearyq(autoyq,index)">
35
             <el-option label="全部" value="0"/>
35
             <el-option label="全部" value="0"/>
36
             <el-option v-for="(itemval, index) in yqarr" :key="itemval.T_Woid" :label="itemval.T_Woname" :value="itemval.T_Woid.toString()"/>
36
             <el-option v-for="(itemval, index) in yqarr" :key="itemval.T_Woid" :label="itemval.T_Woname" :value="itemval.T_Woid.toString()"/>
37
           </el-select>
37
           </el-select>
169
       orderData: [],
169
       orderData: [],
170
       deptidArr: [],
170
       deptidArr: [],
171
       yqarr: [],
171
       yqarr: [],
172
-      loading: false
172
+      loading: false,
173
+      yqdata:[]
173
     }
174
     }
174
   },
175
   },
175
   created() {
176
   created() {
218
       })
219
       })
219
     },
220
     },
220
     changeyq(data, index) {
221
     changeyq(data, index) {
221
-      var yqdata = []
222
+      console.log('changeyq',data, index)
223
+      this.yqdata = []
222
       for (var i = 0; i < this.autolist.length - 1; i++) {
224
       for (var i = 0; i < this.autolist.length - 1; i++) {
223
-        yqdata.push(this.autolist[i].autoyq)
225
+        this.yqdata.push(this.autolist[i].autoyq)
224
       }
226
       }
225
-      if (yqdata.indexOf(data) >= 0) {
227
+      if (this.yqdata.indexOf(data) >= 0) {
226
         this.$message.warning('该院区已存在,请重新选择院区')
228
         this.$message.warning('该院区已存在,请重新选择院区')
227
         this.autolist[index].autoyq = ''
229
         this.autolist[index].autoyq = ''
228
       }
230
       }
229
     },
231
     },
232
+    clearyq(data, index){
233
+        console.log('clearyq',data, index)
234
+        this.yqdata[index].autoyq = ''
235
+    },
230
     handleChangeDept(data, index) {
236
     handleChangeDept(data, index) {
231
       this.autolist[index].personarr = []
237
       this.autolist[index].personarr = []
232
       this.autolist[index].autousercode = ''
238
       this.autolist[index].autousercode = ''