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,19 +6,19 @@
6 6
     <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
7 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 24
         <div class="mainCell">
@@ -142,7 +142,9 @@
142 142
                   </div>
143 143
                   <div class="costBox">
144 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 148
 <!--                    <span v-if="this.curPrescriptions.order_status  == 2">已结算</span>-->
147 149
 <!--                    <span v-if="this.curPrescriptions.order_status  == 3">已退费</span>-->
148 150
                   </div>
@@ -250,6 +252,8 @@
250 252
                   </div>
251 253
                   <div class="costBox">
252 254
                     <span>当前处方总费用:<span style="color:red;">{{ month_total }}元</span></span>
255
+                    <span>处方总价:<span style="color:red;">{{ all_month_total }}元</span></span>
256
+
253 257
                     <!--<span>{{ state }}</span>-->
254 258
                   </div>
255 259
                 </div>
@@ -395,7 +399,8 @@ export default {
395 399
       settle_prescriptions: [],
396 400
 
397 401
       settle_total: 0,
398
-
402
+      all_total:0,
403
+      all_month_total:0,
399 404
       record_date: '',
400 405
       tableData: [],
401 406
       editableTabsValue: '处方1',
@@ -645,9 +650,7 @@ export default {
645 650
           }
646 651
         }
647 652
       }
648
-
649 653
       return total.toFixed(2)
650
-
651 654
     },
652 655
     getMonthTotalOne() {
653 656
       var total = 0
@@ -1234,6 +1237,10 @@ export default {
1234 1237
           this.total = 0
1235 1238
           this.total = this.getTotalOne()
1236 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,6 +233,9 @@
233 233
         }, IDCardTypes: [{
234 234
           value: 1,
235 235
           label: '社保卡'
236
+        },{
237
+          value: 2,
238
+          label: '身份证'
236 239
         }],
237 240
         settlement: [
238 241
           {value: 1, label: '医保'},

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

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

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

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