diff --git a/ALOps_sys_fe/alops-ui/.env.development b/ALOps_sys_fe/alops-ui/.env.development
index b0e45d4b..fb5fbac8 100644
--- a/ALOps_sys_fe/alops-ui/.env.development
+++ b/ALOps_sys_fe/alops-ui/.env.development
@@ -1,5 +1,5 @@
# 页面标题
-VUE_APP_TITLE = 智能运维系统
+VUE_APP_TITLE = 中国烟草
# 开发环境配置
ENV = 'development'
diff --git a/ALOps_sys_fe/alops-ui/.env.production b/ALOps_sys_fe/alops-ui/.env.production
index 56677e2f..d23f04e4 100644
--- a/ALOps_sys_fe/alops-ui/.env.production
+++ b/ALOps_sys_fe/alops-ui/.env.production
@@ -1,5 +1,5 @@
# 页面标题
-VUE_APP_TITLE = 智能运维管理系统
+VUE_APP_TITLE = 中国烟草
# 生产环境配置
ENV = 'production'
diff --git a/ALOps_sys_fe/alops-ui/.env.staging b/ALOps_sys_fe/alops-ui/.env.staging
index db7c620f..f38170fe 100644
--- a/ALOps_sys_fe/alops-ui/.env.staging
+++ b/ALOps_sys_fe/alops-ui/.env.staging
@@ -1,5 +1,5 @@
# 页面标题
-VUE_APP_TITLE = 智能运维系统
+VUE_APP_TITLE = 中国烟草
BABEL_ENV = production
diff --git a/ALOps_sys_fe/alops-ui/package.json b/ALOps_sys_fe/alops-ui/package.json
index 56ba358e..7a122d05 100644
--- a/ALOps_sys_fe/alops-ui/package.json
+++ b/ALOps_sys_fe/alops-ui/package.json
@@ -1,7 +1,7 @@
{
"name": "ruoyi",
"version": "3.9.0",
- "description": "智能运维系统",
+ "description": "中国烟草",
"author": "若依",
"license": "MIT",
"scripts": {
diff --git a/ALOps_sys_fe/alops-ui/src/api/device/files.js b/ALOps_sys_fe/alops-ui/src/api/device/files.js
index 16227644..2d1afa91 100644
--- a/ALOps_sys_fe/alops-ui/src/api/device/files.js
+++ b/ALOps_sys_fe/alops-ui/src/api/device/files.js
@@ -1,130 +1,58 @@
import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";
+const api = '/equipment/'
-// 查询用户列表
-export function listUser(query) {
+// 查询详细
+export function getDict() {
return request({
- url: '/system/user/list',
- method: 'get',
- params: query
- })
-}
-
-// 查询用户详细
-export function getUser(userId) {
- return request({
- url: '/system/user/' + parseStrEmpty(userId),
+ url: '/sys_dict',
method: 'get'
})
}
-// 新增用户
-export function addUser(data) {
- return request({
- url: '/system/user',
- method: 'post',
- data: data
- })
-}
-
-// 修改用户
-export function updateUser(data) {
- return request({
- url: '/system/user',
- method: 'put',
- data: data
- })
-}
-
-// 删除用户
-export function delUser(userId) {
- return request({
- url: '/system/user/' + userId,
- method: 'delete'
- })
-}
-
-// 用户密码重置
-export function resetUserPwd(userId, password) {
- const data = {
- userId,
- password
- }
+// 查询列表
+export function list(query) {
return request({
- url: '/system/user/resetPwd',
- method: 'put',
- data: data
- })
-}
-
-// 用户状态修改
-export function changeUserStatus(userId, status) {
- const data = {
- userId,
- status
- }
- return request({
- url: '/system/user/changeStatus',
- method: 'put',
- data: data
+ url: api + 'queryByVO',
+ method: 'get',
+ params: query
})
}
-// 查询用户个人信息
-export function getUserProfile() {
+// 查询详细
+export function getInfo(id) {
return request({
- url: '/system/user/profile',
+ url: api + '/queryById/' + parseStrEmpty(id),
method: 'get'
})
}
-// 修改用户个人信息
-export function updateUserProfile(data) {
+// 新增
+export function add(data) {
return request({
- url: '/system/user/profile',
- method: 'put',
+ url: api + 'add',
+ method: 'post',
data: data
})
}
-// 用户密码重置
-export function updateUserPwd(oldPassword, newPassword) {
- const data = {
- oldPassword,
- newPassword
- }
+// 修改
+export function update(data) {
return request({
- url: '/system/user/profile/updatePwd',
+ url: api + 'modify',
method: 'put',
data: data
})
}
-// 用户头像上传
-export function uploadAvatar(data) {
+// 删除
+export function del(id) {
return request({
- url: '/system/user/profile/avatar',
- method: 'post',
- headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
- data: data
+ url: api + 'delete' + id,
+ method: 'delete'
})
}
-// 查询授权角色
-export function getAuthRole(userId) {
- return request({
- url: '/system/user/authRole/' + userId,
- method: 'get'
- })
-}
-// 保存授权角色
-export function updateAuthRole(data) {
- return request({
- url: '/system/user/authRole',
- method: 'put',
- params: data
- })
-}
diff --git a/ALOps_sys_fe/alops-ui/src/layout/components/Navbar.vue b/ALOps_sys_fe/alops-ui/src/layout/components/Navbar.vue
index 5c31196d..cbe7284d 100644
--- a/ALOps_sys_fe/alops-ui/src/layout/components/Navbar.vue
+++ b/ALOps_sys_fe/alops-ui/src/layout/components/Navbar.vue
@@ -9,20 +9,8 @@
-
-
-
-
-
-
-
-
-
-
-
-