| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="当前执行方式" |
| | | align="center" |
| | | key="currentPreachform" |
| | | prop="currentPreachform" |
| | | width="160" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="随访完成时间" |
| | | sortable |
| | | align="center" |
| | |
| | | </template></el-table-column |
| | | > |
| | | <el-table-column |
| | | label="开始随访时间" |
| | | width="146" |
| | | align="center" |
| | | key="longSendTime" |
| | | prop="longSendTime" |
| | | :render-header="Tooltipks" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ formatTime(scope.row.longSendTime) }}</span> |
| | | </template></el-table-column |
| | | > |
| | | <el-table-column |
| | | label="应随访日期" |
| | | width="146" |
| | | align="center" |
| | | key="visitTime" |
| | | prop="visitTime" |
| | | :render-header="Tooltipy" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ formatTime(scope.row.visitTime) }}</span> |
| | | </template></el-table-column |
| | | > |
| | | |
| | | <!-- 原 --> |
| | | <el-table-column |
| | | label="主治医生" |
| | |
| | | return item ? item.label : null; |
| | | }); |
| | | } |
| | | if (item.currentPreachform) { |
| | | item.currentPreachform = this.checkboxlist.find( |
| | | (item) => item.value == item.currentPreachform |
| | | )?.value; |
| | | console.log(item.currentPreachform, "mi"); |
| | | } |
| | | }); |
| | | |
| | | this.total = response.total; |
| | |
| | | this.getList(1); |
| | | } |
| | | }, |
| | | Tooltipy(h, { column }) { |
| | | return h( |
| | | "el-tooltip", |
| | | { |
| | | props: { |
| | | content: "任务配置多种补偿类型时,最新执行类型的应随访时间", |
| | | placement: "top", |
| | | effect: "dark", |
| | | }, |
| | | }, |
| | | [h("span", column.label)] |
| | | ); |
| | | }, |
| | | Tooltipks(h, { column }) { |
| | | return h( |
| | | "el-tooltip", |
| | | { |
| | | props: { |
| | | content: "任务存在多种补偿类型时的首次应随访时间", |
| | | placement: "top", |
| | | effect: "dark", |
| | | }, |
| | | }, |
| | | [h("span", column.label)] |
| | | ); |
| | | }, |
| | | // 时间 |
| | | getEndOfDay() { |
| | | const date = new Date(); // 创建一个表示当前时间的Date对象 |