mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-14 02:55:07 +08:00
1. 基于 db 实现文件的存储
This commit is contained in:
@ -34,7 +34,7 @@ export function logout() {
|
||||
// 获取验证码
|
||||
export function getCodeImg() {
|
||||
return request({
|
||||
url: '/captcha/get-image',
|
||||
url: '/system/captcha/get-image',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
@ -56,6 +56,7 @@ export function exportPost(query) {
|
||||
return request({
|
||||
url: '/system/post/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
@ -286,7 +286,7 @@ export default {
|
||||
}).then(function() {
|
||||
return exportPost(queryParams);
|
||||
}).then(response => {
|
||||
this.download(response.msg);
|
||||
this.downloadExcel(response, '岗位数据.xls');
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user