|
|
@@ -268,16 +268,53 @@
|
|
268
|
268
|
<!-- 门诊处理 -->
|
|
269
|
269
|
<el-dialog :visible.sync="dialogStatus.dialog_ywzx_menchuli" title="处理">
|
|
270
|
270
|
<el-form ref="appointmentMenForm" :model="appointmentMenForm" :rules="rules" label-width="100px">
|
|
271
|
|
- <el-form-item label="沟通情况" prop="F_gtqk">
|
|
|
271
|
+ <el-form-item label="转归" required>
|
|
|
272
|
+ <el-radio-group v-model="menTurnover" @change="menTurnoverChange">
|
|
|
273
|
+ <el-radio label="0">接诊患者</el-radio>
|
|
|
274
|
+ <el-radio label="2">未见患者</el-radio>
|
|
|
275
|
+ </el-radio-group>
|
|
|
276
|
+ </el-form-item>
|
|
|
277
|
+ <el-form-item label="" v-if="menTurnover == '0'" required>
|
|
|
278
|
+ <el-radio-group v-model=" menTurnoverNext" @change="menTurnoverNextChange">
|
|
|
279
|
+ <el-radio label="1">诊后离院</el-radio>
|
|
|
280
|
+ <el-radio label="0">诊后住院</el-radio>
|
|
|
281
|
+ </el-radio-group>
|
|
|
282
|
+ </el-form-item>
|
|
|
283
|
+
|
|
|
284
|
+ <!-- <el-form-item label="沟通情况" prop="F_gtqk">
|
|
272
|
285
|
<el-radio-group v-model="appointmentMenForm.F_gtqk" @change="gtqkChange">
|
|
273
|
286
|
<el-radio label="0">住院</el-radio>
|
|
274
|
287
|
<el-radio label="1">离院</el-radio>
|
|
275
|
288
|
<el-radio label="2">患者未来院</el-radio>
|
|
276
|
289
|
</el-radio-group>
|
|
|
290
|
+ </el-form-item> -->
|
|
|
291
|
+ <el-form-item label="就诊科室" required v-if="appointmentMenForm.F_gtqk == '1'">
|
|
|
292
|
+ <select-dept-tree :tishiy="tishiyu" :is-check-strictly="isCheckStrictly" :deptparam="mendeptidArr2" v-model="appointmentMenForm.F_jiuzhenkeshi" @post-deptid="getmenDeptid2" />
|
|
|
293
|
+ </el-form-item>
|
|
|
294
|
+ <el-form-item label="就诊号" required v-if="appointmentMenForm.F_gtqk == '1'">
|
|
|
295
|
+ <el-input
|
|
|
296
|
+ v-model="appointmentMenForm.F_jiuzhenhao"
|
|
|
297
|
+ placeholder="请输入就诊号"
|
|
|
298
|
+ type="text" />
|
|
277
|
299
|
</el-form-item>
|
|
278
|
|
- <el-form-item v-show="appointmentMenForm.F_gtqk == '0'" label="">
|
|
|
300
|
+ <el-form-item label="就诊医生" required v-if="appointmentMenForm.F_gtqk == '1'">
|
|
|
301
|
+ <el-input
|
|
|
302
|
+ v-model="appointmentMenForm.F_jiezhenyisheng"
|
|
|
303
|
+ placeholder="请输入就诊医生"
|
|
|
304
|
+ type="text" />
|
|
|
305
|
+ </el-form-item>
|
|
|
306
|
+
|
|
|
307
|
+ <el-form-item label="住院科室" required v-if="appointmentMenForm.F_gtqk == '0'">
|
|
279
|
308
|
<select-dept-tree :tishiy="tishiyu" :is-check-strictly="isCheckStrictly" :deptparam="mendeptidArr" v-model="appointmentMenForm.F_zyks" @post-deptid="getmenDeptid" />
|
|
280
|
309
|
</el-form-item>
|
|
|
310
|
+ <el-form-item label="住院号" required v-if="appointmentMenForm.F_gtqk == '0'">
|
|
|
311
|
+ <el-input
|
|
|
312
|
+ v-model="appointmentMenForm.F_InpatientNum"
|
|
|
313
|
+ placeholder="请输入住院号"
|
|
|
314
|
+ type="text" />
|
|
|
315
|
+ </el-form-item>
|
|
|
316
|
+
|
|
|
317
|
+
|
|
281
|
318
|
<el-form-item label="处理结果" prop="cont">
|
|
282
|
319
|
<el-input
|
|
283
|
320
|
:autosize="{ minRows: 4, maxRows: 8 }"
|
|
|
@@ -1300,11 +1337,19 @@ export default {
|
|
1300
|
1337
|
cont: ''
|
|
1301
|
1338
|
},
|
|
1302
|
1339
|
mendeptidArr: [],
|
|
|
1340
|
+ mendeptidArr2:[],
|
|
1303
|
1341
|
tishiyu: '请选择住院科室',
|
|
1304
|
1342
|
isCheckStrictly: false,
|
|
|
1343
|
+ menTurnover:'',
|
|
|
1344
|
+ menTurnoverNext:'',
|
|
1305
|
1345
|
appointmentMenForm: {
|
|
1306
|
1346
|
isover: 1,
|
|
1307
|
|
- F_gtqk: '0',
|
|
|
1347
|
+ F_jiuzhenkeshi:'',// 就诊科室
|
|
|
1348
|
+ F_jiezhenyisheng:'',// 就诊医生
|
|
|
1349
|
+ F_jiuzhenhao:'',// 就诊号
|
|
|
1350
|
+
|
|
|
1351
|
+ F_gtqk: '',
|
|
|
1352
|
+ F_InpatientNum:'',// 住院号
|
|
1308
|
1353
|
F_zyks: '',
|
|
1309
|
1354
|
cont: ''
|
|
1310
|
1355
|
},
|
|
|
@@ -2074,11 +2119,30 @@ export default {
|
|
2074
|
2119
|
})
|
|
2075
|
2120
|
})
|
|
2076
|
2121
|
},
|
|
2077
|
|
- gtqkChange(val) {
|
|
2078
|
|
- if (val == '1' || val == '2') {
|
|
2079
|
|
- this.mendeptidArr = []
|
|
2080
|
|
- this.appointmentMenForm.F_zyks = ''
|
|
2081
|
|
- }
|
|
|
2122
|
+ // gtqkChange(val) {
|
|
|
2123
|
+ // if (val == '1' || val == '2') {
|
|
|
2124
|
+ // this.mendeptidArr = []
|
|
|
2125
|
+ // this.appointmentMenForm.F_zyks = '' F_InpatientNum
|
|
|
2126
|
+ // }
|
|
|
2127
|
+ // },
|
|
|
2128
|
+ menTurnoverChange(val) {
|
|
|
2129
|
+ if (val== '2') {
|
|
|
2130
|
+ this.appointmentMenForm.F_gtqk = val
|
|
|
2131
|
+ }
|
|
|
2132
|
+ },
|
|
|
2133
|
+ menTurnoverNextChange(val) {
|
|
|
2134
|
+ // if (val =='0') {
|
|
|
2135
|
+ // this.mendeptidArr2 = []
|
|
|
2136
|
+ // this.appointmentMenForm.F_jiuzhenkeshi = ''
|
|
|
2137
|
+ // } else if(val =='1'){
|
|
|
2138
|
+ // this.mendeptidArr = []
|
|
|
2139
|
+ // this.appointmentMenForm.F_zyks = ''
|
|
|
2140
|
+ // }
|
|
|
2141
|
+ this.appointmentMenForm.F_gtqk = val
|
|
|
2142
|
+ },
|
|
|
2143
|
+ getmenDeptid2(data) {
|
|
|
2144
|
+ this.mendeptidArr2 = data
|
|
|
2145
|
+ this.appointmentMenForm.F_jiuzhenkeshi = data[data.length - 1]
|
|
2082
|
2146
|
},
|
|
2083
|
2147
|
getmenDeptid(data) {
|
|
2084
|
2148
|
this.mendeptidArr = data
|
|
|
@@ -2181,12 +2245,53 @@ export default {
|
|
2181
|
2245
|
},
|
|
2182
|
2246
|
submitForm(formName) {
|
|
2183
|
2247
|
// this.loading = true //打开loading
|
|
2184
|
|
- if (formName === 'appointmentMenForm' && this.worktypeInfo == 'menzhen') {
|
|
2185
|
|
- if (this.appointmentMenForm.F_gtqk == '0' && !this.appointmentMenForm.F_zyks) {
|
|
2186
|
|
- this.$message.error('请选择住院科室')
|
|
|
2248
|
+ if (formName === 'appointmentMenForm') {
|
|
|
2249
|
+ if (!this.appointmentMenForm.F_gtqk) {
|
|
|
2250
|
+ this.$message.error('请选择转归方式')
|
|
2187
|
2251
|
return
|
|
2188
|
2252
|
}
|
|
|
2253
|
+ if (this.appointmentMenForm.F_gtqk == '0') {
|
|
|
2254
|
+ if( !this.appointmentMenForm.F_zyks){
|
|
|
2255
|
+ this.$message.error('请选择住院科室')
|
|
|
2256
|
+ return
|
|
|
2257
|
+ }
|
|
|
2258
|
+ if( !this.appointmentMenForm.F_InpatientNum){
|
|
|
2259
|
+ this.$message.error('请输入住院号')
|
|
|
2260
|
+ return
|
|
|
2261
|
+ }
|
|
|
2262
|
+ // delete
|
|
|
2263
|
+ this.appointmentMenForm.F_jiuzhenkeshi && delete this.appointmentMenForm.F_jiuzhenkeshi
|
|
|
2264
|
+ this.appointmentMenForm.F_jiuzhenhao && delete this.appointmentMenForm.F_jiuzhenhao
|
|
|
2265
|
+ this.appointmentMenForm.F_jiezhenyisheng && delete this.appointmentMenForm.F_jiezhenyisheng
|
|
|
2266
|
+ }
|
|
|
2267
|
+
|
|
|
2268
|
+ if (this.appointmentMenForm.F_gtqk == '1') {
|
|
|
2269
|
+ if(!this.appointmentMenForm.F_jiuzhenkeshi){
|
|
|
2270
|
+ this.$message.error('请选择就诊科室')
|
|
|
2271
|
+ return
|
|
|
2272
|
+ }
|
|
|
2273
|
+ if(!this.appointmentMenForm.F_jiuzhenhao){
|
|
|
2274
|
+ this.$message.error('请输入就诊号')
|
|
|
2275
|
+ return
|
|
|
2276
|
+ }
|
|
|
2277
|
+ if(!this.appointmentMenForm.F_jiezhenyisheng){
|
|
|
2278
|
+ this.$message.error('请输入就诊医生')
|
|
|
2279
|
+ return
|
|
|
2280
|
+ }
|
|
|
2281
|
+ this.appointmentMenForm.F_zyks && delete this.appointmentMenForm.F_zyks
|
|
|
2282
|
+ this.appointmentMenForm.F_InpatientNum && delete this.appointmentMenForm.F_InpatientNum
|
|
|
2283
|
+
|
|
|
2284
|
+ }
|
|
|
2285
|
+ if(this.appointmentMenForm.F_gtqk == '2'){
|
|
|
2286
|
+ this.appointmentMenForm.F_zyks && delete this.appointmentMenForm.F_zyks
|
|
|
2287
|
+ this.appointmentMenForm.F_InpatientNum && delete this.appointmentMenForm.F_InpatientNum
|
|
|
2288
|
+ this.appointmentMenForm.F_jiuzhenkeshi && delete this.appointmentMenForm.F_jiuzhenkeshi
|
|
|
2289
|
+ this.appointmentMenForm.F_jiuzhenhao && delete this.appointmentMenForm.F_jiuzhenhao
|
|
|
2290
|
+ this.appointmentMenForm.F_jiezhenyisheng && delete this.appointmentMenForm.F_jiezhenyisheng
|
|
|
2291
|
+ }
|
|
2189
|
2292
|
}
|
|
|
2293
|
+
|
|
|
2294
|
+
|
|
2190
|
2295
|
if (formName === 'transferForm') {
|
|
2191
|
2296
|
this.transferForm.datetime = this.getNowDate()
|
|
2192
|
2297
|
}
|
|
|
@@ -2530,8 +2635,10 @@ export default {
|
|
2530
|
2635
|
if (this.optionName == 'ywzx_chuli' && this.worktypeInfo == 'menzhen') {
|
|
2531
|
2636
|
this.dialogStatus.dialog_ywzx_menchuli = false
|
|
2532
|
2637
|
this.mendeptidArr = []
|
|
|
2638
|
+ this.mendeptidArr2 = []
|
|
2533
|
2639
|
this.appointmentMenForm.F_gtqk = '0'
|
|
2534
|
2640
|
this.appointmentMenForm.F_zyks = ''
|
|
|
2641
|
+ this.appointmentMenForm.F_jiuzhenkeshi = ''
|
|
2535
|
2642
|
this.appointmentMenForm.cont = ''
|
|
2536
|
2643
|
}
|
|
2537
|
2644
|
if (this.optionName == 'ywzx_chuli' && this.worktypeInfo == 'huizhen') {
|