Browse Source

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

csx 4 years ago
parent
commit
670e4825c1

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

@@ -213,7 +213,7 @@
213 213
 
214 214
           var that = this
215 215
 
216
-          if (this.$store.getters.xt_user.org_id == 9919) {
216
+          if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 10106) {
217 217
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
218 218
               params: params
219 219
             })

+ 1 - 1
src/xt_pages/outpatientCharges/newStatementPrint.vue View File

@@ -152,7 +152,7 @@
152 152
 
153 153
       },
154 154
       getInfo(order_id) {
155
-        if (this.$store.getters.xt_user.org_id == 3877 || this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671) {
155
+        if (this.$store.getters.xt_user.org_id == 3877 || this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 10106) {
156 156
 
157 157
           var that = this
158 158
 

+ 9 - 9
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -136,13 +136,13 @@
136 136
                         </el-button>
137 137
 
138 138
                         <el-button
139
-                                v-if="this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671"
139
+                                v-if="this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 10106"
140 140
                                 size="small" @click="open(10)" type="primary"
141 141
                         >退号
142 142
                         </el-button>
143 143
 
144 144
                         <el-button
145
-                                v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919  || this.$store.getters.xt_user.org_id == 9671"
145
+                                v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919  || this.$store.getters.xt_user.org_id == 9671  || this.$store.getters.xt_user.org_id == 10106"
146 146
                                 size="small" @click="open(11)" type="primary"
147 147
                         >撤销明细
148 148
                         </el-button>
@@ -527,7 +527,7 @@
527 527
     },
528 528
     methods: {
529 529
       query() {
530
-        if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538) {
530
+        if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 10106 ) {
531 531
           var that = this
532 532
           axios.get('http://127.0.0.1:9532/api/org/info', {
533 533
             params: {}
@@ -645,7 +645,7 @@
645 645
 
646 646
             })
647 647
 
648
-        } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671) {
648
+        } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 10106) {
649 649
           var that = this
650 650
           axios.get('http://127.0.0.1:9532/api/upload/get', {
651 651
             params: form,
@@ -867,7 +867,7 @@
867 867
 
868 868
             })
869 869
 
870
-        } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671) {
870
+        } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 10106) {
871 871
 
872 872
           axios.get('http://127.0.0.1:9532/api/register/get', {
873 873
             params: forms,
@@ -1484,7 +1484,7 @@
1484 1484
           }
1485 1485
 
1486 1486
         } else if (index == 5) {
1487
-          if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671) {
1487
+          if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 10106) {
1488 1488
 
1489 1489
             var that = this
1490 1490
             this.$confirm('是否退费', '退费', {
@@ -1579,7 +1579,7 @@
1579 1579
 
1580 1580
           var that = this
1581 1581
 
1582
-          if (this.$store.getters.xt_user.org_id == 9919) {
1582
+          if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 10106) {
1583 1583
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
1584 1584
               params: params
1585 1585
             })
@@ -1716,7 +1716,7 @@
1716 1716
             })
1717 1717
         } else if (index == 15) {
1718 1718
           var that = this
1719
-          if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538) {
1719
+          if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 10106) {
1720 1720
 
1721 1721
             if (this.diagnosis.length || this.diagnosis == 0) {
1722 1722
               that.$message.error('诊断不能为空,请选择诊断内容')
@@ -1825,7 +1825,7 @@
1825 1825
 
1826 1826
           }
1827 1827
           this.loadingtwo = true
1828
-          if (this.$store.getters.xt_user.org_id == 9919 ) {
1828
+          if (this.$store.getters.xt_user.org_id == 9919||this.$store.getters.xt_user.org_id == 10106) {
1829 1829
             var that = this
1830 1830
             axios.get('http://127.0.0.1:9532/api/pre_upload/get', {
1831 1831
               params: form

+ 2 - 2
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -150,8 +150,8 @@ export default {
150 150
 
151 151
     },
152 152
     getInfo(order_id) {
153
-      if (this.$store.getters.xt_user.org_id == 3877 || this.$store.getters.xt_user.org_id == 9919 ||  this.$store.getters.xt_user.org_id == 9671) {
154
-         
153
+      if (this.$store.getters.xt_user.org_id == 3877 || this.$store.getters.xt_user.org_id == 9919 ||  this.$store.getters.xt_user.org_id == 9671 ||  this.$store.getters.xt_user.org_id == 10106) {
154
+
155 155
         var that = this
156 156
 
157 157
         axios.get('http://127.0.0.1:9532/api/settle/query', {

+ 1 - 1
src/xt_pages/outpatientCharges/summary.vue View File

@@ -96,7 +96,7 @@
96 96
         <el-table-column align="center" prop="name" label="操作">
97 97
           <template slot-scope="scope">
98 98
             <el-button size="mini" type="primary" @click="toDetail(scope.row)">详情</el-button>
99
-            <el-button size="mini" type="primary" @click="toPrint(scope.row)" v-if="(scope.row.order_status == 2 || $store.getters.xt_user.org_id == 9504) && (scope.row.order_status == 2 || $store.getters.xt_user.org_id == 9919)">结算单</el-button>
99
+            <el-button size="mini" type="primary" @click="toPrint(scope.row)" v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9504) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9919) ||  (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106)">结算单</el-button>
100 100
           </template>
101 101
         </el-table-column>
102 102
       </el-table>

+ 4 - 3
src/xt_pages/outpatientRecord/outpatientRecord.vue View File

@@ -318,7 +318,7 @@
318 318
             type: 'warning'
319 319
           }).then(() => {
320 320
             let params = {
321
-              'id': row.id,
321
+              'id': row.record.id,
322 322
               'admin_user_id': this.$store.getters.xt_user.user.id
323 323
 
324 324
             }
@@ -403,9 +403,12 @@
403 403
               if(response.data.data.failed_code == -10){
404 404
                 that.$message.error(response.data.data.msg)
405 405
               }else{
406
+                that.$message.success("备案成功")
407
+                that.dialogFormVisible = false
406 408
                 for (let i = 0; i < that.tableData.length; i++) {
407 409
                   if (that.tableData[i].id == that.currentObject.id) {
408 410
                     that.tableData[i].record.is_cancel == 1
411
+                    that.tableData[i].record.id == response.data.data.result.id
409 412
                     that.tableData[i].record.trt_dcla_detl_sn = response.data.data.result.trt_dcla_detl_sn
410 413
                     that.tableData[i].record.psn_no = response.data.data.result.psn_no
411 414
                     that.tableData[i].record.doctor_id = response.data.data.result.doctor_id
@@ -414,8 +417,6 @@
414 417
                     that.tableData[i].record.insutype = response.data.data.result.insutype
415 418
                     that.tableData[i].record.sick_type = response.data.data.result.sick_type
416 419
 
417
-
418
-
419 420
                   }
420 421
                 }
421 422
               }

+ 2 - 2
src/xt_pages/outpatientRegistration/index.vue View File

@@ -965,7 +965,7 @@
965 965
                 .catch(function(error) {
966 966
 
967 967
                 })
968
-            } else if (this.$store.getters.xt_user.org_id == 9919) {
968
+            } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 10106) {
969 969
               var that = this
970 970
 
971 971
               axios.get('http://127.0.0.1:9532/api/register/get', {
@@ -1172,7 +1172,7 @@
1172 1172
                 .catch(function(error) {
1173 1173
 
1174 1174
                 })
1175
-            } else if (this.$store.getters.xt_user.org_id == 9919) {
1175
+            } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 10106) {
1176 1176
               var that = this
1177 1177
 
1178 1178
               axios.get('http://127.0.0.1:9532/api/register/get', {