diff --git a/src/api/equipment/list.js b/src/api/equipment/list.js
new file mode 100644
index 0000000..74c374f
--- /dev/null
+++ b/src/api/equipment/list.js
@@ -0,0 +1,9 @@
+import service from '@/utils/request'
+
+export const resetPassword = (data) => {
+ return service({
+ url: '/user/resetPassword',
+ method: 'post',
+ data: data
+ })
+}
diff --git a/src/assets/new-background.jpg b/src/assets/new-background.jpg
new file mode 100644
index 0000000..ad46dbb
Binary files /dev/null and b/src/assets/new-background.jpg differ
diff --git a/src/core/config.js b/src/core/config.js
index 6c63b15..5cbc6d3 100644
--- a/src/core/config.js
+++ b/src/core/config.js
@@ -6,7 +6,7 @@ import packageInfo from '../../package.json'
const greenText = (text) => `\x1b[32m${text}\x1b[0m`
export const config = {
- appName: 'Gin-Vue-Admin',
+ appName: '智慧用电管理系统',
showViteLogo: true,
KeepAliveTabs: true,
logs: []
@@ -14,41 +14,6 @@ export const config = {
export const viteLogo = (env) => {
if (config.showViteLogo) {
- console.log(
- greenText(
- `> 欢迎使用Gin-Vue-Admin,开源地址:https://github.com/flipped-aurora/gin-vue-admin`
- )
- )
- console.log(greenText(`> 当前版本:v${packageInfo.version}`))
- console.log(greenText(`> 加群方式:微信:shouzi_1994 QQ群:470239250`))
- console.log(
- greenText(`> 项目地址:https://github.com/flipped-aurora/gin-vue-admin`)
- )
- console.log(greenText(`> 插件市场:https://plugin.gin-vue-admin.com`))
- console.log(
- greenText(`> GVA讨论社区:https://support.qq.com/products/371961`)
- )
- console.log(
- greenText(
- `> 默认自动化文档地址:http://127.0.0.1:${env.VITE_SERVER_PORT}/swagger/index.html`
- )
- )
- console.log(
- greenText(`> 默认前端文件运行地址:http://127.0.0.1:${env.VITE_CLI_PORT}`)
- )
- console.log(
- greenText(
- `--------------------------------------版权声明--------------------------------------`
- )
- )
- console.log(greenText(`** 版权所有方:flipped-aurora开源团队 **`))
- console.log(greenText(`** 版权持有公司:北京翻转极光科技有限责任公司 **`))
- console.log(
- greenText(
- `** 剔除授权标识需购买商用授权:https://gin-vue-admin.com/empower/index.html **`
- )
- )
- console.log('\n')
}
}
diff --git a/src/pathInfo.json b/src/pathInfo.json
index f23b3d9..7a35d4f 100644
--- a/src/pathInfo.json
+++ b/src/pathInfo.json
@@ -11,6 +11,7 @@
"/src/view/dashboard/components/table.vue": "Table",
"/src/view/dashboard/components/wiki.vue": "Wiki",
"/src/view/dashboard/index.vue": "Dashboard",
+ "/src/view/equipment/list/index.vue": "User",
"/src/view/error/index.vue": "Error",
"/src/view/error/reload.vue": "Reload",
"/src/view/example/breakpoint/breakpoint.vue": "BreakPoint",
diff --git a/src/permission.js b/src/permission.js
index 3823677..70e9ffd 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -115,16 +115,16 @@ const setupRouter = async (userStore) => {
// 扁平化:将 layout.children 与其余顶层异步路由一并作为二级子路由注册到 layout 下
const toRegister = []
if (layoutRoute?.children?.length) {
- layoutRoute.children.unshift({
- path: '/largeScreen2',
- name: 'largeScreen2',
- meta: {
- title: '数据大屏',
- icon: 'data-analysis',
- defaultMenu: true
- },
- component: () => import('@/view/largeScreen2/index.vue')
- })
+ // layoutRoute.children.unshift({
+ // path: '/largeScreen2',
+ // name: 'largeScreen2',
+ // meta: {
+ // title: '数据大屏',
+ // icon: 'data-analysis',
+ // defaultMenu: true
+ // },
+ // component: () => import('@/view/largeScreen2/index.vue')
+ // })
toRegister.push(...layoutRoute.children)
}
if (baseRouters.length > 1) {
diff --git a/src/view/equipment/list/index.vue b/src/view/equipment/list/index.vue
new file mode 100644
index 0000000..ca4a2ba
--- /dev/null
+++ b/src/view/equipment/list/index.vue
@@ -0,0 +1,103 @@
+
+
{{ $GIN_VUE_ADMIN.appName }}
-- A management platform using Golang and Vue -
+