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
 
213
 
214
           var that = this
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
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
217
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
218
               params: params
218
               params: params
219
             })
219
             })

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

152
 
152
 
153
       },
153
       },
154
       getInfo(order_id) {
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
           var that = this
157
           var that = this
158
 
158
 

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

136
                         </el-button>
136
                         </el-button>
137
 
137
 
138
                         <el-button
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
                                 size="small" @click="open(10)" type="primary"
140
                                 size="small" @click="open(10)" type="primary"
141
                         >退号
141
                         >退号
142
                         </el-button>
142
                         </el-button>
143
 
143
 
144
                         <el-button
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
                                 size="small" @click="open(11)" type="primary"
146
                                 size="small" @click="open(11)" type="primary"
147
                         >撤销明细
147
                         >撤销明细
148
                         </el-button>
148
                         </el-button>
527
     },
527
     },
528
     methods: {
528
     methods: {
529
       query() {
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
           var that = this
531
           var that = this
532
           axios.get('http://127.0.0.1:9532/api/org/info', {
532
           axios.get('http://127.0.0.1:9532/api/org/info', {
533
             params: {}
533
             params: {}
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
           var that = this
649
           var that = this
650
           axios.get('http://127.0.0.1:9532/api/upload/get', {
650
           axios.get('http://127.0.0.1:9532/api/upload/get', {
651
             params: form,
651
             params: form,
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
           axios.get('http://127.0.0.1:9532/api/register/get', {
872
           axios.get('http://127.0.0.1:9532/api/register/get', {
873
             params: forms,
873
             params: forms,
1484
           }
1484
           }
1485
 
1485
 
1486
         } else if (index == 5) {
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
             var that = this
1489
             var that = this
1490
             this.$confirm('是否退费', '退费', {
1490
             this.$confirm('是否退费', '退费', {
1579
 
1579
 
1580
           var that = this
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
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
1583
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
1584
               params: params
1584
               params: params
1585
             })
1585
             })
1716
             })
1716
             })
1717
         } else if (index == 15) {
1717
         } else if (index == 15) {
1718
           var that = this
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
             if (this.diagnosis.length || this.diagnosis == 0) {
1721
             if (this.diagnosis.length || this.diagnosis == 0) {
1722
               that.$message.error('诊断不能为空,请选择诊断内容')
1722
               that.$message.error('诊断不能为空,请选择诊断内容')
1825
 
1825
 
1826
           }
1826
           }
1827
           this.loadingtwo = true
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
             var that = this
1829
             var that = this
1830
             axios.get('http://127.0.0.1:9532/api/pre_upload/get', {
1830
             axios.get('http://127.0.0.1:9532/api/pre_upload/get', {
1831
               params: form
1831
               params: form

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

150
 
150
 
151
     },
151
     },
152
     getInfo(order_id) {
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
         var that = this
155
         var that = this
156
 
156
 
157
         axios.get('http://127.0.0.1:9532/api/settle/query', {
157
         axios.get('http://127.0.0.1:9532/api/settle/query', {

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

96
         <el-table-column align="center" prop="name" label="操作">
96
         <el-table-column align="center" prop="name" label="操作">
97
           <template slot-scope="scope">
97
           <template slot-scope="scope">
98
             <el-button size="mini" type="primary" @click="toDetail(scope.row)">详情</el-button>
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
           </template>
100
           </template>
101
         </el-table-column>
101
         </el-table-column>
102
       </el-table>
102
       </el-table>

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

318
             type: 'warning'
318
             type: 'warning'
319
           }).then(() => {
319
           }).then(() => {
320
             let params = {
320
             let params = {
321
-              'id': row.id,
321
+              'id': row.record.id,
322
               'admin_user_id': this.$store.getters.xt_user.user.id
322
               'admin_user_id': this.$store.getters.xt_user.user.id
323
 
323
 
324
             }
324
             }
403
               if(response.data.data.failed_code == -10){
403
               if(response.data.data.failed_code == -10){
404
                 that.$message.error(response.data.data.msg)
404
                 that.$message.error(response.data.data.msg)
405
               }else{
405
               }else{
406
+                that.$message.success("备案成功")
407
+                that.dialogFormVisible = false
406
                 for (let i = 0; i < that.tableData.length; i++) {
408
                 for (let i = 0; i < that.tableData.length; i++) {
407
                   if (that.tableData[i].id == that.currentObject.id) {
409
                   if (that.tableData[i].id == that.currentObject.id) {
408
                     that.tableData[i].record.is_cancel == 1
410
                     that.tableData[i].record.is_cancel == 1
411
+                    that.tableData[i].record.id == response.data.data.result.id
409
                     that.tableData[i].record.trt_dcla_detl_sn = response.data.data.result.trt_dcla_detl_sn
412
                     that.tableData[i].record.trt_dcla_detl_sn = response.data.data.result.trt_dcla_detl_sn
410
                     that.tableData[i].record.psn_no = response.data.data.result.psn_no
413
                     that.tableData[i].record.psn_no = response.data.data.result.psn_no
411
                     that.tableData[i].record.doctor_id = response.data.data.result.doctor_id
414
                     that.tableData[i].record.doctor_id = response.data.data.result.doctor_id
414
                     that.tableData[i].record.insutype = response.data.data.result.insutype
417
                     that.tableData[i].record.insutype = response.data.data.result.insutype
415
                     that.tableData[i].record.sick_type = response.data.data.result.sick_type
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
                 .catch(function(error) {
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
               var that = this
969
               var that = this
970
 
970
 
971
               axios.get('http://127.0.0.1:9532/api/register/get', {
971
               axios.get('http://127.0.0.1:9532/api/register/get', {
1172
                 .catch(function(error) {
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
               var that = this
1176
               var that = this
1177
 
1177
 
1178
               axios.get('http://127.0.0.1:9532/api/register/get', {
1178
               axios.get('http://127.0.0.1:9532/api/register/get', {