liuzhihui vor 2 Jahren
Ursprung
Commit
504dc6edc5

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

@@ -62,10 +62,46 @@
62 62
                 <th>身份证号:</th>
63 63
                 <td>{{ orderDetailData.F_IDNumber || "-" }}</td>
64 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 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 105
               <tr v-show="isSpecial">
70 106
                 <th>首次检查医院:</th>
71 107
                 <td>{{ orderDetailData.F_FirstCheckHospital }}</td>
@@ -162,11 +198,28 @@
162 198
                   </tr>
163 199
                   <tr>
164 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 219
                   </tr>
167 220
                   <tr>
168 221
                     <th>处理结果:</th>
169
-                    <td>{{ orderDetailData.F_DealContents || "-" }}</td>
222
+                    <td colspan="5">{{ orderDetailData.F_DealContents || "-" }}</td>
170 223
                   </tr>
171 224
                 </table>
172 225
               </el-col>
@@ -340,6 +393,8 @@ export default {
340 393
       isBY: false,
341 394
       isSpecial: false,
342 395
       showAppointmentTime: false,
396
+      isMen: false,
397
+      isHui: false,
343 398
       // isConduit: false,
344 399
       orderDetailData: {
345 400
         F_CallID: "",
@@ -373,6 +428,9 @@ export default {
373 428
         F_IsReturnBak: "0",
374 429
         F_WorkOrderContents: "", // 工单内容
375 430
         F_DealOpinions: "", // 处理意见
431
+        sqhzksName: "",
432
+        zyksName: "",
433
+        hzksName:""
376 434
       },
377 435
       pageParams: {
378 436
         pageindex: 1, // 当前第几页
@@ -472,6 +530,12 @@ export default {
472 530
           if (thisTypeInfo.tag === "ywzx_lasc") {
473 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 539
           // 家庭预约类服务内容一致,所以需要判断一下二级类别是否是家庭预约 ywzx_jtyy
476 540
           // const twoTypeInfo =
477 541
           //   this.$store.getters.workTypeMap[parseInt(thisTypeInfo.ids[1])];
@@ -529,6 +593,18 @@ export default {
529 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,7 +183,7 @@
183 183
 				this.disabledButton = true
184 184
 				this.$refs[ref].validate().then(res => {					
185 185
 					if(this.identification == 'menzhen'){
186
-						const params = {
186
+						var params = {
187 187
 						  WorkOrderCode: this.workorderid,
188 188
 						  isover: 1,
189 189
 						  F_gtqk: this.F_gtqk,
@@ -191,7 +191,7 @@
191 191
 						  cont: this.dealCon
192 192
 						}
193 193
 					}else if(this.identification == 'huizhen'){
194
-						const params = {
194
+						var params = {
195 195
 						  WorkOrderCode: this.workorderid,
196 196
 						  isover: 1,
197 197
 						  cont: this.dealCon,
@@ -201,7 +201,7 @@
201 201
 						  F_hzzj:this.F_hzzj,
202 202
 						}
203 203
 					}else{
204
-						const params = {
204
+						var params = {
205 205
 						  WorkOrderCode: this.workorderid,
206 206
 						  cont: this.dealCon,
207 207
 						  isvisit: this.isReturnVisit,

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

@@ -63,6 +63,66 @@
63 63
 				<text class="contentTitle">完成时长:</text>
64 64
 				<text class="contentText">{{ detailContentData.SpendTime }}</text>
65 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 126
 			<view class="contentTable">
67 127
 				<view class="contentTitle">工单内容:</view>
68 128
 				<view class="contentText">{{ detailContentData.F_WorkOrderContents }}</view>
@@ -109,6 +169,31 @@
109 169
 							<text class="contentTitle">方&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;式:</text>
110 170
 							<text class="contentText">{{ item.dealtype }}</text>
111 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 197
 					</view>
113 198
 					
114 199
 					<view class="contentTable noCon" v-show="handleProcessListData.length == 0">
@@ -205,6 +290,7 @@
205 290
 		},
206 291
 		data() {
207 292
 			return {
293
+				identification:"",
208 294
 				clickbefore:0,
209 295
 				CardID: '',
210 296
 				getFontSizeValue:'1rem',
@@ -242,10 +328,10 @@
242 328
 			}
243 329
 		},
244 330
 		onLoad(optioin) {
331
+			this.getGongDanType(optioin.wotype)//获取标识
245 332
 			this.getFontSizeValue = uni.getStorageSync('fontSizeValue')+'rem'
246 333
 			this.workorderid = optioin.wid
247 334
 			this.sms_id = optioin.sms_id
248
-			this.getGongDanType()
249 335
 			this.getDetail(0)
250 336
 			if(this.sms_id) {
251 337
 				this.getButtons()
@@ -304,7 +390,7 @@
304 390
 					}
305 391
 				})
306 392
 			},
307
-			getGongDanType(){
393
+			getGongDanType(id){
308 394
 				let dataOrderType = []
309 395
 				const params = {
310 396
 					pid:0,
@@ -313,6 +399,7 @@
313 399
 				this.$http.get("GongDanType/GetList",params).then((res)=>{
314 400
 					if(res.state.toLowerCase() ==="success"){
315 401
 						this.orderTypeList = res.data
402
+						this.identification = this.$mHelper.getIdentification(this.orderTypeList,id)
316 403
 					}
317 404
 				})
318 405
 			},
@@ -342,6 +429,8 @@
342 429
 						if (type == 0) {
343 430
 							this.CardID = response.data[0].F_IDNumber
344 431
 							this.detailContentData = response.data[0]
432
+							//工单标识
433
+							this.identification = this.$mHelper.getIdentification(this.orderTypeList,response.data[0].F_type2)
345 434
 							response.data.forEach(v => {
346 435
 								this.handleProcessListData.push({
347 436
 									dealtype: v.F_DealType,

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

@@ -14,7 +14,7 @@
14 14
 			<uni-list>
15 15
 				<!-- to 属性携带参数跳转详情页面-->
16 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 18
 					<!-- 通过header插槽定义列表的标题 -->
19 19
 					<template v-slot:header>
20 20
 						<view class="uni-title">{{item.F_ComTitle}}</view>