@@ -142,6 +142,10 @@ const addonList = ref([])
getInstalledAddonList().then(({ data }) => {
addonList.value = data
}).catch()
+
+const handleChick = () => {
+ ElMessage('加班加点研发中...')
+}
diff --git a/admin/src/app/views/index/index.vue b/admin/src/app/views/index/index.vue
index 1926deab2..ef7e7d654 100644
--- a/admin/src/app/views/index/index.vue
+++ b/admin/src/app/views/index/index.vue
@@ -81,29 +81,29 @@
-
{{ t("siteList") }}
-
{{ t("sitePackage") }}
-
{{ t("newSite") }}
-
{{
t("administrator")
}}
-
{{
@@ -187,7 +187,7 @@ let statInfo = ref({
about: [],
site_stat: {},
site_group_stat: {},
- app: {},
+ app: {}
});
const getStatInfoFn = async (id: number = 0) => {
statInfo.value = await (await getStatInfo()).data;
@@ -304,8 +304,7 @@ nowTime()
diff --git a/admin/src/app/views/site/personal.vue b/admin/src/app/views/site/personal.vue
new file mode 100644
index 000000000..7faa9b44f
--- /dev/null
+++ b/admin/src/app/views/site/personal.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{saveInfo.username}}
+
+
+ {{saveInfo.real_name}}
+
+
+ {{ t('editPersonal') }}
+
+
+
+
+
+
+
diff --git a/admin/src/app/views/site/user_info.vue b/admin/src/app/views/site/user_info.vue
index b4687a591..caf409c88 100644
--- a/admin/src/app/views/site/user_info.vue
+++ b/admin/src/app/views/site/user_info.vue
@@ -59,7 +59,7 @@
-
+
{{ row.is_admin ? t('yes') : t('no') }}
diff --git a/admin/src/app/views/tools/addon/edit.vue b/admin/src/app/views/tools/addon/edit.vue
index 76596255a..97cb3244e 100644
--- a/admin/src/app/views/tools/addon/edit.vue
+++ b/admin/src/app/views/tools/addon/edit.vue
@@ -1,7 +1,7 @@
-
+
{{ t('returnToPreviousPage') }}
@@ -226,7 +226,7 @@ const onSave = async (formEl: FormInstance | undefined) => {
setTimeout(() => {
window.addonActiveName = 'pluginList'
- router.push({ path: "/setting/tools/addon" })
+ router.push({ path: "/tools/addon" })
}, 650)
}).catch(() => {
diff --git a/admin/src/app/views/tools/addon/index.vue b/admin/src/app/views/tools/addon/index.vue
index 287ae29c0..37613a677 100644
--- a/admin/src/app/views/tools/addon/index.vue
+++ b/admin/src/app/views/tools/addon/index.vue
@@ -29,7 +29,7 @@
{{ t("describe1") }}
- {{t("btn1") }}
+ {{t("btn1") }}
@@ -248,7 +248,7 @@ const resetForm = (formEl: FormInstance | undefined) => {
getAddonDevelopFn();
}
const editEvent = (key: any) => {
- router.push({ path: '/setting/tools/addon_edit', query: { key } })
+ router.push({ path: '/tools/addon_edit', query: { key } })
}
const linkEvent = (url: string) => {
window.open(url, "_blank")
diff --git a/admin/src/layout/admin/components/header/index.vue b/admin/src/layout/admin/components/header/index.vue
index 819f623e5..1a0e56a9c 100644
--- a/admin/src/layout/admin/components/header/index.vue
+++ b/admin/src/layout/admin/components/header/index.vue
@@ -25,14 +25,14 @@
-
+
-
+
-
-
-
-
-
+
-
+
@@ -59,26 +55,6 @@
-
-
-
-
-
-
- {{ itemTo.name }}
-
-
-
-
-
-
-
@@ -93,7 +69,6 @@ import useAppStore from '@/stores/modules/app'
import { useRoute, useRouter } from 'vue-router'
import { t } from '@/lang'
import storage from '@/utils/storage'
-import { getIndexList, setIndexList } from '@/app/api/sys'
const router = useRouter()
const appType = storage.get('app_type')
@@ -179,29 +154,6 @@ const backFn = () => {
router.go(-1)
}
-const indexList = ref();
-const showDialog = ref(false)
-const checkIndexList = () => {
- getIndexList().then(res => {
- showDialog.value = true
- indexList.value = res.data
- for(let i = 0 ; i < indexList.value.length; i ++){
- if(indexList.value[i].is_use == 1){
- index_path.value = indexList.value[i].view_path
- }
- }
- })
-}
-
-const index_path = ref('');
-const submitIndex = () => {
- setIndexList({
- view_path: index_path.value
- }).then(() => {
- showDialog.value = false
- router.go(0)
- })
-}