Browse Source

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

csx 2 years ago
parent
commit
e99ebec5f5

+ 22 - 1
src/xt_pages/hospitalStation/summary.vue View File

@@ -31,6 +31,16 @@
31 31
                         :value="item.value">
32 32
                     </el-option>
33 33
                   </el-select>
34
+
35
+                  <el-select size="small" v-model="charge_type" placeholder="请选择"
36
+                             style="width:150px;margin-left:10px;" @change="changeChargeType">
37
+                    <el-option
38
+                        v-for="(item,index) in charge_types"
39
+                        :key="index"
40
+                        :label="item.label"
41
+                        :value="item.value">
42
+                    </el-option>
43
+                  </el-select>
34 44
                     <el-date-picker size="small" v-model="start_time" prefix-icon="el-icon-date"
35 45
                                     @change="handleStartTimeChange" :editable="false" :clearable="false"
36 46
                                     style="width: 196px;margin-right:10px;" type="date" placeholder="选择开始日期"
@@ -277,6 +287,7 @@
277 287
         settlementVisible: false,
278 288
         sort_type:1,
279 289
         p_type:1,
290
+        charge_type:0,
280 291
         sort_types: [
281 292
           { value: 1, label: '处方时间' },
282 293
           { value: 2, label: '结算时间' }
@@ -285,6 +296,10 @@
285 296
           { value: 0, label: '全部' },
286 297
           { value: 1, label: '住院' },
287 298
           { value: 2, label: '门诊' }
299
+        ],charge_types:[
300
+          { value: 0, label: '全部' },
301
+          { value: 1, label: '医保' },
302
+          { value: 2, label: '自费' }
288 303
         ],
289 304
         shouJuVisible:false,
290 305
 
@@ -322,6 +337,11 @@
322 337
           }
323 338
         }).catch(function(error) {
324 339
         })
340
+      },changeChargeType(){
341
+        this.page = 1
342
+        this.keywords = ''
343
+        this.getHisOrderList()
344
+
325 345
       },
326 346
       changePType(){
327 347
         this.page = 1
@@ -839,7 +859,8 @@
839 859
           end_time: this.end_time,
840 860
           type: this.admin_user_id,
841 861
           p_type: this.p_type,
842
-          sort_type: this.sort_type
862
+          sort_type: this.sort_type,
863
+          charge_type: this.charge_type
843 864
 
844 865
         }
845 866
         getHisOrderList(params).then(response => {

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

@@ -53,7 +53,7 @@
53 53
                     highlight-current-row ref="tab"
54 54
                     @current-change="handleCurrentChange">
55 55
             <el-table-column align="center" prop="name" label="姓名" wdith='89'>
56
-              <template slot-scope="scope">{{ scope.row.name }}</template>
56
+              <template slot-scope="scope">{{ scope.$index + 1 }}.{{ scope.row.name }}</template>
57 57
             </el-table-column>
58 58
             <el-table-column align="center" prop="name" label="就诊号" width="110">
59 59
               <template slot-scope="scope">{{ scope.row.number ? scope.row.number : '' }}
@@ -83,7 +83,7 @@
83 83
 
84 84
         <div class="mainCell fixedCell" style="margin-bottom:10px;">
85 85
 
86
-          <div v-if="this.$store.getters.xt_user.org_id == 10340">
86
+          <div v-if="org_id == 10340">
87 87
                         <el-button size="small"
88 88
                                    @click="openZb(1)"
89 89
                                    type="primary">登记
@@ -102,7 +102,7 @@
102 102
           </div>
103 103
 
104 104
 
105
-          <div  v-if="this.$store.getters.xt_user.org_id != 10340">
105
+          <div  v-if="org_id != 10340">
106 106
 <!--            <el-button size="small"-->
107 107
 <!--                       @click="openZb(1)"-->
108 108
 <!--                       type="primary">登记-->
@@ -185,14 +185,14 @@
185 185
                             <div style="margin-bottom:10px;float: right">
186 186
                               <div>
187 187
                                 <el-button
188
-                                    v-if="(hisPatientInfo.id_card_type != 3 && hisPatientInfo.balance_accounts_type != 2 && hisPatientInfo.id > 0 &&  items.prescriptions[0].order.id == 0 && this.$store.getters.xt_user.org_id != 10340)"
188
+                                    v-if="(hisPatientInfo.id_card_type != 3 && hisPatientInfo.balance_accounts_type != 2 && hisPatientInfo.id > 0 &&  items.prescriptions[0].order.id == 0 && org_id != 10340)"
189 189
                                     size="small"
190 190
                                     @click="open(8,items.med_type,items.prescriptions[0].order,items.prescriptions)"
191 191
                                     type="primary"
192 192
                                 >预结算
193 193
                                 </el-button>
194 194
                                 <el-button
195
-                                    v-if="items.curPrescriptions.order.order_status == 1 && hisPatientInfo.balance_accounts_type != 2 && this.$store.getters.xt_user.org_id != 10340"
195
+                                    v-if="items.curPrescriptions.order.order_status == 1 && hisPatientInfo.balance_accounts_type != 2 && org_id != 10340"
196 196
                                     size="small"
197 197
                                     @click="open(11,items.med_type,items.prescriptions[0].order,items.prescriptions)"
198 198
                                     type="primary"
@@ -203,7 +203,7 @@
203 203
 
204 204
 
205 205
                                 <el-button v-loading="loadingtwo"
206
-                                           v-if="((hisPatientInfo.id > 0 && items.curPrescriptions.order.id == 0) || items.curPrescriptions.order.order_status == 1 ||  items.curPrescriptions.order.order_status == 3)&&this.$store.getters.xt_user.org_id != 10340"
206
+                                           v-if="((hisPatientInfo.id > 0 && items.curPrescriptions.order.id == 0) || items.curPrescriptions.order.order_status == 1 ||  items.curPrescriptions.order.order_status == 3)&& org_id != 10340"
207 207
                                            size="small"
208 208
                                            @click="open(4,items.med_type,items.curPrescriptions.order,items.prescriptions)"
209 209
                                            type="primary">收费