liuzhihui %!s(int64=3) %!d(string=hace) años
padre
commit
ee612fa771

+ 3 - 0
CallCenterWeb.UI/RMYY/src/components/workOrder/dispatching/addOrEditDispatch.vue

@@ -468,6 +468,9 @@
468 468
     },
469 469
     methods: {
470 470
       getUserData() {
471
+        if(!this.usercodeSearch){
472
+          return;
473
+        }
471 474
         const params = {
472 475
           usercode: this.usercodeSearch
473 476
         }

+ 3 - 0
CallCenterWeb.UI/RMYY/src/components/workOrder/repairbase/addRepairbase.vue

@@ -300,6 +300,9 @@
300 300
     },
301 301
     methods: {
302 302
       getUserData() {
303
+        if(!this.usercodeSearch){
304
+          return;
305
+        }
303 306
         const params = {
304 307
           usercode: this.usercodeSearch
305 308
         }

+ 3 - 0
CallCenterWeb.UI/RMYY/src/components/workOrder/vehicleDispatch/addOrEdit.vue

@@ -310,6 +310,9 @@
310 310
     },
311 311
     methods: {
312 312
       getUserData() {
313
+        if(!this.usercodeSearch){
314
+          return;
315
+        }
313 316
         const params = {
314 317
           usercode: this.usercodeSearch
315 318
         }

+ 2 - 2
CallCenterWeb.UI/RMYY/src/views/callScreen/components/callScreen.vue

@@ -29,11 +29,11 @@
29 29
               <visit-list :callin-num="callinNum" :callid="callinCallid" />
30 30
             </div>
31 31
           </el-tab-pane>
32
-          <el-tab-pane label="药品信息" name="drugInfo">
32
+          <!-- <el-tab-pane label="药品信息" name="drugInfo">
33 33
             <div class="tab_body">
34 34
               <drug-list :callin-num="callinNum" :callid="callinCallid" />
35 35
             </div>
36
-          </el-tab-pane>
36
+          </el-tab-pane> -->
37 37
           <el-tab-pane label="知识库" name="second">
38 38
             <div class="tab_body">
39 39
               <knowledge-List ref="knowledgeListEl" :callin-num="callinNum" :callid="callinCallid" />

+ 64 - 30
CallCenterWeb.UI/RMYY/src/views/callScreen/components/hisList.vue

@@ -33,22 +33,22 @@
33 33
       <el-table-column :show-overflow-tooltip="true" prop="DischargeDateTime" label="出院时间" align="center" />
34 34
       <el-table-column :show-overflow-tooltip="true" prop="" label="出院科室" align="center">
35 35
         <template slot-scope="scope">
36
-          <span>{{scope.row.AssignedPatientLocation.PointOfCareName}}</span>
36
+          <span v-if="scope.row.AssignedPatientLocation">{{scope.row.AssignedPatientLocation.PointOfCareName}}</span>
37 37
         </template>
38 38
       </el-table-column>
39 39
       <el-table-column :show-overflow-tooltip="true" label="出院诊断" align="center">
40 40
         <template slot-scope="scope">
41
-          <span>{{scope.row.Diagnosis.Name}}</span>
41
+          <span v-if="scope.row.Diagnosis">{{scope.row.Diagnosis.Name}}</span>
42 42
         </template>
43 43
       </el-table-column>
44 44
       <el-table-column :show-overflow-tooltip="true" prop="" label="主管医生" align="center">
45 45
         <template slot-scope="scope">
46
-          <span>{{scope.row.AttendingDoctor.FamilyName}}</span>
46
+          <span v-if="scope.row.AttendingDoctor">{{scope.row.AttendingDoctor.FamilyName}}</span>
47 47
         </template>
48 48
       </el-table-column>
49 49
       <el-table-column :show-overflow-tooltip="true" prop="" label="住院号" align="center">
50 50
         <template slot-scope="scope">
51
-          <span>{{scope.row.VisitNumber.CardID}}</span>
51
+          <span v-if="scope.row.VisitNumber">{{scope.row.VisitNumber.CardID}}</span>
52 52
         </template>
53 53
       </el-table-column>
54 54
     </el-table>
@@ -57,17 +57,17 @@
57 57
       <el-table-column :show-overflow-tooltip="true" prop="AdmitDateTime" label="就诊时间" align="center" />
58 58
       <el-table-column :show-overflow-tooltip="true" label="就诊科室" align="center">
59 59
         <template slot-scope="scope">
60
-          <span>{{scope.row.AssignedPatientLocation.PointOfCareName}}</span>
60
+          <span v-if="scope.row.AssignedPatientLocation">{{scope.row.AssignedPatientLocation.PointOfCareName}}</span>
61 61
         </template>
62 62
       </el-table-column>
63 63
       <el-table-column :show-overflow-tooltip="true" label="就诊病区" align="center">
64 64
         <template slot-scope="scope">
65
-          <span>{{scope.row.AssignedPatientLocation.Areaname}}</span>
65
+          <span v-if="scope.row.AssignedPatientLocation">{{scope.row.AssignedPatientLocation.Areaname}}</span>
66 66
         </template>
67 67
       </el-table-column>
68 68
       <el-table-column :show-overflow-tooltip="true" label="接诊医生" align="center">
69 69
         <template slot-scope="scope">
70
-          <span>{{scope.row.AttendingDoctor.FamilyName}}</span>
70
+          <span v-if="scope.row.AttendingDoctor">{{scope.row.AttendingDoctor.FamilyName}}</span>
71 71
         </template>
72 72
       </el-table-column>
73 73
     </el-table>
@@ -76,12 +76,12 @@
76 76
       <el-table-column :show-overflow-tooltip="true" prop="AdmitDateTime" label="就诊时间" align="center" />
77 77
       <el-table-column :show-overflow-tooltip="true" label="就诊科室" align="center">
78 78
         <template slot-scope="scope">
79
-          <span>{{scope.row.AssignedPatientLocation.PointOfCareName}}</span>
79
+          <span v-if="scope.row.AssignedPatientLocation">{{scope.row.AssignedPatientLocation.PointOfCareName}}</span>
80 80
         </template>
81 81
       </el-table-column>
82 82
       <el-table-column :show-overflow-tooltip="true" label="接诊医生" align="center">
83 83
         <template slot-scope="scope">
84
-          <span>{{scope.row.AttendingDoctor.FamilyName}}</span>
84
+          <span v-if="scope.row.AttendingDoctor">{{scope.row.AttendingDoctor.FamilyName}}</span>
85 85
         </template>
86 86
       </el-table-column>
87 87
     </el-table>
@@ -90,29 +90,30 @@
90 90
       <el-table-column :show-overflow-tooltip="true" prop="AdmitDateTime" label="体检时间" align="center" />
91 91
       <el-table-column :show-overflow-tooltip="true" prop="" label="体检科室" align="center">
92 92
         <template slot-scope="scope">
93
-          <span>{{scope.row.AssignedPatientLocation.PointOfCareName}}</span>
93
+          <span v-if="scope.row.AssignedPatientLocation">{{scope.row.AssignedPatientLocation.PointOfCareName}}</span>
94 94
         </template>
95 95
       </el-table-column>
96 96
       <el-table-column :show-overflow-tooltip="true" prop="" label="接诊医生" align="center">
97 97
         <template slot-scope="scope">
98
-          <span>{{scope.row.AttendingDoctor.FamilyName}}</span>
98
+          <span v-if="scope.row.AttendingDoctor">{{scope.row.AttendingDoctor.FamilyName}}</span>
99 99
         </template>
100 100
       </el-table-column>
101 101
     </el-table>
102
-    <el-dialog title="请选择系统" :visible.sync="dialogVisible" width="30%">
102
+    <el-dialog title="请选择" :visible.sync="dialogVisible" width="30%">
103 103
       <div style="height: 300px;">
104
-        <el-select v-model="tourlid" placeholder="请选择系统">
104
+        <!-- <el-select v-model="tourlid" placeholder="请选择系统">
105 105
           <el-option v-for="(item,index) in urls" :key="index" :label="item.F_Name" :value="item.F_DictionaryValueId">
106 106
           </el-option>
107
-        </el-select>
108
-        <el-select v-model="jzlb" placeholder="请选择就诊类别">
107
+        </el-select> -->
108
+        <el-select v-model="jzlb" clearable placeholder="请选择就诊类别">
109 109
           <el-option value="1" label="门诊"></el-option>
110 110
           <el-option value="2" label="住院"></el-option>
111 111
           <el-option value="3" label="体检"></el-option>
112 112
         </el-select>
113
+        <el-input v-model="jzlsh" placeholder="请输入就诊流水号" style="width: 200px;" clearable></el-input>
114
+        <el-input v-model="zjh" placeholder="请输入身份证号" style="width: 200px;margin-top: 5px;" clearable></el-input>
113 115
       </div>
114 116
       <span slot="footer" class="dialog-footer">
115
-        <!-- <el-button @click="dialogVisible = false">取 消</el-button> -->
116 117
         <el-button type="primary" @click="goToView">确 定</el-button>
117 118
       </span>
118 119
     </el-dialog>
@@ -158,9 +159,11 @@
158 159
           pagesize: 5, // 每页几条数据
159 160
           total: 0 // 总共多少数据
160 161
         },
161
-        selectedUrl:'',
162
+        selectedUrl: '',
162 163
         urls: [],
163
-        jzlb:'',
164
+        jzlb: '1',
165
+        jzlsh: '',
166
+        zjh:'',
164 167
         tourlid: '',
165 168
         tourl: '',
166 169
         dialogVisible: false,
@@ -197,6 +200,7 @@
197 200
           GetModelList(params).then(response => {
198 201
             this.loading = false
199 202
             this.hismsg = response.rows[0]
203
+            this.zjh = this.hismsg.zjhm
200 204
             this.getRecord('I', response.rows[0].zsyh)
201 205
             this.getRecord('O', response.rows[0].zsyh)
202 206
             this.getRecord('E', response.rows[0].zsyh)
@@ -219,6 +223,11 @@
219 223
         })
220 224
       },
221 225
       goView() {
226
+        if (this.zhuyuanArr.length == 0 && this.menzhenArr.length == 0 && this.jizhenArr.length == 0 && this.tijianArr
227
+          .length == 0) {
228
+          this.$message.error('当前患者暂无就诊记录')
229
+          return;
230
+        }
222 231
         this.dialogVisible = true
223 232
         this.getUrls()
224 233
       },
@@ -236,17 +245,39 @@
236 245
       //   this.tourl = data.split(',')[1]
237 246
       //   console.log(this.tourlid,this.tourl)
238 247
       // },
239
-      goToView(){
248
+      goToView() {
249
+        if (!this.jzlb) {
250
+          this.$message.error('请选择就诊类别')
251
+          return;
252
+        }
253
+        var zhuyuanid = ''
254
+        var menzhenid = ''
255
+        var jizhenid = ''
256
+        var tijianid = ''
257
+        if (this.zhuyuanArr.length > 0) {
258
+          zhuyuanid = this.zhuyuanArr[0].AttendingDoctor.CardID
259
+        }
260
+        if (this.menzhenArr.length > 0) {
261
+          menzhenid = this.menzhenArr[0].AttendingDoctor.CardID
262
+        }
263
+        if (this.jizhenArr.length > 0) {
264
+          jizhenid = this.jizhenArr[0].AttendingDoctor.CardID
265
+        }
266
+        if (this.tijianArr.length > 0) {
267
+          tijianid = this.tijianArr[0].AttendingDoctor.CardID
268
+        }
240 269
         const params = {
241
-          id:this.tourlid,
242
-          userid:this.zhuyuanArr[0].AttendingDoctor.CardID || '',
243
-          zjh:this.hismsg.zjhm,
244
-          jzlb:this.jzlb,
270
+          userid: zhuyuanid || menzhenid || jizhenid || tijianid,
271
+          zjh: this.hismsg.zjhm || this.zjh,
272
+          jzlb: this.jzlb,
273
+          jzlsh: this.jzlsh
245 274
         }
246
-        GetUrl(params).then(res=>{
247
-          if(res.state == 'success'){
275
+        GetUrl(params).then(res => {
276
+          if (res.state == 'success') {
248 277
             this.dialogVisible = false
249
-            this.tourlid = ''
278
+            this.jzlb = ''
279
+            this.jzlsh = ''
280
+            this.zjh = ''
250 281
             window.open(res.data)
251 282
           }
252 283
         })
@@ -269,9 +300,12 @@
269 300
           GlobalPID: zsyh
270 301
         }
271 302
         GetRcord(params).then(res => {
303
+          if (res.QueryPatientVisitByIDResponse.patientVisits == "") {
304
+            return;
305
+          }
272 306
           const Obj = res.QueryPatientVisitByIDResponse.patientVisits.patientVisit
273 307
           if (recordtype === 'I') {
274
-            if (Obj instanceof Array == 'true') {
308
+            if (Obj instanceof Array === true) {
275 309
               this.zhuyuanArr = res.QueryPatientVisitByIDResponse.patientVisits.patientVisit
276 310
             } else {
277 311
               this.zhuyuanArr = []
@@ -279,7 +313,7 @@
279 313
             }
280 314
           }
281 315
           if (recordtype === 'O') {
282
-            if (Obj instanceof Array == 'true') {
316
+            if (Obj instanceof Array === true) {
283 317
               this.menzhenArr = res.QueryPatientVisitByIDResponse.patientVisits.patientVisit
284 318
             } else {
285 319
               this.menzhenArr = []
@@ -287,7 +321,7 @@
287 321
             }
288 322
           }
289 323
           if (recordtype === 'E') {
290
-            if (Obj instanceof Array == 'true') {
324
+            if (Obj instanceof Array === true) {
291 325
               this.jizhenArr = res.QueryPatientVisitByIDResponse.patientVisits.patientVisit
292 326
             } else {
293 327
               this.jizhenArr = []
@@ -295,7 +329,7 @@
295 329
             }
296 330
           }
297 331
           if (recordtype === 'P') {
298
-            if (Obj instanceof Array == 'true') {
332
+            if (Obj instanceof Array === true) {
299 333
               this.tijianArr = res.QueryPatientVisitByIDResponse.patientVisits.patientVisit
300 334
             } else {
301 335
               this.tijianArr = []

+ 1 - 0
CallCenterWeb.UI/RMYY/src/views/faultRepairManagement/repairList/index.vue

@@ -41,6 +41,7 @@
41 41
           <span v-if="scope.row.StateName=='待完成'" style="color: #ff5507;">{{scope.row.StateName}}</span>
42 42
           <span v-if="scope.row.StateName=='待接单'" style="color: #ff0000;">{{scope.row.StateName}}</span>
43 43
           <span v-if="scope.row.StateName=='待提交'" style="color: #ff007f;">{{scope.row.StateName}}</span>
44
+          <span v-if="scope.row.StateName=='确认耗材中'" style="color: #55007f;">{{scope.row.StateName}}</span>
44 45
         </template>
45 46
       </el-table-column>
46 47
       <el-table-column v-if="fieldListFlag.AssistanceState" label="协作" align="center" min-width>

+ 1 - 0
CallCenterWeb.UI/RMYY/src/views/orderManage/mySubmit/index.vue

@@ -47,6 +47,7 @@
47 47
           <span v-if="scope.row.StateName=='待派单'" style="color: #ff55ff;">{{scope.row.StateName}}</span>
48 48
           <span v-if="scope.row.StateName=='待提交'" style="color: #ff007f;">{{scope.row.StateName}}</span>
49 49
           <span v-if="scope.row.StateName=='待分配'" style="color: #aa0000;">{{scope.row.StateName}}</span>
50
+          <span v-if="scope.row.StateName=='确认耗材中'" style="color: #55007f;">{{scope.row.StateName}}</span>
50 51
         </template>
51 52
       </el-table-column>
52 53
       <el-table-column v-if="fieldListFlag.F_CreateTime" prop="F_CreateTime" label="创建时间" align="center" />

+ 1 - 0
CallCenterWeb.UI/RMYY/src/views/orderManage/orderList/index.vue

@@ -55,6 +55,7 @@
55 55
           <span v-if="scope.row.StateName=='待派单'" style="color: #ff55ff;">{{scope.row.StateName}}</span>
56 56
           <span v-if="scope.row.StateName=='待提交'" style="color: #ff007f;">{{scope.row.StateName}}</span>
57 57
           <span v-if="scope.row.StateName=='待分配'" style="color: #aa0000;">{{scope.row.StateName}}</span>
58
+          <span v-if="scope.row.StateName=='确认耗材中'" style="color: #55007f;">{{scope.row.StateName}}</span>
58 59
         </template>
59 60
       </el-table-column>
60 61
       <el-table-column v-if="fieldListFlag.MYD" prop="MYD" label="满意度" align="center">