任务待办

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,
diseaseTypeId: row.diseaseTypeId ? row.diseaseTypeId : 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");
} else {
} else if(this.$route.query.taskType=="PHONE_OUTBOUND" && this.$route.query.phoneId){
if (this.$route.query.routeHandleRemark) {
this.questiondata.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: {

View File

@ -47,14 +47,10 @@
<div class="bottomheader">
<div style="display: flex">
<!-- 问卷模板 -->
<div
class="right"
v-if="
$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
"
>
<div
<div class="right" 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' ||
@ -77,10 +73,8 @@
</el-form-item>
</el-form>
</div>
<div
class="sport"
v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'"
>
<div class="sport" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'">
问卷模板: Barthel指数评定问卷
</div>
<div
@ -232,6 +226,19 @@
</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 class="sport">电话外呼</div>
@ -304,7 +311,7 @@
<!-- <div style="background:red;width:200px;height:1600px"> -->
<el-form-item label="重复次数" prop="phoneRedialTimes">
<!-- <div v-for="(item,index) in optionslistS" :key="index">
<div>{{ item.label }}</div>
<div>{{ item.label }}</div>
</div> -->
<el-input
disabled
@ -440,8 +447,9 @@ export default {
this.$route.query.taskType == "ARTIFICIAL_FOLLOW_UP"
) {
this.questioninfo();
} else {
selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => {
} else if(this.$route.query.taskType=="PHONE_OUTBOUND" && this.$route.query.phoneId){
selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => {
console.log('===================')
if (response.data) {
this.formlist = response.data;
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: {
@ -805,6 +817,7 @@ this.infolistword()
.right {
width: 100%;
height: 500px;
// overflow-y: auto;
// background: yellow;
}
@ -823,7 +836,7 @@ this.infolistword()
.bottomheader {
overflow-y: scroll;
width: 99%;
height: 60vh;
height: 65vh;
background-color: #fff;
margin: 10px auto;
padding: 10px 20px;