处理
This commit is contained in:
parent
5e3174a155
commit
384825cf58
File diff suppressed because it is too large
Load Diff
@ -238,10 +238,12 @@
|
||||
|
||||
<div class="nexttime">
|
||||
<el-form
|
||||
ref="form"
|
||||
ref="formlist"
|
||||
:model="formlist"
|
||||
label-width="110px"
|
||||
:inline="true"
|
||||
:rules="rulesphone"
|
||||
|
||||
>
|
||||
<el-form-item label="话术名称" prop="scriptName">
|
||||
<el-input
|
||||
@ -267,6 +269,16 @@
|
||||
placeholder="请输入话术简介"
|
||||
/>
|
||||
</el-form-item>
|
||||
<br />
|
||||
|
||||
<el-form-item label="任务处理信息" prop="routeHandleRemark">
|
||||
<el-input
|
||||
|
||||
type="textarea"
|
||||
v-model="formlist.routeHandleRemark"
|
||||
placeholder="请输入任务处理信息"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
</div>
|
||||
@ -308,6 +320,12 @@ export default {
|
||||
{ required: true, message: '请输入任务处理信息', trigger: 'change' }
|
||||
],
|
||||
},
|
||||
rulesphone:{
|
||||
routeHandleRemark: [
|
||||
{ required: true, message: '请输入任务处理信息', trigger: 'change' }
|
||||
],
|
||||
|
||||
},
|
||||
radio: "B",
|
||||
id: "",
|
||||
list: [],
|
||||
@ -327,6 +345,7 @@ export default {
|
||||
if (this.$route.query.taskType == 'QUESTIONNAIRE_SCALE' || this.$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP') {
|
||||
this.questioninfo();
|
||||
} else {
|
||||
|
||||
getScript(this.$route.query.templateId).then(response => {
|
||||
if (response.data) {
|
||||
this.formlist = response.data;
|
||||
@ -491,14 +510,15 @@ export default {
|
||||
}
|
||||
});
|
||||
} else if (this.$route.query.taskType == 'PHONE_OUTBOUND') {
|
||||
console.log(this.form, '话术')
|
||||
// console.log(this.form, '话术')
|
||||
// return
|
||||
this.$refs["form"].validate(valid => {
|
||||
this.$refs["formlist"].validate(valid => {
|
||||
if (valid) {
|
||||
this.form.departmentId=this.formlist.departmentId,
|
||||
this.form.departmentName=this.formlist.departmentName,
|
||||
this.form.diseaseTypeId=this.formlist.diseaseTypeId,
|
||||
this.form.diseaseTypeName=this.formlist.diseaseTypeName,
|
||||
this.form.routeHandleRemark=this.formlist.routeHandleRemark
|
||||
console.log(this.form, 'this.form')
|
||||
// return
|
||||
addPatientQuestionResult(this.form).then(response => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user