Sfoglia il codice sorgente

库存显示展示

XMLWAN 2 anni fa
parent
commit
84e8884632
1 ha cambiato i file con 18 aggiunte e 5 eliminazioni
  1. 18 5
      src/xt_pages/user/coursePrint.vue

+ 18 - 5
src/xt_pages/user/coursePrint.vue Vedi File

60
 
60
 
61
               </div>
61
               </div>
62
             </div>
62
             </div>
63
+
64
+            <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;float:right" v-if="org_id ==9671 || org_id == 10440">
65
+             医生签名:{{getName(item.recorder)}}
66
+            </div>
63
           </div>
67
           </div>
68
+
69
+        
64
         </div>
70
         </div>
65
       </div>
71
       </div>
66
     </div>
72
     </div>
91
         record:[],
97
         record:[],
92
         patient: {},
98
         patient: {},
93
         org_id:0,
99
         org_id:0,
100
+        adminUserList:[],
94
       }
101
       }
95
     },
102
     },
96
     created() {
103
     created() {
114
         if (resp.state == 1) {
121
         if (resp.state == 1) {
115
           this.record = resp.data.record
122
           this.record = resp.data.record
116
 
123
 
117
-          // for(let i=0;i<this.record.length;i++){
118
-          //   this.record[i].content = this.record[i].content.replace(new RegExp('<p>','g'),"<div>").replace(new RegExp('</p>','g'),"</div>")
119
-          // }
120
-
121
           this.patient = resp.data.patient
124
           this.patient = resp.data.patient
122
-
125
+          console.log("GetCoursePrintData",resp.data.adminUser)
126
+          this.adminUserList = resp.data.adminUser
123
           this.loading = false
127
           this.loading = false
124
         } else {
128
         } else {
125
           this.loading = false
129
           this.loading = false
144
           return uParseTime(value, temp)
148
           return uParseTime(value, temp)
145
         }
149
         }
146
         return ''
150
         return ''
151
+      },
152
+      getName(admin_user_id){
153
+        var name = ""
154
+        for(let i=0;i<this.adminUserList.length;i++){
155
+          if(this.adminUserList[i].id == admin_user_id){
156
+            name = this.adminUserList[i].name
157
+          }
158
+        }
159
+        return name
147
       }
160
       }
148
     }
161
     }
149
   }
162
   }