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
7db06f6a4a

+ 24 - 17
src/xt_pages/hospitalStation/chargeDetailManagement.vue View File

6
     <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
6
     <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
7
       <div class="mainLeft">
7
       <div class="mainLeft">
8
 
8
 
9
-        <!--        <el-date-picker-->
10
-        <!--            v-model="record_date"-->
11
-        <!--            prefix-icon="el-icon-date"-->
12
-        <!--            @change="changeTimeTwo"-->
13
-        <!--            :editable="false"-->
14
-        <!--            style="width: 100%;"-->
15
-        <!--            type="date"-->
16
-        <!--            :picker-options="pickerOptions"-->
17
-        <!--            placeholder="选择开始时间"-->
18
-        <!--            align="right"-->
19
-        <!--            format="yyyy-MM-dd"-->
20
-        <!--            value-format="yyyy-MM-dd">-->
21
-        <!--        </el-date-picker>-->
9
+                <el-date-picker
10
+                    v-model="record_date"
11
+                    prefix-icon="el-icon-date"
12
+                    @change="changeTimeTwo"
13
+                    :editable="false"
14
+                    style="width: 100%;"
15
+                    type="date"
16
+                    :picker-options="pickerOptions"
17
+                    placeholder="选择开始时间"
18
+                    align="right"
19
+                    format="yyyy-MM-dd"
20
+                    value-format="yyyy-MM-dd">
21
+                </el-date-picker>
22
 
22
 
23
 
23
 
24
         <div class="mainCell">
24
         <div class="mainCell">
142
                   </div>
142
                   </div>
143
                   <div class="costBox">
143
                   <div class="costBox">
144
                     <span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>
144
                     <span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>
145
-<!--                    <span v-if="this.curPrescriptions.order_status  == 1">待结算</span>-->
145
+                    <span>处方总价:<span style="color:red;">{{ all_total }}元</span></span>
146
+
147
+                    <!--                    <span v-if="this.curPrescriptions.order_status  == 1">待结算</span>-->
146
 <!--                    <span v-if="this.curPrescriptions.order_status  == 2">已结算</span>-->
148
 <!--                    <span v-if="this.curPrescriptions.order_status  == 2">已结算</span>-->
147
 <!--                    <span v-if="this.curPrescriptions.order_status  == 3">已退费</span>-->
149
 <!--                    <span v-if="this.curPrescriptions.order_status  == 3">已退费</span>-->
148
                   </div>
150
                   </div>
250
                   </div>
252
                   </div>
251
                   <div class="costBox">
253
                   <div class="costBox">
252
                     <span>当前处方总费用:<span style="color:red;">{{ month_total }}元</span></span>
254
                     <span>当前处方总费用:<span style="color:red;">{{ month_total }}元</span></span>
255
+                    <span>处方总价:<span style="color:red;">{{ all_month_total }}元</span></span>
256
+
253
                     <!--<span>{{ state }}</span>-->
257
                     <!--<span>{{ state }}</span>-->
254
                   </div>
258
                   </div>
255
                 </div>
259
                 </div>
395
       settle_prescriptions: [],
399
       settle_prescriptions: [],
396
 
400
 
397
       settle_total: 0,
401
       settle_total: 0,
398
-
402
+      all_total:0,
403
+      all_month_total:0,
399
       record_date: '',
404
       record_date: '',
400
       tableData: [],
405
       tableData: [],
401
       editableTabsValue: '处方1',
406
       editableTabsValue: '处方1',
645
           }
650
           }
646
         }
651
         }
647
       }
652
       }
648
-
649
       return total.toFixed(2)
653
       return total.toFixed(2)
650
-
651
     },
654
     },
652
     getMonthTotalOne() {
655
     getMonthTotalOne() {
653
       var total = 0
656
       var total = 0
1234
           this.total = 0
1237
           this.total = 0
1235
           this.total = this.getTotalOne()
1238
           this.total = this.getTotalOne()
1236
           this.month_total = this.getMonthTotalOne()
1239
           this.month_total = this.getMonthTotalOne()
1240
+          this.all_total = this.getTotal()
1241
+          this.all_month_total = this.getTotalTwo()
1242
+
1243
+
1237
         }
1244
         }
1238
       })
1245
       })
1239
     },
1246
     },

+ 3 - 0
src/xt_pages/hospitalStation/components/registerDialog9504.vue View File

233
         }, IDCardTypes: [{
233
         }, IDCardTypes: [{
234
           value: 1,
234
           value: 1,
235
           label: '社保卡'
235
           label: '社保卡'
236
+        },{
237
+          value: 2,
238
+          label: '身份证'
236
         }],
239
         }],
237
         settlement: [
240
         settlement: [
238
           {value: 1, label: '医保'},
241
           {value: 1, label: '医保'},

+ 3 - 0
src/xt_pages/outpatientCharges/components/registerDialog9504.vue View File

238
         }, IDCardTypes: [{
238
         }, IDCardTypes: [{
239
           value: 1,
239
           value: 1,
240
           label: '社保卡'
240
           label: '社保卡'
241
+        },{
242
+          value: 2,
243
+          label: '身份证'
241
         }],
244
         }],
