Bladeren bron

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

28169 2 jaren geleden
bovenliggende
commit
a1132bd02f

+ 1 - 31
src/xt_pages/outpatientCharges/statementTemplate/printTen.vue Bestand weergeven

@@ -285,7 +285,7 @@
285 285
               <td colspan="2" style="border: 1px solid gray;width: 150px;height: 30px;">{{info.hosp_part_amt}}</td>
286 286
             </tr>
287 287
           </table>
288
-          <div style="width: 51%; margin: 5px 90px; text-align: left;">
288
+          <div style="width: 51%; margin: 5px 100px; text-align: center;">
289 289
            <span style="display: inline-block;"> 备注:其它包含军转、财政、慈善、其他商报等支付来源</span>
290 290
           </div>
291 291
         </div>
@@ -374,35 +374,5 @@ export default {
374 374
   margin-bottom: 20px;
375 375
   padding: 20px 10px;
376 376
 }
377
-// *{
378
-//   padding:0;
379
-//   margin: 0;
380
-//   border: 0;
381
-// }
382
-// .print-content{
383
-//   display: flex;
384
-//   justify-content: center;
385
-//   flex-direction:column
386
-// }
387
-// h1{
388
-//   text-align: center;
389
-// }
390
-// .yiliao{
391
-//   display: inline-block;
392
-//   margin: 10px 80px 10px 0px ;
393
-// }
394
-// .print-tab{
395
-//   margin: 0px auto;
396
-// }
397
-// .jiesuan{
398
-//   border-collapse: collapse;
399
-//   text-align: center;
400
-// }
401
-// .jiesuan tr td{
402
-//   border: 1px solid gray;
403
-//   width: 150px;
404
-//   height: 30px;
405
-// }
406
-
407 377
 
408 378
 </style>

+ 24 - 5
src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue Bestand weergeven

@@ -61,11 +61,13 @@
61 61
             <span v-if="advicePrint[0].patient.gender == 1">男</span>
62 62
             <span v-if="advicePrint[0].patient.gender == 2">女</span>
63 63
           </div>
64
-          <div>
65
-            年龄:{{
66
-              advicePrint[0].patient.age ? advicePrint[0].patient.age : ""
67
-            }}岁
68
-          </div>
64
+<!--          <div>-->
65
+<!--            年龄:{{-->
66
+<!--              advicePrint[0].patient.age ? advicePrint[0].patient.age : ""-->
67
+<!--            }}岁-->
68
+<!--          </div>-->
69
+          <div>年龄:{{getAge(advicePrint[0].patient)?getAge(advicePrint[0].patient):""}}岁</div>
70
+
69 71
         </div>
70 72
         <div style="margin-bottom: 20px; padding: 10px 10px 0">
71 73
           病史摘要:{{
@@ -188,6 +190,23 @@ export default {
188 190
     };
189 191
   },
190 192
   methods: {
193
+    getAge(patient){
194
+      var thisLen = patient.id_card_no.length
195
+      var birth = ''
196
+      if (thisLen == 15) {
197
+        birth = '19' + patient.id_card_no.substr(6, 6)
198
+      } else {
199
+        birth = patient.id_card_no.substr(6, 8)
200
+      }
201
+      var births =
202
+        birth.substr(0, 4) +
203
+        '-' +
204
+        birth.substr(4, 2) +
205
+        '-' +
206
+        birth.substr(6, 2)
207
+      return jsGetAge(births, '-')
208
+
209
+    },
191 210
     getPatientCaseHistory() {
192 211
       const params = {
193 212
         patient_id: this.patient_id,

Diff onderdrukt omdat het te groot bestand
+ 0 - 3118
src/xt_pages/workforce/components/appointment.vue


+ 5 - 2
src/xt_pages/workforce/components/editTableData.vue Bestand weergeven

@@ -4761,7 +4761,7 @@ export default {
4761 4761
     async CreateSchedule(id, data) {
4762 4762
       this.creating_schedule = true;
4763 4763
       let response =await CreateSchedule(id, data)
4764
-
4764
+      this.dialogTableVisible=false
4765 4765
       if (response.data.state == 0) {
4766 4766
         this.$message.error(response.data.msg);
4767 4767
       } else {
@@ -5383,8 +5383,11 @@ export default {
5383 5383
         )
5384 5384
             .then(() => {
5385 5385
               this.CreateSchedule(this.currentData.patient_id, this.currentData);
5386
+              
5386 5387
             })
5387
-            .catch(() => {});
5388
+            .catch(() => {
5389
+              this.dialogTableVisible=false
5390
+            });
5388 5391
       } else {
5389 5392
         this.CreateSchedule(this.currentData.patient_id, this.currentData);
5390 5393
       }

Diff onderdrukt omdat het te groot bestand
+ 0 - 5827
src/xt_pages/workforce/editTableData.vue


Diff onderdrukt omdat het te groot bestand
+ 0 - 3453
src/xt_pages/workforce/tableData.vue