XMLWAN 3 years ago
parent
commit
7fefe408cc
1 changed files with 26 additions and 5 deletions
  1. 26 5
      src/xt_pages/user/templateSummary.vue

+ 26 - 5
src/xt_pages/user/templateSummary.vue View File

@@ -40,11 +40,21 @@
40 40
                         :row-class-name="tableRow"
41 41
               >
42 42
                 <el-table-column type="selection" width="40" align="center"></el-table-column>
43
-                <el-table-column label="检查项目" align="center">
43
+                <el-table-column label="阶段小结名称" align="center">
44 44
                   <template slot-scope="scope">
45 45
                      {{scope.row.title}}
46 46
                   </template>
47 47
                 </el-table-column>
48
+                <el-table-column label="记录时间" align="center">
49
+                  <template slot-scope="scope">
50
+                     {{getTime(scope.row.record_time)}}
51
+                  </template>
52
+                </el-table-column>
53
+                <el-table-column label="记录医生" align="center">
54
+                  <template slot-scope="scope">
55
+                     {{getDoctor(scope.row.admin_user_id)}}
56
+                  </template>
57
+                </el-table-column>
48 58
               </el-table>
49 59
             </el-col>
50 60
             <el-col :span="14">
@@ -73,9 +83,11 @@
73 83
                   <span style="margin-right:10px;line-height:20px;">透前血压(mmHg):{{editObj.befor_pressure}}</span>
74 84
                   <span style="margin-right:10px;line-height:20px;">透后血压(mmHg):{{editObj.after_pressure}}</span>
75 85
                 </div>
76
-                <!-- <el-divider></el-divider> -->
77
-                <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">阶段小结总结:{{editObj.template_inspection_content}}</div>  
78
-                <!-- <el-divider></el-divider> -->
86
+              
87
+                <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">阶段小结总结:{{editObj.template_summary_content}}</div> 
88
+
89
+                <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">阶段化验结果:{{editObj.template_inspection_content}}</div>   
90
+             
79 91
                 <div style="padding:10px;line-height:20px;">阶段小结个体化透析方案:{{editObj.template_plan_content}}</div>
80 92
               </div>
81 93
             </el-col>
@@ -535,7 +547,6 @@
535 547
                   <el-row>
536 548
                     <label class="title"><span class="name">阶段小结化验结果</span> : </label>
537 549
                     <el-button type="primary" @click="toInspection">选择检验检查</el-button>
538
-                     <!-- <el-input style="margin:10px 0;" type="textarea" v-model="form.template_inspection_content"></el-input> -->
539 550
                      <div class="borderBox">
540 551
                        <div v-for="item in form.template_inspection_content">
541 552
                         <p>{{ item.project_name }}</p>
@@ -1204,6 +1215,7 @@
1204 1215
         getTemplateSummaryList(params).then(response=>{
1205 1216
            if(response.data.state ==1){
1206 1217
               var list = response.data.data.list
1218
+              console.log("数据时什么",list)
1207 1219
               this.inspectionList = list
1208 1220
               this.$refs.inspection_table.setCurrentRow(this.inspectionList[0])
1209 1221
               this.getCurrentRecordDetail(this.inspectionList[0].id)
@@ -1400,6 +1412,15 @@
1400 1412
           }
1401 1413
         });
1402 1414
         return lastData;
1415
+      },
1416
+      getDoctor(id){
1417
+        var user_name = ""
1418
+        for(let i=0;i<this.docList.length;i++){
1419
+          if(id == this.docList[i].admin_user_id){
1420
+             user_name = this.docList[i].user_name
1421
+          }
1422
+        }
1423
+        return user_name
1403 1424
       }
1404 1425
     },
1405 1426
   //  watch: {