Browse Source

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

XMLWAN 3 years ago
parent
commit
cf0f35bc6b

+ 2 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

406
           </el-table-column>
406
           </el-table-column>
407
 
407
 
408
           <el-table-column
408
           <el-table-column
409
-            prop="heparin"
409
+            prop="heparin_amount"
410
             align="center"
410
             align="center"
411
-            label="肝素量(ml)"
411
+            label="肝素量(mg)"
412
             width="140"
412
             width="140"
413
             v-if="isShow('肝素量')"
413
             v-if="isShow('肝素量')"
414
           >
414
           >

+ 16 - 7
src/xt_pages/hospitalStation/chargeDetailManagement.vue View File

930
                   if (this.hisPatientInfo.patient_id == this.patientTableData[i].patient_id) {
930
                   if (this.hisPatientInfo.patient_id == this.patientTableData[i].patient_id) {
931
                     this.current_index = i
931
                     this.current_index = i
932
                     this.$refs.tab.setCurrentRow(this.patientTableData[i])
932
                     this.$refs.tab.setCurrentRow(this.patientTableData[i])
933
-                    this.getPatientInformation(this.patientTableData[0].patient_id, this.patientTableData[0].id)
933
+                    this.getPatientInformation(this.patientTableData[i].id, this.patientTableData[i].patient_id)
934
 
934
 
935
                   }
935
                   }
936
                 }
936
                 }
937
               }else{
937
               }else{
938
                 this.$refs.tab.setCurrentRow(this.patientTableData[0])
938
                 this.$refs.tab.setCurrentRow(this.patientTableData[0])
939
-                this.getPatientInformation(this.patientTableData[0].patient_id, this.patientTableData[0].id)
939
+                this.getPatientInformation(this.patientTableData[0].id, this.patientTableData[0].patient_id)
940
               }
940
               }
941
               break
941
               break
942
             case 2:
942
             case 2:
944
               this.patientTableData = response.data.data.list_two
944
               this.patientTableData = response.data.data.list_two
945
 
945
 
946
 
946
 
947
+              if (this.hisPatientInfo.id > 0){
948
+                for (let i = 0; i < this.patientTableData.length; i++) {
949
+                  if (this.hisPatientInfo.patient_id == this.patientTableData[i].patient_id) {
950
+                    this.current_index = i
951
+                    this.$refs.tab.setCurrentRow(this.patientTableData[i])
952
+                    this.getPatientInformation(this.patientTableData[i].id, this.patientTableData[i].patient_id)
947
 
953
 
948
-
949
-              this.$refs.tab.setCurrentRow(this.patientTableData[0])
950
-              this.getPatientInformation(this.chargePatientTableData[0].patient_id, this.patientTableData[0].id)
954
+                  }
955
+                }
956
+              }else{
957
+                this.$refs.tab.setCurrentRow(this.patientTableData[0])
958
+                this.getPatientInformation(this.patientTableData[0].id, this.patientTableData[0].patient_id)
959
+              }
951
               break
960
               break
952
 
961
 
953
           }
962
           }
1004
                   if (this.hisPatientInfo.patient_id == this.patientTableData[i].patient_id) {
1013
                   if (this.hisPatientInfo.patient_id == this.patientTableData[i].patient_id) {
1005
                     this.current_index = i
1014
                     this.current_index = i
1006
                     this.$refs.tab.setCurrentRow(this.patientTableData[i])
1015
                     this.$refs.tab.setCurrentRow(this.patientTableData[i])
1007
-                    this.getPatientInformation(this.patientTableData[0].id, this.patientTableData[0].patient_id)
1016
+                    this.getPatientInformation(this.patientTableData[i].id, this.patientTableData[i].patient_id)
1008
 
1017
 
1009
                   }
1018
                   }
1010
                 }
1019
                 }
1021
                   if (this.hisPatientInfo.patient_id == this.patientTableData[i].patient_id) {
1030
                   if (this.hisPatientInfo.patient_id == this.patientTableData[i].patient_id) {
1022
                     this.current_index = i
1031
                     this.current_index = i
1023
                     this.$refs.tab.setCurrentRow(this.patientTableData[i])
1032
                     this.$refs.tab.setCurrentRow(this.patientTableData[i])
1024
-                    this.getPatientInformation(this.patientTableData[0].id, this.patientTableData[0].patient_id)
1033
+                    this.getPatientInformation(this.patientTableData[i].id, this.patientTableData[i].patient_id)
1025
 
1034
 
1026
                   }
1035
                   }
