Bladeren bron

新分支

28169 8 maanden geleden
bovenliggende
commit
fccc723d20

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Bestand weergeven

3061
         }
3061
         }
3062
         // console.log('this.dialysisPrescription.mode_id', this.dialysisPrescription.mode_id)
3062
         // console.log('this.dialysisPrescription.mode_id', this.dialysisPrescription.mode_id)
3063
         // console.log('this.schedual', schedual.mode_id)
3063
         // console.log('this.schedual', schedual.mode_id)
3064
-        if (pre.mode_id == 2 || pre.mode_id == 5 || pre.mode_id == 12 || schedual.mode_id == 2 || schedual.mode_id == 5 || schedual.mode_id == 12 || schedual.mode_id == 0 || schedual.mode_id == 37 || schedual.mode_id == 36 || schedual.mode_id == 35 || schedual.mode_id == 34) {
3064
+        if (pre.mode_id == 2 || pre.mode_id == 5 || pre.mode_id == 12 || schedual.mode_id == 2 || schedual.mode_id == 5 || schedual.mode_id == 12 || schedual.mode_id == 0 || schedual.mode_id == 37 || schedual.mode_id == 36 || schedual.mode_id == 35 || schedual.mode_id == 34|| schedual.mode_id == 41) {
3065
           this.zhiShow = true
3065
           this.zhiShow = true
3066
           this.huShow = true
3066
           this.huShow = true
3067
           this.totalShow = true
3067
           this.totalShow = true

+ 6 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Bestand weergeven

2197
 
2197
 
2198
 
2198
 
2199
                       <tr
2199
                       <tr
2200
-                      v-if="org_id == 0 || org_id ==10206"
2200
+                      v-if="org_id == 0 || org_id ==10206 || org_id== 10489"
2201
                       v-for="(advice, advice_index) in projectsOne"
2201
                       v-for="(advice, advice_index) in projectsOne"
2202
                       :key="advice_index"
2202
                       :key="advice_index"
2203
                     >
2203
                     >
2412
                         </span>
2412
                         </span>
2413
                         </td>
2413
                         </td>
2414
                       </tr>
2414
                       </tr>
2415
-                      <!-- </template> -->
2415
+                     
2416
 
2416
 
2417
 
2417
 
2418
                       <tr
2418
                       <tr
5639
 
5639
 
5640
         console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
5640
         console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
5641
 
5641
 
5642
-        if(this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633){
5642
+        if(this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 0){
5643
           let projectsOne = [];
5643
           let projectsOne = [];
5644
           response.data.data.projects.map((item) => {
5644
           response.data.data.projects.map((item) => {
5645
               projectsOne.push(item);
5645
               projectsOne.push(item);
5702
 
5702
 
5703
 
5703
 
5704
 
5704
 
5705
-        if(this.org_id!=10510 && this.org_id!=0&&this.org_id!=10206 && this.org_id!=10478){
5705
+        if(this.org_id!=10510 && this.org_id!=0&&this.org_id!=10206 && this.org_id!=10478 && this.org_id!=0 && this.org_id!=10489){
5706
             if(this.projects!=null && this.projects.length >0){
5706
             if(this.projects!=null && this.projects.length >0){
5707
              for(let i=0;i<this.projects.length;i++){
5707
              for(let i=0;i<this.projects.length;i++){
5708
               if(this.projects[i].type== 2){
5708
               if(this.projects[i].type== 2){
5709
 
5709
 
5710
                 this.projects[i].project_team_name = ""
5710
                 this.projects[i].project_team_name = ""
5711
                 this.projects[i].project_team_id = 0
5711
                 this.projects[i].project_team_id = 0
5712
-                console.log("this.projects[i].project.team",this.projects[i].project.team)
5712
+               
5713
                 if(this.projects[i].team!= "undefined" && this.projects[i].team.id >0){
5713
                 if(this.projects[i].team!= "undefined" && this.projects[i].team.id >0){
5714
+                  console.log("this.projects[i].project.team", this.projects[i].team)
5714
                   this.projects[i].project_team = this.projects[i].team.project_team
5715
                   this.projects[i].project_team = this.projects[i].team.project_team
5715
                   this.projects[i].project_team_id = this.projects[i].team.id
5716
                   this.projects[i].project_team_id = this.projects[i].team.id
5716
                   this.projects[i].start_time = this.projects[i].start_time
5717
                   this.projects[i].start_time = this.projects[i].start_time

+ 30 - 27
src/xt_pages/org/orginfo.vue Bestand weergeven

411
                     this.form.illness = res.data.orginfo.illness;
411
                     this.form.illness = res.data.orginfo.illness;
412
                     this.form.illness_list = [];
412
                     this.form.illness_list = [];
413
                     this.form.org_gallery = res.data.orginfo.org_gallery;
413
                     this.form.org_gallery = res.data.orginfo.org_gallery;
414
+                    
415
+                    this.orgtypes = [];
416
+                    this.orgtypesMap ={},
417
+                    this.childtypes = [];
418
+                    var orgtypes = res.data.orgtypes;
419
+                    for (const index in orgtypes) {
420
+                        if(orgtypes[index].pid>0) {
421
+                            if(!(orgtypes[index].pid in this.orgtypesMap)) {
422
+                                this.orgtypesMap[orgtypes[index].pid] = [];
423
+                            }
424
+                            this.orgtypesMap[orgtypes[index].pid].push(orgtypes[index]);
425
+                            if(orgtypes[index].id == this.form.org_type) {
426
+                                this.form.child_type = orgtypes[index].id;
427
+                                this.form.parent_type = orgtypes[index].pid;
428
+                            }
429
+                        }else {
430
+                            this.orgtypes.push(orgtypes[index]);
431
+                            if(orgtypes[index].id == this.form.org_type) {
432
+                                this.form.parent_type = orgtypes[index].id;
433
+                            }
434
+                        }
435
+                    }
436
+                    if (this.form.parent_type in this.orgtypesMap) {
437
+                        this.childtypes = this.orgtypesMap[this.form.parent_type];
438
+                    }else {
439
+                        this.childtypes = [];
440
+                    }
441
+                    console.log("机构",this.orgtypesMap)
442
+                    this.illnessOptions = res.data.illness?res.data.illness:[];
443
+                    console.log("疾病类型",this.illnessOptions)
414
                     this.fileList = [];
444
                     this.fileList = [];
415
                     var gallery =  res.data.orginfo.org_gallery
445
                     var gallery =  res.data.orginfo.org_gallery
416
                     console.log("haaaaaaaaaaaaaaaaaa",gallery)
446
                     console.log("haaaaaaaaaaaaaaaaaa",gallery)
466
                     this.citys = res.data.citys?res.data.citys:[];
496
                     this.citys = res.data.citys?res.data.citys:[];
467
                     this.districts = res.data.districts?res.data.districts:[];
497
                     this.districts = res.data.districts?res.data.districts:[];
468
 
498
 
469
-                    this.orgtypes = [];
470
-                    this.orgtypesMap ={},
471
-                    this.childtypes = [];
472
-                    var orgtypes = res.data.orgtypes;
473
-                    for (const index in orgtypes) {
474
-                        if(orgtypes[index].pid>0) {
475
-                            if(!(orgtypes[index].pid in this.orgtypesMap)) {
476
-                                this.orgtypesMap[orgtypes[index].pid] = [];
477
-                            }
478
-                            this.orgtypesMap[orgtypes[index].pid].push(orgtypes[index]);
479
-                            if(orgtypes[index].id == this.form.org_type) {
480
-                                this.form.child_type = orgtypes[index].id;
481
-                                this.form.parent_type = orgtypes[index].pid;
482
-                            }
483
-                        }else {
484
-                            this.orgtypes.push(orgtypes[index]);
485
-                            if(orgtypes[index].id == this.form.org_type) {
486
-                                this.form.parent_type = orgtypes[index].id;
487
-                            }
488
-                        }
489
-                    }
490
-                    if (this.form.parent_type in this.orgtypesMap) {
491
-                        this.childtypes = this.orgtypesMap[this.form.parent_type];
492
-                    }else {
493
-                        this.childtypes = [];
494
-                    }
495
-                    this.illnessOptions = res.data.illness?res.data.illness:[];
496
                    
499
                    
497
                 } else {
500
                 } else {
498
                     this.formloading = false;
501
                     this.formloading = false;

+ 13 - 13
src/xt_permission.js Bestand weergeven

12
 
12
 
13
 router.beforeEach((to, from, next) => {
13
 router.beforeEach((to, from, next) => {
14
   // 线上注释
14
   // 线上注释
15
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-    store.dispatch('VerifyConfigList', []).then(() => {
17
-      next()
18
-    })
19
-  }
20
-  if (store.getters.permission_routers === undefined) {
21
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-      next()
23
-    })
24
-  } else {
25
-    next()
26
-  }
27
-  return
15
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+  //   store.dispatch('VerifyConfigList', []).then(() => {
17
+  //     next()
18
+  //   })
19
+  // }
20
+  // if (store.getters.permission_routers === undefined) {
21
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //     next()
23
+  //   })
24
+  // } else {
25
+  //   next()
26
+  // }
27
+  // return
28
   // 线上注释
28
   // 线上注释
29
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))