任务记录列表

This commit is contained in:
shidongli 2024-08-12 16:53:44 +08:00
parent ce3915d94d
commit 3eef97c54e

View File

@ -60,8 +60,6 @@
{{ scope.row.manageRouteNodeName == "AFTER_ADMISSION" ? "入院后" : "" }} {{ scope.row.manageRouteNodeName == "AFTER_ADMISSION" ? "入院后" : "" }}
{{ scope.row.manageRouteNodeName == "AFTER_CONSULTATION" ? "就诊后" : "" }} {{ scope.row.manageRouteNodeName == "AFTER_CONSULTATION" ? "就诊后" : "" }}
{{ scope.row.manageRouteNodeName == "AFTER_VISIT_DISCHARGE" ? "就诊/出院后" : "" }} {{ scope.row.manageRouteNodeName == "AFTER_VISIT_DISCHARGE" ? "就诊/出院后" : "" }}
<!-- {{ scope.row.manageRouteName == "PREOPERATIVE" ? "术前" : "" }}
{{ scope.row.manageRouteName == "POSTOPERATIVE" ? "术后" : "" }} -->
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
@ -83,8 +81,8 @@
{{ scope.row.visitMethod == "BE_IN_HOSPITAL" ? "住院" : "" }} {{ scope.row.visitMethod == "BE_IN_HOSPITAL" ? "住院" : "" }}
</span> </span>
</template></el-table-column> </template></el-table-column>
<el-table-column label="任务名称" align="center" prop="manageRouteName" /> <!-- <el-table-column label="任务名称" align="center" prop="manageRouteName" /> -->
<el-table-column label="执行时间" align="center" prop="executeTime"> <el-table-column label="执行时间" align="center" prop="executeTime" width="95">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}</span>
</template> </template>
@ -213,6 +211,12 @@ export default {
this.screenChange() this.screenChange()
}, },
created(){ created(){
if (localStorage.getItem("followupquery")) {
this.queryParams = JSON.parse(localStorage.getItem("followupquery"));
this.queryParams.hospitalAgencyId = undefined;
this.queryParams.campusAgencyId = undefined;
this.queryParams.departmentId = undefined;
}
this.getList(); this.getList();
this.selectAgencyinfo(); this.selectAgencyinfo();
}, },
@ -268,6 +272,7 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
listTaskExecuteRecord(this.queryParams).then((response) => { listTaskExecuteRecord(this.queryParams).then((response) => {
localStorage.setItem("followupquery", JSON.stringify(this.queryParams));
this.taskExecuteRecordList = response.rows; this.taskExecuteRecordList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;