|
|
@@ -254,6 +254,7 @@ export default {
|
|
254
|
254
|
},
|
|
255
|
255
|
methods: {
|
|
256
|
256
|
submitForm() {
|
|
|
257
|
+ console.log(this.ruleForm)
|
|
257
|
258
|
const params = this.ruleForm
|
|
258
|
259
|
if(!this.ruleForm.patientName){
|
|
259
|
260
|
this.$message.error('请填入患者姓名')
|
|
|
@@ -300,6 +301,7 @@ export default {
|
|
300
|
301
|
// this.ruleForm.pid 患者id
|
|
301
|
302
|
this.ruleForm.tel = this.callinNum // 患者电话
|
|
302
|
303
|
this.ruleForm.yydm = item.yydm // 院区代码
|
|
|
304
|
+ console.log(this.ruleForm.yydm)
|
|
303
|
305
|
this.getPatient()
|
|
304
|
306
|
// 患者部分
|
|
305
|
307
|
// this.ruleForm.pid = decrypt(window.localStorage.getItem('huancardShow')
|
|
|
@@ -335,6 +337,9 @@ export default {
|
|
335
|
337
|
this.ruleForm.pid = resultData.patid
|
|
336
|
338
|
this.ruleForm.identityCard = resultData.zjh
|
|
337
|
339
|
this.ruleForm.patientName = resultData.hzxm
|
|
|
340
|
+ this.ruleForm.lxrxm = resultData.lxrxm
|
|
|
341
|
+ this.ruleForm.lxrdh = resultData.lxrdh
|
|
|
342
|
+ this.ruleForm.lxrdh = resultData.lxrdh
|
|
338
|
343
|
this.changeIDcard()
|
|
339
|
344
|
}
|
|
340
|
345
|
})
|
|
|
@@ -347,11 +352,7 @@ export default {
|
|
347
|
352
|
this.ruleFormAge = this.parseIDCard(this.ruleForm.identityCard).age
|
|
348
|
353
|
this.ruleForm.birthday = this.parseIDCard(this.ruleForm.identityCard).birthDate
|
|
349
|
354
|
}
|
|
350
|
|
- if (this.ruleFormAge <= 12) {
|
|
351
|
|
- this.ruleForm.lxrxm = resultData.lxrxm
|
|
352
|
|
- this.ruleForm.lxrdh = resultData.lxrdh
|
|
353
|
|
- this.ruleForm.lxrdh = resultData.lxrdh
|
|
354
|
|
- }
|
|
|
355
|
+
|
|
355
|
356
|
},
|
|
356
|
357
|
// 获取院区数据
|
|
357
|
358
|
getHospital() {
|
|
|
@@ -374,6 +375,7 @@ export default {
|
|
374
|
375
|
}
|
|
375
|
376
|
this.tableObj.hosName = this.findNameById(e, this.hosarr, 'yymc', 'yydm')
|
|
376
|
377
|
this.tableObj.yydm = e
|
|
|
378
|
+ console.log(this.tableObj)
|
|
377
|
379
|
const params = {
|
|
378
|
380
|
ksrq: this.searchData.searchTime,
|
|
379
|
381
|
jsrq: this.searchData.searchTime,
|