瀏覽代碼

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

28169 6 月之前
父節點
當前提交
5fb7dee05f
共有 2 個文件被更改,包括 32 次插入22 次删除
  1. 29 19
      src/xt_pages/user/courseOfDisease_new.vue
  2. 3 3
      src/xt_pages/user/templateSummaryPrint.vue

+ 29 - 19
src/xt_pages/user/courseOfDisease_new.vue 查看文件

@@ -1,8 +1,11 @@
1 1
 <template>
2
- 
2
+  <!-- <div class="main-contain">
3
+      <div class="position">
4
+         <bread-crumb></bread-crumb>
5
+      </div> -->
3 6
   <div class="patient-container">
4 7
     <PatientSidebar :id="patient_id" defaultActive="3-5"></PatientSidebar>
5
-   
8
+
6 9
     <div v-loading="loading">
7 10
       <div class="patient-app-container advice-container app-container" style="">
8 11
         <div style="display: flex;">
@@ -22,7 +25,7 @@
22 25
                 :highlight-current-row="true"
23 26
                 @current-change="getCurrentChangeOne"
24 27
                 style="width: 100%">
25
-                
28
+
26 29
                 <el-table-column prop="index" label="序号" width="50">
27 30
                   <template slot-scope="scope">
28 31
                      {{ scope.$index + 1 }}
@@ -90,7 +93,7 @@
90 93
                   自动生成
91 94
                 </el-button>
92 95
               </div>
93
-             
96
+
94 97
               <ueditor ref="editor" id="editors" :content="new_content"></ueditor>
95 98
             </div>
96 99
           </div>
@@ -203,14 +206,14 @@
203 206
             </div>
204 207
           </div>
205 208
         </div>
206
-       
209
+
207 210
       </el-dialog>
208 211
 
209 212
 
210 213
 
211 214
 
212
-    
213
- 
215
+
216
+
214 217
     </div>
215 218
   </div>
216 219
 
@@ -298,7 +301,7 @@
298 301
     },
299 302
     created() {
300 303
       this.admin_user_id = this.$store.getters.xt_user.user.id
301
-    
304
+
302 305
       this.patient_id = parseInt(this.$route.query.id)
303 306
       this.org_id = this.$store.getters.xt_user.template_info.org_id;
304 307
       if (isNaN(this.patient_id) || this.patient_id <= 0) {
@@ -312,7 +315,7 @@
312 315
 
313 316
       this.fetchAllDoctorAndNurse()
314 317
       this.getlist()
315
-     
318
+
316 319
 
317 320
     },
318 321
     methods: {
@@ -327,7 +330,7 @@
327 330
         this.id = val.id
328 331
       },
329 332
       getCurrentChangeTwo(val){
330
-   
333
+
331 334
         this.$refs.editorOne.contents = val.content
332 335
         this.template_content = ""
333 336
         this.template_content = val.content
@@ -353,7 +356,7 @@
353 356
 
354 357
       },
355 358
       saveTemplate(){
356
-   
359
+
357 360
         var params = {
358 361
           title:this.title,
359 362
           content: this.$refs.editor.contents,
@@ -371,7 +374,7 @@
371 374
          template_id:this.template_id,
372 375
          content:this.$refs.editorOne.contents
373 376
         }
374
-      
377
+
375 378
         saveCourseOfNewTemplate(params).then(response=>{
376 379
            if(response.data.state == 1){
377 380
               var msg = response.data.data.msg
@@ -398,7 +401,7 @@
398 401
                var list = response.data.data.list
399 402
               this.tableData = []
400 403
               this.tableData = list
401
-             
404
+
402 405
             }
403 406
         })
404 407
      },
@@ -448,7 +451,7 @@
448 451
          }
449 452
 
450 453
         }).catch(error => {
451
-         
454
+
452 455
         })
453 456
       },
454 457
       template_click(){
@@ -466,10 +469,10 @@
466 469
               this.$refs.record_table_one.setCurrentRow(this.templateList[0])
467 470
             }
468 471
             console.log("haaaaaaaaaaaaa",this.templateList)
469
-            
472
+
470 473
           }
471 474
         })
472
-     
475
+
473 476
        }
474 477
       },
475 478
       auto_click(){
@@ -553,7 +556,7 @@
553 556
       createAction() {
554 557
         console.log("haaaaaaaaaaaaaaa",this.$refs)
555 558
         this.new_content = this.$refs.editor.contents
556
-        
559
+
557 560
         if (this.new_content.length == 0) {
558 561
           this.$message.error('请填写病程内容')
559 562
           return
@@ -573,7 +576,7 @@
573 576
          }
574 577
 
575 578
         }).catch(error => {
576
-         
579
+
577 580
         })
578 581
       },
579 582
       didSelectTemplate: function(templateContent) {
@@ -618,7 +621,7 @@
618 621
 
619 622
       },
620 623
       showEdit() {
621
-       
624
+
622 625
         this.add_index =1
623 626
         this.disabled = false
624 627
 
@@ -902,4 +905,11 @@
902 905
       text-align: center;
903 906
     }
904 907
   }
908
+  .course{
909
+    .el-dialog{
910
+      height: 90%;
911
+      // position: fixed !important;
912
+      // top: 10% !important;
913
+    }
914
+  }
905 915
 </style>

+ 3 - 3
src/xt_pages/user/templateSummaryPrint.vue 查看文件

@@ -8,7 +8,7 @@
8 8
       <div class="order-yy-name"></div>
9 9
       <div class="order-title">{{ orgname }}血液透析患者诊疗阶段小结</div>
10 10
       
11
-      <div style="padding-bottom:20px;border-bottom:1px solid #000;margin-top:40px;">
11
+      <div style="padding-bottom:20px;border-bottom:1px solid #000;margin-top:40px;" v-if="org_id !=10013 &&org_id !=10014">
12 12
          <span>姓名:{{patientList.patient.name}}</span>  
13 13
          <span style="margin-left:20px;">年龄:{{getNewAge(patientList.patient.id_card_no)}}</span>  
14 14
          <span style="margin-left:20px;">性别:
@@ -17,7 +17,7 @@
17 17
          </span> 
18 18
          <span style="margin-left:20px;">诊断:{{patientList.patient.diagnose}}</span> 
19 19
       </div>
20
-      <div style="padding:20px 0;border-bottom:1px solid #000;font-weight:bold;">
20
+      <div style="padding:20px 0;border-bottom:1px solid #000;font-weight:bold;" v-if="org_id !=10013 &&org_id !=10014">
21 21
         <span>阶段评估时间:{{getTime(patientList.record_time)}}</span>  
22 22
       </div>
23 23
        <!-- <div style="padding:20px 0;border-bottom:1px solid #000;">
@@ -46,7 +46,7 @@
46 46
           </div>
47 47
         </div>
48 48
       </div> -->
49
-      <div style="padding:20px 0;border-bottom:1px solid #000;min-height:200px;">
49
+      <div style="padding:20px 0;border-bottom:1px solid #000;min-height:200px;" v-if="org_id !=10013 &&org_id !=10014">
50 50
         <span style="font-weight:bold;">阶段小结总结:</span>
51 51
           <!-- {{patientList.template_summary_content}} -->
52 52
           <div style="line-height:24px; word-break: break-all;word-wrap: break-word"