Browse Source

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

28169 4 months ago
parent
commit
3ea3363afc

+ 1 - 1
src/xt_pages/Pharmacy/drugCode.vue View File

@@ -220,7 +220,7 @@
220 220
           } else {
221 221
 
222 222
             //有打开则调用接口
223
-            axios.get('http://127.0.0.1:9532/api/delete_xs_bg_three',{params:params}).then(function(response) {
223
+            axios.get('http://127.0.0.1:9532/api/changedrug/five',{params:params}).then(function(response) {
224 224
               if (response.data.state == 0) {
225 225
                 that.$message.error(response.data.data.msg);
226 226
                 return false

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue View File

@@ -1162,7 +1162,7 @@
1162 1162
                         <div class="under_line"
1163 1163
                           style="width: 70px; text-align: center"
1164 1164
                         >
1165
-                          <span v-if="predialysis.weight_before !=0 && afterdialysis.weight_after !=0">
1165
+                          <span v-if="record.assessment_before_dislysis.weight_before !=0 && record.assessment_after_dislysis.weight_after !=0">
1166 1166
                            {{ record.assessment_after_dislysis &&
1167 1167
                             record.assessment_after_dislysis.weight_loss
1168 1168
                               ? record.assessment_after_dislysis.weight_loss

+ 159 - 35
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -1033,6 +1033,32 @@
1033 1033
       <invoice-print ref="print" :invoiceParams='invoiceParams'></invoice-print>
1034 1034
     </el-dialog>
1035 1035
 
1036
+    <el-dialog title="审核" :visible.sync="eventVisible" :close-on-click-modal="isClose"
1037
+               :close-on-press-escape="isClose" show-close="false">
1038
+      <el-table ref="report-table" :data="roleTableData"  border :row-style="{ color: '#303133' }"
1039
+                  :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
1040
+                  max-height="600"
1041
+                 >
1042
+          <el-table-column align="center" prop="name" label="规则名称">
1043
+            <template slot-scope="scope">{{ scope.row.rule_name }}</template>
1044
+          </el-table-column>
1045
+          <el-table-column align="center" prop="item_name" label="规则详情">
1046
+            <template slot-scope="scope">
1047
+              {{scope.row.vola_cont}}
1048
+            </template>
1049
+          </el-table-column>
1050
+        </el-table>
1051
+      <div class="list">
1052
+        <el-radio-group v-model="fk_state" style="margin-top: 20px">
1053
+          <el-radio :label="2">返回修改</el-radio>
1054
+        </el-radio-group>
1055
+      </div>
1056
+      <el-input v-model="fankui"  placeholder="请输入反馈内容"  style="margin-top: 20px"></el-input>
1057
+      <div slot="footer" class="dialog-footer">
1058
+<!--        <el-button @click="eventVisible = false">取消</el-button>-->
1059
+        <el-button type="primary" @click="comfirmFanKuiDialog">确定</el-button>
1060
+      </div>
1061
+    </el-dialog>
1036 1062
   </div>
1037 1063
 </template>
1038 1064
 
@@ -1101,6 +1127,16 @@ export default {
1101 1127
   },
1102 1128
   data() {
1103 1129
     return {
1130
+      warm_type:"",
1131
+      fankui:"",
1132
+      roleTableData:[{
1133
+        "rule_name":"11111",
1134
+        "detail":"11111",
1135
+      }],
1136
+      fk_state:2,
1137
+      eventVisible:false,
1138
+      isClose:false,
1139
+      event_result:{},
1104 1140
       ws:null,
1105 1141
       fapiaoCodeDialogVisible:false,
1106 1142
       fapiao_code:"",
@@ -1323,6 +1359,12 @@ export default {
1323 1359
     }
1324 1360
   },
1325 1361
   created() {
1362
+    // var aa = `{"output":{"result":[{"judge_result_detail_dtos":[{"vola_item_type":"1","mdtrt_id":"44039100000707832375","jrd_id":"0d694b59-17bf-4eab-8cca-7210c210d03d","patn_id":"44030000000630214820","rx_id":"","vola_amt":0.0}],"rule_id":"440000202307211449301000210038","vola_evid":"诊断学","mdtrt_id":"44039100000707832375","rule_name":"单次就诊诊断与患者性别不符_事前提 醒(广东)","vola_amt_stas":"1","jr_id":"7edfcae2-8602-4334-a09c-5f4a94171c3b","patn_id":"44030000000630214820","sev_deg":"2","vola_amt":0.0,"vola_bhvr_type":"1","vola_cont":"O16.x00/孕产妇高血压与患者性别不符,患者性别为男性,却给患者下了 女性专有的诊断"}]},"infcode":0,"warn_msg":null,"cainfo":null,"err_msg":null,"refmsg_time":"20241203180314355","signtype":null,"respond_time":"20241203180314408","inf_refmsgid":"440000202412031803143431546478"}`
1363
+    // let jsonData = JSON.parse(aa);
1364
+    // console.log(jsonData)
1365
+    // this.event_result = jsonData
1366
+    // this.roleTableData = this.event_result.output.result
1367
+    // this.eventVisible = true
1326 1368
     this.fetchAllAdminUsers()
1327 1369
     const tableHeight = document.body.clientHeight - 290
1328 1370
     this.tableHeight = tableHeight
@@ -1438,6 +1480,50 @@ export default {
1438 1480
       var nowMinutes = nowDate.getMinutes()
1439 1481
       var nowSeconds = nowDate.getSeconds()
1440 1482
       this.form.diagnosis_time = this.record_date + ' ' + (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes) + ':' + (nowSeconds < 10 ? '0' + nowSeconds : nowSeconds)
1483
+    },comfirmFanKuiDialog(){
1484
+      var str = ""
1485
+      for(let i = 0;i < this.roleTableData.length;i++){
1486
+        if(str.length == 0){
1487
+          str  = this.roleTableData[i].jr_id
1488
+        }else{
1489
+          str  = str +"~" + this.roleTableData[i].jr_id
1490
+        }
1491
+      }
1492
+      var that = this
1493
+      axios.get('http://127.0.0.1:9532/api/3103', {
1494
+        params: {
1495
+          'desc': that.fankui,
1496
+          "warm_type":that.warm_type,
1497
+          "fk_state":that.fk_state,
1498
+          'warm_ids': str,
1499
+          'admin_user_id': that.$store.getters.xt_user.user.id
1500
+        }
1501
+      })
1502
+        .then(function(response) {
1503
+          if (response.data.state == 0) {
1504
+            that.$message.error(response.data.msg)
1505
+            return false
1506
+          } else {
1507
+            if (response.data.data.failed_code == -10) {
1508
+              this.pwd = ''
1509
+              that.$confirm(response.data.data.msg, '医保错误信息', {
1510
+                confirmButtonText: '确 定',
1511
+                type: 'warning'
1512
+              }).then(() => {
1513
+
1514
+              }).catch(() => {
1515
+
1516
+              })
1517
+
1518
+            } else {
1519
+              that.$message.success(response.data.msg)
1520
+              that.eventVisible = false
1521
+            }
1522
+
1523
+          }
1524
+        })
1525
+        .catch(function(error) {
1526
+        })
1441 1527
     },
1442 1528
     comfirmPWDialog() {
1443 1529
       var that = this
@@ -1832,20 +1918,27 @@ export default {
1832 1918
                 return false
1833 1919
               } else {
1834 1920
                 if (response.data.data.failed_code == -10) {
1835
-
1836
-                  that.$confirm(response.data.data.msg, '医保错误信息', {
1837
-                    confirmButtonText: '确 定',
1838
-                    type: 'warning'
1839
-                  }).then(() => {
1840
-                    that.$refs.charge.hide()
1841
-                    that.changeRadioAndPatient(1)
1842
-                    that.newLoading = false
1843
-                  }).catch(() => {
1844
-                    that.$refs.charge.hide()
1845
-                    that.changeRadioAndPatient(1)
1921
+                  if(response.data.data.failed_type && response.data.data.failed_type == 100){
1922
+                    that.event_result = response.data.data.msg
1923
+                    that.roleTableData =  that.event_result.output.result
1924
+                    that.warm_type =  response.data.data.warm_type
1846 1925
                     that.newLoading = false
1847
-                  })
1926
+                    that.eventVisible = true
1927
+                  }else{
1928
+                    that.$confirm(response.data.data.msg, '医保错误信息', {
1929
+                      confirmButtonText: '确 定',
1930
+                      type: 'warning'
1931
+                    }).then(() => {
1932
+                      that.$refs.charge.hide()
1933
+                      that.changeRadioAndPatient(1)
1934
+                      that.newLoading = false
1848 1935
 
1936
+                    }).catch(() => {
1937
+                      that.$refs.charge.hide()
1938
+                      that.changeRadioAndPatient(1)
1939
+                      that.newLoading = false
1940
+                    })
1941
+                  }
1849 1942
                 } else {
1850 1943
                   that.radio = 2
1851 1944
                   that.changeRadioAndPatient(2)
@@ -1944,15 +2037,23 @@ export default {
1944 2037
               } else {
1945 2038
                 that.loadingone = false
1946 2039
                 if (response.data.data.failed_code == -10) {
1947
-                  that.$confirm(response.data.data.msg, '医保错误信息', {
1948
-                    confirmButtonText: '确 定',
1949
-                    type: 'warning'
1950
-                  }).then(() => {
2040
+                  if(response.data.data.failed_type && response.data.data.failed_type == 100){
2041
+                    that.event_result = response.data.data.msg
2042
+                    that.roleTableData =  that.event_result.output.result
2043
+                    that.warm_type =  response.data.data.warm_type
1951 2044
 
1952
-                  }).catch(() => {
1953
-                  })
1954
-                } else {
1955 2045
 
2046
+                    that.eventVisible = true
2047
+                  }else{
2048
+                    that.$confirm(response.data.data.msg, '医保错误信息', {
2049
+                      confirmButtonText: '确 定',
2050
+                      type: 'warning'
2051
+                    }).then(() => {
2052
+
2053
+                    }).catch(() => {
2054
+                    })
2055
+                  }
2056
+                } else {
1956 2057
                   that.changeRadio(1)
1957 2058
                   that.$refs.register9504.hide()
1958 2059
                   that.$message({ message: '挂号成功', type: 'success' })
@@ -2007,16 +2108,24 @@ export default {
2007 2108
               return false
2008 2109
             } else {
2009 2110
               if (response.data.data.failed_code == -10) {
2010
-                // that.$message.error(response.data.data.msg);
2011
-                that.$confirm(response.data.data.msg, '医保错误信息', {
2012
-                  confirmButtonText: '确 定',
2013
-                  type: 'warning'
2014
-                }).then(() => {
2111
+                if(response.data.data.failed_type && response.data.data.failed_type == 100){
2112
+                  that.event_result = response.data.data.msg
2113
+                  that.roleTableData =  that.event_result.output.result
2114
+                  that.warm_type =  response.data.data.warm_type
2015 2115
 
2016
-                }).catch(() => {
2017
-                })
2018 2116
 
2117
+                  that.eventVisible = true
2118
+                  that.loadingone = false
2019 2119
 
2120
+                }else{
2121
+                  that.$confirm(response.data.data.msg, '医保错误信息', {
2122
+                    confirmButtonText: '确 定',
2123
+                    type: 'warning'
2124
+                  }).then(() => {
2125
+
2126
+                  }).catch(() => {
2127
+                  })
2128
+                }
2020 2129
               } else {
2021 2130
                 that.radio = 1
2022 2131
                 that.changeRadioAndPatient(1)
@@ -3679,6 +3788,8 @@ export default {
3679 3788
           })
3680 3789
 
3681 3790
         } else {
3791
+
3792
+
3682 3793
           this.$confirm('是否进行预结算', '预结算', {
3683 3794
             confirmButtonText: '确 定',
3684 3795
             cancelButtonText: '取 消',
@@ -3695,17 +3806,30 @@ export default {
3695 3806
                   that.$message.error(response.data.msg)
3696 3807
                   return false
3697 3808
                 } else {
3809
+
3698 3810
                   if (response.data.data.failed_code == -10) {
3699
-                    that.$confirm(response.data.data.msg, '医保错误信息', {
3700
-                      confirmButtonText: '确 定',
3701
-                      type: 'warning'
3702
-                    }).then(() => {
3703
-                      that.changeRadioAndPatient(1)
3811
+                    console.log(response.data.data)
3812
+                    console.log(response.data.data.failed_type)
3813
+                    if(response.data.data.failed_type == 100){
3814
+                      that.event_result = response.data.data.msg
3815
+                      that.roleTableData =  that.event_result.output.result
3816
+                      that.warm_type =  response.data.data.warm_type
3817
+                      that.eventVisible = true
3704 3818
                       that.newLoading = false
3705
-                    }).catch(() => {
3706
-                      that.changeRadioAndPatient(1)
3707
-                      that.newLoading = false
3708
-                    })
3819
+
3820
+                    }else{
3821
+                      that.$confirm(response.data.data.msg, '医保错误信息', {
3822
+                        confirmButtonText: '确 定',
3823
+                        type: 'warning'
3824
+                      }).then(() => {
3825
+                        that.changeRadioAndPatient(1)
3826
+                        that.newLoading = false
3827
+
3828
+                      }).catch(() => {
3829
+                        that.changeRadioAndPatient(1)
3830
+                        that.newLoading = false
3831
+                      })
3832
+                    }
3709 3833
                   } else {
3710 3834
                     that.changeRadioAndPatient(1)
3711 3835
                     that.$message({ message: '预结算成功', type: 'success', duration: 5000 })

+ 3 - 3
src/xt_pages/user/templateSummaryPrint.vue View File

@@ -8,7 +8,7 @@
8 8
       <div class="order-yy-name"></div>
9 9
       <div class="order-title">{{ orgname }}血液透析患者诊疗阶段小结</div>
10 10
       
11
-      <div style="padding-bottom:20px;border-bottom:1px solid #000;margin-top:40px;" v-if="org_id !=10013 &&org_id !=10014">
11
+      <div style="padding-bottom:20px;border-bottom:1px solid #000;margin-top:40px;">
12 12
          <span>姓名:{{patientList.patient.name}}</span>  
13 13
          <span style="margin-left:20px;">年龄:{{getNewAge(patientList.patient.id_card_no)}}</span>  
14 14
          <span style="margin-left:20px;">性别:
@@ -17,7 +17,7 @@
17 17
          </span> 
18 18
          <span style="margin-left:20px;">诊断:{{patientList.patient.diagnose}}</span> 
19 19
       </div>
20
-      <div style="padding:20px 0;border-bottom:1px solid #000;font-weight:bold;" v-if="org_id !=10013 &&org_id !=10014">
20
+      <div style="padding:20px 0;border-bottom:1px solid #000;font-weight:bold;">
21 21
         <span>阶段评估时间:{{getTime(patientList.record_time)}}</span>  
22 22
       </div>
23 23
        <!-- <div style="padding:20px 0;border-bottom:1px solid #000;">
@@ -46,7 +46,7 @@
46 46
           </div>
47 47
         </div>
48 48
       </div> -->
49
-      <div style="padding:20px 0;border-bottom:1px solid #000;min-height:200px;" v-if="org_id !=10013 &&org_id !=10014">
49
+      <div style="padding:20px 0;border-bottom:1px solid #000;min-height:200px;">
50 50
         <span style="font-weight:bold;">阶段小结总结:</span>
51 51
           <!-- {{patientList.template_summary_content}} -->
52 52
           <div style="line-height:24px; word-break: break-all;word-wrap: break-word"