|
@@ -15,6 +15,8 @@
|
|
|
<template #dropdown>
|
|
|
<el-dropdown-menu>
|
|
|
<el-dropdown-item @click="handleProject">项目管理</el-dropdown-item>
|
|
|
+ <el-dropdown-item divided @click="handleOnline">在线档案管理</el-dropdown-item>
|
|
|
+ <el-dropdown-item divided @click="handleAbout">关于我们</el-dropdown-item>
|
|
|
<!-- el-dropdown-item divided @click="handleClear">清除数据</el-dropdown-item>
|
|
|
<el-dropdown-item divided @click="handleUpdate">检测更新</el-dropdown-item -->
|
|
|
</el-dropdown-menu>
|
|
@@ -34,7 +36,7 @@ import { onMounted, ref, watch } from 'vue'
|
|
|
import { useAppStore } from '~src/store'
|
|
|
import { useRoute } from 'vue-router'
|
|
|
import { getProjectInfo } from '../store/app'
|
|
|
-import { toPage } from '../utils/tools'
|
|
|
+import { openExternal, toPage } from '../utils/tools'
|
|
|
|
|
|
//初始组合式
|
|
|
const store = useAppStore()
|
|
@@ -86,6 +88,16 @@ const handleProject = () => {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+//在线档案管理
|
|
|
+const handleOnline = () => {
|
|
|
+ openExternal('https://archives.hczcxx.cn')
|
|
|
+}
|
|
|
+
|
|
|
+//关于我们
|
|
|
+const handleAbout = () => {
|
|
|
+ openExternal('http://hczc.hcxxy.com')
|
|
|
+}
|
|
|
+
|
|
|
//清除数据
|
|
|
const handleClear = () => {
|
|
|
|