Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
3e96fbe3
Commit
3e96fbe3
authored
Jun 12, 2024
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
43e66c6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
2 deletions
+68
-2
index.vue
dsk-operate-ui/src/views/macro/policyInquiry/index.vue
+68
-2
No files found.
dsk-operate-ui/src/views/macro/policyInquiry/index.vue
View file @
3e96fbe3
...
@@ -68,6 +68,19 @@
...
@@ -68,6 +68,19 @@
</div>
</div>
</div>
</div>
<div
class=
"table-list-container"
>
<div
class=
"table-list-container"
>
<div
class=
"list-count"
>
<span
class=
"total"
>
共 162 条
</span>
<el-dropdown
trigger=
"click"
@
command=
"changeOrder"
class=
"list-sort-btn"
>
<span
class=
"el-dropdown-link"
>
{{
orderText
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</span>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"默认排序"
>
默认排序
</el-dropdown-item>
<el-dropdown-item
command=
"时间由近到远"
>
时间由近到远
</el-dropdown-item>
<el-dropdown-item
command=
"时间由远到近"
>
时间由远到近
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</div>
</div>
</div>
</div>
...
@@ -155,7 +168,9 @@
...
@@ -155,7 +168,9 @@
lyData
:[],
lyData
:[],
lyList
:[],
lyList
:[],
time
:
''
,
time
:
''
,
radio
:
''
radio
:
''
,
orderText
:
'默认排序'
,
desc
:
'desc'
,
//查询结果排序方式
}
}
},
},
created
()
{
created
()
{
...
@@ -165,7 +180,15 @@
...
@@ -165,7 +180,15 @@
},
},
methods
:
{
methods
:
{
changeOrder
(
command
)
{
this
.
orderText
=
command
;
if
(
command
==
'时间由远到近'
)
{
this
.
desc
=
'asc'
;
}
else
{
this
.
desc
=
'desc'
;
}
// this.search();
},
}
}
}
}
</
script
>
</
script
>
...
@@ -249,5 +272,48 @@
...
@@ -249,5 +272,48 @@
}
}
}
}
.table-list-container
{
width
:
100%
;
background
:
#FFFFFF
;
margin
:
24px
;
::v-deep
.list-count
{
height
:
54px
;
padding
:
0px
16px
;
.total
{
color
:
#3d3d3d
;
font-size
:
12px
;
position
:
relative
;
padding-left
:
6px
;
line-height
:
54px
;
&
:
:
before
{
content
:
""
;
position
:
absolute
;
width
:
2px
;
height
:
2px
;
background
:
rgba
(
35
,
35
,
35
,
0
.4
);
border-radius
:
50%
;
left
:
0px
;
top
:
50%
;
transform
:
translateY
(
-50%
);
}
}
.list-sort-btn
{
color
:
rgba
(
35
,
35
,
35
,
0
.8
);
height
:
30px
;
margin-top
:
12px
;
margin-left
:
16px
!
important
;
color
:
#232323
;
font-size
:
14px
;
padding-top
:
4px
;
box-sizing
:
border-box
;
.el-icon-arrow-down
{
margin-left
:
8px
!
important
;
}
}
}
}
}
}
</
style
>
</
style
>
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