diff --git a/public/config/project.config.json b/public/config/project.config.json index 1b2796d..f986319 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -2,7 +2,7 @@ "title": "管网运行监测系统", "subtitle": "", "theme":"blue", - "baseUrl": "https://38911d91v5.zicp.fun/", + "baseUrl": "http://111.198.10.15:11309/", "mainPage": "http://111.198.10.15:11404/dcms/#", "singleSys": true, "refreshType":"websocket", diff --git a/public/config/project.config.json b/public/config/project.config.json index 1b2796d..f986319 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -2,7 +2,7 @@ "title": "管网运行监测系统", "subtitle": "", "theme":"blue", - "baseUrl": "https://38911d91v5.zicp.fun/", + "baseUrl": "http://111.198.10.15:11309/", "mainPage": "http://111.198.10.15:11404/dcms/#", "singleSys": true, "refreshType":"websocket", diff --git a/src/api/systemOld/area.js b/src/api/systemOld/area.js deleted file mode 100644 index 20b3c04..0000000 --- a/src/api/systemOld/area.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * 区域管理接口 - */ -import request from '@/utils/request' -// 区域查询 -export function getAreaList(pid) { - return request({ - url: 'area/list', - method: 'get', - params: { - pid: pid - } - }) -} -// 区域查询 -export function getAreaListPage(params) { - return request({ - url: 'area/listPage', - method: 'get', - params - }) -} -// 根据部门找其默认区域 -export function getAreaByDept(deptid) { - return request({ - url: 'config/getAreaByDept', - method: 'get', - params: { - deptId: deptid - } - }) -} - -// 区域查询,非分页,加载树用 -export function getAreaTree(params) { - return request({ - url: 'area/list', - method: 'get', - params - }) -} -// 区域类型查询 -export function getAreaType() { - return request({ - url: 'sys/dict/code/levelType', - method: 'get' - }) -} - -// 添加区域 -export function addArea(params) { - return request({ - url: 'area/add', - method: 'post', - params - }) -} -// 修改区域机构 -export function updateArea(params) { - return request({ - url: 'area/update', - method: 'post', - params - }) -} -// 删除区域机构 -export function delArea(id) { - return request({ - url: 'area/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/public/config/project.config.json b/public/config/project.config.json index 1b2796d..f986319 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -2,7 +2,7 @@ "title": "管网运行监测系统", "subtitle": "", "theme":"blue", - "baseUrl": "https://38911d91v5.zicp.fun/", + "baseUrl": "http://111.198.10.15:11309/", "mainPage": "http://111.198.10.15:11404/dcms/#", "singleSys": true, "refreshType":"websocket", diff --git a/src/api/systemOld/area.js b/src/api/systemOld/area.js deleted file mode 100644 index 20b3c04..0000000 --- a/src/api/systemOld/area.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * 区域管理接口 - */ -import request from '@/utils/request' -// 区域查询 -export function getAreaList(pid) { - return request({ - url: 'area/list', - method: 'get', - params: { - pid: pid - } - }) -} -// 区域查询 -export function getAreaListPage(params) { - return request({ - url: 'area/listPage', - method: 'get', - params - }) -} -// 根据部门找其默认区域 -export function getAreaByDept(deptid) { - return request({ - url: 'config/getAreaByDept', - method: 'get', - params: { - deptId: deptid - } - }) -} - -// 区域查询,非分页,加载树用 -export function getAreaTree(params) { - return request({ - url: 'area/list', - method: 'get', - params - }) -} -// 区域类型查询 -export function getAreaType() { - return request({ - url: 'sys/dict/code/levelType', - method: 'get' - }) -} - -// 添加区域 -export function addArea(params) { - return request({ - url: 'area/add', - method: 'post', - params - }) -} -// 修改区域机构 -export function updateArea(params) { - return request({ - url: 'area/update', - method: 'post', - params - }) -} -// 删除区域机构 -export function delArea(id) { - return request({ - url: 'area/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dept.js b/src/api/systemOld/dept.js deleted file mode 100644 index ae3dd22..0000000 --- a/src/api/systemOld/dept.js +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 组织机构接口 - */ -import request from '@/utils/request' -// 组织查询 -export function getDeptList(params) { - return request({ - url: 'dept/list', - method: 'get', - params - }) -} -// 组织机构树列表 -export function getDeptTreeList(params) { - return request({ - url: 'dept/tree', - method: 'get', - params - }) -} - -// 组织机构树列表 -export function getDeptTreeListByPid(pid) { - return request({ - url: 'dept/listByPid', - method: 'get', - data: { - pid: pid - } - }) -} -// 根据角色获取组织机构树列表 -export function getDeptTreeByRole(roleId) { - return request({ - url: 'role/treeByRoleId', - method: 'get', - params: { - roleId - } - }) -} - -// 添加组织机构 -export function addDept(params) { - return request({ - url: 'dept/add', - method: 'post', - params - }) -} -// 修改组织机构 -export function updateDept(params) { - return request({ - url: 'dept/update', - method: 'post', - params - }) -} -// 删除组织机构 -export function delDept(id) { - return request({ - url: 'dept/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/public/config/project.config.json b/public/config/project.config.json index 1b2796d..f986319 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -2,7 +2,7 @@ "title": "管网运行监测系统", "subtitle": "", "theme":"blue", - "baseUrl": "https://38911d91v5.zicp.fun/", + "baseUrl": "http://111.198.10.15:11309/", "mainPage": "http://111.198.10.15:11404/dcms/#", "singleSys": true, "refreshType":"websocket", diff --git a/src/api/systemOld/area.js b/src/api/systemOld/area.js deleted file mode 100644 index 20b3c04..0000000 --- a/src/api/systemOld/area.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * 区域管理接口 - */ -import request from '@/utils/request' -// 区域查询 -export function getAreaList(pid) { - return request({ - url: 'area/list', - method: 'get', - params: { - pid: pid - } - }) -} -// 区域查询 -export function getAreaListPage(params) { - return request({ - url: 'area/listPage', - method: 'get', - params - }) -} -// 根据部门找其默认区域 -export function getAreaByDept(deptid) { - return request({ - url: 'config/getAreaByDept', - method: 'get', - params: { - deptId: deptid - } - }) -} - -// 区域查询,非分页,加载树用 -export function getAreaTree(params) { - return request({ - url: 'area/list', - method: 'get', - params - }) -} -// 区域类型查询 -export function getAreaType() { - return request({ - url: 'sys/dict/code/levelType', - method: 'get' - }) -} - -// 添加区域 -export function addArea(params) { - return request({ - url: 'area/add', - method: 'post', - params - }) -} -// 修改区域机构 -export function updateArea(params) { - return request({ - url: 'area/update', - method: 'post', - params - }) -} -// 删除区域机构 -export function delArea(id) { - return request({ - url: 'area/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dept.js b/src/api/systemOld/dept.js deleted file mode 100644 index ae3dd22..0000000 --- a/src/api/systemOld/dept.js +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 组织机构接口 - */ -import request from '@/utils/request' -// 组织查询 -export function getDeptList(params) { - return request({ - url: 'dept/list', - method: 'get', - params - }) -} -// 组织机构树列表 -export function getDeptTreeList(params) { - return request({ - url: 'dept/tree', - method: 'get', - params - }) -} - -// 组织机构树列表 -export function getDeptTreeListByPid(pid) { - return request({ - url: 'dept/listByPid', - method: 'get', - data: { - pid: pid - } - }) -} -// 根据角色获取组织机构树列表 -export function getDeptTreeByRole(roleId) { - return request({ - url: 'role/treeByRoleId', - method: 'get', - params: { - roleId - } - }) -} - -// 添加组织机构 -export function addDept(params) { - return request({ - url: 'dept/add', - method: 'post', - params - }) -} -// 修改组织机构 -export function updateDept(params) { - return request({ - url: 'dept/update', - method: 'post', - params - }) -} -// 删除组织机构 -export function delDept(id) { - return request({ - url: 'dept/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dict.js b/src/api/systemOld/dict.js deleted file mode 100644 index 3415b6d..0000000 --- a/src/api/systemOld/dict.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 字典接口 - */ -import request from '@/utils/request' -// 字典查询 -export function getDictList(params) { - return request({ - url: 'dict/listPage', - method: 'get', - params - }) -} - -// 添加字典 -export function addDict(params) { - return request({ - url: 'dict/add', - method: 'post', - params - }) -} -// 修改字典机构 -export function updateDict(params) { - return request({ - url: 'dict/update', - method: 'post', - params - }) -} -// 删除字典机构 -export function delDict(id) { - return request({ - url: 'dict/delete', - method: 'post', - params: { - dictId: id - } - }) -} diff --git a/public/config/project.config.json b/public/config/project.config.json index 1b2796d..f986319 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -2,7 +2,7 @@ "title": "管网运行监测系统", "subtitle": "", "theme":"blue", - "baseUrl": "https://38911d91v5.zicp.fun/", + "baseUrl": "http://111.198.10.15:11309/", "mainPage": "http://111.198.10.15:11404/dcms/#", "singleSys": true, "refreshType":"websocket", diff --git a/src/api/systemOld/area.js b/src/api/systemOld/area.js deleted file mode 100644 index 20b3c04..0000000 --- a/src/api/systemOld/area.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * 区域管理接口 - */ -import request from '@/utils/request' -// 区域查询 -export function getAreaList(pid) { - return request({ - url: 'area/list', - method: 'get', - params: { - pid: pid - } - }) -} -// 区域查询 -export function getAreaListPage(params) { - return request({ - url: 'area/listPage', - method: 'get', - params - }) -} -// 根据部门找其默认区域 -export function getAreaByDept(deptid) { - return request({ - url: 'config/getAreaByDept', - method: 'get', - params: { - deptId: deptid - } - }) -} - -// 区域查询,非分页,加载树用 -export function getAreaTree(params) { - return request({ - url: 'area/list', - method: 'get', - params - }) -} -// 区域类型查询 -export function getAreaType() { - return request({ - url: 'sys/dict/code/levelType', - method: 'get' - }) -} - -// 添加区域 -export function addArea(params) { - return request({ - url: 'area/add', - method: 'post', - params - }) -} -// 修改区域机构 -export function updateArea(params) { - return request({ - url: 'area/update', - method: 'post', - params - }) -} -// 删除区域机构 -export function delArea(id) { - return request({ - url: 'area/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dept.js b/src/api/systemOld/dept.js deleted file mode 100644 index ae3dd22..0000000 --- a/src/api/systemOld/dept.js +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 组织机构接口 - */ -import request from '@/utils/request' -// 组织查询 -export function getDeptList(params) { - return request({ - url: 'dept/list', - method: 'get', - params - }) -} -// 组织机构树列表 -export function getDeptTreeList(params) { - return request({ - url: 'dept/tree', - method: 'get', - params - }) -} - -// 组织机构树列表 -export function getDeptTreeListByPid(pid) { - return request({ - url: 'dept/listByPid', - method: 'get', - data: { - pid: pid - } - }) -} -// 根据角色获取组织机构树列表 -export function getDeptTreeByRole(roleId) { - return request({ - url: 'role/treeByRoleId', - method: 'get', - params: { - roleId - } - }) -} - -// 添加组织机构 -export function addDept(params) { - return request({ - url: 'dept/add', - method: 'post', - params - }) -} -// 修改组织机构 -export function updateDept(params) { - return request({ - url: 'dept/update', - method: 'post', - params - }) -} -// 删除组织机构 -export function delDept(id) { - return request({ - url: 'dept/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dict.js b/src/api/systemOld/dict.js deleted file mode 100644 index 3415b6d..0000000 --- a/src/api/systemOld/dict.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 字典接口 - */ -import request from '@/utils/request' -// 字典查询 -export function getDictList(params) { - return request({ - url: 'dict/listPage', - method: 'get', - params - }) -} - -// 添加字典 -export function addDict(params) { - return request({ - url: 'dict/add', - method: 'post', - params - }) -} -// 修改字典机构 -export function updateDict(params) { - return request({ - url: 'dict/update', - method: 'post', - params - }) -} -// 删除字典机构 -export function delDict(id) { - return request({ - url: 'dict/delete', - method: 'post', - params: { - dictId: id - } - }) -} diff --git a/src/api/systemOld/log.js b/src/api/systemOld/log.js deleted file mode 100644 index 1940b45..0000000 --- a/src/api/systemOld/log.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 日志管理接口 - */ -import request from '@/utils/request' -export function getBizLogList(params) { - return request({ - url: 'sys/log/biz/list', - method: 'get', - params - }) -} -// 操作日志详情 -export function getBizLogDetail(id) { - return request({ - url: 'sys/log/biz/detail/' + id, - method: 'get' - }) -} -// 日志查询 -export function getLogList(params) { - return request({ - url: 'log/list', - method: 'post', - params - }) -} -// 日志查询 -export function getLogDetail(id) { - return request({ - url: 'log/detail/' + id, - method: 'get' - }) -} -// 日志类型查询 -export function getLogType() { - return request({ - url: 'sys/dict/code/logType', - method: 'get' - }) -} - -// 删除日志 -export function delLog() { - return request({ - url: 'log/delLog', - method: 'post' - }) -} - -// 登录日志查询 -export function getLoginLogList(params) { - return request({ - url: 'loginLog/list', - method: 'get', - params - }) -} -// 异常日志查询 -export function getErrorLogList(params) { - return request({ - url: 'sys/log/error/list', - method: 'get', - params - }) -} -// 异常日志详情 -export function getErrorLogDetail(id) { - return request({ - url: 'sys/log/error/detail/' + id, - method: 'get' - }) -} - -// 删除日志 -export function delLoginLog() { - return request({ - url: 'loginLog/delLoginLog', - method: 'post' - }) -} -// 删除异常日志 -export function delErrorLog() { - return request({ - url: 'sys/log/error/delLog', - method: 'post' - }) -} diff --git a/public/config/project.config.json b/public/config/project.config.json index 1b2796d..f986319 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -2,7 +2,7 @@ "title": "管网运行监测系统", "subtitle": "", "theme":"blue", - "baseUrl": "https://38911d91v5.zicp.fun/", + "baseUrl": "http://111.198.10.15:11309/", "mainPage": "http://111.198.10.15:11404/dcms/#", "singleSys": true, "refreshType":"websocket", diff --git a/src/api/systemOld/area.js b/src/api/systemOld/area.js deleted file mode 100644 index 20b3c04..0000000 --- a/src/api/systemOld/area.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * 区域管理接口 - */ -import request from '@/utils/request' -// 区域查询 -export function getAreaList(pid) { - return request({ - url: 'area/list', - method: 'get', - params: { - pid: pid - } - }) -} -// 区域查询 -export function getAreaListPage(params) { - return request({ - url: 'area/listPage', - method: 'get', - params - }) -} -// 根据部门找其默认区域 -export function getAreaByDept(deptid) { - return request({ - url: 'config/getAreaByDept', - method: 'get', - params: { - deptId: deptid - } - }) -} - -// 区域查询,非分页,加载树用 -export function getAreaTree(params) { - return request({ - url: 'area/list', - method: 'get', - params - }) -} -// 区域类型查询 -export function getAreaType() { - return request({ - url: 'sys/dict/code/levelType', - method: 'get' - }) -} - -// 添加区域 -export function addArea(params) { - return request({ - url: 'area/add', - method: 'post', - params - }) -} -// 修改区域机构 -export function updateArea(params) { - return request({ - url: 'area/update', - method: 'post', - params - }) -} -// 删除区域机构 -export function delArea(id) { - return request({ - url: 'area/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dept.js b/src/api/systemOld/dept.js deleted file mode 100644 index ae3dd22..0000000 --- a/src/api/systemOld/dept.js +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 组织机构接口 - */ -import request from '@/utils/request' -// 组织查询 -export function getDeptList(params) { - return request({ - url: 'dept/list', - method: 'get', - params - }) -} -// 组织机构树列表 -export function getDeptTreeList(params) { - return request({ - url: 'dept/tree', - method: 'get', - params - }) -} - -// 组织机构树列表 -export function getDeptTreeListByPid(pid) { - return request({ - url: 'dept/listByPid', - method: 'get', - data: { - pid: pid - } - }) -} -// 根据角色获取组织机构树列表 -export function getDeptTreeByRole(roleId) { - return request({ - url: 'role/treeByRoleId', - method: 'get', - params: { - roleId - } - }) -} - -// 添加组织机构 -export function addDept(params) { - return request({ - url: 'dept/add', - method: 'post', - params - }) -} -// 修改组织机构 -export function updateDept(params) { - return request({ - url: 'dept/update', - method: 'post', - params - }) -} -// 删除组织机构 -export function delDept(id) { - return request({ - url: 'dept/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dict.js b/src/api/systemOld/dict.js deleted file mode 100644 index 3415b6d..0000000 --- a/src/api/systemOld/dict.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 字典接口 - */ -import request from '@/utils/request' -// 字典查询 -export function getDictList(params) { - return request({ - url: 'dict/listPage', - method: 'get', - params - }) -} - -// 添加字典 -export function addDict(params) { - return request({ - url: 'dict/add', - method: 'post', - params - }) -} -// 修改字典机构 -export function updateDict(params) { - return request({ - url: 'dict/update', - method: 'post', - params - }) -} -// 删除字典机构 -export function delDict(id) { - return request({ - url: 'dict/delete', - method: 'post', - params: { - dictId: id - } - }) -} diff --git a/src/api/systemOld/log.js b/src/api/systemOld/log.js deleted file mode 100644 index 1940b45..0000000 --- a/src/api/systemOld/log.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 日志管理接口 - */ -import request from '@/utils/request' -export function getBizLogList(params) { - return request({ - url: 'sys/log/biz/list', - method: 'get', - params - }) -} -// 操作日志详情 -export function getBizLogDetail(id) { - return request({ - url: 'sys/log/biz/detail/' + id, - method: 'get' - }) -} -// 日志查询 -export function getLogList(params) { - return request({ - url: 'log/list', - method: 'post', - params - }) -} -// 日志查询 -export function getLogDetail(id) { - return request({ - url: 'log/detail/' + id, - method: 'get' - }) -} -// 日志类型查询 -export function getLogType() { - return request({ - url: 'sys/dict/code/logType', - method: 'get' - }) -} - -// 删除日志 -export function delLog() { - return request({ - url: 'log/delLog', - method: 'post' - }) -} - -// 登录日志查询 -export function getLoginLogList(params) { - return request({ - url: 'loginLog/list', - method: 'get', - params - }) -} -// 异常日志查询 -export function getErrorLogList(params) { - return request({ - url: 'sys/log/error/list', - method: 'get', - params - }) -} -// 异常日志详情 -export function getErrorLogDetail(id) { - return request({ - url: 'sys/log/error/detail/' + id, - method: 'get' - }) -} - -// 删除日志 -export function delLoginLog() { - return request({ - url: 'loginLog/delLoginLog', - method: 'post' - }) -} -// 删除异常日志 -export function delErrorLog() { - return request({ - url: 'sys/log/error/delLog', - method: 'post' - }) -} diff --git a/src/api/systemOld/resource.js b/src/api/systemOld/resource.js deleted file mode 100644 index d80b29c..0000000 --- a/src/api/systemOld/resource.js +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 资源管理接口 - */ -import request from '@/utils/request' -// 资源查询 -export function getResourceList(params) { - return request({ - url: 'resource/list', - method: 'get', - params - }) -} -// 资源查询 -export function getResourceListByRole(roleId) { - return request({ - url: 'resource/treeListByRoleId', - method: 'get', - params: { - roleId: roleId - } - }) -} -// 资源树列表 -export function getResourceTreeList() { - return request({ - url: 'resource/tree', - method: 'get' - }) -} - -// 资源类型列表 -export function getResourceTypeList() { - return request({ - url: 'sys/dict/code/resourceType', - method: 'get' - }) -} - -// 添加资源 -export function addResource(params) { - return request({ - url: 'resource/add', - method: 'post', - params - }) -} -// 修改资源 -export function updateResource(params) { - return request({ - url: 'resource/update', - method: 'post', - params - }) -} -// 删除资源 -export function delResource(id) { - return request({ - url: 'resource/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/public/config/project.config.json b/public/config/project.config.json index 1b2796d..f986319 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -2,7 +2,7 @@ "title": "管网运行监测系统", "subtitle": "", "theme":"blue", - "baseUrl": "https://38911d91v5.zicp.fun/", + "baseUrl": "http://111.198.10.15:11309/", "mainPage": "http://111.198.10.15:11404/dcms/#", "singleSys": true, "refreshType":"websocket", diff --git a/src/api/systemOld/area.js b/src/api/systemOld/area.js deleted file mode 100644 index 20b3c04..0000000 --- a/src/api/systemOld/area.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * 区域管理接口 - */ -import request from '@/utils/request' -// 区域查询 -export function getAreaList(pid) { - return request({ - url: 'area/list', - method: 'get', - params: { - pid: pid - } - }) -} -// 区域查询 -export function getAreaListPage(params) { - return request({ - url: 'area/listPage', - method: 'get', - params - }) -} -// 根据部门找其默认区域 -export function getAreaByDept(deptid) { - return request({ - url: 'config/getAreaByDept', - method: 'get', - params: { - deptId: deptid - } - }) -} - -// 区域查询,非分页,加载树用 -export function getAreaTree(params) { - return request({ - url: 'area/list', - method: 'get', - params - }) -} -// 区域类型查询 -export function getAreaType() { - return request({ - url: 'sys/dict/code/levelType', - method: 'get' - }) -} - -// 添加区域 -export function addArea(params) { - return request({ - url: 'area/add', - method: 'post', - params - }) -} -// 修改区域机构 -export function updateArea(params) { - return request({ - url: 'area/update', - method: 'post', - params - }) -} -// 删除区域机构 -export function delArea(id) { - return request({ - url: 'area/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dept.js b/src/api/systemOld/dept.js deleted file mode 100644 index ae3dd22..0000000 --- a/src/api/systemOld/dept.js +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 组织机构接口 - */ -import request from '@/utils/request' -// 组织查询 -export function getDeptList(params) { - return request({ - url: 'dept/list', - method: 'get', - params - }) -} -// 组织机构树列表 -export function getDeptTreeList(params) { - return request({ - url: 'dept/tree', - method: 'get', - params - }) -} - -// 组织机构树列表 -export function getDeptTreeListByPid(pid) { - return request({ - url: 'dept/listByPid', - method: 'get', - data: { - pid: pid - } - }) -} -// 根据角色获取组织机构树列表 -export function getDeptTreeByRole(roleId) { - return request({ - url: 'role/treeByRoleId', - method: 'get', - params: { - roleId - } - }) -} - -// 添加组织机构 -export function addDept(params) { - return request({ - url: 'dept/add', - method: 'post', - params - }) -} -// 修改组织机构 -export function updateDept(params) { - return request({ - url: 'dept/update', - method: 'post', - params - }) -} -// 删除组织机构 -export function delDept(id) { - return request({ - url: 'dept/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dict.js b/src/api/systemOld/dict.js deleted file mode 100644 index 3415b6d..0000000 --- a/src/api/systemOld/dict.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 字典接口 - */ -import request from '@/utils/request' -// 字典查询 -export function getDictList(params) { - return request({ - url: 'dict/listPage', - method: 'get', - params - }) -} - -// 添加字典 -export function addDict(params) { - return request({ - url: 'dict/add', - method: 'post', - params - }) -} -// 修改字典机构 -export function updateDict(params) { - return request({ - url: 'dict/update', - method: 'post', - params - }) -} -// 删除字典机构 -export function delDict(id) { - return request({ - url: 'dict/delete', - method: 'post', - params: { - dictId: id - } - }) -} diff --git a/src/api/systemOld/log.js b/src/api/systemOld/log.js deleted file mode 100644 index 1940b45..0000000 --- a/src/api/systemOld/log.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 日志管理接口 - */ -import request from '@/utils/request' -export function getBizLogList(params) { - return request({ - url: 'sys/log/biz/list', - method: 'get', - params - }) -} -// 操作日志详情 -export function getBizLogDetail(id) { - return request({ - url: 'sys/log/biz/detail/' + id, - method: 'get' - }) -} -// 日志查询 -export function getLogList(params) { - return request({ - url: 'log/list', - method: 'post', - params - }) -} -// 日志查询 -export function getLogDetail(id) { - return request({ - url: 'log/detail/' + id, - method: 'get' - }) -} -// 日志类型查询 -export function getLogType() { - return request({ - url: 'sys/dict/code/logType', - method: 'get' - }) -} - -// 删除日志 -export function delLog() { - return request({ - url: 'log/delLog', - method: 'post' - }) -} - -// 登录日志查询 -export function getLoginLogList(params) { - return request({ - url: 'loginLog/list', - method: 'get', - params - }) -} -// 异常日志查询 -export function getErrorLogList(params) { - return request({ - url: 'sys/log/error/list', - method: 'get', - params - }) -} -// 异常日志详情 -export function getErrorLogDetail(id) { - return request({ - url: 'sys/log/error/detail/' + id, - method: 'get' - }) -} - -// 删除日志 -export function delLoginLog() { - return request({ - url: 'loginLog/delLoginLog', - method: 'post' - }) -} -// 删除异常日志 -export function delErrorLog() { - return request({ - url: 'sys/log/error/delLog', - method: 'post' - }) -} diff --git a/src/api/systemOld/resource.js b/src/api/systemOld/resource.js deleted file mode 100644 index d80b29c..0000000 --- a/src/api/systemOld/resource.js +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 资源管理接口 - */ -import request from '@/utils/request' -// 资源查询 -export function getResourceList(params) { - return request({ - url: 'resource/list', - method: 'get', - params - }) -} -// 资源查询 -export function getResourceListByRole(roleId) { - return request({ - url: 'resource/treeListByRoleId', - method: 'get', - params: { - roleId: roleId - } - }) -} -// 资源树列表 -export function getResourceTreeList() { - return request({ - url: 'resource/tree', - method: 'get' - }) -} - -// 资源类型列表 -export function getResourceTypeList() { - return request({ - url: 'sys/dict/code/resourceType', - method: 'get' - }) -} - -// 添加资源 -export function addResource(params) { - return request({ - url: 'resource/add', - method: 'post', - params - }) -} -// 修改资源 -export function updateResource(params) { - return request({ - url: 'resource/update', - method: 'post', - params - }) -} -// 删除资源 -export function delResource(id) { - return request({ - url: 'resource/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/role.js b/src/api/systemOld/role.js deleted file mode 100644 index c7f80ba..0000000 --- a/src/api/systemOld/role.js +++ /dev/null @@ -1,94 +0,0 @@ -import qs from 'qs' -/** - * 角色管理接口 - */ -import request from '@/utils/request' -// 角色查询 -export function getRoleList(params) { - return request({ - url: 'role/list', - method: 'get', - params - }) -} -// 角色机构树列表 -export function getRoleTreeList() { - return request({ - url: 'role/tree', - method: 'get' - }) -} -// 根据用户获取角色机构树列表 -export function getRoleTreeListByUser(userId) { - return request({ - url: 'role/treeByUserId', - method: 'get', - params: { - userId: userId - } - }) -} - -// 添加角色机构 -export function addRole(params) { - return request({ - url: 'role/add', - method: 'post', - params - }) -} -// 修改角色机构 -export function updateRole(params) { - return request({ - url: 'role/update', - method: 'post', - params - }) -} -// 删除角色机构 -export function delRole(id) { - return request({ - url: 'role/delete', - method: 'post', - params: { - id: id - } - }) -} - -// 功能授权 -export function funcAuthor(roleId, ids) { - return request({ - url: 'role/funcAuthor', - method: 'post', - params: { - roleId: roleId, - ids: ids - }, - paramsSerializer: params => { - return qs.stringify(params, { indices: false }) - } - }) -} -// 数据授权 -export function dataAuthor(roleId, ids) { - return request({ - url: 'role/dataAuthor', - method: 'post', - params: { - roleId: roleId, - ids: ids - }, - paramsSerializer: params => { - return qs.stringify(params, { indices: false }) - } - }) -} - -// 角色类型列表 -export function getDataScopeTypeList() { - return request({ - url: 'sys/dict/code/dataScopeType', - method: 'get' - }) -} diff --git a/public/config/project.config.json b/public/config/project.config.json index 1b2796d..f986319 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -2,7 +2,7 @@ "title": "管网运行监测系统", "subtitle": "", "theme":"blue", - "baseUrl": "https://38911d91v5.zicp.fun/", + "baseUrl": "http://111.198.10.15:11309/", "mainPage": "http://111.198.10.15:11404/dcms/#", "singleSys": true, "refreshType":"websocket", diff --git a/src/api/systemOld/area.js b/src/api/systemOld/area.js deleted file mode 100644 index 20b3c04..0000000 --- a/src/api/systemOld/area.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * 区域管理接口 - */ -import request from '@/utils/request' -// 区域查询 -export function getAreaList(pid) { - return request({ - url: 'area/list', - method: 'get', - params: { - pid: pid - } - }) -} -// 区域查询 -export function getAreaListPage(params) { - return request({ - url: 'area/listPage', - method: 'get', - params - }) -} -// 根据部门找其默认区域 -export function getAreaByDept(deptid) { - return request({ - url: 'config/getAreaByDept', - method: 'get', - params: { - deptId: deptid - } - }) -} - -// 区域查询,非分页,加载树用 -export function getAreaTree(params) { - return request({ - url: 'area/list', - method: 'get', - params - }) -} -// 区域类型查询 -export function getAreaType() { - return request({ - url: 'sys/dict/code/levelType', - method: 'get' - }) -} - -// 添加区域 -export function addArea(params) { - return request({ - url: 'area/add', - method: 'post', - params - }) -} -// 修改区域机构 -export function updateArea(params) { - return request({ - url: 'area/update', - method: 'post', - params - }) -} -// 删除区域机构 -export function delArea(id) { - return request({ - url: 'area/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dept.js b/src/api/systemOld/dept.js deleted file mode 100644 index ae3dd22..0000000 --- a/src/api/systemOld/dept.js +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 组织机构接口 - */ -import request from '@/utils/request' -// 组织查询 -export function getDeptList(params) { - return request({ - url: 'dept/list', - method: 'get', - params - }) -} -// 组织机构树列表 -export function getDeptTreeList(params) { - return request({ - url: 'dept/tree', - method: 'get', - params - }) -} - -// 组织机构树列表 -export function getDeptTreeListByPid(pid) { - return request({ - url: 'dept/listByPid', - method: 'get', - data: { - pid: pid - } - }) -} -// 根据角色获取组织机构树列表 -export function getDeptTreeByRole(roleId) { - return request({ - url: 'role/treeByRoleId', - method: 'get', - params: { - roleId - } - }) -} - -// 添加组织机构 -export function addDept(params) { - return request({ - url: 'dept/add', - method: 'post', - params - }) -} -// 修改组织机构 -export function updateDept(params) { - return request({ - url: 'dept/update', - method: 'post', - params - }) -} -// 删除组织机构 -export function delDept(id) { - return request({ - url: 'dept/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dict.js b/src/api/systemOld/dict.js deleted file mode 100644 index 3415b6d..0000000 --- a/src/api/systemOld/dict.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 字典接口 - */ -import request from '@/utils/request' -// 字典查询 -export function getDictList(params) { - return request({ - url: 'dict/listPage', - method: 'get', - params - }) -} - -// 添加字典 -export function addDict(params) { - return request({ - url: 'dict/add', - method: 'post', - params - }) -} -// 修改字典机构 -export function updateDict(params) { - return request({ - url: 'dict/update', - method: 'post', - params - }) -} -// 删除字典机构 -export function delDict(id) { - return request({ - url: 'dict/delete', - method: 'post', - params: { - dictId: id - } - }) -} diff --git a/src/api/systemOld/log.js b/src/api/systemOld/log.js deleted file mode 100644 index 1940b45..0000000 --- a/src/api/systemOld/log.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 日志管理接口 - */ -import request from '@/utils/request' -export function getBizLogList(params) { - return request({ - url: 'sys/log/biz/list', - method: 'get', - params - }) -} -// 操作日志详情 -export function getBizLogDetail(id) { - return request({ - url: 'sys/log/biz/detail/' + id, - method: 'get' - }) -} -// 日志查询 -export function getLogList(params) { - return request({ - url: 'log/list', - method: 'post', - params - }) -} -// 日志查询 -export function getLogDetail(id) { - return request({ - url: 'log/detail/' + id, - method: 'get' - }) -} -// 日志类型查询 -export function getLogType() { - return request({ - url: 'sys/dict/code/logType', - method: 'get' - }) -} - -// 删除日志 -export function delLog() { - return request({ - url: 'log/delLog', - method: 'post' - }) -} - -// 登录日志查询 -export function getLoginLogList(params) { - return request({ - url: 'loginLog/list', - method: 'get', - params - }) -} -// 异常日志查询 -export function getErrorLogList(params) { - return request({ - url: 'sys/log/error/list', - method: 'get', - params - }) -} -// 异常日志详情 -export function getErrorLogDetail(id) { - return request({ - url: 'sys/log/error/detail/' + id, - method: 'get' - }) -} - -// 删除日志 -export function delLoginLog() { - return request({ - url: 'loginLog/delLoginLog', - method: 'post' - }) -} -// 删除异常日志 -export function delErrorLog() { - return request({ - url: 'sys/log/error/delLog', - method: 'post' - }) -} diff --git a/src/api/systemOld/resource.js b/src/api/systemOld/resource.js deleted file mode 100644 index d80b29c..0000000 --- a/src/api/systemOld/resource.js +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 资源管理接口 - */ -import request from '@/utils/request' -// 资源查询 -export function getResourceList(params) { - return request({ - url: 'resource/list', - method: 'get', - params - }) -} -// 资源查询 -export function getResourceListByRole(roleId) { - return request({ - url: 'resource/treeListByRoleId', - method: 'get', - params: { - roleId: roleId - } - }) -} -// 资源树列表 -export function getResourceTreeList() { - return request({ - url: 'resource/tree', - method: 'get' - }) -} - -// 资源类型列表 -export function getResourceTypeList() { - return request({ - url: 'sys/dict/code/resourceType', - method: 'get' - }) -} - -// 添加资源 -export function addResource(params) { - return request({ - url: 'resource/add', - method: 'post', - params - }) -} -// 修改资源 -export function updateResource(params) { - return request({ - url: 'resource/update', - method: 'post', - params - }) -} -// 删除资源 -export function delResource(id) { - return request({ - url: 'resource/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/role.js b/src/api/systemOld/role.js deleted file mode 100644 index c7f80ba..0000000 --- a/src/api/systemOld/role.js +++ /dev/null @@ -1,94 +0,0 @@ -import qs from 'qs' -/** - * 角色管理接口 - */ -import request from '@/utils/request' -// 角色查询 -export function getRoleList(params) { - return request({ - url: 'role/list', - method: 'get', - params - }) -} -// 角色机构树列表 -export function getRoleTreeList() { - return request({ - url: 'role/tree', - method: 'get' - }) -} -// 根据用户获取角色机构树列表 -export function getRoleTreeListByUser(userId) { - return request({ - url: 'role/treeByUserId', - method: 'get', - params: { - userId: userId - } - }) -} - -// 添加角色机构 -export function addRole(params) { - return request({ - url: 'role/add', - method: 'post', - params - }) -} -// 修改角色机构 -export function updateRole(params) { - return request({ - url: 'role/update', - method: 'post', - params - }) -} -// 删除角色机构 -export function delRole(id) { - return request({ - url: 'role/delete', - method: 'post', - params: { - id: id - } - }) -} - -// 功能授权 -export function funcAuthor(roleId, ids) { - return request({ - url: 'role/funcAuthor', - method: 'post', - params: { - roleId: roleId, - ids: ids - }, - paramsSerializer: params => { - return qs.stringify(params, { indices: false }) - } - }) -} -// 数据授权 -export function dataAuthor(roleId, ids) { - return request({ - url: 'role/dataAuthor', - method: 'post', - params: { - roleId: roleId, - ids: ids - }, - paramsSerializer: params => { - return qs.stringify(params, { indices: false }) - } - }) -} - -// 角色类型列表 -export function getDataScopeTypeList() { - return request({ - url: 'sys/dict/code/dataScopeType', - method: 'get' - }) -} diff --git a/src/api/systemOld/user.js b/src/api/systemOld/user.js deleted file mode 100644 index 02a38d0..0000000 --- a/src/api/systemOld/user.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * 用户管理接口 - */ -import request from '@/utils/request' -import qs from 'qs' - -// 用户查询 -export function getUserList(params) { - return request({ - url: 'mgr/list', - method: 'post', - params - }) -} - -// 添加用户 -export function addUser(params) { - return request({ - url: 'mgr/add', - method: 'post', - params - }) -} -// 修改用户 -export function updateUser(params) { - return request({ - url: 'mgr/update', - method: 'post', - params - }) -} -// 删除用户 -export function delUser(id) { - return request({ - url: 'mgr/delete', - method: 'post', - params: { - id: id - } - }) -} - -// 冻结用户 -export function freezeUser(id) { - return request({ - url: 'mgr/freeze', - method: 'post', - params: { - id: id - } - }) -} -// 冻结用户 -export function unfreezeUser(id) { - return request({ - url: 'mgr/unfreeze', - method: 'post', - params: { - id: id - } - }) -} - -// 重置用户密码 -export function resetPwd(params) { - return request({ - url: 'mgr/reset', - method: 'post', - params - }) -} - -// 修改密码 -export function changePwd(params) { - return request({ - url: 'mgr/changePwd', - method: 'post', - params - }) -} - -// 分配角色 -export function roleAssign(userId, ids) { - return request({ - url: 'mgr/roleAssign', - method: 'post', - params: { - userId: userId, - roleIds: ids - }, - paramsSerializer: params => { - return qs.stringify(params, { indices: false }) - } - }) -} diff --git a/public/config/project.config.json b/public/config/project.config.json index 1b2796d..f986319 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -2,7 +2,7 @@ "title": "管网运行监测系统", "subtitle": "", "theme":"blue", - "baseUrl": "https://38911d91v5.zicp.fun/", + "baseUrl": "http://111.198.10.15:11309/", "mainPage": "http://111.198.10.15:11404/dcms/#", "singleSys": true, "refreshType":"websocket", diff --git a/src/api/systemOld/area.js b/src/api/systemOld/area.js deleted file mode 100644 index 20b3c04..0000000 --- a/src/api/systemOld/area.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * 区域管理接口 - */ -import request from '@/utils/request' -// 区域查询 -export function getAreaList(pid) { - return request({ - url: 'area/list', - method: 'get', - params: { - pid: pid - } - }) -} -// 区域查询 -export function getAreaListPage(params) { - return request({ - url: 'area/listPage', - method: 'get', - params - }) -} -// 根据部门找其默认区域 -export function getAreaByDept(deptid) { - return request({ - url: 'config/getAreaByDept', - method: 'get', - params: { - deptId: deptid - } - }) -} - -// 区域查询,非分页,加载树用 -export function getAreaTree(params) { - return request({ - url: 'area/list', - method: 'get', - params - }) -} -// 区域类型查询 -export function getAreaType() { - return request({ - url: 'sys/dict/code/levelType', - method: 'get' - }) -} - -// 添加区域 -export function addArea(params) { - return request({ - url: 'area/add', - method: 'post', - params - }) -} -// 修改区域机构 -export function updateArea(params) { - return request({ - url: 'area/update', - method: 'post', - params - }) -} -// 删除区域机构 -export function delArea(id) { - return request({ - url: 'area/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dept.js b/src/api/systemOld/dept.js deleted file mode 100644 index ae3dd22..0000000 --- a/src/api/systemOld/dept.js +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 组织机构接口 - */ -import request from '@/utils/request' -// 组织查询 -export function getDeptList(params) { - return request({ - url: 'dept/list', - method: 'get', - params - }) -} -// 组织机构树列表 -export function getDeptTreeList(params) { - return request({ - url: 'dept/tree', - method: 'get', - params - }) -} - -// 组织机构树列表 -export function getDeptTreeListByPid(pid) { - return request({ - url: 'dept/listByPid', - method: 'get', - data: { - pid: pid - } - }) -} -// 根据角色获取组织机构树列表 -export function getDeptTreeByRole(roleId) { - return request({ - url: 'role/treeByRoleId', - method: 'get', - params: { - roleId - } - }) -} - -// 添加组织机构 -export function addDept(params) { - return request({ - url: 'dept/add', - method: 'post', - params - }) -} -// 修改组织机构 -export function updateDept(params) { - return request({ - url: 'dept/update', - method: 'post', - params - }) -} -// 删除组织机构 -export function delDept(id) { - return request({ - url: 'dept/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dict.js b/src/api/systemOld/dict.js deleted file mode 100644 index 3415b6d..0000000 --- a/src/api/systemOld/dict.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 字典接口 - */ -import request from '@/utils/request' -// 字典查询 -export function getDictList(params) { - return request({ - url: 'dict/listPage', - method: 'get', - params - }) -} - -// 添加字典 -export function addDict(params) { - return request({ - url: 'dict/add', - method: 'post', - params - }) -} -// 修改字典机构 -export function updateDict(params) { - return request({ - url: 'dict/update', - method: 'post', - params - }) -} -// 删除字典机构 -export function delDict(id) { - return request({ - url: 'dict/delete', - method: 'post', - params: { - dictId: id - } - }) -} diff --git a/src/api/systemOld/log.js b/src/api/systemOld/log.js deleted file mode 100644 index 1940b45..0000000 --- a/src/api/systemOld/log.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 日志管理接口 - */ -import request from '@/utils/request' -export function getBizLogList(params) { - return request({ - url: 'sys/log/biz/list', - method: 'get', - params - }) -} -// 操作日志详情 -export function getBizLogDetail(id) { - return request({ - url: 'sys/log/biz/detail/' + id, - method: 'get' - }) -} -// 日志查询 -export function getLogList(params) { - return request({ - url: 'log/list', - method: 'post', - params - }) -} -// 日志查询 -export function getLogDetail(id) { - return request({ - url: 'log/detail/' + id, - method: 'get' - }) -} -// 日志类型查询 -export function getLogType() { - return request({ - url: 'sys/dict/code/logType', - method: 'get' - }) -} - -// 删除日志 -export function delLog() { - return request({ - url: 'log/delLog', - method: 'post' - }) -} - -// 登录日志查询 -export function getLoginLogList(params) { - return request({ - url: 'loginLog/list', - method: 'get', - params - }) -} -// 异常日志查询 -export function getErrorLogList(params) { - return request({ - url: 'sys/log/error/list', - method: 'get', - params - }) -} -// 异常日志详情 -export function getErrorLogDetail(id) { - return request({ - url: 'sys/log/error/detail/' + id, - method: 'get' - }) -} - -// 删除日志 -export function delLoginLog() { - return request({ - url: 'loginLog/delLoginLog', - method: 'post' - }) -} -// 删除异常日志 -export function delErrorLog() { - return request({ - url: 'sys/log/error/delLog', - method: 'post' - }) -} diff --git a/src/api/systemOld/resource.js b/src/api/systemOld/resource.js deleted file mode 100644 index d80b29c..0000000 --- a/src/api/systemOld/resource.js +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 资源管理接口 - */ -import request from '@/utils/request' -// 资源查询 -export function getResourceList(params) { - return request({ - url: 'resource/list', - method: 'get', - params - }) -} -// 资源查询 -export function getResourceListByRole(roleId) { - return request({ - url: 'resource/treeListByRoleId', - method: 'get', - params: { - roleId: roleId - } - }) -} -// 资源树列表 -export function getResourceTreeList() { - return request({ - url: 'resource/tree', - method: 'get' - }) -} - -// 资源类型列表 -export function getResourceTypeList() { - return request({ - url: 'sys/dict/code/resourceType', - method: 'get' - }) -} - -// 添加资源 -export function addResource(params) { - return request({ - url: 'resource/add', - method: 'post', - params - }) -} -// 修改资源 -export function updateResource(params) { - return request({ - url: 'resource/update', - method: 'post', - params - }) -} -// 删除资源 -export function delResource(id) { - return request({ - url: 'resource/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/role.js b/src/api/systemOld/role.js deleted file mode 100644 index c7f80ba..0000000 --- a/src/api/systemOld/role.js +++ /dev/null @@ -1,94 +0,0 @@ -import qs from 'qs' -/** - * 角色管理接口 - */ -import request from '@/utils/request' -// 角色查询 -export function getRoleList(params) { - return request({ - url: 'role/list', - method: 'get', - params - }) -} -// 角色机构树列表 -export function getRoleTreeList() { - return request({ - url: 'role/tree', - method: 'get' - }) -} -// 根据用户获取角色机构树列表 -export function getRoleTreeListByUser(userId) { - return request({ - url: 'role/treeByUserId', - method: 'get', - params: { - userId: userId - } - }) -} - -// 添加角色机构 -export function addRole(params) { - return request({ - url: 'role/add', - method: 'post', - params - }) -} -// 修改角色机构 -export function updateRole(params) { - return request({ - url: 'role/update', - method: 'post', - params - }) -} -// 删除角色机构 -export function delRole(id) { - return request({ - url: 'role/delete', - method: 'post', - params: { - id: id - } - }) -} - -// 功能授权 -export function funcAuthor(roleId, ids) { - return request({ - url: 'role/funcAuthor', - method: 'post', - params: { - roleId: roleId, - ids: ids - }, - paramsSerializer: params => { - return qs.stringify(params, { indices: false }) - } - }) -} -// 数据授权 -export function dataAuthor(roleId, ids) { - return request({ - url: 'role/dataAuthor', - method: 'post', - params: { - roleId: roleId, - ids: ids - }, - paramsSerializer: params => { - return qs.stringify(params, { indices: false }) - } - }) -} - -// 角色类型列表 -export function getDataScopeTypeList() { - return request({ - url: 'sys/dict/code/dataScopeType', - method: 'get' - }) -} diff --git a/src/api/systemOld/user.js b/src/api/systemOld/user.js deleted file mode 100644 index 02a38d0..0000000 --- a/src/api/systemOld/user.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * 用户管理接口 - */ -import request from '@/utils/request' -import qs from 'qs' - -// 用户查询 -export function getUserList(params) { - return request({ - url: 'mgr/list', - method: 'post', - params - }) -} - -// 添加用户 -export function addUser(params) { - return request({ - url: 'mgr/add', - method: 'post', - params - }) -} -// 修改用户 -export function updateUser(params) { - return request({ - url: 'mgr/update', - method: 'post', - params - }) -} -// 删除用户 -export function delUser(id) { - return request({ - url: 'mgr/delete', - method: 'post', - params: { - id: id - } - }) -} - -// 冻结用户 -export function freezeUser(id) { - return request({ - url: 'mgr/freeze', - method: 'post', - params: { - id: id - } - }) -} -// 冻结用户 -export function unfreezeUser(id) { - return request({ - url: 'mgr/unfreeze', - method: 'post', - params: { - id: id - } - }) -} - -// 重置用户密码 -export function resetPwd(params) { - return request({ - url: 'mgr/reset', - method: 'post', - params - }) -} - -// 修改密码 -export function changePwd(params) { - return request({ - url: 'mgr/changePwd', - method: 'post', - params - }) -} - -// 分配角色 -export function roleAssign(userId, ids) { - return request({ - url: 'mgr/roleAssign', - method: 'post', - params: { - userId: userId, - roleIds: ids - }, - paramsSerializer: params => { - return qs.stringify(params, { indices: false }) - } - }) -} diff --git a/src/assets/login_images/theme2/title.png b/src/assets/login_images/theme2/title.png index 5735a5c..53a5b80 100644 --- a/src/assets/login_images/theme2/title.png +++ b/src/assets/login_images/theme2/title.png Binary files differ diff --git a/public/config/project.config.json b/public/config/project.config.json index 1b2796d..f986319 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -2,7 +2,7 @@ "title": "管网运行监测系统", "subtitle": "", "theme":"blue", - "baseUrl": "https://38911d91v5.zicp.fun/", + "baseUrl": "http://111.198.10.15:11309/", "mainPage": "http://111.198.10.15:11404/dcms/#", "singleSys": true, "refreshType":"websocket", diff --git a/src/api/systemOld/area.js b/src/api/systemOld/area.js deleted file mode 100644 index 20b3c04..0000000 --- a/src/api/systemOld/area.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * 区域管理接口 - */ -import request from '@/utils/request' -// 区域查询 -export function getAreaList(pid) { - return request({ - url: 'area/list', - method: 'get', - params: { - pid: pid - } - }) -} -// 区域查询 -export function getAreaListPage(params) { - return request({ - url: 'area/listPage', - method: 'get', - params - }) -} -// 根据部门找其默认区域 -export function getAreaByDept(deptid) { - return request({ - url: 'config/getAreaByDept', - method: 'get', - params: { - deptId: deptid - } - }) -} - -// 区域查询,非分页,加载树用 -export function getAreaTree(params) { - return request({ - url: 'area/list', - method: 'get', - params - }) -} -// 区域类型查询 -export function getAreaType() { - return request({ - url: 'sys/dict/code/levelType', - method: 'get' - }) -} - -// 添加区域 -export function addArea(params) { - return request({ - url: 'area/add', - method: 'post', - params - }) -} -// 修改区域机构 -export function updateArea(params) { - return request({ - url: 'area/update', - method: 'post', - params - }) -} -// 删除区域机构 -export function delArea(id) { - return request({ - url: 'area/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dept.js b/src/api/systemOld/dept.js deleted file mode 100644 index ae3dd22..0000000 --- a/src/api/systemOld/dept.js +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 组织机构接口 - */ -import request from '@/utils/request' -// 组织查询 -export function getDeptList(params) { - return request({ - url: 'dept/list', - method: 'get', - params - }) -} -// 组织机构树列表 -export function getDeptTreeList(params) { - return request({ - url: 'dept/tree', - method: 'get', - params - }) -} - -// 组织机构树列表 -export function getDeptTreeListByPid(pid) { - return request({ - url: 'dept/listByPid', - method: 'get', - data: { - pid: pid - } - }) -} -// 根据角色获取组织机构树列表 -export function getDeptTreeByRole(roleId) { - return request({ - url: 'role/treeByRoleId', - method: 'get', - params: { - roleId - } - }) -} - -// 添加组织机构 -export function addDept(params) { - return request({ - url: 'dept/add', - method: 'post', - params - }) -} -// 修改组织机构 -export function updateDept(params) { - return request({ - url: 'dept/update', - method: 'post', - params - }) -} -// 删除组织机构 -export function delDept(id) { - return request({ - url: 'dept/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/dict.js b/src/api/systemOld/dict.js deleted file mode 100644 index 3415b6d..0000000 --- a/src/api/systemOld/dict.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 字典接口 - */ -import request from '@/utils/request' -// 字典查询 -export function getDictList(params) { - return request({ - url: 'dict/listPage', - method: 'get', - params - }) -} - -// 添加字典 -export function addDict(params) { - return request({ - url: 'dict/add', - method: 'post', - params - }) -} -// 修改字典机构 -export function updateDict(params) { - return request({ - url: 'dict/update', - method: 'post', - params - }) -} -// 删除字典机构 -export function delDict(id) { - return request({ - url: 'dict/delete', - method: 'post', - params: { - dictId: id - } - }) -} diff --git a/src/api/systemOld/log.js b/src/api/systemOld/log.js deleted file mode 100644 index 1940b45..0000000 --- a/src/api/systemOld/log.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 日志管理接口 - */ -import request from '@/utils/request' -export function getBizLogList(params) { - return request({ - url: 'sys/log/biz/list', - method: 'get', - params - }) -} -// 操作日志详情 -export function getBizLogDetail(id) { - return request({ - url: 'sys/log/biz/detail/' + id, - method: 'get' - }) -} -// 日志查询 -export function getLogList(params) { - return request({ - url: 'log/list', - method: 'post', - params - }) -} -// 日志查询 -export function getLogDetail(id) { - return request({ - url: 'log/detail/' + id, - method: 'get' - }) -} -// 日志类型查询 -export function getLogType() { - return request({ - url: 'sys/dict/code/logType', - method: 'get' - }) -} - -// 删除日志 -export function delLog() { - return request({ - url: 'log/delLog', - method: 'post' - }) -} - -// 登录日志查询 -export function getLoginLogList(params) { - return request({ - url: 'loginLog/list', - method: 'get', - params - }) -} -// 异常日志查询 -export function getErrorLogList(params) { - return request({ - url: 'sys/log/error/list', - method: 'get', - params - }) -} -// 异常日志详情 -export function getErrorLogDetail(id) { - return request({ - url: 'sys/log/error/detail/' + id, - method: 'get' - }) -} - -// 删除日志 -export function delLoginLog() { - return request({ - url: 'loginLog/delLoginLog', - method: 'post' - }) -} -// 删除异常日志 -export function delErrorLog() { - return request({ - url: 'sys/log/error/delLog', - method: 'post' - }) -} diff --git a/src/api/systemOld/resource.js b/src/api/systemOld/resource.js deleted file mode 100644 index d80b29c..0000000 --- a/src/api/systemOld/resource.js +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 资源管理接口 - */ -import request from '@/utils/request' -// 资源查询 -export function getResourceList(params) { - return request({ - url: 'resource/list', - method: 'get', - params - }) -} -// 资源查询 -export function getResourceListByRole(roleId) { - return request({ - url: 'resource/treeListByRoleId', - method: 'get', - params: { - roleId: roleId - } - }) -} -// 资源树列表 -export function getResourceTreeList() { - return request({ - url: 'resource/tree', - method: 'get' - }) -} - -// 资源类型列表 -export function getResourceTypeList() { - return request({ - url: 'sys/dict/code/resourceType', - method: 'get' - }) -} - -// 添加资源 -export function addResource(params) { - return request({ - url: 'resource/add', - method: 'post', - params - }) -} -// 修改资源 -export function updateResource(params) { - return request({ - url: 'resource/update', - method: 'post', - params - }) -} -// 删除资源 -export function delResource(id) { - return request({ - url: 'resource/delete', - method: 'post', - params: { - id: id - } - }) -} diff --git a/src/api/systemOld/role.js b/src/api/systemOld/role.js deleted file mode 100644 index c7f80ba..0000000 --- a/src/api/systemOld/role.js +++ /dev/null @@ -1,94 +0,0 @@ -import qs from 'qs' -/** - * 角色管理接口 - */ -import request from '@/utils/request' -// 角色查询 -export function getRoleList(params) { - return request({ - url: 'role/list', - method: 'get', - params - }) -} -// 角色机构树列表 -export function getRoleTreeList() { - return request({ - url: 'role/tree', - method: 'get' - }) -} -// 根据用户获取角色机构树列表 -export function getRoleTreeListByUser(userId) { - return request({ - url: 'role/treeByUserId', - method: 'get', - params: { - userId: userId - } - }) -} - -// 添加角色机构 -export function addRole(params) { - return request({ - url: 'role/add', - method: 'post', - params - }) -} -// 修改角色机构 -export function updateRole(params) { - return request({ - url: 'role/update', - method: 'post', - params - }) -} -// 删除角色机构 -export function delRole(id) { - return request({ - url: 'role/delete', - method: 'post', - params: { - id: id - } - }) -} - -// 功能授权 -export function funcAuthor(roleId, ids) { - return request({ - url: 'role/funcAuthor', - method: 'post', - params: { - roleId: roleId, - ids: ids - }, - paramsSerializer: params => { - return qs.stringify(params, { indices: false }) - } - }) -} -// 数据授权 -export function dataAuthor(roleId, ids) { - return request({ - url: 'role/dataAuthor', - method: 'post', - params: { - roleId: roleId, - ids: ids - }, - paramsSerializer: params => { - return qs.stringify(params, { indices: false }) - } - }) -} - -// 角色类型列表 -export function getDataScopeTypeList() { - return request({ - url: 'sys/dict/code/dataScopeType', - method: 'get' - }) -} diff --git a/src/api/systemOld/user.js b/src/api/systemOld/user.js deleted file mode 100644 index 02a38d0..0000000 --- a/src/api/systemOld/user.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * 用户管理接口 - */ -import request from '@/utils/request' -import qs from 'qs' - -// 用户查询 -export function getUserList(params) { - return request({ - url: 'mgr/list', - method: 'post', - params - }) -} - -// 添加用户 -export function addUser(params) { - return request({ - url: 'mgr/add', - method: 'post', - params - }) -} -// 修改用户 -export function updateUser(params) { - return request({ - url: 'mgr/update', - method: 'post', - params - }) -} -// 删除用户 -export function delUser(id) { - return request({ - url: 'mgr/delete', - method: 'post', - params: { - id: id - } - }) -} - -// 冻结用户 -export function freezeUser(id) { - return request({ - url: 'mgr/freeze', - method: 'post', - params: { - id: id - } - }) -} -// 冻结用户 -export function unfreezeUser(id) { - return request({ - url: 'mgr/unfreeze', - method: 'post', - params: { - id: id - } - }) -} - -// 重置用户密码 -export function resetPwd(params) { - return request({ - url: 'mgr/reset', - method: 'post', - params - }) -} - -// 修改密码 -export function changePwd(params) { - return request({ - url: 'mgr/changePwd', - method: 'post', - params - }) -} - -// 分配角色 -export function roleAssign(userId, ids) { - return request({ - url: 'mgr/roleAssign', - method: 'post', - params: { - userId: userId, - roleIds: ids - }, - paramsSerializer: params => { - return qs.stringify(params, { indices: false }) - } - }) -} diff --git a/src/assets/login_images/theme2/title.png b/src/assets/login_images/theme2/title.png index 5735a5c..53a5b80 100644 --- a/src/assets/login_images/theme2/title.png +++ b/src/assets/login_images/theme2/title.png Binary files differ diff --git a/src/views/login/index_2.vue b/src/views/login/index_2.vue index 7026f3b..3000490 100644 --- a/src/views/login/index_2.vue +++ b/src/views/login/index_2.vue @@ -219,15 +219,15 @@ font-size: 30px; color: white; position: absolute; - top:2rem; + top:3rem; left:4rem; - height:3rem; + height:3.5rem; display: flex; justify-content: flex-start; align-items: center; .title-img-div{ position:relative; - height: 100%; + //height: 100%; height: 100px; //min-width: 200px; .title-img{