修改任务管理--处理

This commit is contained in:
shidongli 2025-01-21 16:30:54 +08:00
parent bc37303345
commit 10ae82f280
3 changed files with 54 additions and 42 deletions

View File

@ -9,11 +9,7 @@
v-if="$route.query.taskNodeType == 'PHONE_OUTBOUND'" v-if="$route.query.taskNodeType == 'PHONE_OUTBOUND'"
> >
<div class="nexttime"> <div class="nexttime">
<el-form <el-form ref="formlist" :model="formlist" label-width="110px">
ref="formlist"
:model="formlist"
label-width="110px"
>
<el-form-item label="电话" prop="patientPhone"> <el-form-item label="电话" prop="patientPhone">
<el-input <el-input
disabled disabled
@ -91,7 +87,6 @@
placeholder="" placeholder=""
/> />
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
</el-tab-pane> </el-tab-pane>
@ -677,9 +672,17 @@ export default {
this.$store this.$store
.dispatch("tagsView/delView", this.$route) .dispatch("tagsView/delView", this.$route)
.then(({ visitedViews }) => { .then(({ visitedViews }) => {
if (this.$route.query.path == "/task/taskmanagement") {
this.$router.push({
path: "/task/taskmanagement",
});
} else {
this.$router.push({ this.$router.push({
path: "/task/followup", path: "/task/followup",
}); });
}
}); });
}) })
.catch(() => { .catch(() => {
@ -721,9 +724,16 @@ export default {
this.$store this.$store
.dispatch("tagsView/delView", this.$route) .dispatch("tagsView/delView", this.$route)
.then(({ visitedViews }) => { .then(({ visitedViews }) => {
if (this.$route.query.path == "/task/taskmanagement") {
this.$router.push({
path: "/task/taskmanagement",
});
} else {
this.$router.push({ this.$router.push({
path: "/task/followup", path: "/task/followup",
}); });
}
}); });
}) })
.catch(() => { .catch(() => {
@ -842,7 +852,6 @@ export default {
// background: aliceblue; // background: aliceblue;
/* height: 30vh; */ /* height: 30vh; */
margin-top: 25px; margin-top: 25px;
} }
::v-deep .el-tabs__header { ::v-deep .el-tabs__header {
@ -942,7 +951,6 @@ export default {
width: 338px; width: 338px;
height: 250px; height: 250px;
margin-top: 10px; margin-top: 10px;
} }
} }
} }

View File

@ -1507,7 +1507,7 @@
this.$router.push({ this.$router.push({
path: "/task/followupsee", path: "/task/followupsee",
query: { query: {
path: "/task/followup", path: "/task/taskmanagement",
patientId: row.patientId, patientId: row.patientId,
taskNodeType: row.taskNodeType, taskNodeType: row.taskNodeType,
templateId: row.templateId, templateId: row.templateId,

View File

@ -60,10 +60,7 @@
<el-tab-pane label="签约记录" name="five"> <el-tab-pane label="签约记录" name="five">
<signingRecords v-if="activeName == 'five'"></signingRecords> <signingRecords v-if="activeName == 'five'"></signingRecords>
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane label="任务处理" name="six">
label="任务处理"
name="six"
>
<keep-alive> <keep-alive>
<Taskprocess v-if="activeName == 'six'" ref="process"></Taskprocess> <Taskprocess v-if="activeName == 'six'" ref="process"></Taskprocess>
</keep-alive> </keep-alive>
@ -133,9 +130,17 @@ export default {
}, },
// //
cencal() { cencal() {
if (this.$route.query.path == "/task/taskmanagement") {
this.$router.push({
path: "/task/taskmanagement",
});
} else {
this.$router.push({ this.$router.push({
path: "/task/followup", path: "/task/followup",
}); });
}
}, },
}, },
}; };
@ -275,7 +280,6 @@ export default {
background-color: #fff; background-color: #fff;
margin: 10px auto; margin: 10px auto;
padding: 10px 0px 10px 20px; padding: 10px 0px 10px 20px;
} }
.topheaderup { .topheaderup {
width: 99%; width: 99%;