Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN 2 years ago
parent
commit
6492468675

+ 4 - 3
src/xt_pages/hospitalStation/costComparison.vue View File

432
             start_time: this.start_time,
432
             start_time: this.start_time,
433
             end_time: this.end_time,
433
             end_time: this.end_time,
434
             insutype: this.insutype,
434
             insutype: this.insutype,
435
-            clr_type: '11'
435
+            clr_type: '11',
436
+            admin_user_id:that.$store.getters.xt_user.user.id,
436
           };
437
           };
437
           var that = this;
438
           var that = this;
438
-          if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990 ) {
439
+
439
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
440
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
440
               params: params
441
               params: params
441
             })
442
             })
476
 
477
 
477
               })
478
               })
478
 
479
 
479
-          }
480
+
480
 
481
 
481
         } else {
482
         } else {
482
           let params = {
483
           let params = {

+ 1 - 0
src/xt_pages/outpatientCharges/costComparison.vue View File

476
             insutype: this.insutype,
476
             insutype: this.insutype,
477
             clr_type: this.clr_type,
477
             clr_type: this.clr_type,
478
             clr_optins:this.query_clr_org,
478
             clr_optins:this.query_clr_org,
479
+            admin_user_id:that.$store.getters.xt_user.user.id,
479
           }
480
           }
480
           var that = this
481
           var that = this
481
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
482
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {

+ 7 - 3
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

1988
           if (last_info.diagnosis.length == 0) {
1988
           if (last_info.diagnosis.length == 0) {
1989
             this.diagnose = []
1989
             this.diagnose = []
1990
           } else {
1990
           } else {
1991
-            console.log(last_info.diagnosis)
1992
             for (let i = 0; i < last_info.diagnosis.split(",").length; i++) {
1991
             for (let i = 0; i < last_info.diagnosis.split(",").length; i++) {
1993
-              this.diagnose.push(parseInt(last_info.diagnosis.split(',')[i]))
1992
+              if(last_info.diagnosis.split(',')[i].length > 0) {
1993
+                this.diagnose.push(parseInt(last_info.diagnosis.split(',')[i]))
1994
+              }
1994
             }
1995
             }
1995
           }
1996
           }
1996
 
1997
 
2008
           if (info.diagnosis.length == 0) {
2009
           if (info.diagnosis.length == 0) {
2009
             this.diagnose = []
2010
             this.diagnose = []
2010
           } else {
2011
           } else {
2012
+
2011
             for (let i = 0; i < info.diagnosis.split(",").length; i++) {
2013
             for (let i = 0; i < info.diagnosis.split(",").length; i++) {
2012
-              this.diagnose.push(parseInt(info.diagnosis.split(',')[i]))
2014
+              if(info.diagnosis.split(',')[i].length > 0) {
2015
+                this.diagnose.push(parseInt(info.diagnosis.split(',')[i]))
2016
+              }
2013
 
2017
 
2014
             }
2018
             }
2015
 
2019
 

+ 0 - 4
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue View File

1153
 
1153
 
1154
       },
1154
       },
1155
       removeTab(targetName) {
1155
       removeTab(targetName) {
1156
-        if (targetName == '处方1') {
1157
-          this.$message.error('该处方无法删除')
1158
-          return
1159
-        }
1160
         this.$confirm('处方删除后不可恢复,是否确认删除', '删除', {
1156
         this.$confirm('处方删除后不可恢复,是否确认删除', '删除', {
1161
           confirmButtonText: '确 定',
1157
           confirmButtonText: '确 定',
1162
           cancelButtonText: '取 消',
1158
           cancelButtonText: '取 消',