| | |
| | | bwType: this.form.bwType, |
| | | enable: this.form.enable, |
| | | tableDesc: this.form.tableDesc, |
| | | // isSync: this.form.isSync, |
| | | }); |
| | | if (res.success === true) { |
| | | this.$notify({ |
| | |
| | | type: "success", |
| | | }); |
| | | this.$emit("refresh"); |
| | | this.$emit("closeAdd"); |
| | | } else { |
| | | this.$notify({ |
| | | title: "失败", |
| | |
| | | enabled: this.form.enabled, |
| | | tableDesc: this.form.tableDesc, |
| | | analyServerId: this.type, |
| | | // isSync: this.form.isSync, |
| | | }) |
| | | .then((res) => { |
| | | this.$notify({ |
| | |
| | | type: "success", |
| | | }); |
| | | this.$emit("refresh"); |
| | | this.$emit("closeAdd"); |
| | | }) |
| | | .catch((err) => { |
| | | this.$notify({ |