1027
                 }
1036
                 }

+ 3 - 3
src/xt_pages/hospitalStation/invoiceTemplate/printOne.vue View File

23
         </div>
23
         </div>
24
         <div style="display:flex;justify-content: space-between;">
24
         <div style="display:flex;justify-content: space-between;">
25
             <!-- <div>{{ paramsObj.gend == 1 ? '男' : '女' }}</div> -->
25
             <!-- <div>{{ paramsObj.gend == 1 ? '男' : '女' }}</div> -->
26
-            <div style="position: absolute;top:110px;left:260px;">{{ totalPrice - list.psn_cash_money }}</div>
27
-            <div style="position: absolute;top:110px;left:440px;">{{ list.psn_cash_money }}</div>
26
+            <div style="position: absolute;top:110px;left:260px;">{{ (totalPrice - list.psn_cash_money).toFixed(2) }}</div>
27
+            <div style="position: absolute;top:110px;left:440px;">{{ list.psn_cash_money  }}</div>
28
             <div style="position: absolute;top:110px;left:580px;">门特</div>
28
             <div style="position: absolute;top:110px;left:580px;">门特</div>
29
         </div>
29
         </div>
30
         <div style="display:flex;justify-content: space-between;">
30
         <div style="display:flex;justify-content: space-between;">
196
             }
196
             }
197
 
197
 
198
             var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
198
             var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
199
-            n += "00";  
199
+            n += "00";
200
 
200
 
201
             var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
201
             var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
202
 
202
 

+ 60 - 4
src/xt_pages/hospitalStation/summary.vue View File

21
                         :value="item.value">
21
                         :value="item.value">
22
                     </el-option>
22
                     </el-option>
23
                   </el-select>
23
                   </el-select>
24
+
25
+                  <el-select size="small" v-model="p_type" placeholder="请选择"
26
+                             style="width:150px;margin-left:10px;" @change="changePType">
27
+                    <el-option
28
+                        v-for="(item,index) in p_types"
29
+                        :key="index"
30
+                        :label="item.label"
31
+                        :value="item.value">
32
+                    </el-option>
33
+                  </el-select>
24
                     <el-date-picker size="small" v-model="start_time" prefix-icon="el-icon-date"
34
                     <el-date-picker size="small" v-model="start_time" prefix-icon="el-icon-date"
25
                                     @change="handleStartTimeChange" :editable="false" :clearable="false"
35
                                     @change="handleStartTimeChange" :editable="false" :clearable="false"
26
                                     style="width: 196px;margin-right:10px;" type="date" placeholder="选择开始日期"
36
                                     style="width: 196px;margin-right:10px;" type="date" placeholder="选择开始日期"
103
 <!--                            退费-->
113
 <!--                            退费-->
104
 <!--                        </el-button>-->
114
 <!--                        </el-button>-->
105
                         <el-button size="mini" type="primary" @click="uploadInfo(scope.row)"
115
                         <el-button size="mini" type="primary" @click="uploadInfo(scope.row)"
106
-                                   v-if="scope.row.order_status == 2 && scope.row.result.id == 0">
116
+                                   v-if="scope.row.order_status == 2 && scope.row.result.id == 0 && p_type == 1">
107
                             上传结算清单
117
                             上传结算清单
108
                         </el-button>
118
                         </el-button>
119
+                        <el-button size="mini" type="primary" @click="uploadOtherInfo(scope.row)"
120
+                                   v-if="scope.row.order_status == 2 && scope.row.result.id == 0 && p_type == 2">
121
+                          上传结算清单
122
+                        </el-button>
109
                         <el-button size="mini" type="primary" @click="invoicePrint(scope.row)">打印发票</el-button>
123
                         <el-button size="mini" type="primary" @click="invoicePrint(scope.row)">打印发票</el-button>
110
 
124
 
111
 <!--                        <el-button size="mini" type="primary" @click="refundOne(scope.row)">-->
125
 <!--                        <el-button size="mini" type="primary" @click="refundOne(scope.row)">-->
179
                 width="1200px"
193
                 width="1200px"
180
                 title="打印"
194
                 title="打印"
181
                 :visible.sync="invoiceVisible">
195
                 :visible.sync="invoiceVisible">
182
-            <invoice-print ref="print" :invoiceParams='invoiceParams'></invoice-print>
196
+            <invosuice-print ref="print" :invoiceParams='invoiceParams'></invosuice-print>
183
         </el-dialog>
