任务待办

This commit is contained in:
shidongli 2024-07-02 09:32:44 +08:00
parent d40d79559c
commit d6b24c282a
2 changed files with 21 additions and 24 deletions

View File

@ -97,7 +97,7 @@
<div v-if="item.questionType == 'FILL_IN_THE_BLANKS' ||
item.questionType == 'COMBINATION_BLANKS_SUBJECT'
" class="tk">
<el-input disabled v-model="item.fillBlanksAnswer" placeholder="请输入答案" type="textarea" />
<el-input disabled v-model="item.fillBlanksAnswer" placeholder="请输入答案" type="textarea" />
<!-- <el-input></el-input> -->
</div>
<!-- 日期填空题 -->
@ -327,10 +327,7 @@ export default {
this.info();
if (this.$route.query.taskType == 'QUESTIONNAIRE_SCALE' || this.$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP') {
this.selectlist();
console.log(this.$route.query, "res");
} else if(this.$route.query.taskType=="PHONE_OUTBOUND" && this.$route.query.phoneId){
} else if(this.$route.query.taskType=="PHONE_OUTBOUND"){
if (this.$route.query.routeHandleRemark) {
this.questiondata.routeHandleRemark =
this.$route.query.routeHandleRemark;
@ -345,9 +342,6 @@ export default {
}
}
});
}else if(this.$route.query.taskType=="PHONE_OUTBOUND" && this.$route.query.followTemplateId){
console.log('6666666666666666666========')
this.questioninfo();
}
},
methods: {
@ -515,6 +509,7 @@ export default {
.tk {
::v-deep .el-textarea__inner {
margin: 20px 0 10px 30px;
width: 60% !important;
}
}

View File

@ -47,10 +47,14 @@
<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' ||
@ -74,7 +78,10 @@
</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
@ -447,17 +454,14 @@ export default {
this.$route.query.taskType == "ARTIFICIAL_FOLLOW_UP"
) {
this.questioninfo();
} else if(this.$route.query.taskType=="PHONE_OUTBOUND" && this.$route.query.phoneId){
selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => {
console.log('===================')
} else if (this.$route.query.taskType == "PHONE_OUTBOUND") {
selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => {
if (response.data) {
this.formlist = response.data;
this.formlist.phoneRedialTimes = response.data.phoneRedialTimes;
this.formlist.phoneMessageRemind = response.data.phoneMessageRemind;
// console.log(this.formlist, " this.formlist.phoneRedialTimes");
this.infolistMESSAGE();
this.infolistword()
this.infolistword()
if (this.formlist.phonePushSign == 0) {
this.formlist.phonePushSign = "0";
} else if (this.formlist.phonePushSign == 1) {
@ -465,11 +469,8 @@ this.infolistword()
}
}
});
}else if(this.$route.query.taskType=="PHONE_OUTBOUND" && this.$route.query.followTemplateId){
console.log('6666666666666666666========')
this.questioninfo();
}
},
methods: {
//
@ -509,7 +510,7 @@ this.infolistword()
timepickerselect(e, index) {
this.questiondata.questionSubjectList[index].fillBlanksAnswer = e;
},
radioGroupChange(e, item) {},
radioGroupChange(e, item) { },
// radio
radioChange(e, item, index) {
console.log(e, item, index, "选中某个单选框时");
@ -748,6 +749,7 @@ this.infolistword()
.tk {
::v-deep .el-textarea__inner {
margin: 20px 0 10px 30px;
width: 60% !important;
}
}