liuzhihui преди 2 години
родител
ревизия
504dc6edc5

+ 81 - 5
CallCenterWeb.UI/RMYY/src/views/orderManage/components/askdetail.vue

62
                 <th>身份证号:</th>
62
                 <th>身份证号:</th>
63
                 <td>{{ orderDetailData.F_IDNumber || "-" }}</td>
63
                 <td>{{ orderDetailData.F_IDNumber || "-" }}</td>
64
               </tr>
64
               </tr>
65
-              <!-- <tr>
65
+              <!-- 门诊开始 -->
66
+              <tr v-show="isMen">
67
+                <th>医联体单位:</th>
68
+                <td>{{ orderDetailData.F_ssyy || '-' }}</td>
69
+                <th>双向转诊单:</th>
70
+                <td>{{ orderDetailData.F_sxzzd == 0?'无':'有' }}</td>
71
+                <th>来院方式:</th>
72
+                <td>{{ orderDetailData.F_lyfs == 0?'自行':'派车' }}</td>
73
+              </tr>
74
+              <tr v-show="isMen">
75
+                <th>派车地点:</th>
76
+                <td>{{ orderDetailData.F_pcdd || '-' }}</td>
77
+                <th>设备需求:</th>
78
+                <td>{{ orderDetailData.F_sbxq || '-' }}</td>
79
+                <th>人员需求:</th>
80
+                <td>{{ orderDetailData.F_ryxq || '-' }}</td>
81
+              </tr>
82
+              <tr v-show="isMen">
83
+                <th>就诊时间:</th>
84
+                <td colspan="5">{{ orderDetailData.F_jzsj || '-' }}</td>
85
+              </tr>
86
+              <!-- 门诊结束 -->
87
+              <!-- 会诊开始 -->
88
+              <tr v-show="isHui">
66
                 <th>所属医院:</th>
89
                 <th>所属医院:</th>
67
-                <td>{{ orderDetailData.F_ssyy }}</td>
68
-              </tr> -->
90
+                <td>{{ orderDetailData.F_ssyy || '-' }}</td>
91
+                <th>患者电话:</th>
92
+                <td>{{ orderDetailData.F_hzdh || '-' }}</td>
93
+                <th>患者年龄:</th>
94
+                <td>{{ orderDetailData.F_nl || '-' }}</td>
95
+              </tr>
96
+              <tr v-show="isHui">
97
+                <th>是否急会诊:</th>
98
+                <td>{{ orderDetailData.F_sfjhz == 0?'否':'是' }}</td>
99
+                <th>申请会诊科室:</th>
100
+                <td>{{ orderDetailData.sqhzksName || '-' }}</td>
101
+                <th>申请会诊时间:</th>
102
+                <td>{{ orderDetailData.F_sqhzsj || '-' }}</td>
103
+              </tr>
104
+              <!-- 会诊结束 -->
69
               <tr v-show="isSpecial">
105
               <tr v-show="isSpecial">
70
                 <th>首次检查医院:</th>
106
                 <th>首次检查医院:</th>
71
                 <td>{{ orderDetailData.F_FirstCheckHospital }}</td>
107
                 <td>{{ orderDetailData.F_FirstCheckHospital }}</td>
162
                   </tr>
198
                   </tr>
163
                   <tr>
199
                   <tr>
164
                     <th>沟通情况:</th>
200
                     <th>沟通情况:</th>
