| | |
| | | cancelButtonText: "取消",
|
| | | customClass: "del-account-message-box",
|
| | | }).then(
|
| | | () => {
|
| | | this.showCurCluster = false;
|
| | | }
|
| | | // async () => {
|
| | | // let res = await leave();
|
| | | // this.$notify({
|
| | | // title: res.success ? "成功" : "失败",
|
| | | // message: res.msg,
|
| | | // type: res.success ? "success" : "error",
|
| | | // });
|
| | | // if (res && res.success) {
|
| | | // clearInterval(this.intervalTimer);
|
| | | // this.showCurCluster = false;
|
| | | // this.ruleForm.virtualIp = "";
|
| | | // this.ruleForm.clustername = "";
|
| | | // this.ruleForm.clusterpwd = "";
|
| | | // this.clusterid = "";
|
| | | // }
|
| | | // },
|
| | | // (err) => {
|
| | | // clearInterval(this.intervalTimer);
|
| | | // () => {
|
| | | // this.showCurCluster = false;
|
| | | // this.ruleForm.virtualIp = "";
|
| | | // this.ruleForm.clustername = "";
|
| | | // this.ruleForm.clusterpwd = "";
|
| | | // this.clusterid = "";
|
| | | // }
|
| | | async () => {
|
| | | let res = await leave();
|
| | | this.$notify({
|
| | | title: res.success ? "成功" : "失败",
|
| | | message: res.msg,
|
| | | type: res.success ? "success" : "error",
|
| | | });
|
| | | if (res && res.success) {
|
| | | clearInterval(this.intervalTimer);
|
| | | this.showCurCluster = false;
|
| | | this.ruleForm.virtualIp = "";
|
| | | this.ruleForm.clustername = "";
|
| | | this.ruleForm.clusterpwd = "";
|
| | | this.clusterid = "";
|
| | | }
|
| | | },
|
| | | (err) => {
|
| | | clearInterval(this.intervalTimer);
|
| | | this.showCurCluster = false;
|
| | | this.ruleForm.virtualIp = "";
|
| | | this.ruleForm.clustername = "";
|
| | | this.ruleForm.clusterpwd = "";
|
| | | this.clusterid = "";
|
| | | }
|
| | | );
|
| | | },
|
| | | clearInput(typ) {
|
| | |
| | | left: 20px;
|
| | | }
|
| | | .el-form-item {
|
| | | margin-bottom: 10px;
|
| | | margin-bottom: 16px;
|
| | | .el-input__inner {
|
| | | background-color: #ffffff;
|
| | | border: 2px solid transparent;
|