Browse Source

Merge branch '2022-10-17_vue_schedule_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 2 years ago
parent
commit
4059b54892

+ 10 - 0
src/api/his/his.js View File

@@ -715,3 +715,13 @@ export function getAllOrders(params) {
715 715
     params: params
716 716
   })
717 717
 }
718
+
719
+
720
+
721
+export function exportOrderInfo() {
722
+  return request({
723
+    url: "/handleorderinfo",
724
+    method: "get",
725
+  });
726
+}
727
+

+ 8 - 0
src/api/his/his_export.js View File

@@ -16,3 +16,11 @@ export function handleData10318(params) {
16 16
   })
17 17
 }
18 18
 
19
+export function handleData10138Two(params) {
20
+  return request({
21
+    url: "/hande10138",
22
+    method: "get",
23
+    params:params,
24
+  });
25
+}
26
+

+ 4 - 0
src/api/his/his_hospital.js View File

@@ -1,4 +1,5 @@
1 1
 import request from "@/utils/request";
2
+import {getAllOrders} from "./his";
2 3
 
3 4
 
4 5
 
@@ -33,3 +34,6 @@ export function exportData(params) {
33 34
 
34 35
 
35 36
 
37
+
38
+
39
+

+ 19 - 0
src/api/schedule.js View File

@@ -279,6 +279,25 @@ export function CancelScheduleTwo(id) {
279 279
   })
280 280
 }
281 281
 
282
+export function getScheduleConfig() {
283
+  return request({
284
+    url: '/api/schedule/config/get',
285
+    method: 'Get'
286
+  })
287
+}
288
+
289
+export function  postScheduleConfig(params) {
290
+  return request({
291
+    url: '/api/schedule/config/commit',
292
+    method: 'Post',
293
+    params: params
294
+
295
+  })
296
+}
297
+
298
+
299
+
300
+
282 301
 
283 302
 
284 303
 

+ 318 - 0
src/xt_pages/outpatientCharges/listTemplate/listPrintThree.vue View File

