-
+
diff --git a/fe/src/components/GroupSettings.vue b/fe/src/components/GroupSettings.vue
index c14429a..bb29078 100644
--- a/fe/src/components/GroupSettings.vue
+++ b/fe/src/components/GroupSettings.vue
@@ -1,98 +1,123 @@
-
-
-
-
- {{ data.label }}
-
- -
-
- +
-
-
-
+
+
+
+
+ {{ data.label }}
+
+
+ -
+
+
+ +
+
+
+
+
-
{{ lang.add_group }}
-
+
{{ lang.add_group }}
+
\ No newline at end of file
+ if (item.label !== "") {
+ http
+ .post("/api/group/add", { name: item.label, parent_id: item.parent_id })
+ .then((res) => {
+ if (res.errorNo !== 0) {
+ ElMessage({
+ message: res.errorMsg,
+ type: "error",
+ });
+ } else {
+ this.$axios.get("/api/group").then((res) => {
+ data.splice(0, data.length);
+ data.push(...res.data);
+ });
+ }
+ });
+ }
+};
+
diff --git a/fe/src/components/HomeAside.vue b/fe/src/components/HomeAside.vue
index 5c8ab8a..e18a94f 100644
--- a/fe/src/components/HomeAside.vue
+++ b/fe/src/components/HomeAside.vue
@@ -1,58 +1,49 @@
-
-
+
+
-
-
\ No newline at end of file
diff --git a/fe/src/components/PluginSettings.vue b/fe/src/components/PluginSettings.vue
index 0249c40..2c00964 100644
--- a/fe/src/components/PluginSettings.vue
+++ b/fe/src/components/PluginSettings.vue
@@ -1,35 +1,35 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/src/components/RuleSettings.vue b/fe/src/components/RuleSettings.vue
index e274242..02f7fcd 100644
--- a/fe/src/components/RuleSettings.vue
+++ b/fe/src/components/RuleSettings.vue
@@ -1,115 +1,105 @@
-
-
-
-
-
- {{ ActionName[scope.row.action] }}
+
+
+
+
+
+ {{ ActionName[scope.row.action] }}
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ lang.new_rule }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ lang.rule_desc }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ lang.rule_do }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
+
+
+
+
+ {{ lang.new_rule }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ lang.rule_desc }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ lang.rule_do }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
diff --git a/fe/src/components/SecuritySettings.vue b/fe/src/components/SecuritySettings.vue
index 529a24e..24ab822 100644
--- a/fe/src/components/SecuritySettings.vue
+++ b/fe/src/components/SecuritySettings.vue
@@ -1,78 +1,75 @@
-
-
- {{lang.modify_pwd}}
-
-
-
-
-
-
-
-
-
-
-
- {{ lang.submit }}
-
-
-
- {{lang.logout}}
-
-
- {{ lang.logout }}
-
-
-
+
+
+ {{ lang.modify_pwd }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ lang.submit }}
+
+
+
+ {{ lang.logout }}
+
+
+ {{ lang.logout }}
+
+
+
\ No newline at end of file
diff --git a/fe/src/views/EmailDetailView.vue b/fe/src/views/EmailDetailView.vue
index a928588..7449e2b 100644
--- a/fe/src/views/EmailDetailView.vue
+++ b/fe/src/views/EmailDetailView.vue
@@ -1,117 +1,118 @@
-
-
{{ detailData.subject }}
-
-
-
-
{{ lang.to }}:
-
- {{to.Name != '' ? to.Name : to.EmailAddress }}
-
-
-
-
{{ lang.cc }}:
-
- {{item.Name != '' ? item.Name : item.EmailAddress }}
-
-
-
-
{{ lang.sender }}:
-
- {{detailData.from_name != '' ? detailData.from_name : detailData.from_address }}
-
-
-
-
{{ lang.date }}:
- {{ detailData.send_date }}
-
-
-
-
- {{ detailData.text }}
-
-
-
-
-
-
-
+
+
{{ detailData.subject }}
+
+
+
+
{{ lang.to }}:
+
+ {{ to.Name !== '' ? to.Name : to.EmailAddress }}
+
+
+
+
{{ lang.cc }}:
+
+ {{ item.Name !== '' ? item.Name : item.EmailAddress }}
+
+
+
+
{{ lang.sender }}:
+
+
+ {{ detailData.from_name !== '' ? detailData.from_name : detailData.from_address }}
+
+
+
+
+
{{ lang.date }}:
+ {{ detailData.send_date }}
+
+
+
+
+ {{ detailData.text }}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/src/views/ListView.vue b/fe/src/views/ListView.vue
index 747f310..84fc90c 100644
--- a/fe/src/views/ListView.vue
+++ b/fe/src/views/ListView.vue
@@ -1,269 +1,262 @@
-
-
-
- +{{ lang.compose }}
-
-
-
{{ groupStore.name }}
-
-
{{ lang.del_btn }}
-
{{ lang.read_btn }}
-
-
- {{ lang.move_btn }}
-
-
-
-
- {{ group.name
- }}
-
-
-
-
-
-
+
+
+ +{{ lang.compose }}
+
+
+ {{ groupStore.name }}
+
+ {{ lang.del_btn }}
+ {{ lang.read_btn }}
+
+
+ {{ lang.move_btn }}
+
+
+
+
+
+
+ {{
+ group.name
+ }}
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
{{ lang.new }}
-
+
!
-
+
!
-
-
-
-
-
-
- {{scope.row.sender.Name != '' ? scope.row.sender.Name : scope.row.sender.EmailAddress }}
-
-
-
-
-
-
-
- {{toInfo.Name != '' ? toInfo.Name : toInfo.EmailAddress }}
-
-
-
-
-
-
- {{ scope.row.title }}
- {{ scope.row.title }}
-
- {{ scope.row.desc }}
-
-
-
-
-
- {{ scope.row.datetime }}
- {{ scope.row.datetime }}
-
-
-
-
-
+
+
+
+
+
+
+
+ {{ scope.row.sender.Name !== '' ? scope.row.sender.Name : scope.row.sender.EmailAddress }}
+
+
+
+
+
+
+
+
+ {{ toInfo.Name !== '' ? toInfo.Name : toInfo.EmailAddress }}
+
+
+
+
+
+
+ {{ scope.row.title }}
+ {{ scope.row.title }}
+
+ {{ scope.row.desc }}
+
+
+
+
+
+ {{ scope.row.datetime }}
+ {{ scope.row.datetime }}
+
+
+
+
+
+
-
@@ -271,41 +264,41 @@ const pageChange = function (p) {
\ No newline at end of file
diff --git a/fe/src/views/LoginView.vue b/fe/src/views/LoginView.vue
index 6457c5a..6113c66 100644
--- a/fe/src/views/LoginView.vue
+++ b/fe/src/views/LoginView.vue
@@ -1,54 +1,56 @@
-
-
@@ -56,13 +58,13 @@ const onSubmit = () => {
\ No newline at end of file
diff --git a/fe/src/views/SetupView.vue b/fe/src/views/SetupView.vue
index 1e39c0d..7c4c5c0 100644
--- a/fe/src/views/SetupView.vue
+++ b/fe/src/views/SetupView.vue
@@ -1,269 +1,264 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ lang.tks_pmail }}
-
{{ lang.guid_desc }}
-
-
-
-
-
-
-
-
-
{{ lang.select_db }}
-
{{ lang.db_desc }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ lang.setAdminPassword }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ lang.SetDomail }}
-
-
-
-
-
-
-
- smtp.
-
-
-
-
-
-
-
-
- {{ lang.multi_domain_setting_desc }}
-
-
-
-
-
-
-
-
-
-
-
-
{{ lang.setDNS }}
-
{{ lang.dns_desc }}
-
-
-
-
-
-
-
-
-
{{ lang.setSSL }}
-
{{ lang.setSSL }}
-
-
+
@@ -514,30 +517,32 @@ const next = () => {
\ No newline at end of file