浏览代码

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

csx 3 年前
父节点
当前提交
e99ebec5f5

+ 22 - 1
src/xt_pages/hospitalStation/summary.vue 查看文件

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

+ 6 - 6
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

53
                     highlight-current-row ref="tab"
53
                     highlight-current-row ref="tab"
54
                     @current-change="handleCurrentChange">
54
                     @current-change="handleCurrentChange">
55
             <el-table-column align="center" prop="name" label="姓名" wdith='89'>
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
             </el-table-column>
57
             </el-table-column>
58
             <el-table-column align="center" prop="name" label="就诊号" width="110">
58
             <el-table-column align="center" prop="name" label="就诊号" width="110">
59
               <template slot-scope="scope">{{ scope.row.number ? scope.row.number : '' }}
59
               <template slot-scope="scope">{{ scope.row.number ? scope.row.number : '' }}
83
 
83
 
84
         <div class="mainCell fixedCell" style="margin-bottom:10px;">
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
                         <el-button size="small"
87
                         <el-button size="small"
88
                                    @click="openZb(1)"
88
                                    @click="openZb(1)"
89
                                    type="primary">登记
89
                                    type="primary">登记
102
           </div>
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
 <!--            <el-button size="small"-->
106
 <!--            <el-button size="small"-->
107
 <!--                       @click="openZb(1)"-->
107
 <!--                       @click="openZb(1)"-->
108
 <!--                       type="primary">登记-->
108
 <!--                       type="primary">登记-->
185
                             <div style="margin-bottom:10px;float: right">
185
                             <div style="margin-bottom:10px;float: right">
186
                               <div>
186
                               <div>
187
                                 <el-button
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
                                     size="small"
189
                                     size="small"
190
                                     @click="open(8,items.med_type,items.prescriptions[0].order,items.prescriptions)"
190
                                     @click="open(8,items.med_type,items.prescriptions[0].order,items.prescriptions)"
191
                                     type="primary"
191
                                     type="primary"
192
                                 >预结算
192
                                 >预结算
193
                                 </el-button>
193
                                 </el-button>
194
                                 <el-button
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
                                     size="small"
196
                                     size="small"
197
                                     @click="open(11,items.med_type,items.prescriptions[0].order,items.prescriptions)"
197
                                     @click="open(11,items.med_type,items.prescriptions[0].order,items.prescriptions)"
198
                                     type="primary"
198
                                     type="primary"
203
 
203
 
204
 
204
 
205
                                 <el-button v-loading="loadingtwo"
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
                                            size="small"
207
                                            size="small"
208
                                            @click="open(4,items.med_type,items.curPrescriptions.order,items.prescriptions)"
208
                                            @click="open(4,items.med_type,items.curPrescriptions.order,items.prescriptions)"
209
                                            type="primary">收费
209
                                            type="primary">收费