diff --git a/demo-web-ui/src/api/system/region/region.js b/demo-web-ui/src/api/system/region/region.js index 0ed2c91..2fcf2b0 100644 --- a/demo-web-ui/src/api/system/region/region.js +++ b/demo-web-ui/src/api/system/region/region.js @@ -1,139 +1,59 @@ import request from '@/utils/request' -export default { - - // 分页列表 - pagerList: function (params) { - return request({ - url: '/portal/v1/regions/pagerList', - method: 'post', - data: params, - headers: { - 'Content-Type': 'application/json' - } - }) - }, - - // 新增保存 - save: function (regionDto) { - return request({ - url: '/portal/v1/regions/save', - method: 'post', - data: regionDto, - headers: { - 'Content-Type': 'application/json' - } - }) - }, - - // // 根据省sid获取该省的所有市 - // getCity: function (sid) { - // return request({ - // url: '/portal/v1/regions/getCity', - // method: 'get', - // params: { - // sid - // } - // }) - // }, - // - // // 根据市sid获取该省的所有县区 - // getCounty: function (sid) { - // return request({ - // url: '/portal/v1/regions/getCounty', - // method: 'get', - // params: { - // sid - // } - // }) - // }, - - // 删除 - delete: function (sid) { - return request({ - url: '/portal/v1/regions/delete/' + sid, - method: 'delete', - data: sid - }) - }, - - //点击修改回显数据 - updateEcho: function (sid) { - return request({ - url: '/portal/v1/regions/getOne/' + sid, - method: 'post', - params: { - sid - } - }) - }, - - // 区域修改保存 - // system/region/update/{sid} - update: function (params, sid) { - return request({ - url: '/portal/v1/regions/update/' + sid, - method: 'post', - data: params, - headers: { - 'Content-Type': 'application/json' - } - }) - }, - - - // 自主学姐计划 - - // 分页列表 - selectSysPlanXs: function (data) { - return request({ - url: `v1/sysPlan/selectSysPlanXs/${data.userName}`, - method: 'post', - data: data, - headers: { - 'Content-Type': 'application/json' - } - }) - }, - // 新增保存 - saveSysPlan: function (data) { - return request({ - url: 'v1/sysPlanSchedule/saveSysPlanSchedule', - method: 'post', - data: data, - headers: { - 'Content-Type': 'application/json' - } - }) - }, - selectSysPlanComment: function (sid) { - return request({ - url: 'v1/sysPlan/selectSysPlanComment/' + sid, - method: 'post' - }) - }, - - // 删除 - deleteSysPlan: function (sid) { - return request({ - url: '/v1/sysPlan/deleteSysPlan/' + sid, - method: 'delete' - }) - }, - - //点击修改回显数据 - alterSysPlant: function (data) { - return request({ - url: '/v1/sysPlan/alterSysPlan', - method: 'POST', - data: data, - headers: { - 'Content-Type': 'application/json' - } - }) - }, - - - +// 分页列表 +export function selectSysPlanXs(data) { + return request({ + url: `v1/sysPlan/selectSysPlanXs/${data.userName}`, + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) +} +export function saveSysPlan(data) { + return request({ + url: 'v1/sysPlanSchedule/saveSysPlanSchedule', + method: 'POST', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) +} +// 新增保存 +export function selectSysPlanComment(sid) { + return request({ + url: 'v1/sysPlan/selectSysPlanComment/' + sid, + method: 'post' + }) +} +// 删除 +export function deleteSysPlan(sid) { + return request({ + url: '/v1/sysPlan/deleteSysPlan/' + sid, + method: 'delete' + }) +} +//点击修改回显数据 +export function alterSysPlant(data) { + return request({ + url: '/v1/sysPlan/alterSysPlan', + method: 'POST', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) +} +export function selectSysPlan(data) { + return request({ + url: 'v1/sysPlan/selectSysPlan', + method: 'POST', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) } diff --git a/demo-web-ui/src/api/system/sources/index.js b/demo-web-ui/src/api/system/sources/index.js index 50359fb..cb4ace8 100644 --- a/demo-web-ui/src/api/system/sources/index.js +++ b/demo-web-ui/src/api/system/sources/index.js @@ -27,7 +27,7 @@ export function saveSourcesInfo(data) { // 修改 保存 资源信息 export function putSourcesInfo(data) { return request({ - url: 'v1/sysuser/alterInfoUser', + url: 'v1/sysinfo/alterInfo', method: 'POST', data: data, headers: {'Content-Type': 'application/json', @@ -119,3 +119,14 @@ export function UserInfo(data) { } }) } + +export function alterInfoUser(data) { + return request({ + url: 'v1/sysuser/alterInfoUser', + method: 'POST', + data: data, + headers: {'Content-Type': 'application/json', + 'token':tokens + } + }) +} diff --git a/demo-web-ui/src/api/system/userAdminister/client.js b/demo-web-ui/src/api/system/userAdminister/client.js deleted file mode 100644 index cfdec18..0000000 --- a/demo-web-ui/src/api/system/userAdminister/client.js +++ /dev/null @@ -1,32 +0,0 @@ -import request from '@/utils/request' -import qs from 'qs' - -// 委托人分页列表 -export function clientList(data){ - return request({ - url: '/jlcyry/v1/clientalterrecords/pagerList', - method: 'post', - data: data, - headers: {'Content-Type': 'application/json'} - }) -} - -// 变更选择委托人列表 -export function setclientList(data){ - return request({ - url: '/jlcyry/v1/clientalterrecords/staffClientList', - method: 'post', - data: data, - headers: {'Content-Type': 'application/json'} - }) -} - -// 变更为被委托人 -export function doClientAlter(data){ - return request({ - url: '/jlcyry/v1/clientalterrecords/doClientAlter', - method: 'post', - data: data, - headers: {'Content-Type': 'application/json'} - }) -} diff --git a/demo-web-ui/src/api/system/userAdminister/index.js b/demo-web-ui/src/api/system/userAdminister/index.js index afdcc2d..496e57f 100644 --- a/demo-web-ui/src/api/system/userAdminister/index.js +++ b/demo-web-ui/src/api/system/userAdminister/index.js @@ -1,16 +1,33 @@ import request from '@/utils/request' import qs from 'qs' let tokens = window.sessionStorage.getItem('token'); -// 单位用户列表 -export function orgUserList(data){ +// 获取科目 +export function selectScoreKM(data){ return request({ - url: '/system/user/userListByOrg', + url: 'v1/sysscore/selectScoreKM', + method: 'post', + data: data, + headers: {'Content-Type': 'application/json'} + }) +} +// 获取班级 +export function selectStudentScoreYIELD(data){ + return request({ + url: 'v1/sysstudentscore/selectStudentScoreYIELD', + method: 'post', + data: data, + headers: {'Content-Type': 'application/json'} + }) +} +// 查看详情 +export function selectClass(data){ + return request({ + url: 'v1/sysstudentscore/selectClass', method: 'post', data: data, headers: {'Content-Type': 'application/json'} }) } - // 设置角色 export function psotUserRole(data){ @@ -21,11 +38,6 @@ export function psotUserRole(data){ }) } -/** - * 获取角色列表 - * orgSid 用户SID - * roleName 角色名称 - * */ export function orgrolesList(data){ return request({ url: '/system/v1/orgroles/list', diff --git a/demo-web-ui/src/layout/components/Navbar.vue b/demo-web-ui/src/layout/components/Navbar.vue index 74cf9a4..d4d43a4 100644 --- a/demo-web-ui/src/layout/components/Navbar.vue +++ b/demo-web-ui/src/layout/components/Navbar.vue @@ -4,7 +4,7 @@