@@ -0,0 +1,318 @@
1
+<template>
2
+  <div id="allList-print" class="allList-print">
3
+    <table
4
+      class="listTable"
5
+      border="0"
6
+      cellspacing="0"
7
+      style="font-size: 14px"
8
+      align="center"
9
+    >
10
+      <THEAD
11
+        style="
12
+          display: table-header-group;
13
+          font-weight: bold;
14
+        "
15
+      >
16
+      <TR>
17
+        <TD colspan="3" align="center" style="font-size: 20px">
18
+          {{ $store.getters.xt_user.org.org_name }}费用清单
19
+        </TD>
20
+      </TR>
21
+      <TR>
22
+        <TD colspan="1">患者姓名:{{ patient.name }}</TD>
23
+        <TD>性别:{{ patient.gender == 1 ? "男" : "女" }}</TD>
24
+<!--        <TD>年龄:{{ // getAge(patient.id_card_no)?getAge(patient.id_card_no)+'岁':''}}</TD>-->
25
+        <TD
26
+        >结算类型:{{
27
+            order.is_medicine_insurance == 1 ? "医保" : "自费"
28
+          }}</TD
29
+        >
30
+      </TR>
31
+      <TR>
32
+        <TD> 住院/门诊号:{{ order.mdtrt_id }} </TD>
33
+        <TD>科室:血透 </TD>
34
+        <TD>就诊流水号:{{ order.mdtrt_id }}</TD>
35
+      </TR>
36
+      <TR>
37
+        <TD> 总费用:{{ order.medfee_sumamt }} </TD>
38
+        <TD>个人支付:{{ order.psn_part_amt }} </TD>
39
+        <TD>基金支付记账:{{ order.fund_pay_sumamt }}</TD>
40
+      </TR>
41
+      <TR>
42
+        <TD>补充医疗支付记账:0.00</TD>
43
+        <TD>救助支付金额:{{ order.maf_pay }}</TD>
44
+        <TD></TD>
45
+      </TR>
46
+      </THEAD>
47
+
48
+      <TBODY style="text-align: center">
49
+      <TR>
50
+        <TD colspan="3">
51
+          <Table class="allListTable" border="1">
52
+            <TR>
53
+              <TD style="width: 5%">序号</TD>
54
+              <TD style="width: 15%">处方日期</TD>
55
+              <TD style="width: 10%">费用编号</TD>
56
+              <TD style="width: 40%">费用名称</TD>
57
+              <TD style="width: 5%">单位</TD>
58
+              <TD style="width: 5%">数量</TD>
59
+              <TD style="width: 10%">单价</TD>
60
+              <TD style="width: 10%">金额</TD>
61
+            </TR>
62
+            <template v-for="(item, index) in list">
63
+              <tr v-if="item.is_total == 0">
64
+                <td style="width: 5%">{{ index + 1 }}</td>
65
+                <td style="width: 15%">{{ item.p_time }}</td>
66
+                <td style="width: 10%">
67
+                  {{ item.feedetl_sn.split("-")[2] }}
68
+                </td>
69
+                <td style="width: 30%; white-space: nowrap; overflow: hidden">
70
+                  {{ item.name }}{{ item.spec }}
71
+                </td>
72
+                <td style="width: 5%">{{ item.unit }}</td>
73
+                <td style="width: 5%; text-align: right">{{ item.count }}</td>
74
+                <td style="width: 10%; text-align: right">
75
+                  {{ item.price }}
76
+                </td>
77
+                <td style="width: 10%; text-align: right">
78
+                  {{ (item.price * item.count).toFixed(2) }}
79
+                </td>
80
+              </tr>
81
+              <tr v-if="item.is_total == 1">
82
+                <td style="width: 5%"></td>
83
+                <td style="width: 15%"></td>
84
+                <td style="width: 10%"></td>
85
+                <td style="width: 30%; white-space: nowrap; overflow: hidden">
86
+                  {{ item.name }}
87
+                </td>
88
+                <td style="width: 5%"></td>
89
+                <td style="width: 5%"></td>
90
+                <td style="width: 10%; text-align: right"></td>
91
+                <td style="width: 10%; text-align: right">
92
+                  {{ item.price }}
93
+                </td>
94
+              </tr>
95
+            </template>
96
+          </Table>
97
+        </TD>
98
+      </TR>
99
+      </TBODY>
100
+    </table>
101
+    <!-- <div class="allListTitle">
102
+
103
+    </div> -->
104
+    <!-- <div class="allListInfo">
105
+      <div style="text-align: left">患者姓名:{{ patient.name }}</div>
106
+      <div style="text-align: left; padding-left: -20px">
107
+        性别:{{ patient.gender == 1 ? "男" : "女" }}
108
+      </div>
109
+      <div style="text-align: left">
110
+        结算类型:{{ order.is_medicine_insurance == 1 ? "医保" : "自费" }}
111
+      </div>
112
+    </div>
113
+
114
+     <div class="allListInfo">
115
+      <div style="text-align: left">住院/门诊号:{{ order.mdtrt_id }}</div>
116
+      <div style="text-align: left">科室:血透</div>
117
+      <div style="text-align: left">就诊流水号:{{ order.mdtrt_id }}</div>
118
+    </div>
119
+
120
+    <div class="allListInfo">
121
+      <div style="text-align: left">总费用:{{ order.medfee_sumamt }}</div>
122
+      <div style="text-align: left">个人支付:{{ order.psn_part_amt }}</div>
123
+      <div style="text-align: left">
124
+        基金支付记账:{{ order.fund_pay_sumamt }}
125
+      </div>
126
+    </div>
127
+
128
+    <div class="allListInfo">
129
+      <div style="text-align: left">补充医疗支付记账:0.00</div>
130
+      <div style="text-align: left">救助支付金额:{{ order.maf_pay }}</div>
131
+      <div></div>
132
+    </div>-->
133
+  </div>
134
+</template>
135
+
136
+<script>
137
+import { uParseTime } from "@/utils/tools";
138
+
139
+export default {
140
+  props: {
141
+    list: {
142
+      type: Array,
143
+      default: function () {
144
+        return [];
145
+      },
146
+    },
147
+    patient: {
148
+      type: Object,
149
+      default: function () {
150
+        return {};
151
+      },
152
+    },
153
+    order: {
154
+      type: Object,
155
+      default: function () {
156
+        return {};
157
+      },
158
+    },
159
+    admin: {
160
+      type: Object,
161
+      default: function () {
162
+        return {};
163
+      },
164
+    },
165
+    hospital: {
166
+      type: Object,
167
+      default: function () {
168
+        return {};
169
+      },
170
+    },
171
+  },
172
+  data() {
173
+    return {
174
+      page: 1,
175
+      pageArr: [],
176
+    };
177
+  },
178
+  methods: {
179
+    getAge(val){
180
+      var thisLen = val.length;
181
+      var birth = "";
182
+      if (thisLen == 15) {
183
+        birth = "19" + val.substr(6, 6);
184
+      } else {
185
+        birth = val.substr(6, 8);
186
+      }
187
+      var birthTwo =
188
+        birth.substr(0, 4) +
189
+        "-" +
190
+        birth.substr(4, 2) +
191
+        "-" +
192
+        birth.substr(6, 2);
193
+      var age = this.jsGetAge(birthTwo, "-");
194
+      return age;
195
+    },
196
+
197
+    getNowTime: function () {
198
+      let dateTime;
199
+      let yy = new Date().getFullYear();
200
+      let mm = new Date().getMonth() + 1;
201
+      let dd = new Date().getDate();
202
+      let hh = new Date().getHours();
203
+      let mf =
204
+        new Date().getMinutes() < 10
205
+          ? "0" + new Date().getMinutes()
206
+          : new Date().getMinutes();
207
+      let ss =
208
+        new Date().getSeconds() < 10
209
+          ? "0" + new Date().getSeconds()
210
+          : new Date().getSeconds();
211
+      dateTime = yy + "-" + mm + "-" + dd + " " + hh + ":" + mf + ":" + ss;
212
+      return dateTime;
213
+    },
214
+    getTimes(time) {
215
+      return uParseTime(time, "{y}-{m}-{d}");
216
+    },
217
+    getTotal: function (items) {
218
+      let total = 0;
219
+      for (let i = 0; i < items.length; i++) {
220
+        total = total + (items[i].count * items[i].price).toFixed(2);
221
+      }
222
+      return total;
223
+    },
224
+  },
225
+  watch: {
226
+    list: {
227
+      handler(newVal) {
228
+        // this.getPage()
229
+      },
230
+      deep: true,
231
+    },
232
+  },
233
+};
234
+</script>
235
+
236
+<style lang="scss" scoped>
237
+.allList-print {
238
+  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
239
+  0 0 60px rgba(0, 0, 0, 0.06) inset;
240
+  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
241
+  0 0 40px rgba(0, 0, 0, 0.06) inset;
242
+  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
243
+  margin-bottom: 20px;
244
+  padding: 20px 10px;
245
+}
246
+
247
+.allListTitle {
248
+  font-size: 24px;
249
+  text-align: center;
250
+  font-weight: bold;
251
+  margin-bottom: 10px;
252
+}
253
+
254
+.allListInfo {
255
+  display: flex;
256
+  font-size: 16px;
257
+  justify-content: space-between;
258
+  margin: 10px 0;
259
+}
260
+
261
+.allListInfo div {
262
+  min-width: 200px;
263
+}
264
+
265
+.allListTable {
266
+  width: 100%;
267
+  text-align: center;
268
+  border-collapse: collapse;
269
+  line-height: 20px;
270
+  font-size: 14px;
271
+  border-color: #000;
272
+  text-align: left;
273
+}
274
+
275
+.allListTable tr td {
276
+  padding: 0 5px;
277
+}
278
+
279
+.tableBottom {
280
+  font-size: 16px;
281
+  display: flex;
282
+  margin-top: 20px;
283
+}
284
+
285
+.tableBottomOne {
286
+  margin-right: 40px;
287
+}
288
+
289
+.listTable {
290
+  width: 100%;
291
+  text-align: center;
292
+  border-collapse: collapse;
293
+  line-height: 40px;
294
+  font-size: 14px;
295
+  border-color: #000;
296
+  text-align: left;
297
+}
298
+.listTable thead {
299
+  width: 100%;
300
+  text-align: center;
301
+  border-collapse: collapse;
302
+  line-height: 40px;
303
+  font-size: 14px;
304
+  border-color: #000;
305
+  text-align: left;
306
+}
307
+.listTable thead tr td {
308
+  padding: 0 5px;
309
+}
310
+.tableBottom {
311
+  font-size: 16px;
312
+  display: flex;
313
+  margin-top: 20px;
314
+}
315
+.tableBottomOne {
316
+  margin-right: 40px;
317
+}
318
+</style>

+ 726 - 0
src/xt_pages/outpatientCharges/statementListPrint.vue View File

@@ -0,0 +1,726 @@
1
+<template>
2
+  <div>
3
+    <template>
4
+      <el-button
5
+        style="position: fixed; right: 25px; z-index: 999"
6
+        :loading="loading"
7
+        size="small"
8
+        icon="el-icon-printer"
9
+        @click="printThisPage"
10
+        type="primary"
11
+      >打印
12
+      </el-button
13
+      >
14
+    </template>
15
+
16
+    <div class="dialysisPage" style="padding-top: 40px">
17
+      <printFive
18
+        :info="info"
19
+        :paramsObj="paramsObj"
20
+        :balanceAccounts="balanceAccounts"
21
+      ></printFive>
22
+    </div>
23
+  </div>
24
+</template>
25
+
26
+<script>
27
+import {uParseTime} from "@/utils/tools";
28
+import axios from "axios";
29
+import print from "print-js";
30
+
31
+import BreadCrumb from "@/xt_pages/components/bread-crumb";
32
+import printOne from "./statementTemplate/printOne";
33
+import privateChargePrint from "./statementTemplate/privateChargePrint";
34
+
35
+import printTwo from "./statementTemplate/printTwo";
36
+import printThree from "./statementTemplate/printThree";
37
+import printFour from "./statementTemplate/printFour";
38
+import printFive from "./statementTemplate/printFive";
39
+import testVue from "./statementTemplate/test";
40
+import {getAllDoctorList, getAllHisPatientList,} from "@/api/project/project";
41
+import {getPrivateExpenses, getPrivateExpensesOrder} from "@/api/his/his";
42
+import printSeven from "./statementTemplate/printSeven";
43
+import Print10191 from "./statementTemplate/print10191";
44
+// import PrintOther from '../hospitalStation/statementTemplate/printOther'
45
+export default {
46
+  name: "statementListPrint",
47
+  components: {
48
+    Print10191,
49
+    printSeven,
50
+    BreadCrumb,
51
+    printOne,
52
+    privateChargePrint,
53
+    printTwo,
54
+    printThree,
55
+    printFour,
56
+    testVue,
57
+    printFive,
58
+  },
59
+  props: {
60
+    paramsObj: Object,
61
+  },
62
+  data() {
63
+    return {
64
+      crumbs: [
65
+        {path: false, name: "门诊医生站"},
66
+        {path: false, name: "打印"},
67
+      ],
68
+      record_date: "",
69
+      patientTableData: [],
70
+      advicePrint: [],
71
+      hisPatient: {},
72
+      patient: {},
73
+      search_input: "",
74
+      loading: false,
75
+      patient_id: 0,
76
+      prescription_id: 0,
77
+      ids: "",
78
+      info: null,
79
+      org_id: "",
80
+      balanceAccounts: {},
81
+    };
82
+  },
83
+  methods: {
84
+    printThisPage() {
85
+      var ptime = Math.round(new Date().getTime() / 1000);
86
+      this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
87
+
88
+      if (
89
+        this.$store.getters.xt_user.org_id == 10138 ||
90
+        this.$store.getters.xt_user.org_id == 4 ||
91
+        this.$store.getters.xt_user.org_id == 10278
92
+      ) {
93
+        setTimeout(() => {
94
+          const style =
95
+            "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 47%;}}}";
96
+          const style2 =
97
+            "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 50%;}}}";
98
+          const style3 =
99
+            "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 55%;}}}";
100
+          const style4 =
101
+            "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 58%;}}}";
102
+          const style5 =
103
+            "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 61%;}}}";
104
+          const style6 =
105
+            "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 66%;}}}";
106
+          const style7 =
107
+            "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 71%;}}}";
108
+          const style8 =
109
+            "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 75%;}}}";
110
+          const style9 =
111
+            "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 80%;}}}";
112
+          const style10 =
113
+            "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 85%;}}}";
114
+          const style11 =
115
+            "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 87%;}}}";
116
+          const style12 =
117
+            "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 89%;}}}";
118
+          if (this.num >= 13) {
119
+            printJS({
120
+              printable: "prescription-print",
121
+              type: "html",
122
+              style: style,
123
+              scanStyles: false,
124
+            });
125
+          } else if (this.num == 12) {
126
+            printJS({
127
+              printable: "prescription-print",
128
+              type: "html",
129
+              style: style2,
130
+              scanStyles: false,
131
+            });
132
+          } else if (this.num == 11) {
133
+            printJS({
134
+              printable: "prescription-print",
135
+              type: "html",
136
+              style: style3,
137
+              scanStyles: false,
138
+            });
139
+          } else if (this.num == 10) {
140
+            printJS({
141
+              printable: "prescription-print",
142
+              type: "html",
143
+              style: style4,
144
+              scanStyles: false,
145
+            });
146
+          } else if (this.num == 9) {
147
+            printJS({
148
+              printable: "prescription-print",
149
+              type: "html",
150
+              style: style5,
151
+              scanStyles: false,
152
+            });
153
+          } else if (this.num == 8) {
154
+            printJS({
155
+              printable: "prescription-print",
156
+              type: "html",
157
+              style: style6,
158
+              scanStyles: false,
159
+            });
160
+          } else if (this.num == 7) {
161
+            printJS({
162
+              printable: "prescription-print",
163
+              type: "html",
164
+              style: style7,
165
+              scanStyles: false,
166
+            });
167
+          } else if (this.num == 6) {
168
+            printJS({
169
+              printable: "prescription-print",
170
+              type: "html",
171
+              style: style8,
172
+              scanStyles: false,
173
+            });
174
+          } else if (this.num == 5) {
175
+            printJS({
176
+              printable: "prescription-print",
177
+              type: "html",
178
+              style: style9,
179
+              scanStyles: false,
180
+            });
181
+          } else if (this.num == 4) {
182
+            printJS({
183
+              printable: "prescription-print",
184
+              type: "html",
185
+              style: style10,
186
+              scanStyles: false,
187
+            });
188
+          } else if (this.num == 3) {
189
+            printJS({
190
+              printable: "prescription-print",
191
+              type: "html",
192
+              style: style11,
193
+              scanStyles: false,
194
+            });
195
+          } else if (this.num <= 2) {
196
+            printJS({
197
+              printable: "prescription-print",
198
+              type: "html",
199
+              style: style12,
200
+              scanStyles: false,
201
+            });
202
+          }
203
+        }, 500);
204
+      } else if (
205
+        this.$store.getters.xt_user.org_id == 9504 ||
206
+        this.$store.getters.xt_user.org_id == 10028
207
+      ) {
208
+        const style =
209
+          "@media print {.printTitle{font-size: 20px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;font-size:12px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;font-size:12px;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none;font-size:12px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;font-size:12px;}.actionBar div{width:150px;}}";
210
+        printJS({
211
+          printable: "prescription-print",
212
+          type: "html",
213
+          style: style,
214
+          scanStyles: false,
215
+        });
216
+      } else {
217
+        // 医保环境打印格式
218
+        if (
219
+          this.$store.getters.xt_user.org_id == 9919 ||
220
+          this.$store.getters.xt_user.org_id == 10106
221
+        ) {
222
+          const style =
223
+            "@media print {.statementTitle{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}";
224
+          printJS({
225
+            printable: "statement-print",
226
+            type: "html",
227
+            style: style,
228
+            scanStyles: false,
229
+          });
230
+        } else if (
231
+          this.$store.getters.xt_user.org_id == 0 ||
232
+          this.$store.getters.xt_user.org_id == 10191
233
+        ) {
234
+          const style =
235
+            "@media print {.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 14px;border-color: #000;} .statementTable thead{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;} .statementTable tbody{text-align:left;} .statementTable tbody .view_tr{text-align:center;border: 1px solid;} tbody .dashed_tr{border: 1px dashed;text-align:center} .list_table{width: 100%;margin-bottom: 100px;} tbody tr td div{height:25px;}}";
236
+          printJS({
237
+            printable: "statement-print",
238
+            type: "html",
239
+            style: style,
240
+            scanStyles: false,
241
+          });
242
+        } else {
243
+          const style =
244
+            "@media print {#statement-print{font-size:14px;border:1px solid white}.statementTitle{font-size: 22px;text-align: center;font-weight: bold;}table{border-collapse: collapse;text-align: center;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 57%;}}}";
245
+          printJS({
246
+            printable: "statement-print",
247
+            type: "html",
248
+            style: style,
249
+            scanStyles: false,
250
+          });
251
+        }
252
+      }
253
+
254
+      // if (this.org_template_info.template_id == 1) {
255
+      //   printJS({
256
+      //     printable: "dialysis-print-box",
257
+      //     type: "html",
258
+      //     style: style,
259
+      //     scanStyles: false
260
+      //   });
261
+      // }
262
+    },
263
+    getAllDoctorList() {
264
+      getAllDoctorList().then((response) => {
265
+        if (response.data.state == 1) {
266
+          var doctor = response.data.data.doctor;
267
+
268
+          this.doctorList = doctor;
269
+        }
270
+      });
271
+    },
272
+    getAllHisPatientList() {
273
+      const params = {
274
+        record_date: this.record_date,
275
+      };
276
+      getAllHisPatientList(params).then((response) => {
277
+        if (response.data.state == 1) {
278
+          this.patientTableData = response.data.data.list;
279
+          this.patientTableDataTwo = response.data.data.list;
280
+
281
+          console.log("222", this.patientTableData);
282
+          let cal_one = 0;
283
+          let cal_two = 0;
284
+          for (let i = 0; i < response.data.data.list.length; i++) {
285
+            if (
286
+              response.data.data.list[i].prescription == null ||
287
+              response.data.data.list[i].prescription.length == 0
288
+            ) {
289
+              cal_one = cal_one + 1;
290
+            }
291
+            if (
292
+              response.data.data.list[i].prescription != null &&
293
+              response.data.data.list[i].prescription.length > 0
294
+            ) {
295
+              cal_two = cal_two + 1;
296
+            }
297
+          }
298
+          // this.$refs.tab.setCurrentRow(this.patientTableData[0])
299
+          // console.log(this.patientTableData[0])
300
+          // this.choosePatient(this.patientTableData[0])
301
+          this.cal_one = cal_one;
302
+          this.cal_two = cal_two;
303
+        }
304
+      });
305
+    },
306
+
307
+    changePatient(row) {
308
+      console.log("row", row);
309
+      this.patient_id = row.patient_id;
310
+      this.record_date = this.record_date;
311
+      this.prescription_id = this.prescription_id;
312
+      //   var params = {
313
+      //     patient_id:row.patient_id,
314
+      //     record_date:this.record_date,
315
+      //     prescription_id:this.prescription_id,
316
+      //   }
317
+      // getPrescriptionPrint(params).then(response=>{
318
+      //     if(response.data.state == 1){
319
+      //       var advicePrint =  response.data.data.advicePrint
320
+      //       console.log("adviceprint",advicePrint)
321
+      //       this.advicePrint = advicePrint
322
+      //       // var hisPatient =  response.data.data.hisPatient
323
+      //       // console.log("hispatient",hisPatient)
324
+      //       // this.hisPatient = hisPatient
325
+      //       var patient =  response.data.data.patient
326
+      //       console.log("patient",patient)
327
+      //       this.patient = patient
328
+      //       var doctorPorject = response.data.data.doctorPorject
329
+      //       console.log("doctorporject",doctorPorject)
330
+      //     }
331
+      // })
332
+    },
333
+    getTimes(time) {
334
+      return uParseTime(time, "{y}-{m}-{d}");
335
+    },
336
+    searchAction() {
337
+    },
338
+    getInfo(order_id, obj) {
339
+        let params = {
340
+          his_patient_id: obj.his_patient_id,
341
+          id: obj.order_id,
342
+          order_id: obj.order_id,
343
+          admin_user_id: this.$store.getters.xt_user.user.id,
344
+        };
345
+        getPrivateExpensesOrder(params).then((response) => {
346
+            if (response.data.state == 0) {
347
+              // this.$message.error(response.data.msg)
348
+
349
+              return false;
350
+            } else {
351
+              var that = this;
352
+              that.info = response.data.data.info;
353
+              that.p_admin = response.data.data.printor_admin;
354
+              that.charge_admin = response.data.data.charge_admin;
355
+
356
+              that.info["p_admin"] = that.p_admin;
357
+              that.info["charge_admin"] = that.charge_admin;
358
+              that.info["order_number"] = response.data.data.order_number;
359
+              that.info["patient"] = response.data.data.patient;
360
+              that.info["date"] = response.data.data.date;
361
+              that.info["number"] = response.data.data.number;
362
+              that.info["order_infos"] = response.data.data.order_infos;
363
+              that.info["diagnosis"] = response.data.data.diagnosis;
364
+              that.info["fixmedins_name"] = response.data.data.org_name;
365
+              that.info["fixmedins_code"] = response.data.data.org_code;
366
+
367
+              that.info["bed_cost_total"] = response.data.data.bedCostTotal;
368
+              that.info["bed_cost_self_total"] =
369
+                  response.data.data.bedCostSelfTotal;
370
+              that.info["bed_cost_part_self_total"] =
371
+                  response.data.data.bedCostPartSelfTotal;
372
+
373
+              that.info["operation_cost_total"] =
374
+                  response.data.data.operationCostTotal;
375
+              that.info["operation_cost_self_total"] =
376
+                  response.data.data.operationCostSelfTotal;
377
+              that.info["operation_cost_part_self_total"] =
378
+                  response.data.data.operationCostPartSelfTotal;
379
+
380
+              that.info["other_cost_total"] = response.data.data.otherCostTotal;
381
+              that.info["other_cost_self_total"] =
382
+                  response.data.data.otherCostSelfTotal;
383
+              that.info["other_cost_part_self_total"] =
384
+                  response.data.data.otherCostPartSelfTotal;
385
+
386
+              that.info["material_cost_total"] =
387
+                  response.data.data.materialCostTotal;
388
+              that.info["material_cost_self_total"] =
389
+                  response.data.data.materialCostSelfTotal;
390
+              that.info["material_cost_part_self_total"] =
391
+                  response.data.data.materialCostPartSelfTotal;
392
+
393
+              that.info["western_medicine_cost_total"] =
394
+                  response.data.data.westernMedicineCostTotal;
395
+              that.info["western_medicine_cost_self_total"] =
396
+                  response.data.data.westernMedicineCostSelfTotal;
397
+              that.info["western_medicine_cost_part_self_total"] =
398
+                  response.data.data.westernMedicineCostPartSelfTotal;
399
+
400
+              that.info["chinese_traditional_medicine_cost_total"] =
401
+                  response.data.data.chineseTraditionalMedicineCostTotal;
402
+              that.info["chinese_traditional_medicine_cost_self_total"] =
403
+                  response.data.data.chineseTraditionalMedicineCostSelfTotal;
404
+              that.info["chinese_traditional_medicine_cost_part_self_total"] =
405
+                  response.data.data.chineseTraditionalMedicineCostPartSelfTotal;
406
+
407
+              that.info["check_cost_total"] = response.data.data.checkCostTotal;
408
+              that.info["check_cost_self_total"] =
409
+                  response.data.data.checkCostSelfTotal;
410
+              that.info["check_cost_part_self_total"] =
411
+                  response.data.data.checkCostPartSelfTotal;
412
+
413
+              that.info["laboratory_cost_total"] =
414
+                  response.data.data.laboratoryCostTotal;
415
+              that.info["laboratory_cost_self_total"] =
416
+                  response.data.data.laboratoryCostSelfTotal;
417
+              that.info["laboratory_cost_part_self_total"] =
418
+                  response.data.data.laboratoryCostPartSelfTotal;
419
+
420
+              that.info["treat_cost_total"] = response.data.data.treatCostTotal;
421
+              that.info["treat_cost_self_total"] =
422
+                  response.data.data.treatCostSelfTotal;
423
+              that.info["treat_cost_part_self_total"] =
424
+                  response.data.data.treatCostPartSelfTotal;
425
+              that.info["date"] = response.data.data.date;
426
+              // that.info["number"] = response.data.data.number;
427
+              that.info["order_infos"] = response.data.data.order_infos;
428
+              that.info["diagnosis"] = response.data.data.diagnosis;
429
+
430
+
431
+              let list = []
432
+              for (let i = 0; i < response.data.data.order_infos.length; i++) {
433
+                let order = response.data.data.order_infos[i]
434
+                let obj = {
435
+                  code:"",
436
+                  name: "",
437
+                  spec: "",
438
+                  cnt: "",
439
+                  det_item_fee_sumamt: "",
440
+                }
441
+
442
+                if (order.advice_id > 0 && order.project_id == 0) {
443
+                  obj.name = order.advice.advice_name
444
+                  let spec = order.advice.drug.dose + order.advice.drug.dose_unit + '*' + order.advice.drug.min_number + order.advice.drug.min_unit + '/' + order.advice.drug.max_unit
445
+                  obj.spec = spec
446
+                  obj.cnt = order.cnt
447
+                  obj.det_item_fee_sumamt =order.det_item_fee_sumamt
448
+                  obj.code = order.advice.drug.medical_insurance_number
449
+                  list.push(obj)
450
+                }else if (order.advice_id == 0 && order.project_id > 0) {
451
+                  if(order.project.type == 2){
452
+                    obj.name = order.project.project.project_name
453
+                    obj.spec = ""
454
+                    obj.cnt = order.cnt
455
+                    obj.det_item_fee_sumamt =order.det_item_fee_sumamt
456
+                    obj.code = order.project.project.medical_code
457
+                  }else{
458
+                    obj.name = order.project.good_info.good_name
459
+                    obj.spec = order.project.good_info.specification_name
460
+                    obj.cnt = order.cnt
461
+                    obj.det_item_fee_sumamt =order.det_item_fee_sumamt
462
+                    obj.code = order.project.good_info.medical_insurance_number
463
+                  }
464
+                  list.push(obj)
465
+                }
466
+
467
+              }
468
+
469
+
470
+
471
+
472
+              console.log(list)
473
+              let len = list.length / 2
474
+              let L_list = []
475
+              let R_list = []
476
+
477
+              let obj = {
478
+                name:"名称",
479
+                spec:"规格",
480
+                cnt:"数量",
481
+                det_item_fee_sumamt:"价格",
482
+              }
483
+              L_list.push(obj)
484
+              R_list.push(obj)
485
+
486
+              len = Math.trunc(len)
487
+              for(let i = 0; i < len; i++){
488
+                L_list.push(list[i])
489
+              }
490
+              console.log(len)
491
+              for(let i = len; i < list.length; i++){
492
+                console.log(list[i])
493
+                R_list.push(list[i])
494
+              }
495
+              console.log(L_list)
496
+              console.log(R_list)
497
+              console.log(L_list.length)
498
+              console.log(R_list.length)
499
+
500
+
501
+              console.log(L_list.length)
502
+              console.log(R_list.length)
503
+
504
+              that.info["L_list"] = L_list
505
+              that.info["R_list"] = R_list
506
+
507
+
508
+
509
+
510
+
511
+
512
+            }
513
+          });
514
+    },
515
+  },
516
+
517
+  created() {
518
+    console.log(this.paramsObj);
519
+    this.getInfo(this.paramsObj.order_id, this.paramsObj);
520
+    this.org_id = this.$store.getters.xt_user.org_id;
521
+    console.log("this.org_id", this.org_id);
522
+  },
523
+  watch: {
524
+    paramsObj: {
525
+      //深度监听,可监听到对象、数组的变化
526
+      handler(val, oldVal) {
527
+        this.paramsObj = val;
528
+        console.log(this.paramsObj);
529
+
530
+        this.getInfo(this.paramsObj.order_id, this.paramsObj);
531
+      },
532
+      deep: true,
533
+      immediate: true,
534
+    },
535
+  },
536
+};
537
+</script>
538
+
539
+<style>
540
+.dialysis-print-order {
541
+  width: 960px;
542
+  margin: 0 auto;
543
+}
544
+
545
+.dialysis-print-order .order-yy-name {
546
+  margin: auto;
547
+  text-align: center;
548
+  font-size: 20px;
549
+  letter-spacing: 5px;
550
+}
551
+
552
+.dialysis-print-order .order-title {
553
+  margin: auto;
554
+  font-weight: 600;
555
+  text-align: center;
556
+  font-size: 22px;
557
+  padding: 10px;
558
+}
559
+
560
+.dialysis-print-order .table-box {
561
+  width: 100%;
562
+  line-height: 23px;
563
+  font-size: 14px;
564
+}
565
+
566
+.dialysis-print-order .print-table {
567
+  width: 100%;
568
+  text-align: center;
569
+  border-collapse: collapse;
570
+  line-height: 40px;
571
+  font-size: 14px;
572
+  border-color: #000;
573
+}
574
+
575
+.dialysis-print-order .print-table-no {
576
+  width: 100%;
577
+  text-align: center;
578
+  border-collapse: collapse;
579
+  font-size: 14px;
580
+}
581
+
582
+.dialysis-print-order .under-line {
583
+  border-bottom: 1px solid #999;
584
+  width: 95%;
585
+  text-align: center;
586
+  margin-left: 2px;
587
+}
588
+
589
+.dialysis-print-order .title-box {
590
+  text-align: center;
591
+  font-size: 16px;
592
+}
593
+
594
+.dialysis-print-order .radio-lebel-box {
595
+  font-weight: 400;
596
+  cursor: pointer;
597
+}
598
+
599
+.dialysis-print-order .radio-no {
600
+  opacity: 0;
601
+  outline: none;
602
+  position: absolute;
603
+  margin: 0;
604
+  width: 0;
605
+  height: 0;
606
+  z-index: -1;
607
+}
608
+
609
+.dialysis-print-order .radio-inner {
610
+  white-space: nowrap;
611
+  cursor: pointer;
612
+  outline: none;
613
+  display: inline-block;
614
+  line-height: 1;
615
+  position: relative;
616
+  vertical-align: middle;
617
+}
618
+
619
+.dialysis-print-order .radio-fang {
620
+  display: inline-block;
621
+  position: relative;
622
+  border: 1px solid #000;
623
+  box-sizing: border-box;
624
+  width: 14px;
625
+  height: 14px;
626
+  background-color: #fff;
627
+  z-index: 1;
628
+  transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
629
+  background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
630
+}
631
+
632
+.dialysis-print-order .is-checked-radio::after {
633
+  content: "√";
634
+  font-size: 15px;
635
+}
636
+
637
+.dialysis-print-order .print-table-no tr td {
638
+  padding: 8px 5px;
639
+  line-height: 25px;
640
+}
641
+
642
+.dialysis-print-order .print-table tr td {
643
+  padding: 1px 1px;
644
+  /*line-height: 25px;*/
645
+}
646
+
647
+.es-img {
648
+  height: 30px;
649
+}
650
+
651
+.advice-name {
652
+  text-align: left;
653
+}
654
+
655
+.advice-children {
656
+  display: flex;
657
+}
658
+
659
+.title-box-pro {
660
+  border: 0 #fff;
661
+  line-height: 25px;
662
+  height: 25px;
663
+  text-align: left;
664
+  padding-left: 10px !important;
665
+}
666
+
667
+.title-box-pro-tr {
668
+  border: 0 #fff;
669
+}
670
+
671
+.text-align-left {
672
+  text-align: left !important;
673
+  padding-left: 10px !important;
674
+  font-size: 14px !important;
675
+  line-height: 25px;
676
+}
677
+
678
+.print-table-tr-new td {
679
+  line-height: 20px !important;
680
+}
681
+
682
+.border-top-solid {
683
+  border: solid 1px #000;
684
+}
685
+
686
+.print-template-two tr {
687
+  line-height: 30px;
688
+}
689
+
690
+.table-box1 {
691
+  border: 1px solid #000;
692
+  width: 100%;
693
+  line-height: 30px;
694
+  font-size: 14px;
695
+  border-collapse: collapse;
696
+}
697
+
698
+.table-box1 tr {
699
+  border-bottom: 1px solid #000;
700
+}
701
+</style>
702
+
703
+<style lang="scss">
704
+.newContainer {
705
+
706
+.dialysisPage::-webkit-scrollbar {
707
+  height: 15px;
708
+}
709
+
710
+.el-date-editor {
711
+
712
+.el-input__inner {
713
+  padding-right: 0px;
714
+}
715
+
716
+}
717
+.el-table td,
718
+.el-table th {
719
+  text-align: center;
720
+}
721
+
722
+}
723
+.newContainer::-webkit-scrollbar {
724
+  height: 15px !important;
725
+}
726
+</style>

+ 174 - 170
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -41,12 +41,12 @@
41 41
       </div>
42 42
       <!--      <print-other :info="info" v-if="org_id == 9919"></print-other>-->
43 43
       <!--      <printOne :info=" info" v-if="org_id == 10215 && this.paramsObj.balance_accounts_type == 2"></printOne>-->
44
-      <printFive
45
-          v-if="org_id == 0  || org_id == 10191"
46
-          :info="info"
47
-          :paramsObj="paramsObj"
48
-          :balanceAccounts="balanceAccounts"
49
-      ></printFive>
44
+<!--      <printFive-->
45
+<!--        v-if="org_id == 10191"-->
46
+<!--        :info="info"-->
47
+<!--        :paramsObj="paramsObj"-->
48
+<!--        :balanceAccounts="balanceAccounts"-->
49
+<!--      ></printFive>-->
50 50
 
51 51
      <printSeven
52 52
          v-if="org_id == 10387"
@@ -55,15 +55,15 @@
55 55
          :balanceAccounts="balanceAccounts"
56 56
      >
57 57
      </printSeven>
58
-   <printOne :info="info" v-else></printOne>
59
-<!--      <printOne :info="info" v-if="org_id != 9990 &&-->
60
-<!--          org_id != 10138 &&-->
61
-<!--          org_id != 9504 &&-->
62
-<!--          org_id != 10028 &&-->
63
-<!--          org_id != 4 &&-->
64
-<!--          org_id != 10278 && org_id != 10191 && org_id != 10387"></printOne>-->
65
-      <!-- 测试医保环境下表格样式放开以下这条 -->
66
-      <!-- <testVue :info="info" v-else></testVue> -->
58
+      <print10191 :info="info" v-if="org_id == 10191"></print10191>
59
+
60
+     <printOne :info="info" v-if=" org_id != 9990 &&
61
+            org_id != 10138 &&
62
+            org_id != 9504 &&
63
+            org_id != 10028 &&
64
+            org_id != 4 &&
65
+            org_id != 10278 && org_id != 10387 && org_id != 0 && org_id != 10191"></printOne>
66
+
67 67
     </div>
68 68
   </div>
69 69
 </template>
@@ -85,10 +85,12 @@ import testVue from "./statementTemplate/test";
85 85
 import {getAllDoctorList, getAllHisPatientList,} from "@/api/project/project";
86 86
 import {getPrivateExpenses, getPrivateExpensesOrder} from "@/api/his/his";
87 87
 import printSeven from "./statementTemplate/printSeven";
88
+import Print10191 from "./statementTemplate/print10191";
88 89
 // import PrintOther from '../hospitalStation/statementTemplate/printOther'
89 90
 export default {
90 91
   name: "dialysisPrintOrder",
91 92
   components: {
93
+    Print10191,
92 94
     printSeven,
93 95
     BreadCrumb,
94 96
     printOne,
@@ -671,166 +673,168 @@ export default {
671 673
 
672 674
               });
673 675
 
674
-            }
675
-          });
676
-        } else if (this.org_id == 0) {
677
-
678
-          getPrivateExpensesOrder(params).then((response) => {
679
-            if (response.data.state == 0) {
680
-              // this.$message.error(response.data.msg)
681
-
682
-              return false;
683
-            } else {
684
-              var that = this;
685
-              that.info = response.data.data.info;
686
-              that.p_admin = response.data.data.printor_admin;
687
-              that.charge_admin = response.data.data.charge_admin;
688
-
689
-              that.info["p_admin"] = that.p_admin;
690
-              that.info["charge_admin"] = that.charge_admin;
691
-              that.info["order_number"] = response.data.data.order_number;
692
-              that.info["patient"] = response.data.data.patient;
693
-              that.info["date"] = response.data.data.date;
694
-              that.info["number"] = response.data.data.number;
695
-              that.info["order_infos"] = response.data.data.order_infos;
696
-              that.info["diagnosis"] = response.data.data.diagnosis;
697
-              that.info["fixmedins_name"] = response.data.data.org_name;
698
-              that.info["fixmedins_code"] = response.data.data.org_code;
699
-              // that.info["doctor_code"] = response.data.data.doctor_code;
700
-              // that.info["department"] = response.data.data.department;
701
-              // that.info["health_card_no"] = response.data.data.health_card_no;
702
-
703
-              that.info["bed_cost_total"] = response.data.data.bedCostTotal;
704
-              that.info["bed_cost_self_total"] =
705
-                  response.data.data.bedCostSelfTotal;
706
-              that.info["bed_cost_part_self_total"] =
707
-                  response.data.data.bedCostPartSelfTotal;
708
-
709
-              that.info["operation_cost_total"] =
710
-                  response.data.data.operationCostTotal;
711
-              that.info["operation_cost_self_total"] =
712
-                  response.data.data.operationCostSelfTotal;
713
-              that.info["operation_cost_part_self_total"] =
714
-                  response.data.data.operationCostPartSelfTotal;
715
-
716
-              that.info["other_cost_total"] = response.data.data.otherCostTotal;
717
-              that.info["other_cost_self_total"] =
718
-                  response.data.data.otherCostSelfTotal;
719
-              that.info["other_cost_part_self_total"] =
720
-                  response.data.data.otherCostPartSelfTotal;
721
-
722
-              that.info["material_cost_total"] =
723
-                  response.data.data.materialCostTotal;
724
-              that.info["material_cost_self_total"] =
725
-                  response.data.data.materialCostSelfTotal;
726
-              that.info["material_cost_part_self_total"] =
727
-                  response.data.data.materialCostPartSelfTotal;
728
-
729
-              that.info["western_medicine_cost_total"] =
730
-                  response.data.data.westernMedicineCostTotal;
731
-              that.info["western_medicine_cost_self_total"] =
732
-                  response.data.data.westernMedicineCostSelfTotal;
733
-              that.info["western_medicine_cost_part_self_total"] =
734
-                  response.data.data.westernMedicineCostPartSelfTotal;
735
-
736
-              that.info["chinese_traditional_medicine_cost_total"] =
737
-                  response.data.data.chineseTraditionalMedicineCostTotal;
738
-              that.info["chinese_traditional_medicine_cost_self_total"] =
739
-                  response.data.data.chineseTraditionalMedicineCostSelfTotal;
740
-              that.info["chinese_traditional_medicine_cost_part_self_total"] =
741
-                  response.data.data.chineseTraditionalMedicineCostPartSelfTotal;
742
-
743
-              that.info["check_cost_total"] = response.data.data.checkCostTotal;
744
-              that.info["check_cost_self_total"] =
745
-                  response.data.data.checkCostSelfTotal;
746
-              that.info["check_cost_part_self_total"] =
747
-                  response.data.data.checkCostPartSelfTotal;
748
-
749
-              that.info["laboratory_cost_total"] =
750
-                  response.data.data.laboratoryCostTotal;
751
-              that.info["laboratory_cost_self_total"] =
752
-                  response.data.data.laboratoryCostSelfTotal;
753
-              that.info["laboratory_cost_part_self_total"] =
754
-                  response.data.data.laboratoryCostPartSelfTotal;
755
-
756
-              that.info["treat_cost_total"] = response.data.data.treatCostTotal;
757
-              that.info["treat_cost_self_total"] =
758
-                  response.data.data.treatCostSelfTotal;
759
-              that.info["treat_cost_part_self_total"] =
760
-                  response.data.data.treatCostPartSelfTotal;
761
-              that.info["date"] = response.data.data.date;
762
-              // that.info["number"] = response.data.data.number;
763
-              that.info["order_infos"] = response.data.data.order_infos;
764
-              that.info["diagnosis"] = response.data.data.diagnosis;
765
-
766
-
767
-              let list = []
768
-              for (let i = 0; i < response.data.data.order_infos.length; i++) {
769
-                let order = response.data.data.order_infos[i]
770
-                let obj = {
771
-                  code:"",
772
-                  name: "",
773
-                  spec: "",
774
-                  cnt: "",
775
-                  det_item_fee_sumamt: "",
776
-                }
777
-
778
-                if (order.advice_id > 0 && order.project_id == 0) {
779
-                  obj.name = order.advice.advice_name
780
-                  let spec = order.advice.drug.dose + order.advice.drug.dose_unit + '*' + order.advice.drug.min_number + order.advice.drug.min_unit + '/' + order.advice.drug.max_unit
781
-                  obj.spec = spec
782
-                  obj.cnt = order.cnt
783
-                  obj.det_item_fee_sumamt =order.det_item_fee_sumamt
784
-                  obj.code = order.advice.drug.medical_insurance_number
785
-                  list.push(obj)
786
-                }else if (order.advice_id == 0 && order.project_id > 0) {
787
-                  if(order.project.type == 2){
788
-                    obj.name = order.project.project.project_name
789
-                    obj.spec = ""
790
-                    obj.cnt = order.cnt
791
-                    obj.det_item_fee_sumamt =order.det_item_fee_sumamt
792
-                    obj.code = order.project.project.medical_code
793
-                  }else{
794
-                    obj.name = order.project.good_info.good_name
795
-                    obj.spec = order.project.good_info.specification_name
796
-                    obj.cnt = order.cnt
797
-                    obj.det_item_fee_sumamt =order.det_item_fee_sumamt
798
-                    obj.code = order.project.good_info.medical_insurance_number
799
-                  }
800
-                  list.push(obj)
801
-                }
802
-
803
-              }
804
-              console.log(list)
805
-              let len = list.length / 2
806
-              let L_list = []
807
-              let R_list = []
808
-              len = Math.trunc(len)
809
-              for(let i = 0; i < len; i++){
810
-                L_list.push(list[i])
811
-              }
812
-              console.log(len)
813
-              for(let i = len; i < list.length; i++){
814
-                console.log(list[i])
815
-                R_list.push(list[i])
816
-              }
817
-              console.log(L_list)
818
-              console.log(R_list)
819
-
820
-              that.info["L_list"] = L_list
821
-              that.info["R_list"] = R_list
822
-
823
-
824
-
825
-
826
-
827
-
828 676
             }
829 677
           });
830 678
         }
