Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f8d99c59
authored
Jun 16, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reactor:统一导出的 url 都是 export-excel
parent
130a8391
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
src/api/infra/config/index.ts
+1
-1
src/api/mall/product/spu.ts
+1
-1
src/api/system/dict/dict.data.ts
+1
-1
src/api/system/loginLog/index.ts
+1
-1
src/api/system/operatelog/index.ts
+1
-1
src/api/system/user/index.ts
+1
-1
src/views/infra/dataSourceConfig/index.vue
+1
-1
No files found.
src/api/infra/config/index.ts
View file @
f8d99c59
...
...
@@ -49,5 +49,5 @@ export const deleteConfigList = (ids: number[]) => {
// 导出参数
export
const
exportConfig
=
(
params
)
=>
{
return
request
.
download
({
url
:
'/infra/config/export'
,
params
})
return
request
.
download
({
url
:
'/infra/config/export
-excel
'
,
params
})
}
src/api/mall/product/spu.ts
View file @
f8d99c59
...
...
@@ -102,7 +102,7 @@ export const deleteSpu = (id: number) => {
// 导出商品 Spu Excel
export
const
exportSpu
=
async
(
params
:
any
)
=>
{
return
await
request
.
download
({
url
:
'/product/spu/export'
,
params
})
return
await
request
.
download
({
url
:
'/product/spu/export
-excel
'
,
params
})
}
// 获得商品 SPU 精简列表
...
...
src/api/system/dict/dict.data.ts
View file @
f8d99c59
...
...
@@ -54,6 +54,6 @@ export const deleteDictDataList = (ids: number[]) => {
}
// 导出字典数据
export
const
exportDictData
=
(
params
)
=>
{
export
const
exportDictData
=
(
params
:
any
)
=>
{
return
request
.
download
({
url
:
'/system/dict-data/export-excel'
,
params
})
}
src/api/system/loginLog/index.ts
View file @
f8d99c59
...
...
@@ -21,5 +21,5 @@ export const getLoginLogPage = (params: PageParam) => {
// 导出登录日志
export
const
exportLoginLog
=
(
params
)
=>
{
return
request
.
download
({
url
:
'/system/login-log/export'
,
params
})
return
request
.
download
({
url
:
'/system/login-log/export
-excel
'
,
params
})
}
src/api/system/operatelog/index.ts
View file @
f8d99c59
...
...
@@ -26,5 +26,5 @@ export const getOperateLogPage = (params: PageParam) => {
}
// 导出操作日志
export
const
exportOperateLog
=
(
params
:
any
)
=>
{
return
request
.
download
({
url
:
'/system/operate-log/export'
,
params
})
return
request
.
download
({
url
:
'/system/operate-log/export
-excel
'
,
params
})
}
src/api/system/user/index.ts
View file @
f8d99c59
...
...
@@ -49,7 +49,7 @@ export const deleteUserList = (ids: number[]) => {
// 导出用户
export
const
exportUser
=
(
params
:
any
)
=>
{
return
request
.
download
({
url
:
'/system/user/export'
,
params
})
return
request
.
download
({
url
:
'/system/user/export
-excel
'
,
params
})
}
// 下载用户导入模板
...
...
src/views/infra/dataSourceConfig/index.vue
View file @
f8d99c59
...
...
@@ -112,7 +112,7 @@ const handleDelete = async (id: number) => {
/** 批量删除按钮操作 */
const
checkedIds
=
ref
<
number
[]
>
([])
const
handleRowCheckboxChange
=
(
rows
:
DataSourceConfigApi
.
DataSourceConfigVO
[])
=>
{
// 过滤掉id为
0
的主数据源
// 过滤掉id为
0
的主数据源
checkedIds
.
value
=
rows
.
map
((
row
)
=>
row
.
id
!
).
filter
((
id
)
=>
id
!==
0
&&
Boolean
(
id
))
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment