Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
buildbank-replica
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
姚珂
buildbank-replica
Commits
9cc2a778
Commit
9cc2a778
authored
Apr 30, 2026
by
何波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按钮功能
parent
bed21a9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
account.html
account.html
+17
-1
No files found.
account.html
View file @
9cc2a778
...
...
@@ -1505,23 +1505,39 @@ document.querySelectorAll('.downloadBox li').forEach((el, index) => {
});
});
function submitSelect(scope, type) {
console.log(type,'
type
');
// scope: 0 当前页 / 1 全部(你可以扩展)
// type: 1 txt 2 excel 3 csv 4 pdf
var data = getTableData();
switch (type) {
case '
1
':
case '
5
':
case '
21
':
case '
25
':
downloadTXT(data);
break;
case '
2
':
case '
6
':
case '
22
':
case '
26
':
downloadExcel(data);
break;
case '
3
':
case '
7
':
case '
23
':
case '
27
':
downloadCSV(data);
break;
case '
4
':
case '
8
':
case '
24
':
case '
28
':
downloadPDF(data);
break;
}
}
}
function downloadTXT() {
var table = document.getElementById("rsTable2");
...
...
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