679
+        // else if (this.org_id == 0) {
680
+        //
681
+        //   getPrivateExpensesOrder(params).then((response) => {
682
+        //     if (response.data.state == 0) {
683
+        //       // this.$message.error(response.data.msg)
684
+        //
685
+        //       return false;
686
+        //     } else {
687
+        //       var that = this;
688
+        //       that.info = response.data.data.info;
689
+        //       that.p_admin = response.data.data.printor_admin;
690
+        //       that.charge_admin = response.data.data.charge_admin;
691
+        //
692
+        //       that.info["p_admin"] = that.p_admin;
693
+        //       that.info["charge_admin"] = that.charge_admin;
694
+        //       that.info["order_number"] = response.data.data.order_number;
695
+        //       that.info["patient"] = response.data.data.patient;
696
+        //       that.info["date"] = response.data.data.date;
697
+        //       that.info["number"] = response.data.data.number;
698
+        //       that.info["order_infos"] = response.data.data.order_infos;
699
+        //       that.info["diagnosis"] = response.data.data.diagnosis;
700
+        //       that.info["fixmedins_name"] = response.data.data.org_name;
701
+        //       that.info["fixmedins_code"] = response.data.data.org_code;
702
+        //       // that.info["doctor_code"] = response.data.data.doctor_code;
703
+        //       // that.info["department"] = response.data.data.department;
704
+        //       // that.info["health_card_no"] = response.data.data.health_card_no;
705
+        //
706
+        //       that.info["bed_cost_total"] = response.data.data.bedCostTotal;
707
+        //       that.info["bed_cost_self_total"] =
708
+        //           response.data.data.bedCostSelfTotal;
709
+        //       that.info["bed_cost_part_self_total"] =
710
+        //           response.data.data.bedCostPartSelfTotal;
711
+        //
712
+        //       that.info["operation_cost_total"] =
713
+        //           response.data.data.operationCostTotal;
714
+        //       that.info["operation_cost_self_total"] =
715
+        //           response.data.data.operationCostSelfTotal;
716
+        //       that.info["operation_cost_part_self_total"] =
717
+        //           response.data.data.operationCostPartSelfTotal;
718
+        //
719
+        //       that.info["other_cost_total"] = response.data.data.otherCostTotal;
720
+        //       that.info["other_cost_self_total"] =
721
+        //           response.data.data.otherCostSelfTotal;
722
+        //       that.info["other_cost_part_self_total"] =
723
+        //           response.data.data.otherCostPartSelfTotal;
724
+        //
725
+        //       that.info["material_cost_total"] =
726
+        //           response.data.data.materialCostTotal;
727
+        //       that.info["material_cost_self_total"] =
728
+        //           response.data.data.materialCostSelfTotal;
729
+        //       that.info["material_cost_part_self_total"] =
730
+        //           response.data.data.materialCostPartSelfTotal;
731
+        //
732
+        //       that.info["western_medicine_cost_total"] =
733
+        //           response.data.data.westernMedicineCostTotal;
734
+        //       that.info["western_medicine_cost_self_total"] =
735
+        //           response.data.data.westernMedicineCostSelfTotal;
736
+        //       that.info["western_medicine_cost_part_self_total"] =
737
+        //           response.data.data.westernMedicineCostPartSelfTotal;
738
+        //
739
+        //       that.info["chinese_traditional_medicine_cost_total"] =
740
+        //           response.data.data.chineseTraditionalMedicineCostTotal;
741
+        //       that.info["chinese_traditional_medicine_cost_self_total"] =
742
+        //           response.data.data.chineseTraditionalMedicineCostSelfTotal;
743
+        //       that.info["chinese_traditional_medicine_cost_part_self_total"] =
744
+        //           response.data.data.chineseTraditionalMedicineCostPartSelfTotal;
745
+        //
746
+        //       that.info["check_cost_total"] = response.data.data.checkCostTotal;
747
+        //       that.info["check_cost_self_total"] =
748
+        //           response.data.data.checkCostSelfTotal;
749
+        //       that.info["check_cost_part_self_total"] =
750
+        //           response.data.data.checkCostPartSelfTotal;
751
+        //
752
+        //       that.info["laboratory_cost_total"] =
753
+        //           response.data.data.laboratoryCostTotal;
754
+        //       that.info["laboratory_cost_self_total"] =
755
+        //           response.data.data.laboratoryCostSelfTotal;
756
+        //       that.info["laboratory_cost_part_self_total"] =
757
+        //           response.data.data.laboratoryCostPartSelfTotal;
758
+        //
759
+        //       that.info["treat_cost_total"] = response.data.data.treatCostTotal;
760
+        //       that.info["treat_cost_self_total"] =
761
+        //           response.data.data.treatCostSelfTotal;
762
+        //       that.info["treat_cost_part_self_total"] =
763
+        //           response.data.data.treatCostPartSelfTotal;
764
+        //       that.info["date"] = response.data.data.date;
765
+        //       // that.info["number"] = response.data.data.number;
766
+        //       that.info["order_infos"] = response.data.data.order_infos;
767
+        //       that.info["diagnosis"] = response.data.data.diagnosis;
768
+        //
769
+        //
770
+        //       let list = []
771
+        //       for (let i = 0; i < response.data.data.order_infos.length; i++) {
772
+        //         let order = response.data.data.order_infos[i]
773
+        //         let obj = {
774
+        //           code:"",
775
+        //           name: "",
776
+        //           spec: "",
777
+        //           cnt: "",
778
+        //           det_item_fee_sumamt: "",
779
+        //         }
780
+        //
781
+        //         if (order.advice_id > 0 && order.project_id == 0) {
782
+        //           obj.name = order.advice.advice_name
783
+        //           let spec = order.advice.drug.dose + order.advice.drug.dose_unit + '*' + order.advice.drug.min_number + order.advice.drug.min_unit + '/' + order.advice.drug.max_unit
784
+        //           obj.spec = spec
785
+        //           obj.cnt = order.cnt
786
+        //           obj.det_item_fee_sumamt =order.det_item_fee_sumamt
787
+        //           obj.code = order.advice.drug.medical_insurance_number
788
+        //           list.push(obj)
789
+        //         }else if (order.advice_id == 0 && order.project_id > 0) {
790
+        //           if(order.project.type == 2){
791
+        //             obj.name = order.project.project.project_name
792
+        //             obj.spec = ""
793
+        //             obj.cnt = order.cnt
794
+        //             obj.det_item_fee_sumamt =order.det_item_fee_sumamt
795
+        //             obj.code = order.project.project.medical_code
796
+        //           }else{
797
+        //             obj.name = order.project.good_info.good_name
798
+        //             obj.spec = order.project.good_info.specification_name
799
+        //             obj.cnt = order.cnt
800
+        //             obj.det_item_fee_sumamt =order.det_item_fee_sumamt
801
+        //             obj.code = order.project.good_info.medical_insurance_number
802
+        //           }
803
+        //           list.push(obj)
804
+        //         }
805
+        //
806
+        //       }
807
+        //       console.log(list)
808
+        //       let len = list.length / 2
809
+        //       let L_list = []
810
+        //       let R_list = []
811
+        //       len = Math.trunc(len)
812
+        //       for(let i = 0; i < len; i++){
813
+        //         L_list.push(list[i])
814
+        //       }
815
+        //       console.log(len)
816
+        //       for(let i = len; i < list.length; i++){
817
+        //         console.log(list[i])
818
+        //         R_list.push(list[i])
819
+        //       }
820
+        //       console.log(L_list)
821
+        //       console.log(R_list)
822
+        //
823
+        //       that.info["L_list"] = L_list
824
+        //       that.info["R_list"] = R_list
825
+        //
826
+        //
827
+        //
828
+        //
829
+        //
830
+        //
831
+        //     }
832
+        //   });
833
+        // }
831 834
 
