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