197
         </el-dialog>
184
         <!-- <el-dialog
198
         <!-- <el-dialog
185
                 class="centerDialog"
199
                 class="centerDialog"
244
         invoiceParams: {},
258
         invoiceParams: {},
245
         settlementVisible: false,
259
         settlementVisible: false,
246
         sort_type:1,
260
         sort_type:1,
261
+        p_type:1,
247
         sort_types: [
262
         sort_types: [
248
           { value: 1, label: '处方时间' },
263
           { value: 1, label: '处方时间' },
249
           { value: 2, label: '结算时间' }
264
           { value: 2, label: '结算时间' }
250
         ],
265
         ],
266
+        p_types:[
267
+          { value: 1, label: '住院' },
268
+          { value: 2, label: '门诊' }
269
+        ],
251
 
270
 
252
       }
271
       }
253
     },
272
     },
254
     methods: {
273
     methods: {
274
+      uploadOtherInfo(row) {
275
+        var that = this
276
+        axios.get('http://127.0.0.1:9532/api/settlelist/get', {
277
+          params: {
278
+            order_id: row.id,
279
+            admin_user_id: this.$store.getters.xt_user.user.id
280
+          }
281
+        }).then(function(response) {
282
+          if (response.data.state == 0) {
283
+            that.$message.error(response.data.msg)
284
+            return false
285
+          } else {
286
+
287
+            if (response.data.data.failed_code == -10) {
288
+              // that.$message.error(response.data.data.msg)
289
+              that.$confirm(response.data.data.msg, '医保错误信息', {
290
+                confirmButtonText: '确 定',
291
+                type: 'warning'
292
+              }).then(() => {
293
+
294
+              }).catch(() => {
295
+              })
296
+
297
+            } else {
298
+              that.$message.success('上传成功')
299
+              row.result.id = response.data.data.result.id
300
+            }
301
+
302
+          }
303
+        }).catch(function(error) {
304
+        })
305
+      },
306
+      changePType(){
307
+        this.page = 1
308
+        this.keywords = ''
309
+        this.getHisOrderList()
310
+      },
255
       changeSortType(){
311
       changeSortType(){
256
         this.page = 1
312
         this.page = 1
257
         this.keywords = ''
313
         this.keywords = ''
595
         let params = {
651
         let params = {
596
           start_time: this.start_time,
652
           start_time: this.start_time,
597
           end_time: this.end_time,
653
           end_time: this.end_time,
598
-          p_type: 1
654
+          p_type: this.p_type
599
         }
655
         }
600
         getExportConsumeDetailList(params).then(response => {
656
         getExportConsumeDetailList(params).then(response => {
601
           if (response.data.state == 0) {
657
           if (response.data.state == 0) {
758
           start_time: this.start_time,
814
           start_time: this.start_time,
759
           end_time: this.end_time,
815
           end_time: this.end_time,
760
           type: this.admin_user_id,
816
           type: this.admin_user_id,
761
-          p_type: 1,
817
+          p_type: this.p_type,
762
           sort_type: this.sort_type
818
           sort_type: this.sort_type
763
 
819
 
764
         }
820
         }

+ 1 - 1
src/xt_pages/outpatientCharges/components/chargeDialog.vue View File

21
       </el-form-item>
21
       </el-form-item>
22
 
22
 
23
       <el-form-item label="个账支出:" prop="age" :validate-event="is_Name" style="width:33%;">
23
       <el-form-item label="个账支出:" prop="age" :validate-event="is_Name" style="width:33%;">
24
-        <el-input type="number" v-model="form.acc_pay" :disabled="true"></el-input>
24
+        <el-input type="number" v-model="form.acct_pay" :disabled="true"></el-input>
25
       </el-form-item>
25
       </el-form-item>
26
 
26
 
27
 
27
 

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

13
     </template>
13
     </template>
14
     <div class="app-container" style="padding-top:40px;">
14
     <div class="app-container" style="padding-top:40px;">
15
         <div class='dialysisPage'>
15
         <div class='dialysisPage'>
16
-          <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188" >
16
+          <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 0" >
17
             <printOne v-if="org_id != 10088" :paramsObj="invoiceParams"></printOne>
17
             <printOne v-if="org_id != 10088" :paramsObj="invoiceParams"></printOne>
18
             <printThree v-if="org_id == 10088" :paramsObj="invoiceParams"></printThree>
18
             <printThree v-if="org_id == 10088" :paramsObj="invoiceParams"></printThree>
19
           </div>
19
           </div>
20
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
20
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
21
           <printFour v-if="org_id == 10215 || org_id == 4" :paramsObj="invoiceParams"></printFour>
21
           <printFour v-if="org_id == 10215 || org_id == 4" :paramsObj="invoiceParams"></printFour>
22
-          <printFive v-if="org_id == 10188" :paramsObj="invoiceParams"></printFive>
22
+          <printFive v-if="org_id == 10188 || org_id == 0" :paramsObj="invoiceParams"></printFive>
23
         </div>
23
         </div>
24
     </div>
24
     </div>
25
   </div>
25
   </div>

+ 21 - 14
src/xt_pages/outpatientCharges/invoiceTemplate/printFive.vue View File

44
             <div :style="{position: 'absolute',top:(315 + (index * 400))  + 'px',left:460+ 'px'}">{{ list.medfee_sumamt }}</div>
44
             <div :style="{position: 'absolute',top:(315 + (index * 400))  + 'px',left:460+ 'px'}">{{ list.medfee_sumamt }}</div>
45
             <div v-if="index == pageArr.length - 1" :style="{position: 'absolute',top:(330 + (index * 400))  + 'px',left:110+ 'px',width:100 + '%'}">
45
             <div v-if="index == pageArr.length - 1" :style="{position: 'absolute',top:(330 + (index * 400))  + 'px',left:110+ 'px',width:100 + '%'}">
46
                 <div style="display:flex;">
46
                 <div style="display:flex;">
47
-                    <div style="width:140px">医疗总费用:{{ list.medfee_sumamt }}</div>
48
-                    <div style="width:140px">现金支出:{{ list.psn_cash_money }}</div>
49
-                    <div style="width:140px">上次账户:0</div>
50
-                    <div style="width:140px">本次账户:0</div>
51
-                </div>
52
-                <div style="display:flex;">
53
-                    <div style="width:140px">账户余额:{{ list.order.balc }}</div>
54
-                    <div style="width:140px">统筹支出:{{ list.order.hifp_pay }}</div>
55
-                    <div style="width:140px">大病支出:0</div>
56
-                    <div style="width:140px">民政支出:0</div>
47
+                  <div style="width:150px">医疗总费用:{{ list.order.medfee_sumamt }}</div>
48
+                  <div style="width:150px">基金支付总额:{{ list.order.fund_pay_sumamt }}</div>
49
+                  <div style="width:150px">统筹支出:{{ list.order.hifp_pay }}</div>
50
+                  <div style="width:150px">大病支出:{{list.order.hifmi_pay}}</div>
51
+
57
                 </div>
52
                 </div>
58
                 <div style="display:flex;">
53
                 <div style="display:flex;">
59
-                    <div style="width:140px">大病补充保险支出:0</div>
60
-                    <div style="width:280px">企业补充医疗保险基金支出:{{ list.order.hifes_pay }}</div>
61
-                    <div style="width:140px">其他支出:{{ list.order.oth_pay }}</div>
54
+                  <div style="width:150px">个人账户支付:{{ list.order.acct_pay }}</div>
55
+                  <div style="width:150px">现金支出:{{ list.order.psn_cash_pay }}</div>
56
+                  <div style="width:150px">本次账户:0</div>
57
+                  <div style="width:150px">上次账户:0</div>
62
                 </div>
58
                 </div>
59
+              <div style="display:flex;">
60
+                <div style="width:150px">账户余额:{{ list.order.balc }}</div>
61
+                <div style="width:150px">其他支出:{{ list.order.oth_pay }}</div>
62
+                <div style="width:150px">大病补充保险支出:0</div>
63
+                <div style="width:150px">民政支出:0</div>
64
+              </div>
65
+              <div style="display:flex;">
66
+                <div style="width:220px">医疗救助基金支出:{{ list.order.maf_pay }}</div>
67
+                <div style="width:280px">企业补充医疗保险基金支出:{{ list.order.hifes_pay }}</div>
68
+              </div>
69
+
63
             </div>
70
             </div>
64
             <div>
71
             <div>
65
                 <div :style="{position: 'absolute',top:(390 + (index * 400))  + 'px',left:100+ 'px'}">{{ org_name }}</div>
72
                 <div :style="{position: 'absolute',top:(390 + (index * 400))  + 'px',left:100+ 'px'}">{{ org_name }}</div>
157
             }
164
             }
158
 
165
 
159
             var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
166
             var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
160
-            n += "00";  
167
+            n += "00";
161
 
168
 
162
             var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
169
             var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
163
 
170
 

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

126
                           >
126
                           >
127
 
127
 
128
                             <el-button
128
                             <el-button
129
-                                v-if="radio == 1"
129
+                           su     v-if="radio == 1"
130
                                 size="small"
130
                                 size="small"
131
                                 @click="openDialog(item)"
131
                                 @click="openDialog(item)"
132
                                 type="primary"
132
                                 type="primary"

+ 1 - 1
src/xt_pages/outpatientDoctorStation/batch_print_checkTemplate/index.vue View File

13
       </template> -->
13
       </template> -->
14
 
14
 
15
       <div class='dialysisPage' style="padding-top:40px;">
15
       <div class='dialysisPage' style="padding-top:40px;">
16
-        <prisntOne :printData="printData"></prisntOne>
16
+        <printOne :printData="printData"></printOne>
17
       </div>
17
       </div>
18
   </div>
18
   </div>
19
 </template>
19
 </template>

+ 4 - 6
src/xt_pages/outpatientDoctorStation/batch_print_checkTemplate/printOne.vue View File

2
     <div>
2
     <div>
3
         <div id='prescription-print3' class="prescription-print">
3
         <div id='prescription-print3' class="prescription-print">
4
           <div v-for="(i,index) in printData">
4
           <div v-for="(i,index) in printData">
5
-            <img style="width:100%;height:80px" v-if="org_id == 10138" src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
6
-             <img style="width:100%;height:80px" v-if="org_id == 10278" src="https://kuyi.shengws.com/bailinbeier.png" alt="">
5
+<!--            <img style="width:100%;height:80px" v-if="org_id == 10138" src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">-->
6
+<!--/*             <img style="width:100%;height:80px" v-if="org_id == 10278" src="https://kuyi.shengws.com/bailinbeier.png" alt="">*/-->
7
             <div class="printTitle">检验申请单</div>
7
             <div class="printTitle">检验申请单</div>
8
 
8
 
9
             <div style="border:1px solid #000;">
9
             <div style="border:1px solid #000;">
49
                     <div>医生签字:{{ i.info.doctor ? i.info.doctor : '' }}</div>
49
                     <div>医生签字:{{ i.info.doctor ? i.info.doctor : '' }}</div>
50
                 </div>
50
                 </div>
51
             </div>
51
             </div>
52
-            <img style="width:100%;" v-if="org_id == 10138" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
53
-            <img style="width:100%;" v-if="org_id == 10278" src="https://kuyi.shengws.com/bailinbeier.png" alt="">
52
+<!--            <img style="width:100%;" v-if="org_id == 10138" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">-->
53
+<!--            <img style="width:100%;" v-if="org_id == 10278" src="https://kuyi.shengws.com/bailinbeier.png" alt="">-->
54
         </div>
54
         </div>
55
       </div>
55
       </div>
56
     </div>
56
     </div>
140
         })
140
         })
141
 
141
 
142
         this.total = total.toFixed(2)
142
         this.total = total.toFixed(2)
143
-        this.pre_time = prescriptions[0].pre_time
144
-        this.doctor = prescriptions[0].doctor
145
         this.projectPrint = data
143
         this.projectPrint = data
146
         return data
144
         return data
147
      },
145
      },

+ 2 - 2
src/xt_pages/outpatientDoctorStation/pastInquiries.vue View File

14
                         format="yyyy-MM-dd"
14
                         format="yyyy-MM-dd"
15
                         value-format="yyyy-MM-dd"
15
                         value-format="yyyy-MM-dd"
16
                         placeholder="选择日期时间" align="right"></el-date-picker>
16
                         placeholder="选择日期时间" align="right"></el-date-picker>
17
-        <!-- <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(1)">处方筏批量打印</el-button>
17
+       <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(1)">处方筏批量打印</el-button>
18
         <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(2)">治疗单批量打印</el-button>
18
         <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(2)">治疗单批量打印</el-button>
19
-        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(3)">检验单批量打印</el-button> -->
19
+        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(3)">检验单批量打印</el-button>
20
       </div>
20
       </div>
21
       <el-table :data="tableData" border ref="table" style="width: 100%;" :row-style="{ color: '#303133' }" @selection-change="handleSelectionChange"
21
       <el-table :data="tableData" border ref="table" style="width: 100%;" :row-style="{ color: '#303133' }" @selection-change="handleSelectionChange"
22
                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
22
                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>