Commit a8522265 authored by xinzhedeai's avatar xinzhedeai

add: 人员列表UI 对接

parent 695effb5
import request from '@/utils/request'
// 查询报警设置列表
export function listSetting(query) {
return request({
url: '/alarm/setting/getRemoteAlarmSettingList',
method: 'get',
params: query
})
}
// 查询报警设置详细
export function getSetting(id) {
return request({
url: '/alarm/setting/getRemoteAlarmSettingById',
method: 'get'
})
}
// 新增报警设置
export function addSetting(data) {
return request({
url: '/alarm/setting/addRemoteAlarmSetting',
method: 'post',
data: data
})
}
// 修改报警设置
export function updateSetting(data) {
return request({
url: '/alarm/setting/updateRemoteAlarmSetting',
method: 'put',
data: data
})
}
// 删除报警设置
export function delSetting(id) {
return request({
url: '/alarm/setting/deleteRemoteAlarmSetting',
method: 'delete'
})
}
// 添加聚集远程报警设置
export function addJujiSetting(id) {
return request({
url: '/alarm/setting/addRemoteGatherAlarmSetting',
method: 'post'
})
}
// 更新聚集远程报警设置
export function updateJujiSetting(id) {
return request({
url: '/alarm/setting/updateRemoteGatherAlarmSetting',
method: 'put'
})
}
// 删除聚集远程报警设置
export function deleteJujiSetting(id) {
return request({
url: '/alarm/setting/deleteRemoteGatherAlarmSetting',
method: 'delete'
})
}
// 查询聚集报警设置列表
export function getRemoteGatherAlarmSettingList(query) {
return request({
url: '/alarm/setting/getRemoteGatherAlarmSettingList',
method: 'get',
params: query
})
}
import request from '@/utils/request'
// 查询人员信息列表
export function listInfo(query) {
return request({
url: '/person/info/getRemotePersonInfoList',
method: 'get',
params: query
})
}
// 解绑卡
export function unbindCard(data) {
return request({
url: '/person/info/unbindCard',
method: 'put',
data: data
})
}
// 新增人员信息
export function addInfo(data) {
return request({
url: '/person/info/addRemotePersonInfo',
method: 'post',
data: data
})
}
// 修改人员信息
export function updateInfo(data) {
return request({
url: '/person/info/updateRemotePersonInfo',
method: 'put',
data: data
})
}
// 删除人员信息
export function delInfo(data) {
return request({
url: '/person/info/deleteRemotePersonInfo',
method: 'delete',
data: data
})
}
...@@ -150,6 +150,21 @@ export const constantRoutes = [ ...@@ -150,6 +150,21 @@ export const constantRoutes = [
} }
] ]
}, },
// 人员列表
{
path: '/person',
component: EmptyLayout,
redirect: 'noredirect',
children: [
{
path: 'renyuan',
component: () => import('@/views/person/renyuan'),
name: 'renyuan',
meta: { title: '人员列表', icon: 'dashboard', }
}
]
},
// 员工列表 // 员工列表
{ {
path: '/person', path: '/person',
...@@ -179,6 +194,20 @@ export const constantRoutes = [ ...@@ -179,6 +194,20 @@ export const constantRoutes = [
} }
] ]
}, },
// 报警设置列表
{
path: '/sos',
component: EmptyLayout,
redirect: 'noredirect',
children: [
{
path: 'alarm',
component: () => import('@/views/sos/alarm'),
name: 'alarm',
meta: { title: '报警设置列表', icon: 'dashboard', }
}
]
},
{ {
path: '/user', path: '/user',
......
This diff is collapsed.
This diff is collapsed.
...@@ -36,8 +36,8 @@ module.exports = { ...@@ -36,8 +36,8 @@ module.exports = {
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `http://192.168.2.16:8081`,//涛本地 ruoyi // target: `http://192.168.2.16:8081`,//涛本地 ruoyi
// target: `http://192.168.2.16:8082`,//涛本地 接口 target: `http://192.168.2.16:8082`,//涛本地 接口
// target: `http://192.168.2.37:8080`,//鲁本地 // target: `http://192.168.2.37:8080`,//鲁本地
// target: `https://gqyjpt.weihai.cn`,//高区孵化平台 // target: `https://gqyjpt.weihai.cn`,//高区孵化平台
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment