|
@@ -985,6 +985,32 @@
|
985
|
985
|
</td>
|
986
|
986
|
|
987
|
987
|
|
|
988
|
+ <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
|
|
989
|
+ <td>
|
|
990
|
+ <span v-if="setAdminUserES(advice.execution_staff) == ''">
|
|
991
|
+ {{ getAdminUser(advice.execution_staff) }}
|
|
992
|
+ </span>
|
|
993
|
+ <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
|
|
994
|
+ <img style="height:38px;" :src="setAdminUserES(advice.execution_staff)" alt srcset />
|
|
995
|
+ </span>
|
|
996
|
+ </td>
|
|
997
|
+ </tr>
|
|
998
|
+ <tr v-for="(advice, advice_index) in projects" :key="advice_index + 'no'">
|
|
999
|
+ <td style="height:40px;line-height:40px">{{ getTime(advice.start_time, "{h}:{i}") }}</td>
|
|
1000
|
+ <td class="parent" style="text-align:left;padding-left:10px;">
|
|
1001
|
+ <span v-if="advice.type == 2">{{ advice.project.project_name }} {{advice.count}}{{advice.unit}}</span>
|
|
1002
|
+ <span v-if="advice.type == 3">{{ advice.good_info.good_name }} {{advice.count}}{{advice.unit}}</span>
|
|
1003
|
+ </td>
|
|
1004
|
+ <td>
|
|
1005
|
+ <span v-if="setAdminUserES(advice.doctor) == ''">
|
|
1006
|
+ {{ getAdminUser(advice.doctor) }}
|
|
1007
|
+ </span>
|
|
1008
|
+ <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
|
|
1009
|
+ <img style="height:38px;" :src="setAdminUserES(advice.doctor)" alt srcset />
|
|
1010
|
+ </span>
|
|
1011
|
+ </td>
|
|
1012
|
+
|
|
1013
|
+
|
988
|
1014
|
<td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
|
989
|
1015
|
<td>
|
990
|
1016
|
<span v-if="setAdminUserES(advice.execution_staff) == ''">
|
|
@@ -1122,7 +1148,8 @@ export default {
|
1122
|
1148
|
gaijiliang_unit: ''
|
1123
|
1149
|
},
|
1124
|
1150
|
org_id:0,
|
1125
|
|
- tableAdvice:[]
|
|
1151
|
+ tableAdvice:[],
|
|
1152
|
+ projects:[]
|
1126
|
1153
|
}
|
1127
|
1154
|
},
|
1128
|
1155
|
methods: {
|
|
@@ -1409,13 +1436,13 @@ export default {
|
1409
|
1436
|
}
|
1410
|
1437
|
}
|
1411
|
1438
|
this.jilurow = this.monitors.length + 1
|
1412
|
|
-
|
|
1439
|
+ this.projects = response.data.data.projects
|
1413
|
1440
|
var doctorAdevieInfo = response.data.data.advices
|
1414
|
1441
|
var tableAdvice = doctorAdevieInfo
|
1415
|
|
- if (tableAdvice.length < 30) {
|
1416
|
|
- var nl = 30 - tableAdvice.length
|
|
1442
|
+ if (tableAdvice.length + this.projects.length < 30) {
|
|
1443
|
+ var nl = 30 - (tableAdvice.length + this.projects.length)
|
1417
|
1444
|
for (let index = 0; index < nl; index++) {
|
1418
|
|
- tableAdvice.push([])
|
|
1445
|
+ this.projects.push([])
|
1419
|
1446
|
}
|
1420
|
1447
|
}
|
1421
|
1448
|
this.tableAdvice = tableAdvice
|