| | |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="8"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="随访前处理" prop="name"> |
| | | <el-input |
| | | type="textarea" |
| | | maxlength="66" |
| | | show-word-limit |
| | | v-model="ruleForm.revisitBefore" |
| | | ></el-input></el-form-item |
| | | ></el-col> |
| | | <el-col :span="9"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="随访后处理" prop="region"> |
| | | <el-input |
| | | type="textarea" |
| | | maxlength="66" |
| | | show-word-limit |
| | | v-model="ruleForm.revisitAfter" |
| | | ></el-input> </el-form-item |
| | | ></el-col> |
| | |
| | | <el-col :span="12" |
| | | ><el-form-item label="取值类型"> |
| | | <el-select |
| | | v-model="topicobj.isEnable" |
| | | v-model="topicobj.valueType" |
| | | placeholder="请选择" |
| | | :disabled="true" |
| | | > |
| | |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <div class="topicxq" v-if="topicobj.isEnable == 2 || topicobj.isEnable == 3"> |
| | | <div |
| | | class="topicxq" |
| | | v-if="topicobj.valueType == 2 || topicobj.valueType == 3" |
| | | > |
| | | <el-row> |
| | | <el-col :span="20"> |
| | | <el-form-item label="收集内容"> |
| | | <el-input |
| | | style="width: 400px;" |
| | | style="width: 400px" |
| | | type="textarea" |
| | | v-model="topicobj.value" |
| | | placeholder="问题收集内容" |
| | |
| | | this.getaddtopiclist(); |
| | | }, |
| | | getaddtopiclist() { |
| | | console.log(12); |
| | | this.drawer = true; |
| | | getverbaltricklist(this.queryParams).then((res) => { |
| | | this.loading = false; |
| | |
| | | }); |
| | | }, |
| | | handleDelete(row) { |
| | | let index = this.ruleForm.ivrLibaTemplateScriptVOList.indexOf(row); |
| | | this.ruleForm.ivrLibaTemplateScriptVOList.splice( |
| | | this.ruleForm.ivrLibaTemplateScriptVOList.indexOf(row), |
| | | 1 |
| | | ); |
| | | row.isoperation = 3; |
| | | this.delScriptVOList.push(row); |
| | | this.$modal |
| | | .confirm('是否确认删除问题:"' + row.questiontitle + '"?') |
| | | .then(() => { |
| | | this.ruleForm.ivrLibaTemplateScriptVOList.splice( |
| | | this.ruleForm.ivrLibaTemplateScriptVOList.indexOf(row), |
| | | 1 |
| | | ); |
| | | row.isoperation = 3; |
| | | this.delScriptVOList.push(row); |
| | | this.$modal.msgSuccess("已删除,保存模版生效"); |
| | | }) |
| | | .catch(() => {}); |
| | | }, |
| | | handleUpdate(row) { |
| | | console.log(row); |
| | |
| | | if (row.ivrLibaScriptTargetoptionList.length) { |
| | | console.log(11); |
| | | this.topicobj = row; |
| | | this.topicobj.isEnable = row.valueType; |
| | | this.topicobj.valueType = row.valueType; |
| | | } else { |
| | | getverbaltrick({ id: row.id }).then((res) => { |
| | | if (res.data) { |