Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-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
刘怀志
pet-business-web
Commits
bb9225ff
Commit
bb9225ff
authored
Sep 18, 2023
by
王琮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计排序修改传参
parent
1b582529
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
service-statistics.vue
...data-statistics/service-statistics/service-statistics.vue
+4
-2
No files found.
src/views/data-statistics/service-statistics/service-statistics.vue
View file @
bb9225ff
...
@@ -1003,16 +1003,18 @@ export default {
...
@@ -1003,16 +1003,18 @@ export default {
}
,
}
,
handleSortChangeForPlatform
(
column
)
{
handleSortChangeForPlatform
(
column
)
{
console
.
log
(
'更换排序'
,
column
)
console
.
log
(
'更换排序'
,
column
)
this
.
queryOrder
.
isAsc
=
column
.
order
// 动态取值排序顺序
if
(
column
.
prop
===
'checkItemsName'
||
if
(
column
.
prop
===
'checkItemsName'
||
column
.
prop
===
'deviceName'
||
column
.
prop
===
'deviceName'
||
column
.
prop
===
'hospitalName'
||
column
.
prop
===
'hospitalName'
||
column
.
prop
===
'petNickname'
||
column
.
prop
===
'petNickname'
||
column
.
prop
===
'nickname'
)
{
column
.
prop
===
'nickname'
)
{
this
.
queryOrder
.
orderByColumn
=
column
.
prop
+
'Sort'
// 查询字段是表格中字段名字
this
.
queryOrder
.
orderByColumn
=
column
.
prop
+
'Sort '
+
this
.
queryOrder
.
isAsc
.
replaceAll
(
'ending'
,
''
)
+
','
+
'createTime'
}
else
{
}
else
{
this
.
queryOrder
.
orderByColumn
=
column
.
prop
// 查询字段是表格中字段名字
this
.
queryOrder
.
orderByColumn
=
column
.
prop
// 查询字段是表格中字段名字
}
}
this
.
queryOrder
.
isAsc
=
column
.
order
// 动态取值排序顺序
this
.
$refs
.
orderTable
.
clearSort
()
this
.
$refs
.
orderTable
.
clearSort
()
this
.
getOrderList
()
this
.
getOrderList
()
}
,
}
,
...
...
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