832 835
       } else {
833
-        if (this.org_id == 10191 || this.org_id == 0) {
836
+        console.log(this.org_id)
837
+        if (this.org_id == 0) {
834 838
           let params = {
835 839
             his_patient_id: obj.his_patient_id,
836 840
             id: obj.order_id,

+ 357 - 0
src/xt_pages/outpatientCharges/statementTemplate/print10191.vue View File

@@ -0,0 +1,357 @@
1
+<template>
2
+  <div id="statement-print" class="statement-print">
3
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10188 || this.$store.getters.xt_user.org_id == 10217">江苏省社会医疗保险医疗费用结算单</div>
4
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10387">湖南省社会医疗保险医疗费用结算单</div>
5
+
6
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10191">福建省社会医疗保险医疗费用结算单</div>
7
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10088">广水源生堂社会医疗保险医疗费用结算单</div>
8
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10387 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088">广东省社会医疗保险医疗费用结算单</div>
9
+
10
+    <table class="statementTable" border="1">
11
+      <tr>
12
+        <td width="80">机构名称</td>
13
+        <td colspan="4">{{info.fixmedins_name}}</td>
14
+        <td width="80">机构编码</td>
15
+        <td colspan="4">{{info.fixmedins_code}}</td>
16
+        <td width="100">医保结算级别</td>
17
+        <td width="100" v-if="info.hosp_lv == '1'">三级特等</td>
18
+        <td width="100" v-else-if="info.hosp_lv == '2'">三级甲等</td>
19
+        <td width="100" v-else-if="info.hosp_lv == '3'">三级乙等</td>
20
+        <td width="100" v-else-if="info.hosp_lv == '4'">三级丙等</td>
21
+        <td width="100" v-else-if="info.hosp_lv == '5'">二级甲等</td>
22
+        <td width="100" v-else-if="info.hosp_lv == '6'">二级乙等</td>
23
+        <td width="100" v-else-if="info.hosp_lv == '7'">二级丙等</td>
24
+        <td width="100" v-else-if="info.hosp_lv == '8'">一级甲等</td>
25
+        <td width="100" v-else-if="info.hosp_lv == '9'">一级乙等</td>
26
+        <td width="100" v-else-if="info.hosp_lv == '10'">一级丙等</td>
27
+        <td width="100" v-else-if="info.hosp_lv == '11'">无等级</td>
28
+        <td width="100" v-else></td>
29
+
30
+      </tr>
31
+      <tr>
32
+        <td width="70">就医登记号</td>
33
+        <td colspan="7">{{info.psn_no}}</td>
34
+        <td width="50">门诊号</td>
35
+        <td colspan="3">{{info.number}}</td>
36
+      </tr>
37
+      <tr>
38
+        <td width="80">姓名</td>
39
+        <td width="80">{{info.psn_name}}</td>
40
+        <td width="80">性别</td>
41
+        <td width="50" v-if="info.gend == '1'">男</td>
42
+        <td width="50" v-if="info.gend == '2'">女</td>
43
+
44
+        <td width="80">出生日期</td>
45
+        <td colspan="9">{{info.brdy}}</td>
46
+<!--        <td width="90">个人电脑号</td>-->
47
+<!--        <td width="110"></td>-->
48
+<!--        <td width="80">人员类别</td>-->
49
+<!--        <td colspan="6" v-if="info.psn_type == '11'">在职</td>-->
50
+<!--        <td colspan="6" v-else-if="info.psn_type == '1101'">职工在职</td>-->
51
+<!--        <td colspan="6" v-else-if="info.psn_type == '1102'">公务员在职</td>-->
52
+<!--        <td colspan="6" v-else-if="info.psn_type == '1103'">灵活就业人员在职</td>-->
53
+<!--        <td colspan="6" v-else-if="info.psn_type == '1160'">地方其他扩展人员</td>-->
54
+
55
+
56
+<!--        <td colspan="6" v-else-if="info.psn_type == '12'">退休人员</td>-->
57
+<!--        <td colspan="6" v-else-if="info.psn_type == '1201'">职工退休</td>-->
58
+<!--        <td colspan="6" v-else-if="info.psn_type == '1202'">公务员退休</td>-->
59
+<!--        <td colspan="6" v-else-if="info.psn_type == '1203'">灵活就业人员退休</td>-->
60
+<!--        <td colspan="6" v-else-if="info.psn_type == '1260'">地方其他扩展人员</td>-->
61
+
62
+
63
+<!--        <td colspan="6" v-else-if="info.psn_type == '13'">离休</td>-->
64
+<!--        <td colspan="6" v-else-if="info.psn_type == '1300'">离休人员</td>-->
65
+<!--        <td colspan="6" v-else-if="info.psn_type == '1360'">地方其他扩展人员</td>-->
66
+
67
+<!--        <td colspan="6" v-else-if="info.psn_type == '14'">居民(未成年)</td>-->
68
+<!--        <td colspan="6" v-else-if="info.psn_type == '1401'">新生儿</td>-->
69
+<!--        <td colspan="6" v-else-if="info.psn_type == '1402'">学龄前儿童</td>-->
70
+<!--        <td colspan="6" v-else-if="info.psn_type == '1403'">中小学生</td>-->
71
+<!--        <td colspan="6" v-else-if="info.psn_type == '1404'">大学生</td>-->
72
+<!--        <td colspan="6" v-else-if="info.psn_type == '1405'">未成年(未入学)</td>-->
73
+
74
+
75
+<!--        <td colspan="6" v-else-if="info.psn_type == '15'">居民(成年)</td>-->
76
+<!--        <td colspan="6" v-else-if="info.psn_type == '1501'">普通居民(成年)</td>-->
77
+<!--        <td colspan="6" v-else-if="info.psn_type == '1560'">地方其他扩展身份</td>-->
78
+
79
+<!--        <td colspan="6" v-else-if="info.psn_type == '16'">居民(老年)</td>-->
80
+<!--        <td colspan="6" v-else></td>-->
81
+
82
+
83
+      </tr>
84
+      <tr>
85
+        <td width="80">联系电话</td>
86
+        <td width="110">{{info.patient.phone}}</td>
87
+        <td width="80">身份证号</td>
88
+        <td colspan="9">{{info.certno}}</td>
89
+      </tr>
90
+
91
+      <tr>
92
+        <td>险种</td>
93
+        <td colspan="12" v-if="info.insutype == '310'">职工基本医疗保险</td>
94
+        <td colspan="12" v-if="info.insutype == '320'">公务员医疗补助</td>
95
+        <td colspan="12" v-if="info.insutype == '330'">大额医疗费用补助</td>
96
+        <td colspan="12" v-if="info.insutype == '340'">离休人员医疗保障</td>
97
+        <td colspan="12" v-if="info.insutype == '390'">城乡居民基本医疗保险</td>
98
+        <td colspan="12" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
99
+        <td colspan="12" v-if="info.insutype == '510'">生育保险</td>
100
+
101
+
102
+      </tr>
103
+      <tr>
104
+        <td>业务类别</td>
105
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '11'">普通门诊</td>
106
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '12'">门诊挂号</td>
107
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '13'">急诊</td>
108
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '14'">门诊特殊病</td>
109
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '15'">门诊统筹</td>
110
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '16'">门诊慢性病</td>
111
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '21'">普通住院</td>
112
+
113
+        <td>结算时间</td>
114
+        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
115
+      </tr>
116
+      <tr>
117
+        <td colspan="12" style="text-align:left;padding-left:10px;">
118
+          本次就医:总费用{{info.medfee_sumamt}}元,基金支付{{info.fund_pay_sumamt}}元,个人支付{{info.psn_pay}}元。
119
+
120
+        </td>
121
+      </tr>
122
+      <tr>
123
+        <td>费用名称</td>
124
+        <td colspan="2">总费用</td>
125
+        <td>自费</td>
126
+        <td colspan="2">部分项目自付</td>
127
+        <td>费用名称</td>
128
+        <td colspan="2">总费用</td>
129
+        <td>自费</td>
130
+        <td colspan="2">部分项目自付</td>
131
+      </tr>
132
+      <tr>
133
+
134
+        <td>西成药</td>
135
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_total}}</td>
136
+        <td style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_self_total}}</td>
137
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_part_self_total}}</td>
138
+
139
+        <td>中药费</td>
140
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
141
+        <td  style="text-align:right;padding-right:10px;">0</td>
142
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
143
+      </tr>
144
+      <tr>
145
+        <td>中成药</td>
146
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_total}}
147
+        </td>
148
+        <td style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_self_total}}</td>
149
+        <td colspan="2" style="text-align:right;padding-right:10px;">
150
+          {{info.chinese_traditional_medicine_cost_part_self_total}}
151
+        </td>
152
+
153
+        <td>中草药</td>
154
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
155
+        <td style="text-align:right;padding-right:10px;">0</td>
156
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
157
+      </tr>
158
+      <tr>
159
+
160
+        <td>检查费</td>
161
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_total}}</td>
162
+        <td style="text-align:right;padding-right:10px;">{{info.check_cost_self_total}}</td>
163
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_part_self_total}}</td>
164
+
165
+        <td>治疗费</td>
166
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_total}}</td>
167
+        <td style="text-align:right;padding-right:10px;">{{info.treat_cost_self_total}}</td>
168
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_part_self_total}}</td>
169
+      </tr>
170
+      <tr>
171
+
172
+      </tr>
173
+      <tr>
174
+        <td>手术费</td>
175
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_total}}</td>
176
+        <td style="text-align:right;padding-right:10px;">{{info.operation_cost_self_total}}</td>
177
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_part_self_total}}</td>
178
+        <td>化验费</td>
179
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_total}}</td>
180
+        <td style="text-align:right;padding-right:10px;">{{info.laboratory_cost_self_total}}</td>
181
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_part_self_total}}</td>
182
+      </tr>
183
+      <tr>
184
+        <td>输血费</td>
185
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
186
+        <td style="text-align:right;padding-right:10px;">0</td>
187
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
188
+        <td>输氧费</td>
189
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
190
+        <td style="text-align:right;padding-right:10px;">0</td>
191
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
192
+      </tr>
193
+      <tr>
194
+        <td>其他</td>
195
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_total}}</td>
196
+        <td style="text-align:right;padding-right:10px;">{{info.other_cost_self_total}}</td>
197
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_part_self_total}}</td>
198
+
199
+        <td>材料费</td>
200
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_total}}</td>
201
+        <td style="text-align:right;padding-right:10px;">{{info.material_cost_self_total}}</td>
202
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_part_self_total}}</td>
203
+      </tr>
204
+
205
+      <tr>
206
+        <td>合计</td>
207
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_total) +
208
+          parseFloat(info.operation_cost_total) + parseFloat(info.other_cost_total) +
209
+          parseFloat(info.material_cost_total) + parseFloat(info.western_medicine_cost_total) +
210
+          parseFloat(info.chinese_traditional_medicine_cost_total) + parseFloat(info.check_cost_total) +
211
+          parseFloat(info.laboratory_cost_total) + parseFloat(info.treat_cost_total)).toFixed(2) }}
212
+        </td>
213
+        <td style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_self_total )+
214
+          parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
215
+          parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
216
+          parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
217
+          parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total)).toFixed(2)}}
218
+        </td>
219
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_part_self_total) +
220
+          parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +
221
+          parseFloat(info.material_cost_part_self_total) + parseFloat(info.western_medicine_cost_part_self_total) +
222
+          parseFloat(info.chinese_traditional_medicine_cost_part_self_total) +
223
+          parseFloat(info.check_cost_part_self_total) + parseFloat(info.laboratory_cost_part_self_total) +
224
+          parseFloat(info.treat_cost_part_self_total)).toFixed(2)}}
225
+        </td>
226
+        <td style="text-align:right;padding-right:10px;"></td>
227
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
228
+        <td style="text-align:right;padding-right:10px;"></td>
229
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
230
+      </tr>
231
+      <tr>
232
+        <td colspan="3" style="text-align:left;padding-left:10px;">基本医疗保险统筹基金支付</td>
233
+        <td colspan="3">{{info.hifp_pay}}</td>
234
+        <td colspan="3" style="text-align:left;padding-left:10px;">大额基金支付</td>
235
+        <td colspan="3">{{info.hifob_pay}}</td>
236
+      </tr>
237
+      <tr>
238
+        <td colspan="3" style="text-align:left;padding-left:10px;">大病基金支付</td>
239
+        <td colspan="3">{{info.hifmi_pay}}</td>
240
+        <td colspan="3" style="text-align:left;padding-left:10px;">补充保险基金支付</td>
241
+        <td colspan="3">{{info.hifes_pay}}</td>
242
+      </tr>
243
+      <tr>
244
+        <td colspan="3" style="text-align:left;padding-left:10px;">医疗救助基金支付</td>
245
+        <td colspan="3">{{info.maf_pay}}</td>
246
+        <td colspan="3" style="text-align:left;padding-left:10px;">公务员基金支付</td>
247
+        <td colspan="3">{{info.cvlserv_pay}}</td>
248
+      </tr>
249
+      <tr>
250
+        <td colspan="3" style="text-align:left;padding-left:10px;">其他基金支付</td>
251
+        <td colspan="3">{{info.oth_pay}}</td>
252
+        <td colspan="3" style="text-align:left;padding-left:10px;">个人账户支付</td>
253
+        <td colspan="3">{{info.acct_pay}}</td>
254
+      </tr>
255
+      <tr>
256
+
257
+        <td>制单人:</td>
258
+        <td colspan="5">{{info.p_admin.user_name}}</td>
259
+        <td>打印日期</td>
260
+        <td colspan="5">{{getNowTime()}}</td>
261
+      </tr>
262
+<!--      <tr>-->
263
+<!--        <td colspan="12" style="text-align:left;padding-left:10px;line-height:20px;">-->
264
+<!--          注: 1、部分项目自付金额是指基本医疗保险范围内的项目需参保人先按规定比例自付的金额。<br/>-->
265
+<!--          &ensp;&ensp;&ensp;2、此表由医院打印。<br/>-->
266
+<!--          &ensp;&ensp;&ensp;3、此表一式两份,医院、参保人各一份。-->
267
+<!--        </td>-->
268
+<!--      </tr>-->
269
+<!--      <tr>-->
270
+<!--        <td colspan="12" style="text-align:left;padding-left:10px;">-->
271
+<!--          病人家属签字:-->
272
+<!--        </td>-->
273
+<!--      </tr>-->
274
+    </table>
275
+  </div>
276
+</template>
277
+<script>
278
+export default {
279
+  props: {
280
+    info: {
281
+      type: Object,
282
+      default: function() {
283
+        return {}
284
+      }
285
+    }, p_admin: {
286
+      type: Object,
287
+      default: function() {
288
+        return {}
289
+      }
290
+    }, charge_admin: {
291
+      type: Object,
292
+      default: function() {
293
+        return {}
294
+      }
295
+    }
296
+  },methods:{
297
+    getDay(dateString1,dateString2){
298
+      var  startDate = Date.parse(dateString1);
299
+      var  endDate = Date.parse(dateString2);
300
+      if (startDate>endDate){
301
+        return 0;
302
+      }
303
+      if (startDate==endDate){
304
+        return 1;
305
+      }
306
+      var days=(endDate - startDate)/(1*24*60*60*1000);
307
+      return  days;
308
+
309
+    },
310
+    getNowTime: function () {
311
+      let dateTime;
312
+      let yy = new Date().getFullYear();
313
+      let mm = new Date().getMonth() + 1;
314
+      let dd = new Date().getDate();
315
+      let hh = new Date().getHours();
316
+      let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
317
+        :
318
+        new Date().getMinutes();
319
+      let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
320
+        :
321
+        new Date().getSeconds();
322
+      dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss;
323
+      return dateTime
324
+    },
325
+
326
+  }
327
+}
328
+
329
+
330
+</script>
331
+
332
+
333
+<style lang="scss" scoped>
334
+.statement-print {
335
+  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
336
+  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
337
+  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
338
+  margin-bottom: 20px;
339
+  padding: 20px 10px;
340
+}
341
+
342
+.statementTitle {
343
+  font-size: 28px;
344
+  text-align: center;
345
+  font-weight: bold;
346
+  margin-bottom: 10px;
347
+}
348
+
349
+.statementTable {
350
+  width: 100%;
351
+  text-align: center;
352
+  border-collapse: collapse;
353
+  line-height: 40px;
354
+  font-size: 14px;
355
+  border-color: #000;
356
+}
357
+</style>

