Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何远江
yishuju-ui
Commits
847ba784
Commit
847ba784
authored
Jul 14, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复管理导出增加参数
parent
9b887e93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
index.vue
src/views/property/repair-manage/index.vue
+17
-2
No files found.
src/views/property/repair-manage/index.vue
View file @
847ba784
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
type=
"primary"
type=
"primary"
@
click=
"admindownload"
@
click=
"admindownload"
class=
"mr-3"
class=
"mr-3"
>
导出
全部
</el-button
>
导出
</el-button
>
>
<!-- <el-button
<!-- <el-button
v-permission="'repair_te_export'"
v-permission="'repair_te_export'"
...
@@ -172,7 +172,22 @@
...
@@ -172,7 +172,22 @@
downloadfile
(
'/RepairRecord/downloadByTenant'
,
{},
'修复.xls'
);
downloadfile
(
'/RepairRecord/downloadByTenant'
,
{},
'修复.xls'
);
};
};
const
admindownload
=
()
=>
{
const
admindownload
=
()
=>
{
downloadfile
(
'/RepairRecord/download'
,
{},
'修复.xls'
);
const
list
=
selectdList
.
value
;
if
(
dataValue
.
value
===
'对选中项操作'
&&
(
!
selectdList
.
value
||
!
selectdList
.
value
.
length
))
{
return
ElMessage
.
warning
({
message
:
'请先选择操作对象!'
,
plain
:
true
,
});
}
if
(
dataValue
.
value
!==
'对选中项操作'
)
{
const
param
=
{
...
pageParams
.
value
};
delete
param
[
'current'
];
delete
param
[
'size'
];
downloadfile
(
'/RepairRecord/download'
,
param
,
'修复.xls'
);
}
else
{
const
ids
=
list
.
map
((
v
)
=>
v
.
id
).
join
(
','
);
downloadfile
(
'/RepairRecord/download'
,
{
recordIds
:
ids
},
'修复.xls'
);
}
};
};
const
query
=
()
=>
caseLRef
.
value
?.
search
();
const
query
=
()
=>
caseLRef
.
value
?.
search
();
...
...
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