2 Ревизии 95bd65ea5d ... 05b3d457c2

Автор SHA1 Съобщение Дата
  陈少旭 05b3d457c2 Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch преди 4 дни
  陈少旭 c65dcc79a6 1111 преди 4 дни
променени са 2 файла, в които са добавени 20 реда и са изтрити 10 реда
  1. 6 6
      src/router/modules/hospitalStation.js
  2. 14 4
      src/xt_pages/hospitalStation/index.vue

+ 6 - 6
src/router/modules/hospitalStation.js Целия файл

@@ -13,12 +13,12 @@ export default {
13 13
   },
14 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 23
       path: '/hospitalStation/pastInquiries',
24 24
       component: () => import('@/xt_pages/hospitalStation/pastInquiries'),

+ 14 - 4
src/xt_pages/hospitalStation/index.vue Целия файл

@@ -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