任务待办

This commit is contained in:
shidongli 2024-07-01 09:58:43 +08:00
parent faf455c369
commit 1dc8b7d8ff
3 changed files with 35 additions and 17 deletions

View File

@ -602,6 +602,8 @@ export default {
departmentName: row.departmentName, departmentName: row.departmentName,
diseaseTypeId: row.diseaseTypeId ? row.diseaseTypeId : null, diseaseTypeId: row.diseaseTypeId ? row.diseaseTypeId : null,
diseaseTypeName: row.diseaseTypeName ? row.diseaseTypeName : null, diseaseTypeName: row.diseaseTypeName ? row.diseaseTypeName : null,
followTemplateId:row.followTemplateId?row.followTemplateId:null,
phoneId:row.phoneId?row.phoneId:null,
}, },
}); });

View File

@ -330,7 +330,7 @@ export default {
console.log(this.$route.query, "res"); console.log(this.$route.query, "res");
} else { } else if(this.$route.query.taskType=="PHONE_OUTBOUND" && this.$route.query.phoneId){
if (this.$route.query.routeHandleRemark) { if (this.$route.query.routeHandleRemark) {
this.questiondata.routeHandleRemark = this.questiondata.routeHandleRemark =
this.$route.query.routeHandleRemark; this.$route.query.routeHandleRemark;
@ -345,6 +345,9 @@ export default {
} }
} }
}); });
}else if(this.$route.query.taskType=="PHONE_OUTBOUND" && this.$route.query.followTemplateId){
console.log('6666666666666666666========')
this.questioninfo();
} }
}, },
methods: { methods: {

View File

@ -47,14 +47,10 @@
<div class="bottomheader"> <div class="bottomheader">
<div style="display: flex"> <div style="display: flex">
<!-- 问卷模板 --> <!-- 问卷模板 -->
<div <div class="right" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
class="right" $route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
v-if=" ">
$route.query.taskType == 'QUESTIONNAIRE_SCALE' || <div
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
"
>
<div
style="float: right; margin-top: 20px" style="float: right; margin-top: 20px"
v-if=" v-if="
$route.query.taskType == 'QUESTIONNAIRE_SCALE' || $route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
@ -77,10 +73,8 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div
class="sport" <div class="sport" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'">
v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'"
>
问卷模板: Barthel指数评定问卷 问卷模板: Barthel指数评定问卷
</div> </div>
<div <div
@ -232,6 +226,19 @@
</div> </div>
</div> </div>
</div> </div>
<!-- <div class="right_top" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
">
<div style="float: right; margin-top: 20px" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
">
<el-form :inline="true" class="demo-form-inline" :model="questiondata" :rules="rules" ref="questiondata">
<el-form-item label="任务处理信息" prop="routeHandleRemark">
<el-input type="textarea" placeholder="请输入任务处理信息" v-model="questiondata.routeHandleRemark" />
</el-form-item>
</el-form>
</div>
</div> -->
<!-- 电话外呼 --> <!-- 电话外呼 -->
<div v-if="$route.query.taskType == 'PHONE_OUTBOUND'"> <div v-if="$route.query.taskType == 'PHONE_OUTBOUND'">
<div class="sport">电话外呼</div> <div class="sport">电话外呼</div>
@ -440,8 +447,9 @@ export default {
this.$route.query.taskType == "ARTIFICIAL_FOLLOW_UP" this.$route.query.taskType == "ARTIFICIAL_FOLLOW_UP"
) { ) {
this.questioninfo(); this.questioninfo();
} else { } else if(this.$route.query.taskType=="PHONE_OUTBOUND" && this.$route.query.phoneId){
selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => { selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => {
console.log('===================')
if (response.data) { if (response.data) {
this.formlist = response.data; this.formlist = response.data;
this.formlist.phoneRedialTimes = response.data.phoneRedialTimes; this.formlist.phoneRedialTimes = response.data.phoneRedialTimes;
@ -457,6 +465,10 @@ this.infolistword()
} }
} }
}); });
}else if(this.$route.query.taskType=="PHONE_OUTBOUND" && this.$route.query.followTemplateId){
console.log('6666666666666666666========')
this.questioninfo();
} }
}, },
methods: { methods: {
@ -805,6 +817,7 @@ this.infolistword()
.right { .right {
width: 100%; width: 100%;
height: 500px; height: 500px;
// overflow-y: auto;
// background: yellow; // background: yellow;
} }
@ -823,7 +836,7 @@ this.infolistword()
.bottomheader { .bottomheader {
overflow-y: scroll; overflow-y: scroll;
width: 99%; width: 99%;
height: 60vh; height: 65vh;
background-color: #fff; background-color: #fff;
margin: 10px auto; margin: 10px auto;
padding: 10px 20px; padding: 10px 20px;