Browse Source

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

csx 3 years ago
parent
commit
021194b377

+ 1 - 0
config/prod.env.js View File

@@ -9,3 +9,4 @@ module.exports = {
9 9
   MIRCO_MALL_HOST: '"http://mall.kuyicloud.com"',
10 10
   CDM_HOST: '"http://cdm.kuyicloud.com"',
11 11
 }
12
+

+ 12 - 1
src/router/modules/workforce.js View File

@@ -81,6 +81,17 @@ export default {
81 81
         title: 'next_remind_print',
82 82
         noCache: true
83 83
       }
84
-    }
84
+    },
85
+    // {
86
+    //   path: '/schedule/remind/print/setting',
87
+    //   component: () => import('@/xt_pages/workforce/remind_print_setting'),
88
+    //   name: 'remind_print_setting',
89
+    //   hidden: true,
90
+    //   is_menu: false,
91
+    //   meta: {
92
+    //     title: 'remind_print_setting',
93
+    //     noCache: true
94
+    //   }
95
+    // },
85 96
   ]
86 97
 }

+ 2 - 2
src/xt_pages/hospitalStation/statementTemplate/printTwo.vue View File

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <div id="statement-print" class="statement-print">
3
-    <div class="statementTitle" v-if="info.insutype == '310'">珠海市职工基本医疗保险门慢就医结算单</div>
4
-    <div class="statementTitle" v-if="info.insutype == '390'">珠海市城乡居民基本医疗保险门慢就医结算单</div>
3
+    <div class="statementTitle" v-if="info.insutype == '310'">医保费用明细清单</div>
4
+    <div class="statementTitle" v-if="info.insutype == '390'">医保费用明细清单</div>
5 5
 
6 6
     <div style="display:flex">
7 7
       <div style="width:70%">医疗机构名称:{{info.fixmedins_name}}</div>

+ 83 - 93
src/xt_pages/outpatientCharges/listPrint.vue View File

@@ -51,12 +51,12 @@
51 51
       }
52 52
     },
53 53
     created() {
54
-      this.getInfo(this.paramsObj.id);
55
-      this.org_id = this.$store.getters.xt_user.org_id;
54
+      this.getInfo(this.paramsObj.id)
55
+      this.org_id = this.$store.getters.xt_user.org_id
56 56
       if(this.org_id == 10106){
57 57
         this.getInfo10106(this.paramsObj.id)
58 58
       }
59
-
59
+      
60 60
     },
61 61
 