+ 32 - 22
src/xt_pages/outpatientCharges/statementTemplate/printFive.vue View File

@@ -55,33 +55,43 @@
55 55
 <!--            </template>-->
56 56
 <!--          </td>-->
57 57
         <tr>
58
+<!--          <td colspan="6">-->
59
+<!--            <table class="list_table">-->
60
+<!--              <tr>-->
61
+<!--                <td colspan="2">{{'名称'}}</td>-->
62
+<!--                <td>{{'规格'}}</td>-->
63
+<!--                <td>{{'数量'}}</td>-->
64
+<!--                <td>{{'价格'}}</td>-->
65
+<!--              </tr>-->
66
+<!--              <tr colspan="6" v-for="(v, index) in info.L_list" :key="index">-->
67
+<!--                <td colspan="2">{{v.name}}</td>-->
68
+<!--                <td>{{v.spec}}</td>-->
69
+<!--                <td>{{v.cnt}}</td>-->
70
+<!--                <td>{{v.det_item_fee_sumamt}}</td>-->
71
+<!--              </tr>-->
72
+<!--            </table>-->
73
+<!--          </td>-->
74
+        <td colspan="6">
75
+          <table class="list_table">
76
+            <tr>
77
+
78
+            </tr>
79
+            <tr colspan="6" v-for="(v, index) in info.L_list" :key="index">
80
+              <td colspan="2">{{v.name}}</td>
81
+              <td>{{v.spec}}</td>
82
+              <td>{{v.cnt}}</td>
83
+              <td>{{v.det_item_fee_sumamt}}</td>
84
+            </tr>
85
+          </table>
86
+        </td>
87
+
58 88
           <td colspan="6">
