|
|
@@ -54,26 +54,18 @@
|
|
54
|
54
|
<el-row v-if="worktypeInfo3 === 'huizhen'">
|
|
55
|
55
|
<el-col :span="12">
|
|
56
|
56
|
<el-form-item label="所属医院" prop="F_Yqname">
|
|
57
|
|
- <el-select placeholder="请选择所属医院" v-model="ruleForm.F_Yqname">
|
|
|
57
|
+ <el-select placeholder="请选择所属医院" v-model="ruleForm.F_Yqname" filterable clearable>
|
|
58
|
58
|
<el-option v-for="(item,index) in coperDataLists" :key="index" :value="item.F_YqName" :label="item.F_YqName"></el-option>
|
|
59
|
59
|
</el-select>
|
|
60
|
|
- <!-- <el-input
|
|
61
|
|
- v-model="ruleForm.F_Yqname"
|
|
62
|
|
- placeholder="请输入所属医院"
|
|
63
|
|
- /> -->
|
|
64
|
60
|
</el-form-item>
|
|
65
|
61
|
</el-col>
|
|
66
|
62
|
</el-row>
|
|
67
|
63
|
<el-row v-if="worktypeInfo3 === 'menzhen'">
|
|
68
|
64
|
<el-col :span="12">
|
|
69
|
65
|
<el-form-item label="医联体单位" prop="F_Yqname">
|
|
70
|
|
- <el-select placeholder="请选择医联体单位" v-model="ruleForm.F_Yqname">
|
|
|
66
|
+ <el-select placeholder="请选择医联体单位" v-model="ruleForm.F_Yqname" filterable clearable>
|
|
71
|
67
|
<el-option v-for="(item,index) in coperDataLists" :key="index" :value="item.F_YqName" :label="item.F_YqName"></el-option>
|
|
72
|
68
|
</el-select>
|
|
73
|
|
- <!-- <el-input
|
|
74
|
|
- v-model="ruleForm.F_Yqname"
|
|
75
|
|
- placeholder="请输入医联体单位"
|
|
76
|
|
- /> -->
|
|
77
|
69
|
</el-form-item>
|
|
78
|
70
|
</el-col>
|
|
79
|
71
|
</el-row>
|
|
|
@@ -200,7 +192,7 @@
|
|
200
|
192
|
</el-row>
|
|
201
|
193
|
<el-row v-if="worktypeInfo3 === 'menzhen'">
|
|
202
|
194
|
<el-col :span="12" v-if="patientMsgAll[currentIndex]">
|
|
203
|
|
- <el-form-item label="患者姓名">
|
|
|
195
|
+ <el-form-item label="患者姓名" required>
|
|
204
|
196
|
<el-input
|
|
205
|
197
|
v-model="patientMsgAll[currentIndex].name"
|
|
206
|
198
|
placeholder="请输入患者姓名"
|
|
|
@@ -208,7 +200,7 @@
|
|
208
|
200
|
</el-form-item>
|
|
209
|
201
|
</el-col>
|
|
210
|
202
|
<el-col :span="12" v-if="patientMsgAll[currentIndex]">
|
|
211
|
|
- <el-form-item label="患者电话">
|
|
|
203
|
+ <el-form-item label="患者电话" required>
|
|
212
|
204
|
<el-input
|
|
213
|
205
|
v-model="patientMsgAll[currentIndex].tel"
|
|
214
|
206
|
placeholder="请输入患者电话"
|
|
|
@@ -216,7 +208,22 @@
|
|
216
|
208
|
</el-form-item>
|
|
217
|
209
|
</el-col>
|
|
218
|
210
|
<el-col :span="12" v-if="patientMsgAll[currentIndex]">
|
|
219
|
|
- <el-form-item label="接诊院区">
|
|
|
211
|
+ <el-form-item label="年龄" required>
|
|
|
212
|
+ <el-input-number v-model="patientMsgAll[currentIndex].F_nl" :min="1"></el-input-number>
|
|
|
213
|
+ </el-form-item>
|
|
|
214
|
+ </el-col>
|
|
|
215
|
+ <el-col :span="12" v-if="patientMsgAll[currentIndex]">
|
|
|
216
|
+ <el-form-item label="性别" prop="F_Sex">
|
|
|
217
|
+ <el-radio-group v-model="patientMsgAll[currentIndex].F_Sex">
|
|
|
218
|
+ <el-radio label="0">男</el-radio>
|
|
|
219
|
+ <el-radio label="1">女</el-radio>
|
|
|
220
|
+ </el-radio-group>
|
|
|
221
|
+ </el-form-item>
|
|
|
222
|
+ </el-col>
|
|
|
223
|
+ </el-row>
|
|
|
224
|
+ <el-row v-if="worktypeInfo3 === 'menzhen'">
|
|
|
225
|
+ <el-col :span="12" v-if="patientMsgAll[currentIndex]">
|
|
|
226
|
+ <el-form-item label="接诊院区" required>
|
|
220
|
227
|
<el-select placeholder="请选择接诊院区" clearable v-model="patientMsgAll[currentIndex].jzyq">
|
|
221
|
228
|
<el-option v-for="(item,index) in hospitalDataLists" :key="index" :value="item.T_Woid" :label="item.T_Woname"></el-option>
|
|
222
|
229
|
</el-select>
|
|
|
@@ -226,28 +233,36 @@
|
|
226
|
233
|
<el-row v-if="worktypeInfo3 === 'menzhen'">
|
|
227
|
234
|
<el-col :span="12">
|
|
228
|
235
|
<el-form-item label="双向转诊单">
|
|
229
|
|
- <el-radio-group v-model="ruleForm.F_sxzzd">
|
|
|
236
|
+ <el-radio-group v-model="patientMsgAll[currentIndex].F_sxzzd">
|
|
230
|
237
|
<el-radio label="1">有</el-radio>
|
|
231
|
238
|
<el-radio label="0">无</el-radio>
|
|
232
|
239
|
</el-radio-group>
|
|
233
|
240
|
</el-form-item>
|
|
234
|
241
|
</el-col>
|
|
|
242
|
+ <el-col :span="12">
|
|
|
243
|
+ <el-form-item label="是否已挂号">
|
|
|
244
|
+ <el-radio-group v-model="patientMsgAll[currentIndex].F_sfgh">
|
|
|
245
|
+ <el-radio label="0">否</el-radio>
|
|
|
246
|
+ <el-radio label="1">是</el-radio>
|
|
|
247
|
+ </el-radio-group>
|
|
|
248
|
+ </el-form-item>
|
|
|
249
|
+ </el-col>
|
|
235
|
250
|
</el-row>
|
|
236
|
251
|
<el-row v-if="worktypeInfo3 === 'menzhen'">
|
|
237
|
252
|
<el-col :span="12">
|
|
238
|
253
|
<el-form-item label="来院方式">
|
|
239
|
|
- <el-radio-group v-model="ruleForm.F_lyfs">
|
|
|
254
|
+ <el-radio-group v-model="patientMsgAll[currentIndex].F_lyfs">
|
|
240
|
255
|
<el-radio label="0">自行</el-radio>
|
|
241
|
256
|
<el-radio label="1">派车</el-radio>
|
|
242
|
257
|
</el-radio-group>
|
|
243
|
258
|
</el-form-item>
|
|
244
|
259
|
</el-col>
|
|
245
|
260
|
</el-row>
|
|
246
|
|
- <el-row v-if="worktypeInfo3 === 'menzhen' && ruleForm.F_lyfs =='1'">
|
|
|
261
|
+ <el-row v-if="worktypeInfo3 === 'menzhen' && patientMsgAll[currentIndex].F_lyfs =='1'">
|
|
247
|
262
|
<el-col :span="12">
|
|
248
|
263
|
<el-form-item label="" prop="F_pcdd">
|
|
249
|
264
|
<el-input
|
|
250
|
|
- v-model="ruleForm.F_pcdd"
|
|
|
265
|
+ v-model="patientMsgAll[currentIndex].F_pcdd"
|
|
251
|
266
|
placeholder="请输入派车地点"
|
|
252
|
267
|
/>
|
|
253
|
268
|
</el-form-item>
|
|
|
@@ -255,17 +270,17 @@
|
|
255
|
270
|
<el-col :span="12">
|
|
256
|
271
|
<el-form-item label="" prop="F_sbxq">
|
|
257
|
272
|
<el-input
|
|
258
|
|
- v-model="ruleForm.F_sbxq"
|
|
|
273
|
+ v-model="patientMsgAll[currentIndex].F_sbxq"
|
|
259
|
274
|
placeholder="请输入设备需求"
|
|
260
|
275
|
/>
|
|
261
|
276
|
</el-form-item>
|
|
262
|
277
|
</el-col>
|
|
263
|
278
|
</el-row>
|
|
264
|
|
- <el-row v-if="worktypeInfo3 === 'menzhen' && ruleForm.F_lyfs =='1'">
|
|
|
279
|
+ <el-row v-if="worktypeInfo3 === 'menzhen' && patientMsgAll[currentIndex].F_lyfs =='1'">
|
|
265
|
280
|
<el-col :span="12">
|
|
266
|
281
|
<el-form-item label="" prop="F_ryxq">
|
|
267
|
282
|
<el-input
|
|
268
|
|
- v-model="ruleForm.F_ryxq"
|
|
|
283
|
+ v-model="patientMsgAll[currentIndex].F_ryxq"
|
|
269
|
284
|
placeholder="请输入人员需求"
|
|
270
|
285
|
/>
|
|
271
|
286
|
</el-form-item>
|
|
|
@@ -273,20 +288,38 @@
|
|
273
|
288
|
</el-row>
|
|
274
|
289
|
<el-row v-if="worktypeInfo3 === 'menzhen'">
|
|
275
|
290
|
<el-col :span="12">
|
|
276
|
|
- <el-form-item label="就诊时间" prop="F_jzsj">
|
|
|
291
|
+ <el-form-item label="就诊时间" prop="F_jzrq">
|
|
277
|
292
|
<el-date-picker
|
|
278
|
293
|
style="width: 100%;"
|
|
279
|
|
- v-model="ruleForm.F_jzsj"
|
|
280
|
|
- type="datetime"
|
|
281
|
|
- placeholder="请选择就诊时间"
|
|
282
|
|
- value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
294
|
+ v-model="patientMsgAll[currentIndex].F_jzrq"
|
|
|
295
|
+ type="date"
|
|
|
296
|
+ placeholder="请选择就诊日期"
|
|
|
297
|
+ value-format="yyyy-MM-dd"
|
|
|
298
|
+ />
|
|
|
299
|
+ </el-form-item>
|
|
|
300
|
+ </el-col>
|
|
|
301
|
+ <el-col :span="12">
|
|
|
302
|
+ <el-select style="width: 100%;" v-model="patientMsgAll[currentIndex].F_jzsjd" clearable placeholder="请选择时间段">
|
|
|
303
|
+ <el-option value="08:00:00" label="上午"></el-option>
|
|
|
304
|
+ <el-option value="13:00:00" label="下午"></el-option>
|
|
|
305
|
+ <el-option value="17:00:00" label="急诊"></el-option>
|
|
|
306
|
+ </el-select>
|
|
|
307
|
+ </el-col>
|
|
|
308
|
+ </el-row>
|
|
|
309
|
+ <el-row v-if="worktypeInfo3 === 'menzhen'" >
|
|
|
310
|
+ <el-col :span="24">
|
|
|
311
|
+ <el-form-item label="就诊需求" required>
|
|
|
312
|
+ <el-input
|
|
|
313
|
+ v-model="patientMsgAll[currentIndex].F_WorkOrderContents"
|
|
|
314
|
+ type="textarea"
|
|
|
315
|
+ placeholder="请详细描述来院患者姓名、就诊科室、症状等信息"
|
|
283
|
316
|
/>
|
|
284
|
317
|
</el-form-item>
|
|
285
|
318
|
</el-col>
|
|
286
|
319
|
</el-row>
|
|
287
|
|
- <el-row v-if="worktypeInfo3 === 'huizhen' || worktypeInfo3 === 'menzhen'" >
|
|
|
320
|
+ <el-row v-if="worktypeInfo3 === 'huizhen'" >
|
|
288
|
321
|
<el-col :span="24">
|
|
289
|
|
- <el-form-item label="就诊需求" prop="F_WorkOrderContents">
|
|
|
322
|
+ <el-form-item label="就诊需求">
|
|
290
|
323
|
<el-input
|
|
291
|
324
|
v-model="ruleForm.F_WorkOrderContents"
|
|
292
|
325
|
type="textarea"
|
|
|
@@ -378,7 +411,7 @@
|
|
378
|
411
|
</el-row>
|
|
379
|
412
|
<el-row v-if="worktypeInfo3 !== 'huizhen' && worktypeInfo3 !== 'menzhen'">
|
|
380
|
413
|
<el-col :span="24">
|
|
381
|
|
- <el-form-item label="工单内容" prop="F_WorkOrderContents">
|
|
|
414
|
+ <el-form-item label="工单内容">
|
|
382
|
415
|
<el-input
|
|
383
|
416
|
v-model="ruleForm.F_WorkOrderContents"
|
|
384
|
417
|
type="textarea"
|
|
|
@@ -557,13 +590,25 @@ export default {
|
|
557
|
590
|
hospitalDataLists:[],
|
|
558
|
591
|
coperDataLists:[],
|
|
559
|
592
|
isshowmen:'1',
|
|
560
|
|
- // patientArrData:['患者1'],
|
|
561
|
593
|
patientMsgAll:[
|
|
562
|
594
|
{
|
|
563
|
595
|
name:"",
|
|
564
|
596
|
tel:"",
|
|
565
|
|
- jzyq:""
|
|
|
597
|
+ jzyq:"",
|
|
|
598
|
+ F_nl:"",
|
|
|
599
|
+ F_Sex:"0",
|
|
|
600
|
+ F_sxzzd:'1',
|
|
|
601
|
+ F_lyfs:'0',//来院方式
|
|
|
602
|
+ F_pcdd:'',
|
|
|
603
|
+ F_sbxq:'',
|
|
|
604
|
+ F_ryxq:'',
|
|
|
605
|
+ F_jzsj:'',//就诊时间
|
|
|
606
|
+ F_sfgh:'0',//是否挂号
|
|
|
607
|
+ F_jzrq:'',
|
|
|
608
|
+ F_jzsjd:'',
|
|
|
609
|
+ F_WorkOrderContents:'',
|
|
566
|
610
|
}],
|
|
|
611
|
+ timevalue:'',
|
|
567
|
612
|
zpdptname: '',
|
|
568
|
613
|
zppername: '',
|
|
569
|
614
|
typeid: 1,
|
|
|
@@ -637,20 +682,6 @@ export default {
|
|
637
|
682
|
trigger: 'blur'
|
|
638
|
683
|
}
|
|
639
|
684
|
],
|
|
640
|
|
- F_ComplaintDept: [
|
|
641
|
|
- {
|
|
642
|
|
- // required: true,
|
|
643
|
|
- // message: '请选择',
|
|
644
|
|
- // trigger: 'change'
|
|
645
|
|
- }
|
|
646
|
|
- ],
|
|
647
|
|
- F_ComplaintUser: [
|
|
648
|
|
- {
|
|
649
|
|
- // required: true,
|
|
650
|
|
- // message: '请选择人员',
|
|
651
|
|
- // trigger: 'change'
|
|
652
|
|
- }
|
|
653
|
|
- ]
|
|
654
|
685
|
},
|
|
655
|
686
|
F_Type2: '',
|
|
656
|
687
|
ruleForm: {
|
|
|
@@ -679,25 +710,24 @@ export default {
|
|
679
|
710
|
clid: '',
|
|
680
|
711
|
cont: '',
|
|
681
|
712
|
EmergencyTypes: '一般',
|
|
682
|
|
- // F_ComplaintSource: 4010,
|
|
683
|
713
|
F_ComplaintDept: '',
|
|
684
|
714
|
F_ComplaintUser: '',
|
|
685
|
715
|
F_WorkOrderContents: '', // 工单内容
|
|
686
|
716
|
F_DealOpinions: '', // 处理意见
|
|
687
|
717
|
F_IDNumberShow: '',
|
|
688
|
718
|
F_CusAddressShow: '',
|
|
689
|
|
- F_Yqname:'',
|
|
690
|
|
- F_hzdh:'',
|
|
691
|
|
- F_nl:'',
|
|
|
719
|
+ F_Yqname:'',//合作院区
|
|
|
720
|
+ F_hzdh:'',//患者电话
|
|
|
721
|
+ F_nl:'',//患者年龄
|
|
692
|
722
|
F_sfjhz:'0',//是否急会诊
|
|
|
723
|
+ F_sqhzks:'',//申请会诊科室
|
|
|
724
|
+ F_sqhzsj:'',//申请会诊时间
|
|
|
725
|
+ F_sxzzd:'1',//双向转诊单
|
|
|
726
|
+ F_lyfs:'0',//来院方式
|
|
693
|
727
|
F_pcdd:'',
|
|
694
|
728
|
F_sbxq:'',
|
|
695
|
729
|
F_ryxq:'',
|
|
696
|
|
- F_sqhzks:'',
|
|
697
|
|
- F_sxzzd:'1',//双向转诊单
|
|
698
|
|
- F_sqhzsj:'',
|
|
699
|
|
- F_jzsj:'',
|
|
700
|
|
- F_lyfs:'0',//来院方式
|
|
|
730
|
+ F_jzsj:'',//就诊时间
|
|
701
|
731
|
},
|
|
702
|
732
|
relationarr: [],
|
|
703
|
733
|
worktypeInfo: '',
|
|
|
@@ -783,7 +813,7 @@ export default {
|
|
783
|
813
|
])
|
|
784
|
814
|
},
|
|
785
|
815
|
created() {
|
|
786
|
|
- // this.callinNum = '1117778'
|
|
|
816
|
+ // this.callinNum = '666'
|
|
787
|
817
|
if (this.callinNum) {
|
|
788
|
818
|
this.ruleForm.F_Phon = this.callinNum
|
|
789
|
819
|
this.getOldMsg() // 老患者信息
|
|
|
@@ -806,7 +836,7 @@ export default {
|
|
806
|
836
|
getCoperyq(){
|
|
807
|
837
|
const params = {
|
|
808
|
838
|
pageindex: 1, // 第几页
|
|
809
|
|
- pagesise: 100, // 每页几条信息
|
|
|
839
|
+ pagesize: 1000000, // 每页几条信息
|
|
810
|
840
|
};
|
|
811
|
841
|
getCooperateList(params).then(res=>{
|
|
812
|
842
|
this.coperDataLists = res.rows;
|
|
|
@@ -828,7 +858,19 @@ export default {
|
|
828
|
858
|
this.patientMsgAll.push({
|
|
829
|
859
|
name:'',
|
|
830
|
860
|
tel:'',
|
|
831
|
|
- jzyq:''
|
|
|
861
|
+ jzyq:'',
|
|
|
862
|
+ F_nl:"",
|
|
|
863
|
+ F_Sex:"0",
|
|
|
864
|
+ F_sxzzd:'1',//双向转诊单
|
|
|
865
|
+ F_lyfs:'0',//来院方式
|
|
|
866
|
+ F_sfgh:'0',
|
|
|
867
|
+ F_pcdd:'',
|
|
|
868
|
+ F_sbxq:'',
|
|
|
869
|
+ F_ryxq:'',
|
|
|
870
|
+ F_jzsj:'',
|
|
|
871
|
+ F_jzrq:'',
|
|
|
872
|
+ F_jzsjd:'',
|
|
|
873
|
+ F_WorkOrderContents:''
|
|
832
|
874
|
})
|
|
833
|
875
|
if(this.dynamicTags.length>1){
|
|
834
|
876
|
this.currentIndex = this.dynamicTags.length-1
|
|
|
@@ -1083,10 +1125,32 @@ export default {
|
|
1083
|
1125
|
this.ruleForm.EmergencyTypes = res.F_EmergencyTypes
|
|
1084
|
1126
|
// 门会诊开始
|
|
1085
|
1127
|
this.currentIndex = 0
|
|
|
1128
|
+ var sjdstr = ''
|
|
|
1129
|
+ if(res.jzsjd == '上午'){
|
|
|
1130
|
+ sjdstr = '08:00:00'
|
|
|
1131
|
+ }
|
|
|
1132
|
+ if(res.jzsjd == '下午'){
|
|
|
1133
|
+ sjdstr = '13:00:00'
|
|
|
1134
|
+ }
|
|
|
1135
|
+ if(res.jzsjd == '急诊'){
|
|
|
1136
|
+ sjdstr = '17:00:00'
|
|
|
1137
|
+ }
|
|
1086
|
1138
|
this.patientMsgAll = [{
|
|
1087
|
1139
|
name: res.F_FullName,
|
|
1088
|
1140
|
tel: res.F_hzdh,
|
|
1089
|
|
- jzyq: res.F_JzYq
|
|
|
1141
|
+ jzyq: res.F_JzYq,
|
|
|
1142
|
+ F_nl: res.F_nl,
|
|
|
1143
|
+ F_Sex: res.F_Sex.toString(),
|
|
|
1144
|
+ F_sxzzd: res.F_sxzzd.toString(),//双向转诊单
|
|
|
1145
|
+ F_lyfs:res.F_lyfs.toString(),//来院方式
|
|
|
1146
|
+ F_sfgh:res.F_sfgh.toString(),
|
|
|
1147
|
+ F_pcdd:res.F_pcdd,
|
|
|
1148
|
+ F_sbxq:res.F_sbxq,
|
|
|
1149
|
+ F_ryxq:res.F_ryxq,
|
|
|
1150
|
+ F_jzsj:res.jzrq + " "+sjdstr,
|
|
|
1151
|
+ F_jzrq:res.jzrq,
|
|
|
1152
|
+ F_jzsjd:sjdstr,
|
|
|
1153
|
+ F_WorkOrderContents:res.F_WorkOrderContents
|
|
1090
|
1154
|
}]
|
|
1091
|
1155
|
this.ruleForm.F_Yqname = res.F_ssyy
|
|
1092
|
1156
|
if(res.F_sxzzd != null){
|
|
|
@@ -1098,7 +1162,12 @@ export default {
|
|
1098
|
1162
|
this.ruleForm.F_pcdd = res.F_pcdd
|
|
1099
|
1163
|
this.ruleForm.F_sbxq = res.F_sbxq
|
|
1100
|
1164
|
this.ruleForm.F_ryxq = res.F_ryxq
|
|
1101
|
|
- this.ruleForm.F_jzsj = res.F_jzsj
|
|
|
1165
|
+ this.ruleForm.F_jzrq = res.jzrq
|
|
|
1166
|
+ this.ruleForm.F_jzsjd = sjdstr
|
|
|
1167
|
+ this.ruleForm.F_jzsj = res.jzrq + " "+sjdstr
|
|
|
1168
|
+ if(res.F_sfgh != null){
|
|
|
1169
|
+ this.ruleForm.F_sfgh = res.F_sfgh.toString()
|
|
|
1170
|
+ }
|
|
1102
|
1171
|
if(res.F_sfjhz != null){
|
|
1103
|
1172
|
this.ruleForm.F_sfjhz = res.F_sfjhz.toString()
|
|
1104
|
1173
|
}
|
|
|
@@ -1159,24 +1228,75 @@ export default {
|
|
1159
|
1228
|
// }
|
|
1160
|
1229
|
if(this.worktypeInfo3 == 'menzhen'){
|
|
1161
|
1230
|
this.ruleForm.F_sfjhz = ''
|
|
1162
|
|
- if(this.ruleForm.F_lyfs == '0'){
|
|
1163
|
|
- this.ruleForm.F_pcdd = ''
|
|
1164
|
|
- this.ruleForm.F_sbxq = ''
|
|
1165
|
|
- this.ruleForm.F_ryxq = ''
|
|
|
1231
|
+ if(this.patientMsgAll[this.currentIndex].F_lyfs == '0'){
|
|
|
1232
|
+ this.patientMsgAll[this.currentIndex].F_pcdd = ''
|
|
|
1233
|
+ this.patientMsgAll[this.currentIndex].F_sbxq = ''
|
|
|
1234
|
+ this.patientMsgAll[this.currentIndex].F_ryxq = ''
|
|
1166
|
1235
|
}
|
|
1167
|
|
- const indexnum = this.patientMsgAll.findIndex((o) => {
|
|
1168
|
|
- return !o.name || !o.tel || !o.jzyq
|
|
|
1236
|
+ var noindex = 1
|
|
|
1237
|
+ this.patientMsgAll.forEach((o) => {
|
|
|
1238
|
+ console.log(o)
|
|
|
1239
|
+ if(!o.name){
|
|
|
1240
|
+ noindex = 0
|
|
|
1241
|
+ this.$message.error('请填入患者姓名')
|
|
|
1242
|
+ return
|
|
|
1243
|
+ }
|
|
|
1244
|
+ if(!o.tel){
|
|
|
1245
|
+ noindex = 0
|
|
|
1246
|
+ this.$message.error('请填入患者电话')
|
|
|
1247
|
+ return
|
|
|
1248
|
+ }
|
|
|
1249
|
+ if(!o.F_nl){
|
|
|
1250
|
+ noindex = 0
|
|
|
1251
|
+ this.$message.error('请填入年龄')
|
|
|
1252
|
+ return
|
|
|
1253
|
+ }
|
|
|
1254
|
+ if(!o.jzyq){
|
|
|
1255
|
+ noindex = 0
|
|
|
1256
|
+ this.$message.error('请选择接诊院区')
|
|
|
1257
|
+ return
|
|
|
1258
|
+ }
|
|
|
1259
|
+ if(o.F_lyfs == '1'){
|
|
|
1260
|
+ if(!o.F_pcdd){
|
|
|
1261
|
+ noindex = 0
|
|
|
1262
|
+ this.$message.error('请填入派车地点')
|
|
|
1263
|
+ return
|
|
|
1264
|
+ }
|
|
|
1265
|
+ if(!o.F_sbxq){
|
|
|
1266
|
+ noindex = 0
|
|
|
1267
|
+ this.$message.error('请填入设备需求')
|
|
|
1268
|
+ return
|
|
|
1269
|
+ }
|
|
|
1270
|
+ if(!o.F_ryxq){
|
|
|
1271
|
+ noindex = 0
|
|
|
1272
|
+ this.$message.error('请填入人员需求')
|
|
|
1273
|
+ return
|
|
|
1274
|
+ }
|
|
|
1275
|
+ }
|
|
|
1276
|
+ if(!o.F_WorkOrderContents){
|
|
|
1277
|
+ noindex = 0
|
|
|
1278
|
+ this.$message.error('请填入就诊需求')
|
|
|
1279
|
+ return
|
|
|
1280
|
+ }
|
|
1169
|
1281
|
})
|
|
1170
|
|
- if (indexnum >= 0) {
|
|
1171
|
|
- this.$message.error('请填入对应患者信息')
|
|
|
1282
|
+ if(noindex == 0){
|
|
1172
|
1283
|
return
|
|
1173
|
1284
|
}
|
|
|
1285
|
+ this.patientMsgAll.findIndex((item)=>{
|
|
|
1286
|
+ item.F_jzsj = item.F_jzrq + " " + item.F_jzsjd
|
|
|
1287
|
+ delete item.F_jzrq
|
|
|
1288
|
+ delete item.F_jzsjd
|
|
|
1289
|
+ })
|
|
1174
|
1290
|
}
|
|
1175
|
1291
|
if(this.worktypeInfo3 == 'huizhen'){
|
|
1176
|
1292
|
this.ruleForm.F_lyfs = ''
|
|
1177
|
1293
|
this.ruleForm.F_sxzzd = ''
|
|
1178
|
1294
|
this.patientMsgAll = []
|
|
1179
|
1295
|
}
|
|
|
1296
|
+ if(this.worktypeInfo3 == 'menzhen'){
|
|
|
1297
|
+ delete this.ruleForm.F_Sex
|
|
|
1298
|
+ delete this.ruleForm.F_nl
|
|
|
1299
|
+ }
|
|
1180
|
1300
|
await this.clickEye()
|
|
1181
|
1301
|
this.$refs.ruleForm.validate((valid) => {
|
|
1182
|
1302
|
if (valid) {
|