소스 검색

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

28169 2 년 전
부모
커밋
a1132bd02f

+ 1 - 31
src/xt_pages/outpatientCharges/statementTemplate/printTen.vue 파일 보기

285
               <td colspan="2" style="border: 1px solid gray;width: 150px;height: 30px;">{{info.hosp_part_amt}}</td>
285
               <td colspan="2" style="border: 1px solid gray;width: 150px;height: 30px;">{{info.hosp_part_amt}}</td>
286
             </tr>
286
             </tr>
287
           </table>
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
            <span style="display: inline-block;"> 备注:其它包含军转、财政、慈善、其他商报等支付来源</span>
289
            <span style="display: inline-block;"> 备注:其它包含军转、财政、慈善、其他商报等支付来源</span>
290
           </div>
290
           </div>
291
         </div>
291
         </div>
374
   margin-bottom: 20px;
374
   margin-bottom: 20px;
375
   padding: 20px 10px;
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
 </style>
378
 </style>

+ 24 - 5
src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue 파일 보기

61
             <span v-if="advicePrint[0].patient.gender == 1">男</span>
61
             <span v-if="advicePrint[0].patient.gender == 1">男</span>
62
             <span v-if="advicePrint[0].patient.gender == 2">女</span>
62
             <span v-if="advicePrint[0].patient.gender == 2">女</span>
63
           </div>
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
         </div>
71
         </div>
70
         <div style="margin-bottom: 20px; padding: 10px 10px 0">
72
         <div style="margin-bottom: 20px; padding: 10px 10px 0">
71
           病史摘要:{{
73
           病史摘要:{{
188
     };
190
     };
189
   },
191
   },
190
   methods: {
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
     getPatientCaseHistory() {
210
     getPatientCaseHistory() {
192
       const params = {
211
       const params = {
193
         patient_id: this.patient_id,
212
         patient_id: this.patient_id,

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 3118
src/xt_pages/workforce/components/appointment.vue


+ 5 - 2
src/xt_pages/workforce/components/editTableData.vue 파일 보기

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

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 5827
src/xt_pages/workforce/editTableData.vue


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 3453
src/xt_pages/workforce/tableData.vue