165
-                    <td>{{ orderDetailData.F_IsReturnBak }}</td>
201
+                    <td colspan="5">{{ orderDetailData.F_IsReturnBak }}</td>
202
+                  </tr>
203
+                  <tr v-show="isMen">
204
+                    <th>住院科室:</th>
205
+                    <td colspan="5">{{ orderDetailData.zyksName || "-" }}</td>
206
+                  </tr>
207
+                  <tr v-show="isHui">
208
+                    <th>会诊情况:</th>
209
+                    <td colspan="2">{{ orderDetailData.F_hzqk==0?'已会诊':orderDetailData.F_hzqk==1?'未会诊':'-' }}</td>
210
+                    <th>会诊类型:</th>
211
+                    <td colspan="2">{{ orderDetailData.F_hzlx==0?'普通会诊':orderDetailData.F_hzlx==1?'急会诊':'-' }}</td>
212
+                  </tr>
213
+                  <tr v-show="isHui">
214
+                    <th>会诊科室:</th>
215
+                    <td colspan="2">{{ orderDetailData.hzksName || '-' }}</td>
216
+                    <th>会诊专家:</th>
217
+                    <td colspan="2" v-show="orderDetailData.F_hzzjname">{{ orderDetailData.F_hzzjname || '-' }}({{ orderDetailData.F_hzzj }})</td>
218
+                    <td colspan="2" v-show="!orderDetailData.F_hzzjname">{{ '-' }}</td>
166
                   </tr>
219
                   </tr>
167
                   <tr>
220
                   <tr>
168
                     <th>处理结果:</th>
221
                     <th>处理结果:</th>
169
-                    <td>{{ orderDetailData.F_DealContents || "-" }}</td>
222
+                    <td colspan="5">{{ orderDetailData.F_DealContents || "-" }}</td>
170
                   </tr>
223
                   </tr>
171
                 </table>
224
                 </table>
172
               </el-col>
225
               </el-col>
340
       isBY: false,
393
       isBY: false,
341
       isSpecial: false,
394
       isSpecial: false,
342
       showAppointmentTime: false,
395
       showAppointmentTime: false,
396
+      isMen: false,
397
+      isHui: false,
343
       // isConduit: false,
398
       // isConduit: false,
344
       orderDetailData: {
399
       orderDetailData: {
345
         F_CallID: "",
400
         F_CallID: "",
373
         F_IsReturnBak: "0",
428
         F_IsReturnBak: "0",
374
         F_WorkOrderContents: "", // 工单内容
429
         F_WorkOrderContents: "", // 工单内容
375
         F_DealOpinions: "", // 处理意见
430
         F_DealOpinions: "", // 处理意见
431
+        sqhzksName: "",
432
+        zyksName: "",
433
+        hzksName:""
376
       },
434
       },
377
       pageParams: {
435
       pageParams: {
378
         pageindex: 1, // 当前第几页
436
         pageindex: 1, // 当前第几页
472
           if (thisTypeInfo.tag === "ywzx_lasc") {
530
           if (thisTypeInfo.tag === "ywzx_lasc") {
473
             this.showAppointmentTime = true;
531
             this.showAppointmentTime = true;
474
           }
532
           }
533
+          if (thisTypeInfo.tag === "menzhen") {
534
+            this.isMen = true;
535
+          }
536
+          if (thisTypeInfo.tag === "huizhen") {
537
+            this.isHui = true;
538
+          }
475
           // 家庭预约类服务内容一致,所以需要判断一下二级类别是否是家庭预约 ywzx_jtyy
539
           // 家庭预约类服务内容一致,所以需要判断一下二级类别是否是家庭预约 ywzx_jtyy
476
           // const twoTypeInfo =
540
           // const twoTypeInfo =
477
           //   this.$store.getters.workTypeMap[parseInt(thisTypeInfo.ids[1])];
541
           //   this.$store.getters.workTypeMap[parseInt(thisTypeInfo.ids[1])];
529
               this.orderDetailData.F_IsReturnBak = "-";
593
               this.orderDetailData.F_IsReturnBak = "-";
530
             }
594
             }
531
           }
595
           }
596
+          //申请会诊科室
597
+          if(this.$store.getters.deptmap[parseInt(this.orderDetailData.F_sqhzks)]){
598
+            this.orderDetailData.sqhzksName = this.$store.getters.deptmap[parseInt(this.orderDetailData.F_sqhzks)].text
599
+          }
600
+          //住院科室
601
+          if(this.$store.getters.deptmap[parseInt(this.orderDetailData.F_zyks)]){
602
+            this.orderDetailData.zyksName = this.$store.getters.deptmap[parseInt(this.orderDetailData.F_zyks)].text
603
+          }
604
+          //会诊科室
605
+          if(this.$store.getters.deptmap[parseInt(this.orderDetailData.F_hzks)]){
606
+            this.orderDetailData.hzksName = this.$store.getters.deptmap[parseInt(this.orderDetailData.F_hzks)].text
607
+          }
532
         }
