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
                         :row-class-name="tableRow"
40
                         :row-class-name="tableRow"
41
               >
41
               >
42
                 <el-table-column type="selection" width="40" align="center"></el-table-column>
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
                   <template slot-scope="scope">
44
                   <template slot-scope="scope">
45
                      {{scope.row.title}}
45
                      {{scope.row.title}}
46
                   </template>
46
                   </template>
47
                 </el-table-column>
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
               </el-table>
58
               </el-table>
49
             </el-col>
59
             </el-col>
50
             <el-col :span="14">
60
             <el-col :span="14">
73
                   <span style="margin-right:10px;line-height:20px;">透前血压(mmHg):{{editObj.befor_pressure}}</span>
83
                   <span style="margin-right:10px;line-height:20px;">透前血压(mmHg):{{editObj.befor_pressure}}</span>
74
                   <span style="margin-right:10px;line-height:20px;">透后血压(mmHg):{{editObj.after_pressure}}</span>
84
                   <span style="margin-right:10px;line-height:20px;">透后血压(mmHg):{{editObj.after_pressure}}</span>
75
                 </div>
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
                 <div style="padding:10px;line-height:20px;">阶段小结个体化透析方案:{{editObj.template_plan_content}}</div>
91
                 <div style="padding:10px;line-height:20px;">阶段小结个体化透析方案:{{editObj.template_plan_content}}</div>
80
               </div>
92
               </div>
81
             </el-col>
93
             </el-col>
535
                   <el-row>
547
                   <el-row>
536
                     <label class="title"><span class="name">阶段小结化验结果</span> : </label>
548
                     <label class="title"><span class="name">阶段小结化验结果</span> : </label>
537
                     <el-button type="primary" @click="toInspection">选择检验检查</el-button>
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
                      <div class="borderBox">
550
                      <div class="borderBox">
540
                        <div v-for="item in form.template_inspection_content">
551
                        <div v-for="item in form.template_inspection_content">
541
                         <p>{{ item.project_name }}</p>
552
                         <p>{{ item.project_name }}</p>
1204
         getTemplateSummaryList(params).then(response=>{
1215
         getTemplateSummaryList(params).then(response=>{
1205
            if(response.data.state ==1){
1216
            if(response.data.state ==1){
1206
               var list = response.data.data.list
1217
               var list = response.data.data.list
1218
+              console.log("数据时什么",list)
1207
               this.inspectionList = list
1219
               this.inspectionList = list
1208
               this.$refs.inspection_table.setCurrentRow(this.inspectionList[0])
1220
               this.$refs.inspection_table.setCurrentRow(this.inspectionList[0])
1209
               this.getCurrentRecordDetail(this.inspectionList[0].id)
1221
               this.getCurrentRecordDetail(this.inspectionList[0].id)
1400
           }
1412
           }
1401
         });
1413
         });
1402
         return lastData;
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
   //  watch: {
1426
   //  watch: {