请假获取劳资员接口修改
This commit is contained in:
parent
ab9669637b
commit
4ba99e3990
3
env/.env.development
vendored
3
env/.env.development
vendored
@ -7,8 +7,7 @@ VITE_SHOW_SOURCEMAP = true
|
|||||||
# 是否启用读取配置文件 min
|
# 是否启用读取配置文件 min
|
||||||
#VITE_WEBAPP = 'D://opt//AppUpdateTest'
|
#VITE_WEBAPP = 'D://opt//AppUpdateTest'
|
||||||
VITE_WEBAPP = ''
|
VITE_WEBAPP = ''
|
||||||
#VITE_SERVER_BASEURL = 'http://10.75.15.247:8080/jeecg-boot'
|
VITE_SERVER_BASEURL = 'http://10.75.166.174:8080/jeecg-boot'
|
||||||
VITE_SERVER_BASEURL = 'http://10.75.166.6:8080/jeecg-boot'
|
|
||||||
#VITE_SERVER_BASEURL = 'https://10.75.166.6/test'
|
#VITE_SERVER_BASEURL = 'https://10.75.166.6/test'
|
||||||
|
|
||||||
#VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot'
|
#VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot'
|
||||||
|
|||||||
@ -29,7 +29,7 @@ export function editUserApi(config : object) {
|
|||||||
/*根据部门Cod和角色Id查询用户信息*/
|
/*根据部门Cod和角色Id查询用户信息*/
|
||||||
export function queryUserByOrgRoleApi(config : object) {
|
export function queryUserByOrgRoleApi(config : object) {
|
||||||
return http({
|
return http({
|
||||||
url: '/cxcChangesInPersonnel/cxcChangesInPersonnel/queryByDepCodRoleId',
|
url: '/sys/user/queryByDepCodRoleId',
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
data: config
|
data: config
|
||||||
})
|
})
|
||||||
|
|||||||
@ -335,17 +335,13 @@
|
|||||||
roleId: '1554379432313397250',
|
roleId: '1554379432313397250',
|
||||||
orgCode: code
|
orgCode: code
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.result.length > 0) {
|
model.hr = res.result.user.username
|
||||||
model.hr = res.result[0].username
|
hrData.value = res.result.list.map(item => {
|
||||||
}
|
return {
|
||||||
if (!code) {
|
label: item.realname,
|
||||||
hrData.value = res.result.map(item => {
|
value: item.username
|
||||||
return {
|
}
|
||||||
label: item.realname,
|
})
|
||||||
value: item.username
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -364,8 +360,6 @@
|
|||||||
getZwmcAndExa()
|
getZwmcAndExa()
|
||||||
/*获取工作单位*/
|
/*获取工作单位*/
|
||||||
queryDepName()
|
queryDepName()
|
||||||
/*获取劳资员*/
|
|
||||||
getHrList()
|
|
||||||
/*获取*/
|
/*获取*/
|
||||||
queryHisDate()
|
queryHisDate()
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user