| | |
| | | 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); |