|
|
@@ -53,9 +53,9 @@
|
|
53
|
53
|
</el-row>
|
|
54
|
54
|
<el-row v-if="worktypeInfo3 === 'huizhen'">
|
|
55
|
55
|
<el-col :span="12">
|
|
56
|
|
- <el-form-item label="所属医院">
|
|
|
56
|
+ <el-form-item label="所属医院" prop="F_Yqname">
|
|
57
|
57
|
<el-input
|
|
58
|
|
- v-model="ruleForm.F_Customer"
|
|
|
58
|
+ v-model="ruleForm.F_Yqname"
|
|
59
|
59
|
placeholder="请输入所属医院"
|
|
60
|
60
|
/>
|
|
61
|
61
|
</el-form-item>
|
|
|
@@ -63,9 +63,9 @@
|
|
63
|
63
|
</el-row>
|
|
64
|
64
|
<el-row v-if="worktypeInfo3 === 'menzhen'">
|
|
65
|
65
|
<el-col :span="12">
|
|
66
|
|
- <el-form-item label="医联体单位">
|
|
|
66
|
+ <el-form-item label="医联体单位" prop="F_Yqname">
|
|
67
|
67
|
<el-input
|
|
68
|
|
- v-model="ruleForm.F_Customer"
|
|
|
68
|
+ v-model="ruleForm.F_Yqname"
|
|
69
|
69
|
placeholder="请输入医联体单位"
|
|
70
|
70
|
/>
|
|
71
|
71
|
</el-form-item>
|
|
|
@@ -108,7 +108,7 @@
|
|
108
|
108
|
</el-form-item>
|
|
109
|
109
|
</el-col>
|
|
110
|
110
|
<el-col :span="2">
|
|
111
|
|
- <i v-show="ruleForm.F_IDNumber.toString().indexOf('*')>=0 && clickbefore==0" style="color: #55aaff;position: relative;top: 5px;" class="el-icon-view" @click="clickEye"/>
|
|
|
111
|
+ <i v-show="ruleForm.F_IDNumber && ruleForm.F_IDNumber.toString().indexOf('*')>=0 && clickbefore==0 && worktypeInfo3 !== 'huizhen' && worktypeInfo3 !== 'menzhen'" style="color: #55aaff;position: relative;top: 5px;" class="el-icon-view" @click="clickEye"/>
|
|
112
|
112
|
</el-col>
|
|
113
|
113
|
<el-col :span="10" v-if="worktypeInfo3 !== 'menzhen'">
|
|
114
|
114
|
<el-form-item label="患者姓名" prop="F_FullName">
|
|
|
@@ -123,17 +123,17 @@
|
|
123
|
123
|
<!-- 会诊开始 -->
|
|
124
|
124
|
<el-row v-if="worktypeInfo3 === 'huizhen'">
|
|
125
|
125
|
<el-col :span="12">
|
|
126
|
|
- <el-form-item label="患者电话">
|
|
|
126
|
+ <el-form-item label="患者电话" prop="F_hzdh">
|
|
127
|
127
|
<el-input
|
|
128
|
|
- v-model="ruleForm.F_FullName"
|
|
|
128
|
+ v-model="ruleForm.F_hzdh"
|
|
129
|
129
|
placeholder="请输入患者电话"
|
|
130
|
130
|
/>
|
|
131
|
131
|
</el-form-item>
|
|
132
|
132
|
</el-col>
|
|
133
|
133
|
<el-col :span="12">
|
|
134
|
|
- <el-form-item label="年龄">
|
|
|
134
|
+ <el-form-item label="年龄" prop="F_nl">
|
|
135
|
135
|
<el-input
|
|
136
|
|
- v-model="ruleForm.F_FullName"
|
|
|
136
|
+ v-model="ruleForm.F_nl"
|
|
137
|
137
|
placeholder="请输入患者年龄"
|
|
138
|
138
|
/>
|
|
139
|
139
|
</el-form-item>
|
|
|
@@ -152,29 +152,30 @@
|
|
152
|
152
|
<el-row v-if="worktypeInfo3 === 'huizhen'">
|
|
153
|
153
|
<el-col :span="12">
|
|
154
|
154
|
<el-form-item label="是否急会诊">
|
|
155
|
|
- <el-radio-group v-model="ruleForm.F_Sex">
|
|
156
|
|
- <el-radio label="0">是</el-radio>
|
|
157
|
|
- <el-radio label="1">否</el-radio>
|
|
|
155
|
+ <el-radio-group v-model="ruleForm.F_sfjhz">
|
|
|
156
|
+ <el-radio label="1">是</el-radio>
|
|
|
157
|
+ <el-radio label="0">否</el-radio>
|
|
158
|
158
|
</el-radio-group>
|
|
159
|
159
|
</el-form-item>
|
|
160
|
160
|
</el-col>
|
|
161
|
161
|
</el-row>
|
|
162
|
162
|
<el-row v-if="worktypeInfo3 === 'huizhen'">
|
|
163
|
163
|
<el-col :span="12">
|
|
164
|
|
- <el-form-item label="申请会诊科室">
|
|
|
164
|
+ <el-form-item label="申请会诊科室" prop="F_sqhzks">
|
|
165
|
165
|
<select-dept-tree
|
|
|
166
|
+ :tishiy='tishiyu'
|
|
166
|
167
|
:deptparam="deptidArrhz"
|
|
167
|
168
|
@post-deptid="getDeptidhz"
|
|
168
|
169
|
/>
|
|
169
|
170
|
</el-form-item>
|
|
170
|
171
|
</el-col>
|
|
171
|
172
|
<el-col :span="12">
|
|
172
|
|
- <el-form-item label="申请会诊时间">
|
|
|
173
|
+ <el-form-item label="申请会诊时间" prop="F_sqhzsj">
|
|
173
|
174
|
<el-date-picker
|
|
174
|
175
|
style="width: 100%;"
|
|
175
|
|
- v-model="ruleForm.F_AppointmentTime"
|
|
|
176
|
+ v-model="ruleForm.F_sqhzsj"
|
|
176
|
177
|
type="datetime"
|
|
177
|
|
- placeholder="选择申请会诊时间"
|
|
|
178
|
+ placeholder="请选择会诊时间"
|
|
178
|
179
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
179
|
180
|
/>
|
|
180
|
181
|
</el-form-item>
|
|
|
@@ -185,9 +186,9 @@
|
|
185
|
186
|
<el-row v-if="worktypeInfo3 === 'menzhen'">
|
|
186
|
187
|
<el-col :span="12">
|
|
187
|
188
|
<el-form-item label="双向转诊单">
|
|
188
|
|
- <el-radio-group v-model="ruleForm.F_Sex">
|
|
189
|
|
- <el-radio label="0">有</el-radio>
|
|
190
|
|
- <el-radio label="1">无</el-radio>
|
|
|
189
|
+ <el-radio-group v-model="ruleForm.F_sxzzd">
|
|
|
190
|
+ <el-radio label="1">有</el-radio>
|
|
|
191
|
+ <el-radio label="0">无</el-radio>
|
|
191
|
192
|
</el-radio-group>
|
|
192
|
193
|
</el-form-item>
|
|
193
|
194
|
</el-col>
|
|
|
@@ -195,36 +196,36 @@
|
|
195
|
196
|
<el-row v-if="worktypeInfo3 === 'menzhen'">
|
|
196
|
197
|
<el-col :span="12">
|
|
197
|
198
|
<el-form-item label="来院方式">
|
|
198
|
|
- <el-radio-group v-model="ruleForm.F_Sex">
|
|
|
199
|
+ <el-radio-group v-model="ruleForm.F_lyfs">
|
|
199
|
200
|
<el-radio label="0">自行</el-radio>
|
|
200
|
201
|
<el-radio label="1">派车</el-radio>
|
|
201
|
202
|
</el-radio-group>
|
|
202
|
203
|
</el-form-item>
|
|
203
|
204
|
</el-col>
|
|
204
|
205
|
</el-row>
|
|
205
|
|
- <el-row v-if="worktypeInfo3 === 'menzhen'">
|
|
|
206
|
+ <el-row v-if="worktypeInfo3 === 'menzhen' && ruleForm.F_lyfs =='1'">
|
|
206
|
207
|
<el-col :span="12">
|
|
207
|
|
- <el-form-item label="">
|
|
|
208
|
+ <el-form-item label="" prop="F_pcdd">
|
|
208
|
209
|
<el-input
|
|
209
|
|
- v-model="ruleForm.F_FullName"
|
|
|
210
|
+ v-model="ruleForm.F_pcdd"
|
|
210
|
211
|
placeholder="请输入派车地点"
|
|
211
|
212
|
/>
|
|
212
|
213
|
</el-form-item>
|
|
213
|
214
|
</el-col>
|
|
214
|
215
|
<el-col :span="12">
|
|
215
|
|
- <el-form-item label="">
|
|
|
216
|
+ <el-form-item label="" prop="F_sbxq">
|
|
216
|
217
|
<el-input
|
|
217
|
|
- v-model="ruleForm.F_FullName"
|
|
|
218
|
+ v-model="ruleForm.F_sbxq"
|
|
218
|
219
|
placeholder="请输入设备需求"
|
|
219
|
220
|
/>
|
|
220
|
221
|
</el-form-item>
|
|
221
|
222
|
</el-col>
|
|
222
|
223
|
</el-row>
|
|
223
|
|
- <el-row v-if="worktypeInfo3 === 'menzhen'">
|
|
|
224
|
+ <el-row v-if="worktypeInfo3 === 'menzhen' && ruleForm.F_lyfs =='1'">
|
|
224
|
225
|
<el-col :span="12">
|
|
225
|
|
- <el-form-item label="">
|
|
|
226
|
+ <el-form-item label="" prop="F_ryxq">
|
|
226
|
227
|
<el-input
|
|
227
|
|
- v-model="ruleForm.F_FullName"
|
|
|
228
|
+ v-model="ruleForm.F_ryxq"
|
|
228
|
229
|
placeholder="请输入人员需求"
|
|
229
|
230
|
/>
|
|
230
|
231
|
</el-form-item>
|
|
|
@@ -232,12 +233,12 @@
|
|
232
|
233
|
</el-row>
|
|
233
|
234
|
<el-row v-if="worktypeInfo3 === 'menzhen'">
|
|
234
|
235
|
<el-col :span="12">
|
|
235
|
|
- <el-form-item label="就诊时间">
|
|
|
236
|
+ <el-form-item label="就诊时间" prop="F_jzsj">
|
|
236
|
237
|
<el-date-picker
|
|
237
|
238
|
style="width: 100%;"
|
|
238
|
|
- v-model="ruleForm.F_AppointmentTime"
|
|
|
239
|
+ v-model="ruleForm.F_jzsj"
|
|
239
|
240
|
type="datetime"
|
|
240
|
|
- placeholder="选择申请会诊时间"
|
|
|
241
|
+ placeholder="请选择就诊时间"
|
|
241
|
242
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
242
|
243
|
/>
|
|
243
|
244
|
</el-form-item>
|
|
|
@@ -245,9 +246,9 @@
|
|
245
|
246
|
</el-row>
|
|
246
|
247
|
<el-row v-if="worktypeInfo3 === 'huizhen' || worktypeInfo3 === 'menzhen'" >
|
|
247
|
248
|
<el-col :span="24">
|
|
248
|
|
- <el-form-item label="就诊需求">
|
|
|
249
|
+ <el-form-item label="就诊需求" prop="F_WorkOrderContents">
|
|
249
|
250
|
<el-input
|
|
250
|
|
- v-model="ruleForm.F_CusAddress"
|
|
|
251
|
+ v-model="ruleForm.F_WorkOrderContents"
|
|
251
|
252
|
type="textarea"
|
|
252
|
253
|
placeholder="请详细描述来院患者姓名、就诊科室、症状等信息"
|
|
253
|
254
|
/>
|
|
|
@@ -448,11 +449,13 @@ import { Send, ws } from '../../../utils/telWebsocket.js'
|
|
448
|
449
|
import {
|
|
449
|
450
|
GetPerson,
|
|
450
|
451
|
getoldmsg,
|
|
|
452
|
+ GetModelByTel,
|
|
451
|
453
|
getClassByDeptId,
|
|
452
|
454
|
GetDicValue
|
|
453
|
455
|
} from '@/api/commonAPI'
|
|
454
|
456
|
import { GetPatientModel } from '@/api/callScreen/callScreen'
|
|
455
|
457
|
import { GetCompleteCustomer } from '@/api/customerManagement/customerList'
|
|
|
458
|
+import { addCooperate } from '@/api/systemSetup/roleSetting/hospitalArea'
|
|
456
|
459
|
import { encrypt, decrypt } from '@/utils/secretKey'
|
|
457
|
460
|
export default {
|
|
458
|
461
|
name: 'AddOrEditInfOrder',
|
|
|
@@ -567,6 +570,13 @@ export default {
|
|
567
|
570
|
trigger: 'change'
|
|
568
|
571
|
}
|
|
569
|
572
|
],
|
|
|
573
|
+ F_hzdh: [
|
|
|
574
|
+ {
|
|
|
575
|
+ required: true,
|
|
|
576
|
+ message: '手机号不能为空',
|
|
|
577
|
+ trigger: 'blur'
|
|
|
578
|
+ }
|
|
|
579
|
+ ],
|
|
570
|
580
|
F_ComplaintDept: [
|
|
571
|
581
|
{
|
|
572
|
582
|
// required: true,
|
|
|
@@ -615,7 +625,19 @@ export default {
|
|
615
|
625
|
F_WorkOrderContents: '', // 工单内容
|
|
616
|
626
|
F_DealOpinions: '', // 处理意见
|
|
617
|
627
|
F_IDNumberShow: '',
|
|
618
|
|
- F_CusAddressShow: ''
|
|
|
628
|
+ F_CusAddressShow: '',
|
|
|
629
|
+ F_Yqname:'',
|
|
|
630
|
+ F_hzdh:'',
|
|
|
631
|
+ F_nl:'',
|
|
|
632
|
+ F_sfjhz:'0',//是否急会诊
|
|
|
633
|
+ F_pcdd:'',
|
|
|
634
|
+ F_sbxq:'',
|
|
|
635
|
+ F_ryxq:'',
|
|
|
636
|
+ F_sqhzks:'',
|
|
|
637
|
+ F_sxzzd:'1',//双向转诊单
|
|
|
638
|
+ F_sqhzsj:'',
|
|
|
639
|
+ F_jzsj:'',
|
|
|
640
|
+ F_lyfs:'1',//来院方式
|
|
619
|
641
|
},
|
|
620
|
642
|
relationarr: [],
|
|
621
|
643
|
worktypeInfo: '',
|
|
|
@@ -626,7 +648,9 @@ export default {
|
|
626
|
648
|
autodeptid: '',
|
|
627
|
649
|
customerid: '',
|
|
628
|
650
|
zsyh: '',
|
|
629
|
|
- clickbefore: 0
|
|
|
651
|
+ clickbefore: 0,
|
|
|
652
|
+ tishiyu: '请选择会诊科室',
|
|
|
653
|
+ isAddHos: 0,//添加院区标识
|
|
630
|
654
|
}
|
|
631
|
655
|
},
|
|
632
|
656
|
watch: {
|
|
|
@@ -676,11 +700,12 @@ export default {
|
|
676
|
700
|
])
|
|
677
|
701
|
},
|
|
678
|
702
|
created() {
|
|
679
|
|
- // this.callinNum = '15638114211'
|
|
|
703
|
+ // this.callinNum = '1117778'
|
|
680
|
704
|
if (this.callinNum) {
|
|
681
|
705
|
this.ruleForm.F_Phon = this.callinNum
|
|
682
|
706
|
console.log(this.callinNum, 'callinNumcallinNumcallinNum')
|
|
683
|
707
|
this.getOldMsg() // 老患者信息
|
|
|
708
|
+ this.getYQmsg() //院区信息
|
|
684
|
709
|
}
|
|
685
|
710
|
this.cid = this.callid
|
|
686
|
711
|
if (!this.cid) {
|
|
|
@@ -753,6 +778,18 @@ export default {
|
|
753
|
778
|
// }
|
|
754
|
779
|
}
|
|
755
|
780
|
},
|
|
|
781
|
+ getYQmsg() {
|
|
|
782
|
+ const params = {
|
|
|
783
|
+ tel: this.callinNum
|
|
|
784
|
+ }
|
|
|
785
|
+ GetModelByTel(params).then(res=>{
|
|
|
786
|
+ if(res.state == 'success' && res.data){
|
|
|
787
|
+ this.ruleForm.F_Yqname = res.data.F_YqName
|
|
|
788
|
+ }else{
|
|
|
789
|
+ this.isAddHos = 1 //没有数据存标识,提交工单调添加合作院区接口
|
|
|
790
|
+ }
|
|
|
791
|
+ })
|
|
|
792
|
+ },
|
|
756
|
793
|
getOldMsg() {
|
|
757
|
794
|
const params = {
|
|
758
|
795
|
pageindex: 1,
|
|
|
@@ -896,7 +933,6 @@ export default {
|
|
896
|
933
|
}
|
|
897
|
934
|
this.rowid = res.F_ID
|
|
898
|
935
|
this.ruleForm.F_ID = res.F_ID
|
|
899
|
|
- // this.ruleForm.F_Source = res.F_Source // 业务类别
|
|
900
|
936
|
this.ruleForm.F_Type1 = res.F_type1 // 工单类别
|
|
901
|
937
|
this.firstOrderTypeParam.name = res.typename1
|
|
902
|
938
|
this.$emit('r2type', res.F_type2)
|
|
|
@@ -907,6 +943,10 @@ export default {
|
|
907
|
943
|
this.$store.getters.workTypeMap[
|
|
908
|
944
|
parseInt(res.F_type2)
|
|
909
|
945
|
].ids.slice(1)
|
|
|
946
|
+ this.worktypeInfo3 =
|
|
|
947
|
+ this.$store.getters.workTypeMap[
|
|
|
948
|
+ parseInt(res.F_type2)
|
|
|
949
|
+ ].tag
|
|
910
|
950
|
}
|
|
911
|
951
|
this.ruleForm.F_Customer = res.F_Customer // 姓名
|
|
912
|
952
|
this.ruleForm.F_Sex = res.F_Sex.toString() // 性别
|
|
|
@@ -978,6 +1018,9 @@ export default {
|
|
978
|
1018
|
this.ruleForm.clid = ''
|
|
979
|
1019
|
this.ruleForm.opt = ''
|
|
980
|
1020
|
}
|
|
|
1021
|
+ if(this.isAddHos == 1){ //需要添加院区
|
|
|
1022
|
+ this.getAddHos()
|
|
|
1023
|
+ }
|
|
981
|
1024
|
await this.clickEye()
|
|
982
|
1025
|
this.$refs.ruleForm.validate((valid) => {
|
|
983
|
1026
|
if (valid) {
|
|
|
@@ -1010,7 +1053,19 @@ export default {
|
|
1010
|
1053
|
clbm: this.ruleForm.clbm, // 指派
|
|
1011
|
1054
|
EmergencyTypes: this.ruleForm.EmergencyTypes,
|
|
1012
|
1055
|
F_WorkOrderContents: this.ruleForm.F_WorkOrderContents, // 工单内容
|
|
1013
|
|
- F_DealOpinions: this.ruleForm.F_DealOpinions // 处理意见
|
|
|
1056
|
+ F_DealOpinions: this.ruleForm.F_DealOpinions, // 处理意见
|
|
|
1057
|
+ F_ssyy: this.ruleForm.F_Yqname,//所属院区
|
|
|
1058
|
+ F_hzdh: this.ruleForm.F_hzdh,//患者电话
|
|
|
1059
|
+ F_nl: this.ruleForm.F_nl,//患者年龄
|
|
|
1060
|
+ F_pcdd: this.ruleForm.F_pcdd,//派车地点
|
|
|
1061
|
+ F_sbxq: this.ruleForm.F_sbxq,//设备需求
|
|
|
1062
|
+ F_ryxq: this.ruleForm.F_ryxq,//人员需求
|
|
|
1063
|
+ F_sfjhz: this.ruleForm.F_sfjhz,//是否急会诊
|
|
|
1064
|
+ F_sqhzks: this.ruleForm.F_sqhzks,//申请会诊科室
|
|
|
1065
|
+ F_sxzzd: this.ruleForm.F_sxzzd,//双向转诊单
|
|
|
1066
|
+ F_lyfs: this.ruleForm.F_lyfs,//来院方式
|
|
|
1067
|
+ F_sqhzsj: this.ruleForm.F_sqhzsj,//申请会诊时间
|
|
|
1068
|
+ F_jzsj: this.ruleForm.F_jzsj,//就诊时间
|
|
1014
|
1069
|
}
|
|
1015
|
1070
|
// 添加
|
|
1016
|
1071
|
if (!this.wid) {
|
|
|
@@ -1070,6 +1125,18 @@ export default {
|
|
1070
|
1125
|
}
|
|
1071
|
1126
|
})
|
|
1072
|
1127
|
},
|
|
|
1128
|
+ //添加院区
|
|
|
1129
|
+ getAddHos(){
|
|
|
1130
|
+ const params = {
|
|
|
1131
|
+ F_YqName: this.ruleForm.F_Yqname,
|
|
|
1132
|
+ F_YqAddress: '',
|
|
|
1133
|
+ F_LinkMan: this.ruleForm.F_Customer,
|
|
|
1134
|
+ F_Tel:this.ruleForm.F_Phon
|
|
|
1135
|
+ }
|
|
|
1136
|
+ addCooperate(params).then(res=>{
|
|
|
1137
|
+
|
|
|
1138
|
+ })
|
|
|
1139
|
+ },
|
|
1073
|
1140
|
getUrl() {
|
|
1074
|
1141
|
if (window.location.href.indexOf('callScreen') >= 0) {
|
|
1075
|
1142
|
this.$store.dispatch('delView', this.$route)
|
|
|
@@ -1090,7 +1157,7 @@ export default {
|
|
1090
|
1157
|
}
|
|
1091
|
1158
|
},
|
|
1092
|
1159
|
getDeptidhz(data){
|
|
1093
|
|
-
|
|
|
1160
|
+ this.ruleForm.F_sqhzks = data[data.length - 1]
|
|
1094
|
1161
|
},
|
|
1095
|
1162
|
getDeptid(data) {
|
|
1096
|
1163
|
this.ruleForm.F_ComplaintDept = data[data.length - 1]
|