diff --git a/01.web/src/views/advance/index.vue b/01.web/src/views/advance/index.vue
index 31e284b..3c369b3 100644
--- a/01.web/src/views/advance/index.vue
+++ b/01.web/src/views/advance/index.vue
@@ -416,6 +416,7 @@ export default {
})
.catch(function (error) {
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
/**
@@ -436,6 +437,7 @@ export default {
})
.catch(function (error) {
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
/**
@@ -472,6 +474,7 @@ export default {
.catch(function (error) {
that.loadingSvnserveStart = false;
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
});
@@ -502,6 +505,7 @@ export default {
.catch(function (error) {
that.loadingSvnserveStop = false;
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
});
diff --git a/01.web/src/views/index/index.vue b/01.web/src/views/index/index.vue
index 545a8ed..dc0776a 100644
--- a/01.web/src/views/index/index.vue
+++ b/01.web/src/views/index/index.vue
@@ -7,7 +7,7 @@
-
+
负载状态
分组名只能包含字母、数字、破折号、下划线、点。
+
+
+
+
+
+
分组名只能包含字母、数字、破折号、下划线、点。
+
+
+
+
+
+
@@ -149,7 +175,7 @@
-
@@ -189,6 +215,10 @@ export default {
loadingRepAllUser: true,
//分组分组成员
loadingRepAllGroup: true,
+ //创建分组
+ loadingCreateGroup: false,
+ //编辑分组名称
+ loadingEditGroupName: false,
/**
* 临时变量
@@ -366,6 +396,7 @@ export default {
.catch(function (error) {
that.loadingGroup = false;
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
/**
@@ -389,6 +420,7 @@ export default {
})
.catch(function (error) {
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
/**
@@ -399,22 +431,27 @@ export default {
},
CreateGroup() {
var that = this;
+ that.loadingCreateGroup = true;
var data = {
svn_group_name: that.formCreateGroup.svn_group_name,
};
that.$axios
.post("/api.php?c=svngroup&a=CreateGroup&t=web", data)
.then(function (response) {
+ that.loadingCreateGroup = false;
var result = response.data;
if (result.status == 1) {
that.$Message.success(result.message);
+ that.modalAddGroup = false;
that.GetGroupList();
} else {
that.$Message.error(result.message);
}
})
.catch(function (error) {
+ that.loadingCreateGroup = false;
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
/**
@@ -432,6 +469,7 @@ export default {
},
EditGroupName() {
var that = this;
+ that.loadingEditGroupName = true;
var data = {
groupNameOld: that.formEditGroupName.groupNameOld,
groupNameNew: that.formEditGroupName.groupNameNew,
@@ -439,16 +477,20 @@ export default {
that.$axios
.post("/api.php?c=svngroup&a=EditGroupName&t=web", data)
.then(function (response) {
+ that.loadingEditGroupName = false;
var result = response.data;
if (result.status == 1) {
that.$Message.success(result.message);
+ that.modalEditGroupName = false;
that.GetGroupList();
} else {
that.$Message.error(result.message);
}
})
.catch(function (error) {
+ that.loadingEditGroupName = false;
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
/**
@@ -476,6 +518,7 @@ export default {
})
.catch(function (error) {
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
});
@@ -522,6 +565,7 @@ export default {
that.loadingRepAllUser = false;
that.loadingRepAllGroup = false;
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
/**
@@ -567,6 +611,7 @@ export default {
})
.catch(function (error) {
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
/**
@@ -592,6 +637,7 @@ export default {
})
.catch(function (error) {
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
/**
@@ -617,6 +663,7 @@ export default {
})
.catch(function (error) {
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
/**
@@ -642,6 +689,7 @@ export default {
})
.catch(function (error) {
console.log(error);
+ that.$Message.error("出错了 请联系管理员!");
});
},
},
diff --git a/01.web/src/views/repositoryInfo/index.vue b/01.web/src/views/repositoryInfo/index.vue
index 988ea10..054d15c 100644
--- a/01.web/src/views/repositoryInfo/index.vue
+++ b/01.web/src/views/repositoryInfo/index.vue
@@ -147,7 +147,7 @@
-
+
+
+
+
@@ -223,7 +233,7 @@
-
+
@@ -233,10 +243,9 @@
备份(dump)
@@ -261,7 +270,7 @@
-
+
@@ -300,6 +309,7 @@
@@ -321,11 +331,6 @@
-
-
-
@@ -348,6 +353,7 @@
@@ -368,11 +374,6 @@
-
-
-
@@ -380,7 +381,7 @@
-
+
@@ -436,9 +437,10 @@
-
-