59 89
             <table class="list_table">
60 90
               <tr>
61
-                <td colspan="2">{{'名称'}}</td>
62
-                <td>{{'规格'}}</td>
63
-                <td>{{'数量'}}</td>
64
-                <td>{{'价格'}}</td>
65
-              </tr>
66
-              <tr colspan="6" v-for="(v, index) in info.L_list" :key="index">
67
-                <td colspan="2">{{v.code}}</td>
68
-                <td colspan="2">{{v.name}}</td>
69
-                <td>{{v.spec}}</td>
70
-                <td>{{v.cnt}}</td>
71
-                <td>{{v.det_item_fee_sumamt}}</td>
72
-              </tr>
73
-            </table>
74
-          </td>
75 91
 
76
-          <td colspan="6">
77
-            <table class="list_table">
78
-              <td colspan="2">{{'名称'}}</td>
79
-              <td>{{'规格'}}</td>
80
-              <td>{{'数量'}}</td>
81
-              <td>{{'价格'}}</td>
92
+              </tr>
82 93
               <tr colspan="6" v-for="(v, index) in info.R_list" :key="index">
83 94
                 <td colspan="2">{{v.name}}</td>
84
-                <td colspan="2">{{v.code}}</td>
85 95
                 <td>{{v.spec}}</td>
