列表加入日期搜索与导出功能

This commit is contained in:
dqjdda
2019-10-31 09:34:38 +08:00
parent f2aca3bbc0
commit 84bda94b00
32 changed files with 595 additions and 53 deletions

View File

@@ -30,3 +30,12 @@ export function edit(data) {
data
})
}
export function downloadDept(params) {
return request({
url: 'api/dept/download',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -22,3 +22,12 @@ export function edit(data) {
data
})
}
export function downloadDict(params) {
return request({
url: 'api/dict/download',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -35,3 +35,12 @@ export function edit(data) {
data
})
}
export function downloadJob(params) {
return request({
url: 'api/job/download',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -30,3 +30,12 @@ export function edit(data) {
data
})
}
export function downloadStorage(params) {
return request({
url: 'api/localStorage/download',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -6,3 +6,12 @@ export function getErrDetail(id) {
method: 'get'
})
}
export function downloadLog(params) {
return request({
url: 'api/logs/download',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -37,3 +37,12 @@ export function edit(data) {
data
})
}
export function downloadMenu(params) {
return request({
url: 'api/menus/download',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -6,3 +6,12 @@ export function del(key) {
method: 'delete'
})
}
export function downloadOnline(params) {
return request({
url: 'auth/online/download',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -14,3 +14,12 @@ export function delAll(ids) {
data: ids
})
}
export function downloadPicture(params) {
return request({
url: 'api/pictures/download',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -43,3 +43,12 @@ export function delAll(ids) {
data: ids
})
}
export function downloadQiNiu(params) {
return request({
url: 'api/qiNiuContent/download/list',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -33,3 +33,12 @@ export function edit(data) {
data
})
}
export function downloadRedis(params) {
return request({
url: 'api/redis/download',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -60,3 +60,12 @@ export function editMenu(data) {
data
})
}
export function downloadRole(params) {
return request({
url: 'api/roles/download',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -36,3 +36,21 @@ export function execution(id) {
method: 'put'
})
}
export function downloadJobs(params) {
return request({
url: 'api/jobs/download',
method: 'get',
params,
responseType: 'blob'
})
}
export function downloadLogs(params) {
return request({
url: 'api/jobs/download/log',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -7,10 +7,12 @@ export function add(data) {
data
})
}
export function downloadUser() {
export function downloadUser(params) {
return request({
url: 'api/users/download',
method: 'get',
params,
responseType: 'blob'
})
}