| | |
| | | this.isShowCopyTem = false; |
| | | this.submitCopyInfoLoading = false; |
| | | this.$message.success("修改成功"); |
| | | this.refreshTable("page"); |
| | | this.getList(); |
| | | }) |
| | | .catch((err) => { |
| | | console.log("copyTemplate----", err); |
| | |
| | | this.isShowCopyTem = false; |
| | | this.submitCopyInfoLoading = false; |
| | | this.$message.success("复制成功"); |
| | | this.refreshTable("page"); |
| | | this.getList(); |
| | | }) |
| | | .catch((err) => { |
| | | console.log("copyTemplate----", err); |
| | |
| | | .then(() => { |
| | | delStandardTemplate({ id: row.id }).then((res) => { |
| | | this.$message.success("删除成功"); |
| | | this.refreshTable("page"); |
| | | if (this.tableData.length === 1 && this.page.current > 1) { |
| | | this.page.current -= 1; |
| | | } |
| | | this.getList(); |
| | | }); |
| | | }) |
| | | .catch(() => { }); |