Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project
Project
Details
Activity
Releases
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
中汽测评-信息安全测评系统
web
Commits
9949d921
Commit
9949d921
authored
Apr 01, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 70898
parent
9a8cee55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
index.vue
src/views/setting/standard/index.vue
+22
-1
No files found.
src/views/setting/standard/index.vue
View file @
9949d921
...
...
@@ -5,7 +5,7 @@
border
:span-method=
"objectSpanMethod"
:scroll-x=
"'1500px'"
:default-sort=
"
{ prop: '
createTim
e', order: 'descending' }"
:default-sort=
"
{ prop: '
releaseDat
e', order: 'descending' }"
:data="tableData"
>
<el-table-column
type=
"index"
width=
"55"
label=
"序号"
align=
"center"
>
...
...
@@ -165,7 +165,28 @@ export default {
this
.
standardFicationList
=
response
.
data
}
)
}
,
created
()
{
this
.
queryParams
.
isAsc
=
'desc'
this
.
queryParams
.
orderByColumn
=
'releaseDate'
}
,
methods
:
{
resetQuery
()
{
this
.
queryParams
=
{
pageNum
:
this
.
queryParams
.
pageNum
,
pageSize
:
this
.
queryParams
.
pageSize
,
isAsc
:
this
.
queryParams
.
isAsc
,
orderByColumn
:
this
.
queryParams
.
orderByColumn
}
this
.
loadData
()
}
,
sort_change
(
column
,
prop
,
order
)
{
this
.
queryParams
.
pageNum
=
1
// 排序后返回第一页
if
(
column
.
order
)
{
this
.
queryParams
.
isAsc
=
column
.
order
===
'ascending'
?
'asc'
:
'desc'
this
.
queryParams
.
orderByColumn
=
column
.
prop
this
.
loadData
()
}
}
,
downPdf
(
row
)
{
console
.
log
(
'row'
,
row
)
window
.
open
(
process
.
env
.
VUE_APP_IMAGE_API
+
row
.
file
)
...
...
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