62 62
     methods: {
@@ -66,41 +66,41 @@
66 66
       getInfo(order_id) {
67 67
         let params = {
68 68
           id: order_id
69
-        };
69
+        }
70 70
         getHisOrderDetail(params).then(response => {
71 71
           if (response.data.state == 0) {
72
-            this.$message.error(response.data.msg);
72
+            this.$message.error(response.data.msg)
73 73
             return false
74 74
           } else {
75
-            this.order = response.data.data.order;
76
-            this.patient = response.data.data.patient;
77
-            console.log(this.patient);
78
-            this.admin = response.data.data.admin_info;
75
+            this.order = response.data.data.order
76
+            this.patient = response.data.data.patient
77
+            console.log(this.patient)
78
+            this.admin = response.data.data.admin_info
79 79
 
80 80
 
81 81
             for (let i = 0; i < response.data.data.order_info.length; i++) {
82
-              var infos = response.data.data.order_info[i];
82
+              var infos = response.data.data.order_info[i]
83 83
               let obj = {
84 84
                 med_chrgitm_type: this.getType(infos.med_chrgitm_type),
85 85
                 price: infos.pric,
86 86
                 count: infos.cnt
87
-              };
87
+              }
88 88
               if (infos.advice && infos.advice.id == 0 && infos.project && infos.project.id > 0) {
89
-                obj['p_time'] = this.getTimes(infos.project.prescription.ctime);
90
-                obj['name'] = infos.project.project.project_name;
91
-                obj['spec'] = 1;
89
+                obj['p_time'] = this.getTimes(infos.project.prescription.ctime)
90
+                obj['name'] = infos.project.project.project_name
91
+                obj['spec'] = 1
92 92
                 obj['unit'] = infos.project.project.unit
93 93
 
94 94
               }
95 95
 
96 96
               if (infos.advice && infos.advice.id > 0 && infos.project && infos.project.id == 0) {
97
-                obj['p_time'] = this.getTimes(infos.advice.prescription.ctime);
98
-                obj['name'] = infos.advice.advice_name;
99
-                obj['spec'] = infos.advice.drug.drug_spec;
97
+                obj['p_time'] = this.getTimes(infos.advice.prescription.ctime)
98
+                obj['name'] = infos.advice.advice_name
99
+                obj['spec'] = infos.advice.drug.drug_spec
100 100
                 obj['unit'] = infos.advice.drug.max_unit
101 101
 
102 102
               }
103
-              this.list.push(obj);
103
+              this.list.push(obj)
104 104
               this.list.sort(function(a, b) {
105 105
                 return b.p_time < a.p_time ? 1 : -1
106 106
               })
@@ -112,57 +112,57 @@
112 112
       getType(med_chrgitm_type) {
113 113
         switch (med_chrgitm_type) {
114 114
           case '01':
115
-            return '床位费';
116
-            break;
115
+            return '床位费'
116
+            break
117 117
           case '02':
118
-            return '诊察费';
118
+            return '诊察费'
119 119
 
120
-            break;
120
+            break
121 121
           case '03':
122
-            return '检查费';
122
+            return '检查费'
123 123
 
124
-            break;
124
+            break
125 125
           case '04':
126
-            return '化验费';
127
-            break;
126
+            return '化验费'
127
+            break
128 128
           case '05':
129
-            return '治疗费';
129
+            return '治疗费'
130 130
 
131
-            break;
131
+            break
132 132
           case '06':
133
-            return '手术费';
133
+            return '手术费'
134 134
 
135
-            break;
135
+            break
136 136
           case '07':
137
-            return '护理费';
137
+            return '护理费'
138 138
 
139
-            break;
139
+            break
140 140
           case '08':
141
-            return '材料费';
141
+            return '材料费'
142 142
 
143
-            break;
143
+            break
144 144
           case '09':
145
-            return '西药费';
145
+            return '西药费'
146 146
 
147
-            break;
147
+            break
148 148
           case '10':
149
-            return '中药饮片费';
149
+            return '中药饮片费'
150 150
 
151
-            break;
151
+            break
152 152
           case '11':
153
-            return '中成药费';
153
+            return '中成药费'
154 154
 
155
-            break;
155
+            break
156 156
           case '12':
157
-            return '一般诊疗费';
157
+            return '一般诊疗费'
158 158
 
159
-            break;
159
+            break
160 160
           case '13':
161
-            return '挂号费';
161
+            return '挂号费'
162 162
 
163
-            break;
163
+            break
164 164
           case '14':
165
-            return '其他费';
165
+            return '其他费'
166 166
 
167 167
             break
168 168
 
@@ -172,7 +172,7 @@
172 172
       printThisPage() {
173 173
         if(this.org_id != 10106){
174 174
           const style =
175
-          '@media print {.listTitle{font-size: 24px;text-align: center;font-weight: bold;margin-bottom: 10px;}.listInfo{display: flex;font-size: 16px;justify-content: space-between;margin: 10px 0;} .listTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 14px;border-color: #000;text-align:left;}.listTable tr td {padding: 0 5px;}.tableBottom{font-size: 16px;display: flex;margin-top: 20px;}.tableBottomOne{margin-right: 40px;}}';
175
+          '@media print {.listTitle{font-size: 24px;text-align: center;font-weight: bold;margin-bottom: 10px;}.listInfo{display: flex;font-size: 16px;justify-content: space-between;margin: 10px 0;} .listTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 14px;border-color: #000;text-align:left;}.listTable tr td {padding: 0 5px;}.tableBottom{font-size: 16px;display: flex;margin-top: 20px;}.tableBottomOne{margin-right: 40px;}}'
176 176
           printJS({
177 177
             printable: 'list-print',
178 178
             type: 'html',
@@ -189,7 +189,7 @@
189 189
             scanStyles: false
190 190
           });
191 191
         }
192
-
192
+        
193 193
 
194 194
         // if (this.org_template_info.template_id == 1) {
195 195
         //   printJS({
@@ -203,7 +203,7 @@
203 203
       getInfo10106(order_id) {
204 204
         if (this.$store.getters.xt_user.org_id == 3877 || this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4  || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671 ||  this.$store.getters.xt_user.org_id == 9674 || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990 ) {
205 205
 
206
-          var that = this;
206
+          var that = this
207 207
 
208 208
           axios.get('http://127.0.0.1:9532/api/settle/query', {
209 209
             params: {
@@ -213,67 +213,57 @@
213 213
           })
214 214
             .then(function (response) {
215 215
               if (response.data.state == 0) {
216
-                this.$message.error(response.data.msg);
216
+                this.$message.error(response.data.msg)
217 217
                 return false
218 218
               } else {
219
-                console.log("logloglog");
220
-
221
-                console.log(response.data.data.info);
222
-                that.info = response.data.data.info;
223
-                that.p_admin = response.data.data.printor_admin;
224
-                that.charge_admin = response.data.data.charge_admin;
225
-                that.order_infos = response.data.data;
226
-
227
-
228
-
229
-                that.info['p_admin'] =  that.p_admin;
230
-                that.info['charge_admin'] =  that.charge_admin;
219
+                console.log("logloglog")
231 220
 
232
-                that.info['date'] =  response.data.data.date;
233
-                that.info['number'] =  response.data.data.number;
234
-                that.info['order_infos'] =  response.data.data.order_infos;
235
-                that.info['diagnosis'] =  response.data.data.diagnosis;
221
+                console.log(response.data.data.info)
222
+                that.info = response.data.data.info
223
+                that.p_admin = response.data.data.printor_admin
224
+                that.charge_admin = response.data.data.charge_admin
225
+                that.order_infos = response.data.data
236 226
 
237 227
 
238
-                console.log(that.info);
228
+                console.log(that.info)
239 229
 
240
-                that.info['bed_cost_total'] = response.data.data.bedCostTotal;
241
-                that.info['bed_cost_self_total'] = response.data.data.bedCostSelfTotal;
242
-                that.info['bed_cost_part_self_total'] = response.data.data.bedCostPartSelfTotal;
230
+                that.info['bed_cost_total'] = response.data.data.bedCostTotal
231
+                that.info['bed_cost_self_total'] = response.data.data.bedCostSelfTotal
232
+                that.info['bed_cost_part_self_total'] = response.data.data.bedCostPartSelfTotal
243 233
 
244
-                that.info['operation_cost_total'] = response.data.data.operationCostTotal;
245
-                that.info['operation_cost_self_total'] = response.data.data.operationCostSelfTotal;
246
-                that.info['operation_cost_part_self_total'] = response.data.data.operationCostPartSelfTotal;
234
+                that.info['operation_cost_total'] = response.data.data.operationCostTotal
235
+                that.info['operation_cost_self_total'] = response.data.data.operationCostSelfTotal
236
+                that.info['operation_cost_part_self_total'] = response.data.data.operationCostPartSelfTotal
247 237
 
248
-                that.info['other_cost_total'] = response.data.data.otherCostTotal;
249
-                that.info['other_cost_self_total'] = response.data.data.otherCostSelfTotal;
250
-                that.info['other_cost_part_self_total'] = response.data.data.otherCostPartSelfTotal;
238
+                that.info['other_cost_total'] = response.data.data.otherCostTotal
239
+                that.info['other_cost_self_total'] = response.data.data.otherCostSelfTotal
240
+                that.info['other_cost_part_self_total'] = response.data.data.otherCostPartSelfTotal
251 241
 
252
-                that.info['material_cost_total'] = response.data.data.materialCostTotal;
253
-                that.info['material_cost_self_total'] = response.data.data.materialCostSelfTotal;
254
-                that.info['material_cost_part_self_total'] = response.data.data.materialCostPartSelfTotal;
242
+                that.info['material_cost_total'] = response.data.data.materialCostTotal
243
+                that.info['material_cost_self_total'] = response.data.data.materialCostSelfTotal
244
+                that.info['material_cost_part_self_total'] = response.data.data.materialCostPartSelfTotal
255 245
 
256
-                that.info['western_medicine_cost_total'] = response.data.data.westernMedicineCostTotal;
257
-                that.info['western_medicine_cost_self_total'] = response.data.data.westernMedicineCostSelfTotal;
258
-                that.info['western_medicine_cost_part_self_total'] = response.data.data.westernMedicineCostPartSelfTotal;
246
+                that.info['western_medicine_cost_total'] = response.data.data.westernMedicineCostTotal
247
+                that.info['western_medicine_cost_self_total'] = response.data.data.westernMedicineCostSelfTotal
248
+                that.info['western_medicine_cost_part_self_total'] = response.data.data.westernMedicineCostPartSelfTotal
259 249
 
260
-                that.info['chinese_traditional_medicine_cost_total'] = response.data.data.chineseTraditionalMedicineCostTotal;
261
-                that.info['chinese_traditional_medicine_cost_self_total'] = response.data.data.chineseTraditionalMedicineCostSelfTotal;
262
-                that.info['chinese_traditional_medicine_cost_part_self_total'] = response.data.data.chineseTraditionalMedicineCostPartSelfTotal;
250
+                that.info['chinese_traditional_medicine_cost_total'] = response.data.data.chineseTraditionalMedicineCostTotal
251
+                that.info['chinese_traditional_medicine_cost_self_total'] = response.data.data.chineseTraditionalMedicineCostSelfTotal
252
+                that.info['chinese_traditional_medicine_cost_part_self_total'] = response.data.data.chineseTraditionalMedicineCostPartSelfTotal
263 253
 
264 254
 
265
-                that.info['check_cost_total'] = response.data.data.checkCostTotal;
266
-                that.info['check_cost_self_total'] = response.data.data.checkCostSelfTotal;
267
-                that.info['check_cost_part_self_total'] = response.data.data.checkCostPartSelfTotal;
255
+                that.info['check_cost_total'] = response.data.data.checkCostTotal
256
+                that.info['check_cost_self_total'] = response.data.data.checkCostSelfTotal
257
+                that.info['check_cost_part_self_total'] = response.data.data.checkCostPartSelfTotal
268 258
 
269 259
 
270
-                that.info['laboratory_cost_total'] = response.data.data.laboratoryCostTotal;
271
-                that.info['laboratory_cost_self_total'] = response.data.data.laboratoryCostSelfTotal;
272
-                that.info['laboratory_cost_part_self_total'] = response.data.data.laboratoryCostPartSelfTotal;
260
+                that.info['laboratory_cost_total'] = response.data.data.laboratoryCostTotal
261
+                that.info['laboratory_cost_self_total'] = response.data.data.laboratoryCostSelfTotal
262
+                that.info['laboratory_cost_part_self_total'] = response.data.data.laboratoryCostPartSelfTotal
273 263
 
274
-                that.info['treat_cost_total'] = response.data.data.treatCostTotal;
275
-                that.info['treat_cost_self_total'] = response.data.data.treatCostSelfTotal;
276
-                that.info['treat_cost_part_self_total'] = response.data.data.treatCostPartSelfTotal;
264
+                that.info['treat_cost_total'] = response.data.data.treatCostTotal
265
+                that.info['treat_cost_self_total'] = response.data.data.treatCostSelfTotal
266
+                that.info['treat_cost_part_self_total'] = response.data.data.treatCostPartSelfTotal
277 267
                 console.log(this.info)
278 268
               }
279 269
             })

+ 146 - 42
src/xt_pages/outpatientCharges/listTemplate/printTwo.vue View File

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <div id="statement-print" class="statement-print">
3
-    <div class="statementTitle" style="margin-top:20px;" v-if="info.insutype == '310'">珠海市职工基本医疗保险门慢就医结算单</div>
4
-    <div class="statementTitle" style="margin-top:20px;" v-if="info.insutype == '390'">珠海市城乡居民基本医疗保险门慢就医结算单</div>
3
+    <div class="statementTitle" style="margin-top:20px;" v-if="info.insutype == '310'">医保费用明细清单</div>
4
+    <div class="statementTitle" style="margin-top:20px;" v-if="info.insutype == '390'">医保费用明细清单</div>
5 5
 
6 6
     <div style="display:flex">
7 7
       <div style="width:70%">医疗机构名称:{{info.fixmedins_name}}</div>
@@ -69,20 +69,35 @@
69 69
       <div style="width:10%;text-align:center;">自费</div>
70 70
       <div style="width:10%;text-align:center;">自费比例</div>
71 71
     </div>
72
-    <div style="border-bottom:1px solid #000;padding:10px 0;display:flex;" v-for="(item,index) in order_infos.order_infos"
73
-         :key="index">
74
-      <div style="width:20%;text-align:center;" v-if="item.advice_id > 0">{{ item.advice.drug.medical_insurance_number }}</div>
75
-      <div style="width:20%;text-align:center;" v-if="item.project_id > 0">{{ item.advice.project.medical_insurance_number }}</div>
76
-      <div style="width:20%;text-align:center;" v-if="item.advice_id > 0">{{item.advice.drug.drug_name}}</div>
77
-      <div style="width:20%;text-align:center;" v-if="item.project_id > 0">{{item.project.project.project_name}}</div>
72
+    <div v-for="(newItem,index) in Object.keys(obj)" :key="index">
73
+        <div v-if="Object.values(obj)[index].length > 0"  style="border-bottom:1px solid #000;padding:10px 0;">
74
+            <span v-if="Object.keys(obj)[index] == 'med_chrgitm_type01'">床位费<span>小记:{{ price01 }}</span></span>
75
+            <span v-if="Object.keys(obj)[index] == 'med_chrgitm_type03'">检查费<span>小记:{{ price03 }}</span></span>
76
+            <span v-if="Object.keys(obj)[index] == 'med_chrgitm_type04'">化验费<span>小记:{{ price04 }}</span></span>
77
+            <span v-if="Object.keys(obj)[index] == 'med_chrgitm_type05'">治疗费<span>小记:{{ price05 }}</span></span>
78
+            <span v-if="Object.keys(obj)[index] == 'med_chrgitm_type06'">手术费<span>小记:{{ price06 }}</span></span>
79
+            <span v-if="Object.keys(obj)[index] == 'med_chrgitm_type08'">材料费<span>小记:{{ price08 }}</span></span>
80
+            <span v-if="Object.keys(obj)[index] == 'med_chrgitm_type09'">西药费<span>小记:{{ price09 }}</span></span>
81
+            <span v-if="Object.keys(obj)[index] == 'med_chrgitm_type11'">中成费<span>小记:{{ price11 }}</span></span>
82
+            <span v-if="Object.keys(obj)[index] == 'med_chrgitm_type14'">其他费<span>小记:{{ price14 }}</span></span>
83
+        </div>
84
+        <div>
85
+            <div v-if="Object.values(obj)[index].length > 0" v-for="(item,itemIndex) in Object.values(obj)[index]" :key="itemIndex" style="border-bottom:1px solid #000;padding:10px 0;display:flex;" >
86
+                <div style="width:20%;text-align:center;" v-if="item.advice_id > 0">{{ item.advice.drug.medical_insurance_number }}</div>
87
+                <div style="width:20%;text-align:center;" v-if="item.project_id > 0">{{ item.project.project.medical_code }}</div>
88
+                <div style="width:20%;text-align:center;" v-if="item.advice_id > 0">{{item.advice.drug.drug_name}}</div>
89
+                <div style="width:20%;text-align:center;" v-if="item.project_id > 0">{{item.project.project.project_name}}</div>
78 90
 
79
-      <div style="width:10%;text-align:center;">{{item.pric}}</div>
80
-      <div style="width:10%;text-align:center;">{{item.cnt}}</div>
81
-      <div style="width:10%;text-align:center;">{{item.det_item_fee_sumamt}}</div>
82
-      <div style="width:10%;text-align:center;">{{item.preselfpay_amt}}</div>
83
-      <div style="width:10%;text-align:center;">{{item.fulamt_ownpay_amt}}</div>
84
-      <div style="width:10%;text-align:center;">{{item.selfpay_prop}}</div>
91
+                <div style="width:10%;text-align:center;">{{item.pric}}</div>
92
+                <div style="width:10%;text-align:center;">{{item.cnt}}</div>
93
+                <div style="width:10%;text-align:center;">{{item.det_item_fee_sumamt}}</div>
94
+                <div style="width:10%;text-align:center;">{{item.preselfpay_amt}}</div>
95
+                <div style="width:10%;text-align:center;">{{item.fulamt_ownpay_amt}}</div>
96
+                <div style="width:10%;text-align:center;">{{item.selfpay_prop}}</div>
97
+            </div>
98
+        </div>
85 99
     </div>
100
+    
86 101
     <div style="display:flex;border-bottom:1px solid #000;padding:20px 0 10px;">
87 102
       <div style="width:70%;">合计:</div>
88 103
       <div style="width:10%;text-align:center;">{{info.medfee_sumamt}}</div>
@@ -103,10 +118,17 @@
103 118
     </div>
104 119
 
105 120
   </div>
121
+    <!-- <div>
122
+        123
123
+    <div v-for='(item,index) in Object.values(obj)' :key="index">
124
+        <div>{{Object.keys(obj)[index]}}</div>
125
+        <div v-for="it in Object.values(obj)[index]">{{ it.name }}</div>
126
+    </div>
127
+    </div> -->
106 128
 </template>
107 129
 <script>
108
-  import {uParseTime} from '@/utils/tools'
109
-  export default {
130
+import {uParseTime} from '@/utils/tools'
131
+export default {
110 132
     props: {
111 133
       info: {
112 134
         type: Object,
@@ -131,36 +153,118 @@
131 153
           return {}
132 154
         }
133 155
       }
134
-    }, methods: {
135
-      getTime(val) {
136
-        if (val < 0) {
137
-          return ""
138
-        }
139
-        if (val == "") {
140
-          return ""
141
-        } else {
142
-          return uParseTime(val, '{y}-{m}-{d}')
156
+    }, 
157
+    data(){
158
+        return{
159
+            obj:{},
160
+            price01: 0,
161
+            price03: 0,
162
+            price04: 0,
163
+            price05: 0,
164
+            price06: 0,
165
+            price08: 0,
166
+            price09: 0,
167
+            price11: 0,
168
+            price14: 0,
143 169
         }
144
-      },
170
+    },
171
+    created(){
172
+        // let obj = {
173
+        //     med_chrgitm_type01:[{name:1,age:2},{name:'张三',age:41}],
174
+        //     med_chrgitm_type03:[{name:3,age:4}],
175
+        //     med_chrgitm_type04:[{name:5,age:6}],
176
+        // }
177
+        // this.obj = obj
178
+        // console.log(1111,Object.values(obj))
179
+        // obj.map(item => {
180
+        //     console.log(111,item)
181
+
182
+
183
+        // })
184
+    },
185
+    methods: {
186
+        getTime(val) {
187
+            if (val < 0) {
188
+                return ""
189
+            }
190
+            if (val == "") {
191
+                return ""
192
+            } else {
193
+                return uParseTime(val, '{y}-{m}-{d}')
194
+            }
195
+        },
145 196
         getNowTime: function () {
146
-          let dateTime
147
-          let yy = new Date().getFullYear()
148
-          let mm = new Date().getMonth() + 1
149
-          let dd = new Date().getDate()
150
-          let hh = new Date().getHours()
151
-          let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
152
-            :
153
-            new Date().getMinutes()
154
-          let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
155
-            :
156
-            new Date().getSeconds()
157
-          dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss
158
-          return dateTime
159
-        }
160
-      ,
197
+            let dateTime
198
+            let yy = new Date().getFullYear()
199
+            let mm = new Date().getMonth() + 1
200
+            let dd = new Date().getDate()
201
+            let hh = new Date().getHours()
202
+            let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
203
+                :
204
+                new Date().getMinutes()
205
+            let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
206
+                :
207
+                new Date().getSeconds()
208
+            dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss
209
+            return dateTime
210
+        },
161 211
 
162
-      }
212
+    },
213
+    watch:{
214
+        "order_infos.order_infos":{
215
+            handler(newVal){
216
+                let obj = {
217
+                    'med_chrgitm_type01':[],
218
+                    'med_chrgitm_type03':[],
219
+                    'med_chrgitm_type04':[],
220
+                    'med_chrgitm_type05':[],
221
+                    'med_chrgitm_type06':[],
222
+                    'med_chrgitm_type08':[],
223
+                    'med_chrgitm_type09':[],
224
+                    'med_chrgitm_type11':[],
225
+                    'med_chrgitm_type14':[],
226
+                }
227
+                
228
+                newVal.map(item => {
229
+                    
230
+                    if(item.med_chrgitm_type == '01'){
231
+                        obj.med_chrgitm_type01.push(item)
232
+                        this.price01 += item.det_item_fee_sumamt
233
+                    }else if(item.med_chrgitm_type == '03'){
234
+                        obj.med_chrgitm_type03.push(item)
235
+                        this.price03 += item.det_item_fee_sumamt
236
+                    }else if(item.med_chrgitm_type == '04'){
237
+                        obj.med_chrgitm_type04.push(item)
238
+                        this.price04 += item.det_item_fee_sumamt
239
+                    }else if(item.med_chrgitm_type == '05'){
240
+                        obj.med_chrgitm_type05.push(item)
241
+                        this.price05 += item.det_item_fee_sumamt
242
+                    }else if(item.med_chrgitm_type == '06'){
243
+                        obj.med_chrgitm_type06.push(item)
244
+                        this.price06 += item.det_item_fee_sumamt
245
+                    }else if(item.med_chrgitm_type == '08'){
246
+                        obj.med_chrgitm_type08.push(item)
247
+                        this.price08 += item.det_item_fee_sumamt
248
+                    }else if(item.med_chrgitm_type == '09'){
249
+                        obj.med_chrgitm_type09.push(item)
250
+                        this.price09 += item.det_item_fee_sumamt
251
+                    }else if(item.med_chrgitm_type == '11'){
252
+                        obj.med_chrgitm_type11.push(item)
253
+                        this.price11 += item.det_item_fee_sumamt
254
+                    }else if(item.med_chrgitm_type == '14'){
255
+                        obj.med_chrgitm_type14.push(item)
256
+                        this.price14 += item.det_item_fee_sumamt
257
+                    }
258
+                    
259
+                })
260
+                this.obj = obj
261
+                console.log('this.obj',this.obj)
262
+            },
263
+            deep:true
264
+        }
163 265
     }
266
+}
267
+    
164 268
 
165 269
 
166 270
 </script>

+ 2 - 2
src/xt_pages/outpatientCharges/statementTemplate/printTwo.vue View File

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <div id="statement-print" class="statement-print">
3
-    <div class="statementTitle" style="margin-top:20px;" v-if="info.insutype == '310'">珠海市职工基本医疗保险门慢就医结算单</div>
4
-    <div class="statementTitle" style="margin-top:20px;" v-if="info.insutype == '390'">珠海市城乡居民基本医疗保险门慢就医结算单</div>
3
+    <div class="statementTitle" style="margin-top:20px;" v-if="info.insutype == '310'">医保费用明细清单</div>
4
+    <div class="statementTitle" style="margin-top:20px;" v-if="info.insutype == '390'">医保费用明细清单</div>
5 5
 
6 6
     <div style="display:flex">
7 7
       <div style="width:70%">医疗机构名称:{{info.fixmedins_name}}</div>

+ 62 - 56
src/xt_pages/qcd/basicInformationAnalysis.vue View File

@@ -18,6 +18,9 @@
18 18
             >{{ item.label }}</li>
19 19
           </ul>
20 20
         </div>
21
+    </div>
22
+
23
+     <div class="cell clearfix">
21 24
         <label class="title">
22 25
           <span class="name">查看范围</span> :
23 26
         </label>
@@ -31,6 +34,9 @@
31 34
             >{{ item.label }}</li>
32 35
           </ul>
33 36
         </div>
37
+      </div>
38
+
39
+      <div class="cell clearfix">
34 40
         <label class="title">
35 41
              <span class="name">日期查询</span> :
36 42
         </label>
@@ -63,13 +69,14 @@
63 69
           :picker-options="pickerOptions"
64 70
         ></el-date-picker>
65 71
       </div>
66
-       <!-- <div class="cell clearfix">
72
+
73
+     <div class="cell clearfix">
67 74
         <label class="title"><span class="name">转归情况</span> : </label>
68 75
         <div class="time ">
69 76
           <ul class="">
70 77
             <li
71 78
               :class="item.lapseto == lapsetoType ? 'active' : ''"
72
-              @click="selectLapseTo(item.lapseto)"
79
+              @click="selectLapseOne(item.lapseto)"
73 80
               v-for="item in lapsetoArr"
74 81
               :key="item.value"
75 82
             >
@@ -77,8 +84,9 @@
77 84
             </li>
78 85
           </ul>
79 86
         </div>
80
-      </div> -->
81
-      <!-- <div class="cell clearfix">
87
+      </div>
88
+
89
+      <div class="cell clearfix">
82 90
         <label class="title"><span class="name">病人来源</span> : </label>
83 91
         <div class="time ">
84 92
           <ul class="">
@@ -92,7 +100,7 @@
92 100
             </li>
93 101
           </ul>
94 102
         </div>
95
-      </div> -->
103
+      </div>
96 104
 
97 105
        <div class="cell clearfix" v-show="treatShow">
98 106
         <label class="title">
@@ -243,10 +251,12 @@
243 251
                 <p class="infoTitle">转归统计(总人数{{patientCount}}人)</p>
244 252
               </div>
245 253
               <div class="borderBox1">
246
-                <p>留治:{{rollOutTotal}}人({{(rollOutTotal/patientCount*100).toFixed(1)}}%)</p>
247
-                <el-progress :percentage="(rollOutTotal/patientCount*100).toFixed(1)"></el-progress>
248
-                <p>转出:{{outTotal}}人({{(outTotal/patientCount*100).toFixed(1)}}%)</p>
249
-                <el-progress :percentage="(outTotal/patientCount*100).toFixed(1)"></el-progress>
254
+                 <span v-if="lapsetoType == 0 || lapsetoType == 1"><p>留治:{{rollOutTotal}}人({{(rollOutTotal/patientCount*100).toFixed(1)}}%)</p>
255
+                  <el-progress :percentage="(rollOutTotal/patientCount*100).toFixed(1)"></el-progress>
256
+                </span>
257
+                <span v-if="lapsetoType == 0 || lapsetoType == 2"><p>转出:{{outTotal}}人({{(outTotal/patientCount*100).toFixed(1)}}%)</p>
258
+                 <el-progress :percentage="(outTotal/patientCount*100).toFixed(1)"></el-progress>
259
+                </span> 
250 260
               </div>
251 261
             </div>
252 262
             <div class="infoOne">
@@ -421,7 +431,7 @@ export default {
421 431
         { value: 0, label: '全部', source: 0, lapseto: 0 },
422 432
         { value: 1, label: '转出', source: 0, lapseto: 2 },
423 433
         { value: 2, label: '留治', source: 0, lapseto: 1 },
424
-        { value: 3, label: '死亡', source:0,  lapseto: 3 },
434
+        // { value: 3, label: '死亡', source:0,  lapseto: 3 },
425 435
       ],
426 436
       sourceType: 0,
427 437
       sourceArr: [
@@ -652,7 +662,7 @@ export default {
652 662
         //统计转归状态
653 663
         this.getTotalLapseCount(this.listQuery.start_time,this.listQuery.end_time,this.lapsetoType,this.sourceType)
654 664
         //统计男女比例
655
-        this.getTotalSexCount(timeStar,timeEnd)
665
+        this.getTotalSexCount(timeStar,timeEnd,this.lapsetoType,this.sourceType)
656 666
         //统计传染病
657 667
         this.getTotalInfectiousCount(this.listQuery.start_time,this.listQuery.end_time,this.lapsetoType,this.sourceType)
658 668
         //统计年龄
@@ -662,7 +672,7 @@ export default {
662 672
         this.start = timeStar
663 673
         this.end =timeEnd
664 674
         this.getCountModeId()
665
-        this.getRolloutCount(timeStar,timeEnd)
675
+        this.getRolloutCount(timeStar,timeEnd,this.lapsetoType,this.sourceType)
666 676
       }
667 677
     },
668 678
     changeEndTime(val) {
@@ -690,7 +700,7 @@ export default {
690 700
         this.start = timeStar
691 701
         this.end =timeEnd
692 702
         this.getCountModeId()
693
-        this.getRolloutCount(timeStar,timeEnd)
703
+        this.getRolloutCount(timeStar,timeEnd,this.lapsetoType,this.sourceType)
694 704
       }
695 705
     },
696 706
     selectLapseTo(state) {
@@ -699,7 +709,7 @@ export default {
699 709
       //获取本月当前机构的透析模式
700 710
       const startDate = moment().subtract('month', 0).format('YYYY-MM') + '-01'
701 711
       const endDate = moment(new Date()).format('YYYY-MM-DD')
702
-
712
+     
703 713
       var now = new Date()
704 714
       var nowMonth = now.getMonth(); //当前月
705 715
       var nowYear = now.getFullYear(); //当前年
@@ -710,7 +720,7 @@ export default {
710 720
       //本月的结束时间
711 721
       var monthEndDate = new Date(nowYear, nowMonth+1, 0);
712 722
       var timeEnd=Date.parse(monthEndDate)/1000-1;//s
713
-      // console.log("本月最后一天",timeEnd)
723
+     // console.log("本月最后一天",timeEnd)
714 724
       //本月
715 725
       if(state == 0){
716 726
        //统计透析总量
@@ -728,14 +738,14 @@ export default {
728 738
         this.start = timeStar
729 739
         this.end = timeEnd
730 740
         this.getCountModeId()
731
-        this.getRolloutCount(timeStar,timeEnd)
741
+        this.getRolloutCount(timeStar,timeEnd,this.lapsetoType,this.sourceType)
732 742
       }
733 743
       //近三月
734 744
       if(state == 1){
735 745
         this.listQuery.start_time = ""
736 746
         this.listQuery.end_time = ""
737 747
         const startDate = moment().subtract('month', 3).format('YYYY-MM-DD')
738
-
748
+       
739 749
         var startunitx = Date.parse(startDate)/1000
740 750
         // console.log("开始时间搓",startunitx)
741 751
         const endDate = moment(new Date()).format('YYYY-MM-DD')
@@ -757,7 +767,7 @@ export default {
757 767
         this.start = startunitx
758 768
         this.end = endunitx
759 769
         this.getCountModeId()
760
-        this.getRolloutCount(startunitx,endunitx)
770
+        this.getRolloutCount(startunitx,endunitx,this.lapsetoType,this.sourceType)
761 771
       }
762 772
 
763 773
      //近半年
@@ -788,7 +798,7 @@ export default {
788 798
         this.start = startunitx
789 799
         this.end = endunitx
790 800
         this.getCountModeId()
791
-        this.getRolloutCount(startunitx,endunitx)
801
+        this.getRolloutCount(startunitx,endunitx,this.lapsetoType,this.sourceType)
792 802
      }
793 803
 
794 804
      //近一年
@@ -815,11 +825,10 @@ export default {
815 825
         this.getTotalAgeCount(startunitx,endunitx,this.lapsetoType,this.sourceType)
816 826
         //统计透析年龄
817 827
         this.getTotalDialysisCount(startunitx,endunitx,this.lapsetoType,this.sourceType)
818
-
819 828
         this.start = startunitx
820 829
         this.end = endunitx
821 830
         this.getCountModeId()
822
-        this.getRolloutCount(startunitx,endunitx)
831
+        this.getRolloutCount(startunitx,endunitx,this.lapsetoType,this.sourceType)
823 832
      }
824 833
 
825 834
 
@@ -842,12 +851,12 @@ export default {
842 851
          if(response.data.state == 1){
843 852
 
844 853
           var modetype =  response.data.data.modetype
845
-
854
+          console.log("modetype",modetype)
846 855
           this.modetype = modetype
847 856
           var total =  response.data.data.total
848
-
849
-          // this.total = total.count
850
-          this.total = total
857
+          console.log("total",total)
858
+          this.total = total.count
859
+          // this.total = total
851 860
           // console.log("数据",this.modetype)
852 861
           var modedate = response.data.data.modetype
853 862
           for(let i=0;i<modedate.length;i++){
@@ -919,61 +928,52 @@ export default {
919 928
       })
920 929
     },
921 930
     //统计转归
922
-    getTotalLapseCount(startDate,endDate){
931
+    getTotalLapseCount(startDate,endDate,lapsetoType,sourceType ){
932
+   
923 933
        this.modesDataTwo.series = []
924 934
        this.modesDataTwo.xAxis = []
925
-      getTotalLapseCount(startDate,endDate).then(response=>{
935
+      getTotalLapseCount(startDate,endDate,lapsetoType,sourceType).then(response=>{
926 936
          if(response.data.state == 1){
927 937
            var arr = [
928 938
              {name:"留治",count:0},
929 939
              {name:"转出",count:0}
930 940
            ]
931 941
           var patients =  response.data.data.patients
932
-
942
+      
933 943
           this.rollOutTotal = patients.length
934
-          var patienttwo = response.data.data.patienttwo
935 944
 
945
+          var patienttwo = response.data.data.patienttwo
936 946
           this.outTotal = patienttwo.length
937 947
           var count = response.data.data.count
938 948
           this.patientCount = count
939 949
 
940 950
           var rollout = response.data.data.rollout
941
-          console.log("rollout",rollout)
951
+        
942 952
 
943 953
           for(let i=0;i<arr.length;i++){
944 954
             arr[0].count = this.rollOutTotal
945 955
             arr[1].count = this.outTotal
946 956
           }
947
-
948
-          // for(let j=0;j<arr.length;j++){
949
-          //   this.modesDataTwo.xAxis.push(arr[j].name)
950
-          //   this.modesDataTwo.series.push(((arr[j].count/count)*100).toFixed(1))
951
-          // }
952
-          // this.bar.series[0].data = this.modesDataTwo.series
953
-          // this.bar.xAxis.data = this.modesDataTwo.xAxis
954
-          // this.getArrLength(this.bar.xAxis.data)
955
-
956 957
          }
957 958
       })
958 959
     },
959 960
     //统计男女比例
960
-    getTotalSexCount(timeStar,timeEnd){
961
-      getTotalSexCount(timeStar,timeEnd).then(response=>{
961
+    getTotalSexCount(timeStar,timeEnd,lapsetoType,sourceType){
962
+      getTotalSexCount(timeStar,timeEnd,lapsetoType,sourceType).then(response=>{
962 963
         if(response.data.state === 1){
964
+          console.log("resp2222",response.data.data.totalWoman)
963 965
           var total = response.data.data.total
964
-        //  console.log("总人数",total)
965 966
           this.totalGender = total
966 967
           var totalMan = response.data.data.totalSex
967
-       //  console.log("男人",totalMan)
968 968
           this.totalMan = totalMan
969
-          var totalWoman = total - totalMan
969
+          var totalWoman = response.data.data.totalWoman
970 970
           this.totalWoman = totalWoman
971 971
         }
972 972
       })
973 973
     },
974 974
     //统计传染病
975
-    getTotalInfectiousCount(timeStar,timeEnd){
976
-       getTotalInfectiousCount(timeStar,timeEnd).then(response=>{
975
+    getTotalInfectiousCount(timeStar,timeEnd,lapsetoType,sourceType){
976
+       getTotalInfectiousCount(timeStar,timeEnd,lapsetoType,sourceType).then(response=>{
977 977
            if(response.data.state === 1){
978 978
              this.InfectiousTotal = response.data.data.total
979 979
              var infectious = response.data.data.count
@@ -996,11 +996,11 @@ export default {
996 996
            }
997 997
        })
998 998
     },
999
-    getTotalAgeCount(timeStar,timeEnd){
1000
-      getTotalAgeCount(timeStar,timeEnd).then(response=>{
999
+    getTotalAgeCount(timeStar,timeEnd,lapsetoType,sourceType){
1000
+      getTotalAgeCount(timeStar,timeEnd,lapsetoType,sourceType).then(response=>{
1001 1001
          if(response.data.state == 1){
1002 1002
           var ageCount =  response.data.data.ageCount
1003
-          // console.log("ageCount",ageCount)
1003
+        
1004 1004
           var arr = []
1005 1005
           arr =  ageCount.sort(this.compare('age'))
1006 1006
           this.ageCount = arr
@@ -1018,11 +1018,11 @@ export default {
1018 1018
           }
1019 1019
       },
1020 1020
     //统计透析年龄
1021
-    getTotalDialysisCount(timeStar,timeEnd){
1022
-      getTotalDialysisCount(timeStar,timeEnd).then(response=>{
1021
+    getTotalDialysisCount(timeStar,timeEnd,lapsetoType,sourceType){
1022
+      getTotalDialysisCount(timeStar,timeEnd,lapsetoType,sourceType).then(response=>{
1023 1023
          if(response.data.state == 1){
1024 1024
            var dataage =  response.data.data.dataage
1025
-          //  console.log("dataage",dataage)
1025
+          
1026 1026
            this.dialysisAge = dataage
1027 1027
 
1028 1028
          }
@@ -1152,7 +1152,8 @@ export default {
1152 1152
         const params = {
1153 1153
           start_time:this.start,
1154 1154
           end_time:this.end,
1155
-          mode_id:this.mode_id
1155
+          mode_id:this.mode_id,
1156
+          
1156 1157
         }
1157 1158
         this.modesData.series = []
1158 1159
         this.modesData.xAxis = []
@@ -1176,7 +1177,9 @@ export default {
1176 1177
        this.modesDataTwo.xAxis = []
1177 1178
         const params = {
1178 1179
           start_time:this.start,
1179
-          end_time:this.end
1180
+          end_time:this.end,
1181
+          lapsetotype:this.lapsetoType,
1182
+          sourcetype:this.sourceType,
1180 1183
         }
1181 1184
       getRolloutCount(params).then(response=>{
1182 1185
          if(response.data.state == 1){
@@ -1225,8 +1228,10 @@ export default {
1225 1228
       this.getTotalInfectiousCount(this.startDate,this.endDate,this.lapsetoType,this.sourceType)
1226 1229
       this.getTotalAgeCount(this.startDate,this.endDate,this.lapsetoType,this.sourceType)
1227 1230
       this.getTotalDialysisCount(this.startDate,this.endDate,this.lapsetoType,this.sourceType)
1231
+      this.getRolloutCount(this.lapsetoType,this.sourceType)
1228 1232
     },
1229
-    selectLapseTo(lapseto) {
1233
+    selectLapseOne(lapseto) {
1234
+      console.log("lapseto22222",lapseto)
1230 1235
       this.lapsetoType = lapseto
1231 1236
       this.getDialysisModeType(this.startDate,this.endDate,this.lapsetoType,this.sourceType)
1232 1237
       this.getTotalLapseCount(this.startDate,this.endDate,this.lapsetoType,this.sourceType)
@@ -1234,6 +1239,7 @@ export default {
1234 1239
       this.getTotalInfectiousCount(this.startDate,this.endDate,this.lapsetoType,this.sourceType)
1235 1240
       this.getTotalAgeCount(this.startDate,this.endDate,this.lapsetoType,this.sourceType)
1236 1241
       this.getTotalDialysisCount(this.startDate,this.endDate,this.lapsetoType,this.sourceType)
1242
+      this.getRolloutCount(this.lapsetoType,this.sourceType)
1237 1243
     },
1238 1244
   },
1239 1245
   created() {
@@ -1270,7 +1276,7 @@ export default {
1270 1276
       this.start = timeStar
1271 1277
       this.end = timeEnd
1272 1278
 
1273
-     this.getRolloutCount(timeStar,timeEnd)
1279
+     this.getRolloutCount(timeStar,timeEnd,this.lapsetoType,this.sourceType)
1274 1280
 
1275 1281
 
1276 1282
   },

+ 186 - 1
src/xt_pages/workforce/components/tableWeeks.vue View File

@@ -9,6 +9,15 @@
9 9
         type="primary"
10 10
         >打印
11 11
       </el-button>
12
+
13
+      <!-- <el-button
14
+       style="float: right"
15
+       size="small"
16
+       icon="el-icon-printer"
17
+       @click="printActionSetting()"
18
+       type="primary">
19
+        打印设置
20
+      </el-button> -->
12 21
     </div>
13 22
 
14 23
     <div class="cell clearfix">
@@ -159,6 +168,60 @@
159 168
         </template>
160 169
       </el-table-column>
161 170
     </el-table>
171
+
172
+    <el-dialog
173
+      title="打印设置"
174
+      :visible.sync="dialogVisible"
175
+      width="30%"
176
+      >
177
+     <span>
178
+       <ul>
179
+         <li> 
180
+          <el-checkbox v-model="prescription_status">透析处方状态</el-checkbox>
181
+         </li>
182
+         <li>
183
+          <el-checkbox v-model="week">星期</el-checkbox>
184
+         </li>
185
+         <li>
186
+          <el-checkbox v-model="name">姓名</el-checkbox>
187
+         </li>
188
+         <li>
189
+          <el-checkbox v-model="zone">分区</el-checkbox>
190
+         </li>
191
+         <li>
192
+          <el-checkbox v-model="classes">班次</el-checkbox>
193
+         </li>
194
+         <li>
195
+          <el-checkbox v-model="number">机号</el-checkbox>
196
+         </li>
197
+         <li>
198
+          <el-checkbox v-model="mode">透析模式</el-checkbox>
199
+         </li>
200
+         <li>
201
+          <el-checkbox v-model="dialyzers">透析器</el-checkbox>
202
+         </li>
203
+         <li>
204
+          <el-checkbox v-model="perfusion_apparatus">灌流器</el-checkbox>
205
+         </li>
206
+         <li>
207
+          <el-checkbox v-model="anticoagulant">抗凝剂(商品名称)</el-checkbox>
208
+         </li>
209
+         <li>
210
+          <el-checkbox v-model="anticoagulant_zongliang">总量</el-checkbox>
211
+         </li>
212
+         <li>
213
+          <el-checkbox v-model="doctor_advice">长期医嘱</el-checkbox>
214
+         </li>
215
+       </ul>
216
+      
217
+     </span>
218
+     <span slot="footer" class="dialog-footer">
219
+      <el-button @click="dialogVisible = false">取 消</el-button>
220
+      <el-button type="primary" @click="saveRemindPrint">保 存</el-button>
221
+     </span>
222
+   </el-dialog>
223
+
224
+    
162 225
   </div>
163 226
 </template>
164 227
 
@@ -208,7 +271,34 @@ export default {
208 271
       },
209 272
       scheduleData: [],
210 273
       modeOptions: null,
211
-      org_id:0
274
+      org_id:0,
275
+      dialogVisible:false,
276
+      prescription_status:true,
277
+      week:true,
278
+      name:true,
279
+      zone:true,
280
+      classes:true,
281
+      number:true,
282
+      mode:true,
283
+      dialyzers:true,
284
+      perfusion_apparatus:true,
285
+      anticoagulant:true,
286
+      anticoagulant_zongliang:true,
287
+      doctor_advice:false,
288
+      form:{
289
+        prescription_status:"",
290
+        week:"",
291
+        name:"",
292
+        zone:"",
293
+        classes:"",
294
+        number:"",
295
+        mode:"",
296
+        dialyzers:"",
297
+        perfusion_apparatus:"",
298
+        anticoagulant:"",
299
+        anticoagulant_zongliang:"",
300
+        doctor_advice:"",
301
+      }
212 302
     };
213 303
   },
214 304
   watch: {
@@ -439,6 +529,101 @@ export default {
439 529
         }
440 530
         return name;
441 531
       }
532
+    },
533
+    printActionSetting(){
534
+       this.dialogVisible = true
535
+    },
536
+    saveRemindPrint(){
537
+       console.log("3333333",this.prescription_status)
538
+       if(this.prescription_status == true){
539
+         this.form.prescription_status = 1
540
+       }
541
+       if(this.prescription_status == false){
542
+         this.form.prescription_status = 2
543
+       }
544
+       if(this.week == true){
545
+          this.form.week = 1
546
+       }
547
+       if(this.week == false){
548
+          this.form.week = 2
549
+       }
550
+       if(this.name == true){
551
+         this.form.name = 1
552
+       }
553
+       if(this.name == false){
554
+          this.form.name = 2
555
+       }
556
+       if(this.zone == true){
557
+         this.form.zone = 1
558
+       }
559
+       if(this.zone == false){
560
+          this.form.zone = 2
561
+       }
562
+       if(this.classes == true){
563
+         this.form.classes = 1
564
+       }
565
+       if(this.classes == false){
566
+         this.form.classes = 2
567
+       }
568
+       if(this.number == true){
569
+          this.form.number = 1
570
+       }
571
+       if(this.number == false){
572
+         this.form.number = 2
573
+       }
574
+       if(this.mode == true){
575
+           this.form.mode = 1
576
+       }
577
+       if(this.mode == false){
578
+         this.form.mode = 2
579
+       }
580
+       if(this.dialyzers == true){
581
+          this.form.dialyzers = 1
582
+       }
583
+       if(this.dialyzers == false){
584
+          this.form.dialyzers = 2
585
+       }
586
+       if(this.perfusion_apparatus == true){
587
+          this.form.perfusion_apparatus = 1
588
+       }
589
+       if(this.perfusion_apparatus == false){
590
+          this.form.perfusion_apparatus = 2
591
+       }
592
+       if(this.anticoagulant == true){
593
+          this.anticoagulant = 1
594
+       }
595
+       if(this.anticoagulant == false){
596
+         this.anticoagulant = 2
597
+       }
598
+       if(this.anticoagulant_zongliang == true){
599
+          this.form.anticoagulant_zongliang  = 1
600
+       }
601
+       if(this.anticoagulant_zongliang == false){
602
+          this.form.anticoagulant_zongliang = 2
603
+       }
604
+       if(this.doctor_advice == true){
605
+          this.form.doctor_advice =1
606
+       }
607
+       if(this.doctor_advice == false){
608
+          this.form.doctor_advice = 2
609
+       }
610
+        var params = {
611
+          prescription_status:this.form.prescription_status,
612
+          week:this.form.week,
613
+          name:this.form.name,
614
+          zone:this.form.zone,
615
+          classes:this.form.classes,
616
+          number:this.form.number,
617
+          mode:this.form.mode,
618
+          dialyzers:this.form.dialyzers,
619
+          perfusion_apparatus:this.form.prescription_apparaus,
620
+          anticoagulant:this.form.anticoagulant,
621
+          anticoagulant_zongliang:this.form.anticoagulant_zongliang,
622
+          doctor_advice:this.form.doctor_advice,
623
+        }
624
+      saveRemindPrint().then(response=>{
625
+
626
+      })
442 627
     }
443 628
   },
444 629
   components: {

+ 3 - 0
src/xt_pages/workforce/remind_print_setting.vue View File

@@ -0,0 +1,3 @@
1
+<div class="main-contain">
2
+   
3
+</div>