Przeglądaj źródła

518合并代码

XMLWAN 2 lat temu
rodzic
commit
0f51aa996b

+ 31 - 36
src/api/common/common.js Wyświetl plik

@@ -48,7 +48,6 @@ export function getConfigurationList(limit, page) {
48 48
 }
49 49
 
50 50
 export function getConfigurationDetail(id, params) {
51
-
52 51
   return request({
53 52
     url: 'com/api/getconfigurationdetail?id=' + id,
54 53
     method: 'get',
@@ -134,14 +133,13 @@ export function DeleteCheck(id, params) {
134 133
   })
135 134
 }
136 135
 
137
-export function getDialysisModeType(startime, endtime,lapsetotype,sourcetype) {
136
+export function getDialysisModeType(startime, endtime, lapsetotype, sourcetype) {
138 137
   const params = {
139 138
     startime: startime,
140 139
     endtime: endtime,
141
-    lapsetotype:lapsetotype,
142
-    sourcetype:sourcetype,
140
+    lapsetotype: lapsetotype,
141
+    sourcetype: sourcetype
143 142
   }
144
-  console.log("parasm22222",params)
145 143
   return request({
146 144
     url: '/com/api/getdialysismodetype',
147 145
     method: 'get',
@@ -149,12 +147,12 @@ export function getDialysisModeType(startime, endtime,lapsetotype,sourcetype) {
149 147
   })
150 148
 }
151 149
 
152
-export function getTotalLapseCount(startime, endtime,lapsetotype,sourcetype) {
150
+export function getTotalLapseCount(startime, endtime, lapsetotype, sourcetype) {
153 151
   const params = {
154 152
     startime: startime,
155 153
     endtime: endtime,
156
-    lapsetotype:lapsetotype,
157
-    sourcetype:sourcetype,
154
+    lapsetotype: lapsetotype,
155
+    sourcetype: sourcetype
158 156
   }
159 157
   console.log('转归params', params)
160 158
   return request({
@@ -164,12 +162,12 @@ export function getTotalLapseCount(startime, endtime,lapsetotype,sourcetype) {
164 162
   })
165 163
 }
166 164
 
167
-export function getTotalSexCount(startime, endtime,lapsetotype,sourcetype) {
165
+export function getTotalSexCount(startime, endtime, lapsetotype, sourcetype) {
168 166
   const params = {
169 167
     startime: startime,
170 168
     endtime: endtime,
171
-    lapsetotype:lapsetotype,
172
-    sourcetype:sourcetype,
169
+    lapsetotype: lapsetotype,
170
+    sourcetype: sourcetype
173 171
   }
174 172
   return request({
175 173
     url: '/com/api/gettotalsexcount',
@@ -178,12 +176,12 @@ export function getTotalSexCount(startime, endtime,lapsetotype,sourcetype) {
178 176
   })
179 177
 }
180 178
 
181
-export function getTotalInfectiousCount(startime, endtime,lapsetotype,sourcetype) {
179
+export function getTotalInfectiousCount(startime, endtime, lapsetotype, sourcetype) {
182 180
   const params = {
183 181
     startime: startime,
184 182
     endtime: endtime,
185
-    lapsetotype:lapsetotype,
186
-    sourcetype:sourcetype,
183
+    lapsetotype: lapsetotype,
184
+    sourcetype: sourcetype
187 185
   }
188 186
   console.log('传染病', params)
189 187
   return request({
@@ -193,12 +191,12 @@ export function getTotalInfectiousCount(startime, endtime,lapsetotype,sourcetype
193 191
   })
194 192
 }
195 193
 
196
-export function getTotalAgeCount(startime, endtime,lapsetotype,sourcetype) {
194
+export function getTotalAgeCount(startime, endtime, lapsetotype, sourcetype) {
197 195
   const params = {
198 196
     startime: startime,
199 197
     endtime: endtime,
200
-    lapsetotype:lapsetotype,
201
-    sourcetype:sourcetype,
198
+    lapsetotype: lapsetotype,
199
+    sourcetype: sourcetype
202 200
   }
203 201
   return request({
204 202
     url: '/com/api/gettotalagecount',
@@ -207,12 +205,12 @@ export function getTotalAgeCount(startime, endtime,lapsetotype,sourcetype) {
207 205
   })
208 206
 }
209 207
 
210
-export function getTotalDialysisCount(startime, endtime,lapsetotype,sourcetype) {
208
+export function getTotalDialysisCount(startime, endtime, lapsetotype, sourcetype) {
211 209
   const params = {
212 210
     startime: startime,
213 211
     endtime: endtime,
214
-    lapsetotype:lapsetotype,
215
-    sourcetype:sourcetype,
212
+    lapsetotype: lapsetotype,
213
+    sourcetype: sourcetype
216 214
   }
217 215
   return request({
218 216
     url: '/com/api/gettotaldialysiscount',
@@ -525,31 +523,28 @@ export function getIdSlist(data, patientid) {
525 523
   })
526 524
 }
527 525
 
528
-
529
-export function getTreatModeList(params){
530
-  console.log("params",params)
526
+export function getTreatModeList(params) {
527
+  console.log('params', params)
531 528
   return request({
532
-    url:"/com/api/getreatmodelist",
533
-    method:"get",
534
-    params:params,
529
+    url: '/com/api/getreatmodelist',
530
+    method: 'get',
531
+    params: params
535 532
   })
536 533
 }
537 534
 
538
-export function getCountModeId(params){
535
+export function getCountModeId(params) {
539 536
   return request({
540
-    url:'/com/api/getcountmodeid',
541
-    method:"Get",
542
-    params:params
537
+    url: '/com/api/getcountmodeid',
538
+    method: 'Get',
539
+    params: params
543 540
   })
544 541
 }
545 542
 
546
-export function getRolloutCount(params){
547
-
543
+export function getRolloutCount(params) {
548 544
   return request({
549
-    url:"/com/api/getrolloutcount",
550
-    method:"Get",
551
-    params:params
545
+    url: '/com/api/getrolloutcount',
546
+    method: 'Get',
547
+    params: params
552 548
   })
553 549
 }
554 550
 
555
-

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Wyświetl plik

@@ -2162,7 +2162,7 @@
2162 2162
         if (val > 2) {
2163 2163
           this.anticoagulant = this.anticoagulantsConfit[thismode - 2]
2164 2164
         }
2165
-        if ((this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 41 || this.$store.getters.xt_user.template_info.template_id == 6) && val == 2) {
2165
+        if ((this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 41 || this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 47) && val == 2) {
2166 2166
            if(val == 2){
2167 2167
              this.anticoagulant.shouji_unit = 'mg'
2168 2168
            }else{

+ 1 - 1
src/xt_pages/outpatientTool/components/detailStatistics.vue Wyświetl plik

@@ -344,7 +344,7 @@ export default {
344 344
       for(let i=0;i<this.orderList.length;i++){
345 345
          act_pay += this.orderList[i].psn_part_amt
346 346
       }
347
-      return act_pay
347
+      return act_pay.toFixed(2)
348 348
     },
349 349
     getFundPaySumamt(){
350 350
       var fund_pay_sumamt = 0

+ 1 - 1
src/xt_pages/outpatientTool/detailPrint.vue Wyświetl plik

@@ -353,7 +353,7 @@ export default {
353 353
       for(let i=0;i<this.orderList.length;i++){
354 354
          act_pay += this.orderList[i].psn_part_amt
355 355
       }
356
-      return act_pay
356
+      return act_pay.toFixed(2)
357 357
     },
358 358
     getFundPaySumamt() {
359 359
       var fund_pay_sumamt = 0;