86 96
                 <td>{{v.cnt}}</td>
87 97
                 <td>{{v.det_item_fee_sumamt}}</td>
@@ -90,7 +100,7 @@
90 100
           </td>
91 101
         </tr>
92 102
         <tr>
93
-          <td colspan="10">共一页,第一页{{info.medfee_sumamt}}</td>
103
+<!--          <td colspan="10">共一页,第一页{{// info.medfee_sumamt}}</td>-->
94 104
         </tr>
95 105
         <tr class="dashed_tr">
96 106
           <td colspan="10">结付分类</td>

+ 82 - 37
src/xt_pages/workforce/components/tableData.vue View File

@@ -217,18 +217,24 @@
217 217
           <schedule-item
218 218
             slot-scope="scope"
219 219
             :schedule-detail="scope.row.Mon_M"
220
+            :config="config"
221
+
220 222
           ></schedule-item>
221 223
         </el-table-column>
222 224
         <el-table-column prop="Mon_A" label="下" width="110" align="center" v-if="isShowXiaWu">
223 225
           <schedule-item
224 226
             slot-scope="scope"
225 227
             :schedule-detail="scope.row.Mon_A"
228
+            :config="config"
229
+
226 230
           ></schedule-item>
227 231
         </el-table-column>
228 232
         <el-table-column prop="Mon_N" label="晚" width="110" align="center" v-if="isShowWanShang">
229 233
           <schedule-item
230 234
             slot-scope="scope"
231 235
             :schedule-detail="scope.row.Mon_N"
236
+            :config="config"
237
+
232 238
           ></schedule-item>
233 239
         </el-table-column>
234 240
       </el-table-column>
@@ -242,18 +248,24 @@
242 248
           <schedule-item
243 249
             slot-scope="scope"
244 250
             :schedule-detail="scope.row.Tue_M"
251
+            :config="config"
252
+
245 253
           ></schedule-item>
246 254
         </el-table-column>
247 255
         <el-table-column prop="Tue_A" label="下" width="110" align="center" v-if="isShowXiaWu">
248 256
           <schedule-item
249 257
             slot-scope="scope"
250 258
             :schedule-detail="scope.row.Tue_A"
259
+            :config="config"
260
+
251 261
           ></schedule-item>
252 262
         </el-table-column>
253 263
         <el-table-column prop="Tue_N" label="晚" width="110" align="center" v-if="isShowWanShang">
254 264
           <schedule-item
255 265
             slot-scope="scope"
256 266
             :schedule-detail="scope.row.Tue_N"
267
+            :config="config"
268
+
257 269
           ></schedule-item>
258 270
         </el-table-column>
259 271
       </el-table-column>
@@ -268,17 +280,23 @@
268 280
           <schedule-item
269 281
             slot-scope="scope"
270 282
             :schedule-detail="scope.row.Wed_M"
283
+            :config="config"
284
+
271 285
           ></schedule-item>
272 286
         </el-table-column>
273 287
         <el-table-column prop="Wed_A" label="下" width="110" align="center" v-if="isShowXiaWu">
274 288
           <schedule-item
275 289
             slot-scope="scope"
276 290
             :schedule-detail="scope.row.Wed_A"
291
+            :config="config"
292
+
277 293
           ></schedule-item>
278 294
         </el-table-column>
279 295
         <el-table-column prop="Wed_N" label="晚" width="110" align="center" v-if="isShowWanShang">
280 296
           <schedule-item
281 297
             slot-scope="scope"
298
+            :config="config"
299
+
282 300
             :schedule-detail="scope.row.Wed_N"
283 301
           ></schedule-item>
284 302
         </el-table-column>
@@ -293,6 +311,7 @@
293 311
         <el-table-column prop="Thurs_M" label="上" width="110" align="center" v-if="isShowShangWu">
294 312
           <schedule-item
295 313
             slot-scope="scope"
314
+            :config="config"
296 315
             :schedule-detail="scope.row.Thurs_M"
297 316
           ></schedule-item>
298 317
         </el-table-column>
@@ -300,12 +319,16 @@
300 319
           <schedule-item
301 320
             slot-scope="scope"
302 321
             :schedule-detail="scope.row.Thurs_A"
322
+            :config="config"
323
+
303 324
           ></schedule-item>
304 325
         </el-table-column>
305 326
         <el-table-column prop="Thurs_N" label="晚" width="110" align="center" v-if="isShowWanShang">
306 327
           <schedule-item
307 328
             slot-scope="scope"
308 329
             :schedule-detail="scope.row.Thurs_N"
330
+            :config="config"
331
+
309 332
           ></schedule-item>
310 333
         </el-table-column>
311 334
       </el-table-column>
@@ -320,18 +343,24 @@
320 343
           <schedule-item
321 344
             slot-scope="scope"
322 345
             :schedule-detail="scope.row.Fri_M"
346
+            :config="config"
347
+
323 348
           ></schedule-item>
324 349
         </el-table-column>
325 350
         <el-table-column prop="Fri_A" label="下" width="110" align="center" v-if="isShowXiaWu">
326 351
           <schedule-item
327 352
             slot-scope="scope"
328 353
             :schedule-detail="scope.row.Fri_A"
354
+            :config="config"
355
+
329 356
           ></schedule-item>
330 357
         </el-table-column>
331 358
         <el-table-column prop="Fri_N" label="晚" width="110" align="center" v-if="isShowWanShang">
332 359
           <schedule-item
333 360
             slot-scope="scope"
334 361
             :schedule-detail="scope.row.Fri_N"
362
+            :config="config"
363
+
335 364
           ></schedule-item>
336 365
         </el-table-column>
337 366
       </el-table-column>
@@ -346,18 +375,24 @@
346 375
           <schedule-item
347 376
             slot-scope="scope"
348 377
             :schedule-detail="scope.row.Sat_M"
378
+            :config="config"
379
+
349 380
           ></schedule-item>
350 381
         </el-table-column>
351 382
         <el-table-column prop="Sat_A" label="下" width="110" align="center" v-if="isShowXiaWu">
352 383
           <schedule-item
353 384
             slot-scope="scope"
354 385
             :schedule-detail="scope.row.Sat_A"
386
+            :config="config"
387
+
355 388
           ></schedule-item>
356 389
         </el-table-column>
357 390
         <el-table-column prop="Sat_N" label="晚" width="110" align="center" v-if="isShowWanShang">
358 391
           <schedule-item
359 392
             slot-scope="scope"
360 393
             :schedule-detail="scope.row.Sat_N"
394
+            :config="config"
395
+
361 396
           ></schedule-item>
362 397
         </el-table-column>
363 398
       </el-table-column>
@@ -372,22 +407,28 @@
372 407
           <schedule-item
373 408
             slot-scope="scope"
374 409
             :schedule-detail="scope.row.Sun_M"
410
+            :config="config"
411
+
375 412
           ></schedule-item>
376 413
         </el-table-column>
377 414
         <el-table-column prop="Sun_A" label="下" min-width="110" align="center" v-if="isShowXiaWu">
378 415
           <schedule-item
379 416
             slot-scope="scope"
380 417
             :schedule-detail="scope.row.Sun_A"
418
+            :config="config"
419
+
381 420
           ></schedule-item>
382 421
         </el-table-column>
383 422
         <el-table-column prop="Sun_N" label="晚" min-width="110" align="center" v-if="isShowWanShang">
384 423
           <schedule-item
385 424
             slot-scope="scope"
386 425
             :schedule-detail="scope.row.Sun_N"
426
+            :config="config"
427
+
387 428
           ></schedule-item>
388 429
         </el-table-column>
389 430
       </el-table-column>
390
-    
431
+
391 432
 <!--      <el-table-column-->
392 433
 <!--        prop="total"-->
393 434
 <!--        label="总数"-->
@@ -734,7 +775,11 @@ export default {
734 775
     partitionsProp: {
735 776
       type: Object,
736 777
       dafault: {}
737
-    }
778
+    }, config: {
779
+      type: Object,
780
+      dafault: {}
781
+    },
782
+
738 783
   },
739 784
   data() {
740 785
     return {
@@ -1064,7 +1109,7 @@ export default {
1064 1109
           var partitions = response.data.data.partitions
1065 1110
           console.log("partitions",partitions)
1066 1111
           this.theWeek.thisWeek = response.data.data.theWeek
1067
-          
1112
+
1068 1113
           this.theWeek.lastWeek = this.theWeek.thisWeek - 1
1069 1114
           this.theWeek.nextWeek = this.theWeek.thisWeek + 1
1070 1115
           this.theWeek.nextTwoWeek = this.theWeek.thisWeek + 2
@@ -1305,7 +1350,7 @@ export default {
1305 1350
               })
1306 1351
             })
1307 1352
           }
1308
-          
1353
+
1309 1354
           this.scheduleZone.sort(this.compare('sort'))
1310 1355
           this.source_scheduleZone = this.scheduleZone
1311 1356
           console.log("34455555566666",this.source_scheduleZone)
@@ -1356,13 +1401,13 @@ export default {
1356 1401
       this.getSchedulePatients();
1357 1402
     },