242
         settlement: [
245
         settlement: [
243
           {value: 1, label: '医保'},
246
           {value: 1, label: '医保'},

+ 8 - 11
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

18
             :editable="false"
18
             :editable="false"
19
             style="width: 100%;"
19
             style="width: 100%;"
20
             type="date"
20
             type="date"
21
+            :picker-options="pickerOptions"
21
             placeholder="选择开始时间"
22
             placeholder="选择开始时间"
22
             align="right"
23
             align="right"
23
             format="yyyy-MM-dd"
24
             format="yyyy-MM-dd"
260
                             value-format="yyyy-MM-dd HH:mm:ss">
261
                             value-format="yyyy-MM-dd HH:mm:ss">
261
                         </el-date-picker>
262
                         </el-date-picker>
262
                       </el-form-item>
263
                       </el-form-item>
264
+
265
+
263
                     </el-form>
266
                     </el-form>
267
+
264
                   </div>
268
                   </div>
269
+
265
                   <p class="centerRightTitle">人员信息</p>
270
                   <p class="centerRightTitle">人员信息</p>
266
                   <div style="display:flex;justify-content: space-between;line-height:30px;">
271
                   <div style="display:flex;justify-content: space-between;line-height:30px;">
267
                     <span style="font-size:14px;">人员编码:{{ patientInfo.dialysis_no }}</span>
272
                     <span style="font-size:14px;">人员编码:{{ patientInfo.dialysis_no }}</span>
272
                     <li style="width:50%;">性别:{{ patientInfo.gender == 1 ? '男' : '女' }}</li>
277
                     <li style="width:50%;">性别:{{ patientInfo.gender == 1 ? '男' : '女' }}</li>
273
                     <li style="width:50%;">年龄:{{ patientInfo.age }}</li>
278
                     <li style="width:50%;">年龄:{{ patientInfo.age }}</li>
274
                     <li style="width:50%;">电话:{{ patientInfo.phone }}</li>
279
                     <li style="width:50%;">电话:{{ patientInfo.phone }}</li>
280
+
281
+
275
                   </ul>
282
                   </ul>
276
                   <p class="centerRightTitle" style="padding-top: 10px;">诊断信息</p>
283
                   <p class="centerRightTitle" style="padding-top: 10px;">诊断信息</p>
277
                   <div style="display:flex;justify-content: space-between;line-height:30px;">
284
                   <div style="display:flex;justify-content: space-between;line-height:30px;">
281
                     <li style="width:50%;">医生:{{ info.doctor }}</li>
288
                     <li style="width:50%;">医生:{{ info.doctor }}</li>
282
                     <li style="width:50%;">科室:{{ info.departments }}</li>
289
                     <li style="width:50%;">科室:{{ info.departments }}</li>
283
                     <!--<li style="width:100%;">总费用:{{ getTotal() }}</li>-->
290
                     <!--<li style="width:100%;">总费用:{{ getTotal() }}</li>-->
291
+
284
                     <li style="width:100%;">判断结果:{{ info.diagnosis }}</li>
292
                     <li style="width:100%;">判断结果:{{ info.diagnosis }}</li>
285
                     <li style="width:100%;">是否有传染病:</li>
293
                     <li style="width:100%;">是否有传染病:</li>
286
                     <li style="width:100%;">血压:</li>
294
                     <li style="width:100%;">血压:</li>
686
       register: [
694
       register: [
687
         { value: 11, label: '普通门诊' },
695
         { value: 11, label: '普通门诊' },
688
         { value: 14, label: '门诊特殊病' },
696
         { value: 14, label: '门诊特殊病' },
689
-        { value: '9922', label: '家庭通道' },
690
         { value: '1111', label: '精一' },
697
         { value: '1111', label: '精一' },
691
-        { value: '1112', label: '精二' },
692
         { value: '1112', label: '精二' }
698
         { value: '1112', label: '精二' }
693
-
694
       ],
699
       ],
695
 
700
 
696
       registerThree: [
701
       registerThree: [
697
         { value: 11, label: '普通门诊' },
702
         { value: 11, label: '普通门诊' },
698
         { value: 14, label: '门诊特殊病' },
703
         { value: 14, label: '门诊特殊病' },
699
-        { value: '9922', label: '家庭通道' },
700
         { value: '1111', label: '精一' },
704
         { value: '1111', label: '精一' },
701
         { value: '1112', label: '精二' },
705
         { value: '1112', label: '精二' },
702
         { value: '9933', label: '门诊特殊病(9933)' },
706
         { value: '9933', label: '门诊特殊病(9933)' },
707
       register_two: [
711
       register_two: [
708
         { value: '11', label: '普通门诊' },
712
         { value: '11', label: '普通门诊' },
709
         { value: '14', label: '门诊特殊病' },
713
         { value: '14', label: '门诊特殊病' },
710
-        { value: '9922', label: '家庭通道' },
711
         { value: '9933', label: '门诊特殊病(9933)' },
714
         { value: '9933', label: '门诊特殊病(9933)' },
712
         { value: '990602', label: '门诊特殊病(990602)' },
715
         { value: '990602', label: '门诊特殊病(990602)' },
713
         { value: '1402', label: '门诊特殊病(1402)' }
716
         { value: '1402', label: '门诊特殊病(1402)' }
3439
           break
3442
           break
3440
         case 1112:
3443
         case 1112:
3441
           return '精二' + '处方' + index
3444
           return '精二' + '处方' + index
3442
-          break
3443
         case 9933:
3445
         case 9933:
3444
           return '门诊特殊病(9933)' + '处方' + index
3446
           return '门诊特殊病(9933)' + '处方' + index
3445
-          break
3446
         case 990602:
3447
         case 990602:
3447
           return '门诊特殊病(990602)' + '处方' + index
3448
           return '门诊特殊病(990602)' + '处方' + index
3448
-          break
3449
         case 1402:
3449
         case 1402:
3450
           return '门诊特殊病(1402)' + '处方' + index
3450
           return '门诊特殊病(1402)' + '处方' + index
3451
           break
3451
           break
3452
-        case 9922:
3453
-          return '家庭通道' + '处方' + index
3454
-          break
3455
       }
3452
       }
3456
     }, unique_four(array) {
3453
     }, unique_four(array) {
3457
       // res用来存储结果
3454
       // res用来存储结果