| | |
| | | title="添加题目" |
| | | :visible.sync="drawer" |
| | | custom-class="demo-drawer" |
| | | width="50%" |
| | | size="50%" |
| | | > |
| | | <div class="preview-left"> |
| | | <el-form |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <pagination |
| | | :total="total" |
| | | :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getaddtopiclist" |
| | | /> |
| | | </div> |
| | | </el-drawer> |
| | | </div> |
| | |
| | | inputValue: "", |
| | | inputValueillness: "", |
| | | topicobj: { |
| | | noMatchText:'', |
| | | noClearlyText:'', |
| | | slienceText:'', |
| | | noMatchText: "", |
| | | noClearlyText: "", |
| | | slienceText: "", |
| | | }, |
| | | total: 1, |
| | | id: "", |
| | |
| | | this.id = this.$route.query.id; |
| | | this.task = this.$route.query.task; |
| | | |
| | | console.log(this.task, "task"); |
| | | if (this.task) { |
| | | this.id = this.$route.query.id; |
| | | } |
| | | // console.log(this.task, "task"); |
| | | // if (this.task) { |
| | | // this.id = this.$route.query.id; |
| | | // } |
| | | }, |
| | | // 获取表单数据 |
| | | getvFollowup() { |
| | |
| | | }, |
| | | addtopic(row) { |
| | | console.log(row); |
| | | if ( |
| | | this.ruleForm.ivrLibaTemplateScriptVOList.some( |
| | | (obj) => obj.questiontitle == row.questiontitle |
| | | ) |
| | | ) { |
| | | this.$modal.msgError("该题目已存在"); |
| | | return; |
| | | } |
| | | getverbaltrick({ id: row.id }).then((res) => { |
| | | console.log(res, "详情"); |
| | | res.data.isoperation = 1; |
| | |
| | | }); |
| | | this.ruleForm.ivrLibaTemplateScriptVOList.push(res.data); |
| | | this.sortFn(); |
| | | this.$modal.msgSuccess("添加成功"); |
| | | }); |
| | | }, |
| | | handleDelete(row) { |