|
@@ -377,7 +377,7 @@ export default {
|
377
|
377
|
})
|
378
|
378
|
|
379
|
379
|
},
|
380
|
|
- reading() {
|
|
380
|
+ reading() {
|
381
|
381
|
var that = this
|
382
|
382
|
if (this.form.id_card_type.length == 0 || this.form.id_card_type == 0) {
|
383
|
383
|
this.$message.error('请先选择读卡类型')
|
|
@@ -420,9 +420,7 @@ export default {
|
420
|
420
|
that.form.psn_type = parseInt(response.data.data.info.output.insuinfo[0].psn_type)
|
421
|
421
|
that.form.social_type = parseInt(response.data.data.insutype)
|
422
|
422
|
|
423
|
|
- } else if (that.form.id_card_type == 2) {
|
424
|
|
-
|
425
|
|
-
|
|
423
|
+ } else if (that.form.id_card_type == 2 ) {
|
426
|
424
|
that.form.id = patient.id
|
427
|
425
|
that.form.name = patient.name
|
428
|
426
|
that.form.sex = patient.gender
|
|
@@ -430,6 +428,18 @@ export default {
|
430
|
428
|
that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
|
431
|
429
|
that.form.phone = patient.phone
|
432
|
430
|
that.form.id_card_no = patient.id_card_no
|
|
431
|
+ that.InsuplcAdmdvs = []
|
|
432
|
+ // console.log(parseNumber(response.data.data.info.output.insuinfo.psn_type))
|
|
433
|
+ // console.log(parseNumber(response.data.data.insutype))
|
|
434
|
+ for (let i = 0; i < response.data.data.info.output.insuinfo.length; i++) {
|
|
435
|
+ that.InsuplcAdmdvs.push({
|
|
436
|
+ value: response.data.data.info.output.insuinfo[i].insuplc_admdvs,
|
|
437
|
+ label: response.data.data.info.output.insuinfo[i].insuplc_admdvs
|
|
438
|
+ })
|
|
439
|
+
|
|
440
|
+ }
|
|
441
|
+ that.form.psn_type = parseInt(response.data.data.info.output.insuinfo[0].psn_type)
|
|
442
|
+ that.form.social_type = parseInt(response.data.data.insutype)
|
433
|
443
|
|
434
|
444
|
} else {
|
435
|
445
|
that.form.id = patient.id
|