任务待办 任务记录

This commit is contained in:
shidongli 2024-06-19 09:11:52 +08:00
parent 56feabe81c
commit d8ba5ddd41
3 changed files with 26 additions and 17 deletions

View File

@ -338,6 +338,11 @@ export default {
selectPhonePush(this.$route.query.manageRouteNodeId).then(response => { selectPhonePush(this.$route.query.manageRouteNodeId).then(response => {
if (response.data) { if (response.data) {
this.formlist = response.data; this.formlist = response.data;
if(this.formlist.phonePushSign==0){
this.formlist.phonePushSign='0'
}else if(this.formlist.phonePushSign==1){
this.formlist.phonePushSign='1'
}
} }
}); });
} }

View File

@ -197,28 +197,17 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<br /> <br />
<el-form-item label="发送短信" prop="phone"> <el-form-item label="电话短信提醒" prop="phone">
<el-select disabled v-model="formlist.phoneMessageRemind" style="width: 200px"> <el-select disabled v-model="formlist.phoneMessageRemind" style="width: 200px">
<el-option v-for="item in optionslist" :key="item.dictValue" :label="item.dictLabel" <el-option v-for="item in optionslist" :key="item.dictValue" :label="item.dictLabel"
:value="item.dictValue"> :value="item.dictValue">
</el-option> </el-option>
</el-select> </el-select>
<!-- <el-input
style="width: 200px"
v-model="formlist.phoneMessageRemind"
placeholder="请输入电话"
/> -->
</el-form-item> </el-form-item>
<br /> <br />
<el-form-item label="话术图" prop="phone">
<img :src="formlist.scriptFilePath" style="width: 250px; height: 200px" />
</el-form-item>
<br />
<el-form-item label="短信模板:" prop="phone"> <el-form-item label="短信模板:" prop="phone">
<span class="spanname"> <span class="spanname">
<message style="width: 200px;height:100px" @on-template="messageontemplateMESSAGE" <message style="width: 200px;height:50px" @on-template="messageontemplateMESSAGE"
:templateId="formlist.phoneMessageTemplateId" :templateName="formlist.phoneMessageTemplateName"> :templateId="formlist.phoneMessageTemplateId" :templateName="formlist.phoneMessageTemplateName">
</message> </message>
</span> </span>
@ -283,12 +272,12 @@ export default {
}, },
rules: { rules: {
routeHandleRemark: [ routeHandleRemark: [
{ required: true, message: "请输入任务处理信息", trigger: "change" }, { required: true, message: "请输入任务处理信息", trigger: "blur" },
], ],
}, },
rulesphone: { rulesphone: {
routeHandleRemark: [ routeHandleRemark: [
{ required: true, message: "请输入任务处理信息", trigger: "change" }, { required: true, message: "请输入任务处理信息", trigger: "blur" },
], ],
}, },
radio: "B", radio: "B",
@ -304,9 +293,10 @@ export default {
}; };
}, },
created() { created() {
this.infolistword();
this.id = this.$route.query.manageRouteId; this.id = this.$route.query.manageRouteId;
this.info(); this.info();
this.infolistword()
this.infolistMESSAGE(); this.infolistMESSAGE();
if ( if (
this.$route.query.taskType == "QUESTIONNAIRE_SCALE" || this.$route.query.taskType == "QUESTIONNAIRE_SCALE" ||
@ -314,11 +304,19 @@ export default {
) { ) {
this.questioninfo(); this.questioninfo();
} else { } else {
selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => { selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => {
if (response.data) { if (response.data) {
this.formlist = response.data; this.formlist = response.data;
if(this.formlist.phonePushSign==0){
this.formlist.phonePushSign='0'
}else if(this.formlist.phonePushSign==1){
this.formlist.phonePushSign='1'
}
} }
}); });
} }
}, },
methods: { methods: {
@ -385,6 +383,7 @@ export default {
info() { info() {
selectFollowPatientInfo(this.id).then((res) => { selectFollowPatientInfo(this.id).then((res) => {
this.list = res.data; this.list = res.data;
}); });
}, },
questioninfo() { questioninfo() {

View File

@ -460,6 +460,11 @@ export default {
selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => { selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => {
if (response.data) { if (response.data) {
this.formlist = response.data; this.formlist = response.data;
if(this.formlist.phonePushSign==0){
this.formlist.phonePushSign='0'
}else if(this.formlist.phonePushSign==1){
this.formlist.phonePushSign='1'
}
} }
}); });
} }