608
         }
533
       });
609
       });
534
     },
610
     },

+ 3 - 3
CallCenterWeb.UI/RMYYAPP/pages/myTask/consultList/consultDetail/appointmentDeal/appointmentDeal.vue

183
 				this.disabledButton = true
183
 				this.disabledButton = true
184
 				this.$refs[ref].validate().then(res => {					
184
 				this.$refs[ref].validate().then(res => {					
185
 					if(this.identification == 'menzhen'){
185
 					if(this.identification == 'menzhen'){
186
-						const params = {
186
+						var params = {
187
 						  WorkOrderCode: this.workorderid,
187
 						  WorkOrderCode: this.workorderid,
188
 						  isover: 1,
188
 						  isover: 1,
189
 						  F_gtqk: this.F_gtqk,
189
 						  F_gtqk: this.F_gtqk,
191
 						  cont: this.dealCon
191
 						  cont: this.dealCon
192
 						}
192
 						}
193
 					}else if(this.identification == 'huizhen'){
193
 					}else if(this.identification == 'huizhen'){
194
-						const params = {
194
+						var params = {
195
 						  WorkOrderCode: this.workorderid,
195
 						  WorkOrderCode: this.workorderid,
196
 						  isover: 1,
196
 						  isover: 1,
197
 						  cont: this.dealCon,
197
 						  cont: this.dealCon,
201
 						  F_hzzj:this.F_hzzj,
201
 						  F_hzzj:this.F_hzzj,
202
 						}
202
 						}
203
 					}else{
203
 					}else{
204
-						const params = {
204
+						var params = {
205
 						  WorkOrderCode: this.workorderid,
205
 						  WorkOrderCode: this.workorderid,
206
 						  cont: this.dealCon,
206
 						  cont: this.dealCon,
207
 						  isvisit: this.isReturnVisit,
207
 						  isvisit: this.isReturnVisit,

+ 91 - 2
CallCenterWeb.UI/RMYYAPP/pages/myTask/consultList/consultDetail/consultDetail.vue

63
 				<text class="contentTitle">完成时长:</text>
63
 				<text class="contentTitle">完成时长:</text>
64
 				<text class="contentText">{{ detailContentData.SpendTime }}</text>
64
 				<text class="contentText">{{ detailContentData.SpendTime }}</text>
65
 			</view>
65
 			</view>
66
+			<!-- 门诊开始 -->
67
+			<view v-show="identification == 'menzhen'">
68
+				<view class="contentTable">
69
+					<text class="contentTitle">医联体单位:</text>
70
+					<text class="contentText">{{ detailContentData.F_ssyy }}</text>
71
+				</view>
72
+				<view class="contentTable">
73
+					<text class="contentTitle">双向转诊单:</text>
74
+					<text class="contentText">{{ detailContentData.F_sxzzd == 0?'无':'有' }}</text>
75
+				</view>
76
+				<view class="contentTable">
77
+					<text class="contentTitle">来院方式:</text>
78
+					<text class="contentText">{{ detailContentData.F_lyfs == 0?'自行':'派车' }}</text>
79
+				</view>
80
+				<view class="contentTable">
81
+					<text class="contentTitle">派车地点:</text>
82
+					<text class="contentText">{{ detailContentData.F_pcdd }}</text>
83
+				</view>
84
+				<view class="contentTable">
85
+					<text class="contentTitle">设备需求:</text>
86
+					<text class="contentText">{{ detailContentData.F_sbxq }}</text>
87
+				</view>
88
+				<view class="contentTable">
89
+					<text class="contentTitle">人员需求:</text>
90
+					<text class="contentText">{{ detailContentData.F_ryxq }}</text>
91
+				</view>
92
+				<view class="contentTable">
93
+					<text class="contentTitle">就诊时间:</text>
94
+					<text class="contentText">{{ detailContentData.F_jzsj }}</text>
95
+				</view>
96
+			</view>		
97
+			<!-- 门诊结束 -->
98
+			<!-- 会诊开始 -->
99
+			<view v-show="identification == 'huizhen'">
100
+				<view class="contentTable">
101
+					<text class="contentTitle">所属医院:</text>
102
+					<text class="contentText">{{ detailContentData.F_ssyy }}</text>
103
+				</view>
104
+				<view class="contentTable">
105
+					<text class="contentTitle">患者电话:</text>
106
+					<text class="contentText">{{ detailContentData.F_hzdh }}</text>
107
+				</view>
108
+				<view class="contentTable">
109
+					<text class="contentTitle">患者年龄:</text>
110
+					<text class="contentText">{{ detailContentData.F_nl }}</text>
111
+				</view>
112
+				<view class="contentTable">
113
+					<text class="contentTitle">是否急会诊:</text>
114
+					<text class="contentText">{{ detailContentData.F_sfjhz== 0?'否':'是' }}</text>
115
+				</view>
116
+				<view class="contentTable">
117
+					<text class="contentTitle">申请会诊科室:</text>
118
+					<text class="contentText">{{ $mHelper.findParents(departList,detailContentData.F_sqhzks) }}</text>
119
+				</view>
120
+				<view class="contentTable">
121
+					<text class="contentTitle">申请会诊时间:</text>
122
+					<text class="contentText">{{ detailContentData.F_sqhzsj }}</text>
123
+				</view>
124
+			</view>			
125
+			<!-- 会诊结束 -->
66
 			<view class="contentTable">
126
 			<view class="contentTable">
67
 				<view class="contentTitle">工单内容:</view>
127
 				<view class="contentTitle">工单内容:</view>
68
 				<view class="contentText">{{ detailContentData.F_WorkOrderContents }}</view>
128
 				<view class="contentText">{{ detailContentData.F_WorkOrderContents }}</view>
109
 							<text class="contentTitle">方&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;式:</text>
169
 							<text class="contentTitle">方&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;式:</text>
110
 							<text class="contentText">{{ item.dealtype }}</text>
170
 							<text class="contentText">{{ item.dealtype }}</text>
111
 						</view>
171
 						</view>
172
+						<view class="contentTable" v-show="identification=='menzhen'">
173
+							<text class="contentTitle">沟通情况:</text>
174
+							<text class="contentText">{{ detailContentData.F_gtqk==0?'住院':detailContentData.F_gtqk==1?'离院':'' }}</text>
175
+						</view>
176
+						<view class="contentTable" v-show="identification=='menzhen'">
177
+							<text class="contentTitle">住院科室:</text>
178
+							<text class="contentText">{{ $mHelper.findParents(departList,detailContentData.F_zyks) }}</text>
179
+						</view>
180
+						<view class="contentTable" v-show="identification=='huizhen'">
181
+							<text class="contentTitle">会诊情况:</text>
182
+							<text class="contentText">{{ detailContentData.F_hzqk==0?'已会诊':detailContentData.F_hzqk==1?'未会诊':'' }}</text>
183
+						</view>
184
+						<view class="contentTable" v-show="identification=='huizhen'">
185
+							<text class="contentTitle">会诊类型:</text>
186
+							<text class="contentText">{{ detailContentData.F_hzlx==0?'普通会诊':detailContentData.F_hzlx==1?'急会诊':'' }}</text>
187
+						</view>
188
+						<view class="contentTable" v-show="identification=='huizhen'">
189
+							<text class="contentTitle">会诊科室:</text>
190
+							<text class="contentText">{{ $mHelper.findParents(departList,detailContentData.F_hzks) }}</text>
191
+						</view>
192
+						<view class="contentTable" v-show="identification=='huizhen'">
193
+							<text class="contentTitle">会诊专家:</text>
194
+							<text class="contentText" v-show="detailContentData.F_hzzjname">{{ detailContentData.F_hzzjname }}({{detailContentData.F_hzzj}})</text>
195
+							<text class="contentText" v-show="!detailContentData.F_hzzjname">{{""}}</text>
196
+						</view>
112
 					</view>
197
 					</view>
113
 					
198
 					
114
 					<view class="contentTable noCon" v-show="handleProcessListData.length == 0">
199
 					<view class="contentTable noCon" v-show="handleProcessListData.length == 0">
205
 		},
290
 		},
206
 		data() {
291
 		data() {
207
 			return {
292
 			return {
293
+				identification:"",
208
 				clickbefore:0,
294
 				clickbefore:0,
209
 				CardID: '',
295
 				CardID: '',
210
 				getFontSizeValue:'1rem',
296
 				getFontSizeValue:'1rem',
242
 			}
328
 			}
243
 		},
329
 		},
244
 		onLoad(optioin) {
330
 		onLoad(optioin) {
331
+			this.getGongDanType(optioin.wotype)//获取标识
245
 			this.getFontSizeValue = uni.getStorageSync('fontSizeValue')+'rem'
332
 			this.getFontSizeValue = uni.getStorageSync('fontSizeValue')+'rem'
246
 			this.workorderid = optioin.wid
333
 			this.workorderid = optioin.wid
247
 			this.sms_id = optioin.sms_id
334
 			this.sms_id = optioin.sms_id
248
-			this.getGongDanType()
249
 			this.getDetail(0)
335
 			this.getDetail(0)
250
 			if(this.sms_id) {
336
 			if(this.sms_id) {
251
 				this.getButtons()
337
 				this.getButtons()
304
 					}
390
 					}
305
 				})
391
 				})
306
 			},
392
 			},
307
-			getGongDanType(){
393
+			getGongDanType(id){
308
 				let dataOrderType = []
394
 				let dataOrderType = []
309
 				const params = {
395
 				const params = {
310
 					pid:0,
396
 					pid:0,
313
 				this.$http.get("GongDanType/GetList",params).then((res)=>{
399
 				this.$http.get("GongDanType/GetList",params).then((res)=>{
314
 					if(res.state.toLowerCase() ==="success"){
400
 					if(res.state.toLowerCase() ==="success"){
315
 						this.orderTypeList = res.data
401
 						this.orderTypeList = res.data
402
+						this.identification = this.$mHelper.getIdentification(this.orderTypeList,id)
316
 					}
403
 					}
317
 				})
404
 				})
318
 			},
405
 			},
342
 						if (type == 0) {
429
 						if (type == 0) {
343
 							this.CardID = response.data[0].F_IDNumber
430
 							this.CardID = response.data[0].F_IDNumber
344
 							this.detailContentData = response.data[0]
431
 							this.detailContentData = response.data[0]
432
+							//工单标识
433
+							this.identification = this.$mHelper.getIdentification(this.orderTypeList,response.data[0].F_type2)
345
 							response.data.forEach(v => {
434
 							response.data.forEach(v => {
346
 								this.handleProcessListData.push({
435
 								this.handleProcessListData.push({
347
 									dealtype: v.F_DealType,
436
 									dealtype: v.F_DealType,

+ 1 - 1
CallCenterWeb.UI/RMYYAPP/pages/myTask/consultList/consultList.vue

14
 			<uni-list>
14
 			<uni-list>
15
 				<!-- to 属性携带参数跳转详情页面-->
15
 				<!-- to 属性携带参数跳转详情页面-->
16
 				<uni-list-item class="tableList" direction="column" v-for="(item, index) in listData" :key="index"
16
 				<uni-list-item class="tableList" direction="column" v-for="(item, index) in listData" :key="index"
17
-					:to="'/pages/myTask/consultList/consultDetail/consultDetail?wid='+item.F_WoCode+'&buttons='+ JSON.stringify(item.Buttons)">
17
+					:to="'/pages/myTask/consultList/consultDetail/consultDetail?wid='+item.F_WoCode+'&wotype='+item.F_SonType+'&buttons='+ JSON.stringify(item.Buttons)">
18
 					<!-- 通过header插槽定义列表的标题 -->
18
 					<!-- 通过header插槽定义列表的标题 -->
19
 					<template v-slot:header>
19
 					<template v-slot:header>
20
 						<view class="uni-title">{{item.F_ComTitle}}</view>
20
 						<view class="uni-title">{{item.F_ComTitle}}</view>