1358 1403
     getSummaries(param) {
1359
-    
1360
-     
1404
+
1405
+
1361 1406
       const { columns, data } = param;
1362 1407
       const sums = [];
1363
-    
1408
+
1364 1409
       columns.forEach((column, index) => {
1365
-       
1410
+
1366 1411
         if (index === 0 ) {
1367 1412
           sums[index] = "总数";
1368 1413
           return;
@@ -1373,7 +1418,7 @@ export default {
1373 1418
         }
1374 1419
 
1375 1420
         const values = data.map(item => item[column.property]);
1376
-        
1421
+
1377 1422
         sums[index] = values.reduce((prev, curr) => {
1378 1423
           if (typeof curr["mode_id"] === "undefined") {
1379 1424
             return prev;
@@ -1451,7 +1496,7 @@ export default {
1451 1496
       var Sun_N_One= 0
1452 1497
 
1453 1498
       if(this.schedulesGroup!=null && this.schedulesGroup.length >0){
1454
-        
1499
+
1455 1500
         for(let i=0;i<this.schedulesGroup.length;i++){
1456 1501
           //灌流
1457 1502
           //礼拜一上午
@@ -1592,7 +1637,7 @@ export default {
1592 1637
            //礼拜四上午
1593 1638
           if(this.schedulesGroup[i].schedule_week == 4 && this.schedulesGroup[i].schedule_type == 1 && this.schedulesGroup[i].mode_id == 2){
1594 1639
             Thurs_M_One = this.schedulesGroup[i].Count
1595
-            
1640
+
1596 1641
           }
1597 1642
            //礼拜四下午
1598 1643
            if(this.schedulesGroup[i].schedule_week == 4 && this.schedulesGroup[i].schedule_type == 2 && this.schedulesGroup[i].mode_id == 2){
@@ -1642,41 +1687,41 @@ export default {
1642 1687
            if(this.schedulesGroup[i].schedule_week == 7 && this.schedulesGroup[i].schedule_type == 3 && this.schedulesGroup[i].mode_id == 2){
1643 1688
             Sun_N_One = this.schedulesGroup[i].Count
1644 1689
           }
1645
-  
1690
+
1646 1691
         }
1647 1692
       }
1648 1693
 
1649 1694
       sums[2] = ("总人数:"+ sums[2]+"人").replace(/\\r\\n/g, '<br/>')+""+ "\n" + "HD+HP:"+Mon_M +"人" +"\n"+ "HDF:" + Mon_M_One +"人"
1650
-      sums[3] = ("总人数:"+ sums[3]+"人").replace(/\\r\\n/g, '<br/>')+" "+"\n"+ "HD+HP:"+Mon_A +"人" +"\n"+ "HDF:" + Mon_A_One +"人" 
1651
-      sums[4] = ("总人数:"+ sums[4]+"人").replace(/\\r\\n/g, '<br/>')+" "+"\n"+ "HD+HP:"+Mon_N +"人" +"\n"+ "HDF:" + Mon_N_One +"人"  
1695
+      sums[3] = ("总人数:"+ sums[3]+"人").replace(/\\r\\n/g, '<br/>')+" "+"\n"+ "HD+HP:"+Mon_A +"人" +"\n"+ "HDF:" + Mon_A_One +"人"
1696
+      sums[4] = ("总人数:"+ sums[4]+"人").replace(/\\r\\n/g, '<br/>')+" "+"\n"+ "HD+HP:"+Mon_N +"人" +"\n"+ "HDF:" + Mon_N_One +"人"
1652 1697
 
1653
-      sums[5] = "总人数:"+ sums[5]  +"人"+ " " + "\n"+ "HD+HP:"+Tue_M +"人" +" "+ "HDF:" + Tue_M_One +"人"  
1654
-      sums[6] = "总人数:"+ sums[6]  +"人"+ " " +'\n' + "HD+HP:"+Tue_A +"人" +" "+ "HDF:" + Tue_A_One +"人"  
1655
-      sums[7] = "总人数:"+ sums[7]  +"人"+ " " +'\n' + "HD+HP:"+Tue_N +"人" +" "+ "HDF:" + Tue_N_One +"人"  
1698
+      sums[5] = "总人数:"+ sums[5]  +"人"+ " " + "\n"+ "HD+HP:"+Tue_M +"人" +" "+ "HDF:" + Tue_M_One +"人"
1699
+      sums[6] = "总人数:"+ sums[6]  +"人"+ " " +'\n' + "HD+HP:"+Tue_A +"人" +" "+ "HDF:" + Tue_A_One +"人"
1700
+      sums[7] = "总人数:"+ sums[7]  +"人"+ " " +'\n' + "HD+HP:"+Tue_N +"人" +" "+ "HDF:" + Tue_N_One +"人"
1656 1701
 
1657
-      sums[8] = "总人数:"+ sums[8]  +"人"+ " " + '\n'+ "HD+HP:"+Wed_M +"人" +" "+ "HDF:" + Wed_M_One +"人"  
1658
-      sums[9] = "总人数:"+ sums[9]  +"人"+ " " +'\n' + "HD+HP:"+ Wed_A +"人" +" "+ "HDF:" + Wed_A_One +"人"  
1659
-      sums[10] = "总人数:"+ sums[10]  +"人"+ " " +'\n'+"HD+HP:"+Wed_N +"人" +" "+ "HDF:" +Wed_N_One +"人"  
1702
+      sums[8] = "总人数:"+ sums[8]  +"人"+ " " + '\n'+ "HD+HP:"+Wed_M +"人" +" "+ "HDF:" + Wed_M_One +"人"
1703
+      sums[9] = "总人数:"+ sums[9]  +"人"+ " " +'\n' + "HD+HP:"+ Wed_A +"人" +" "+ "HDF:" + Wed_A_One +"人"
1704
+      sums[10] = "总人数:"+ sums[10]  +"人"+ " " +'\n'+"HD+HP:"+Wed_N +"人" +" "+ "HDF:" +Wed_N_One +"人"
1660 1705
 
1661
-      sums[11] = "总人数:"+ sums[11]  +"人"+ " " +'\n' + "HD+HP:"+Thurs_M +"人" +" "+ "HDF:" + Thurs_M_One +"人"  
1662
-      sums[12] = "总人数:"+ sums[12]  +"人"+ " " +'\n' + "HD+HP:"+Thurs_A +"人" +" "+ "HDF:" + Thurs_A_One +"人"  
1663
-      sums[13] = "总人数:"+ sums[13]  +"人"+ " " +'\n' + "HD+HP:"+Thurs_N +"人" +" "+ "HDF:" + Thurs_N_One +"人"  
1706
+      sums[11] = "总人数:"+ sums[11]  +"人"+ " " +'\n' + "HD+HP:"+Thurs_M +"人" +" "+ "HDF:" + Thurs_M_One +"人"
1707
+      sums[12] = "总人数:"+ sums[12]  +"人"+ " " +'\n' + "HD+HP:"+Thurs_A +"人" +" "+ "HDF:" + Thurs_A_One +"人"
1708
+      sums[13] = "总人数:"+ sums[13]  +"人"+ " " +'\n' + "HD+HP:"+Thurs_N +"人" +" "+ "HDF:" + Thurs_N_One +"人"
1664 1709
 
1665
-      sums[14] = "总人数:"+ sums[14]  +"人"+ " " +'\n' + "HD+HP:"+Fri_M +"人" +" "+ "HDF:" + Fri_M_One +"人"  
1666
-      sums[15] = "总人数:"+ sums[15]  +"人"+ " " + '\n' +"HD+HP:"+Fri_A +"人" +" "+ "HDF:" + Fri_A_One +"人"  
1667
-      sums[16] = "总人数:"+ sums[16]  +"人"+ " " +'\n' + "HD+HP:"+Fri_N +"人" +" "+ "HDF:" + Fri_N_One +"人"  
1710
+      sums[14] = "总人数:"+ sums[14]  +"人"+ " " +'\n' + "HD+HP:"+Fri_M +"人" +" "+ "HDF:" + Fri_M_One +"人"
1711
+      sums[15] = "总人数:"+ sums[15]  +"人"+ " " + '\n' +"HD+HP:"+Fri_A +"人" +" "+ "HDF:" + Fri_A_One +"人"
1712
+      sums[16] = "总人数:"+ sums[16]  +"人"+ " " +'\n' + "HD+HP:"+Fri_N +"人" +" "+ "HDF:" + Fri_N_One +"人"
1668 1713
 
1669
-      sums[17] = "总人数:"+ sums[17]  +"人"+ " " +'\n' + "HD+HP:"+Sat_M +"人" +" "+ "HDF:" + Sat_M_One +"人"  
1670
-      sums[18] = "总人数:"+ sums[18]  +"人"+ " " + '\n' +"HD+HP:"+Sat_A +"人" +" "+ "HDF:" + Sat_A_One +"人"  
1671
-      sums[19] = "总人数:"+ sums[19]  +"人"+ " " +'\n' + "HD+HP:"+Sat_N +"人" +" "+ "HDF:" + Sat_N_One +"人"  
1714
+      sums[17] = "总人数:"+ sums[17]  +"人"+ " " +'\n' + "HD+HP:"+Sat_M +"人" +" "+ "HDF:" + Sat_M_One +"人"
1715
+      sums[18] = "总人数:"+ sums[18]  +"人"+ " " + '\n' +"HD+HP:"+Sat_A +"人" +" "+ "HDF:" + Sat_A_One +"人"
1716
+      sums[19] = "总人数:"+ sums[19]  +"人"+ " " +'\n' + "HD+HP:"+Sat_N +"人" +" "+ "HDF:" + Sat_N_One +"人"
1672 1717
 
1673
-      sums[20] = "总人数:"+ sums[20]  +"人"+ " " +'\n' + "HD+HP:"+Sun_M +"人" +" "+ "HDF:" + Sun_M_One +"人"  
1674
-      sums[21] = "总人数:"+ sums[21]  +"人"+ " " + '\n'+"HD+HP:"+Sun_A +"人" +" "+ "HDF:" + Sun_A_One +"人"  
1675
-      sums[22] = "总人数:"+ sums[22]  +"人"+ " " + '\n'+"HD+HP:"+Sun_N +"人" +" "+ "HDF:" + Sun_N_One +"人"  
1718
+      sums[20] = "总人数:"+ sums[20]  +"人"+ " " +'\n' + "HD+HP:"+Sun_M +"人" +" "+ "HDF:" + Sun_M_One +"人"
1719
+      sums[21] = "总人数:"+ sums[21]  +"人"+ " " + '\n'+"HD+HP:"+Sun_A +"人" +" "+ "HDF:" + Sun_A_One +"人"
1720
+      sums[22] = "总人数:"+ sums[22]  +"人"+ " " + '\n'+"HD+HP:"+Sun_N +"人" +" "+ "HDF:" + Sun_N_One +"人"
1676 1721
       return sums;
1677 1722
 
1678 1723
       }
1679
-      
1724
+
1680 1725
       if(this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 0 && this.$store.getters.xt_user.template_info.org_id != 3877&& this.$store.getters.xt_user.template_info.org_id != 10340){
1681 1726
         return sums;
1682 1727
       }
@@ -1749,13 +1794,13 @@ export default {
1749 1794
           this.weekDays = response.data.data.days;
1750 1795
           this.toDay = response.data.data.today;
1751 1796
           var theSchedules = response.data.data.schdules;
1752
-        
1797
+
1753 1798
           var schedulesGroup = response.data.data.schedulesGroup
1754 1799
           this.schedulesGroup = schedulesGroup
1755 1800
 
1756 1801
 
1757 1802
 
1758
-     
1803
+
1759 1804
           var that = this;
1760 1805
 
1761 1806
           this.scheduleZone.forEach(function(zone, index) {
@@ -1840,7 +1885,7 @@ export default {
1840 1885
               dialysis_machine_name:"",
1841 1886
               schedule_date:"",
1842 1887
               Count:0,
1843
-              
1888
+
1844 1889
             };
1845 1890
             that.scheduleZone[index].Thurs_M = {
1846 1891
               mode_id: 0,
@@ -3046,7 +3091,7 @@ export default {
3046 3091
     }
3047 3092
     var nowDate = year + "-" + month + "-" + day
3048 3093
     var date = new Date(nowDate + " 00:00:00")
3049
-   
3094
+
3050 3095
     this.now_time = date.getTime()/1000
3051 3096
     this.getAllZones()
3052 3097