2 Commits 95bd65ea5d ... 05b3d457c2

Author SHA1 Message Date
  陈少旭 05b3d457c2 Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch 4 days ago
  陈少旭 c65dcc79a6 1111 4 days ago
2 changed files with 20 additions and 10 deletions
  1. 6 6
      src/router/modules/hospitalStation.js
  2. 14 4
      src/xt_pages/hospitalStation/index.vue

+ 6 - 6
src/router/modules/hospitalStation.js View File

13
   },
13
   },
14
   children: [
14
   children: [
15
     //
15
     //
16
-    // {
17
-    //   path: '/hospitalStation/doctorDesk',
18
-    //   component: () => import('@/xt_pages/hospitalStation/doctorDesk'),
19
-    //   name: 'outpatientDoctorStationDoctorDesk',
20
-    //   meta: { title: 'outpatientDoctorStationDoctorDesk', noCache: true }
21
-    // },
16
+    {
17
+      path: '/hospitalStation/doctorDesk',
18
+      component: () => import('@/xt_pages/hospitalStation/doctorDesk'),
19
+      name: 'outpatientDoctorStationDoctorDesk',
20
+      meta: { title: 'outpatientDoctorStationDoctorDesk', noCache: true }
21
+    },
22
     {
22
     {
23
       path: '/hospitalStation/pastInquiries',
23
       path: '/hospitalStation/pastInquiries',
24
       component: () => import('@/xt_pages/hospitalStation/pastInquiries'),
24
       component: () => import('@/xt_pages/hospitalStation/pastInquiries'),

+ 14 - 4
src/xt_pages/hospitalStation/index.vue View File

377
         })
377
         })
378
 
378
 
379
     },
379
     },
380
-    reading() {
380
+     reading() {
381
       var that = this
381
       var that = this
382
       if (this.form.id_card_type.length == 0 || this.form.id_card_type == 0) {
382
       if (this.form.id_card_type.length == 0 || this.form.id_card_type == 0) {
383
         this.$message.error('请先选择读卡类型')
383
         this.$message.error('请先选择读卡类型')
420
                 that.form.psn_type = parseInt(response.data.data.info.output.insuinfo[0].psn_type)
420
                 that.form.psn_type = parseInt(response.data.data.info.output.insuinfo[0].psn_type)
421
                 that.form.social_type = parseInt(response.data.data.insutype)
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
                 that.form.id = patient.id
424
                 that.form.id = patient.id
427
                 that.form.name = patient.name
425
                 that.form.name = patient.name
428
                 that.form.sex = patient.gender
426
                 that.form.sex = patient.gender
430
                 that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
428
                 that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
431
                 that.form.phone = patient.phone
429
                 that.form.phone = patient.phone
432
                 that.form.id_card_no = patient.id_card_no
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
               } else {
444
               } else {
435
                 that.form.id = patient.id
445
                 that.form.id = patient.id