Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
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
marketing-web
marketing
Commits
29048dc2
Commit
29048dc2
authored
Jul 30, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 表格排序
parent
27a09e23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
touch-clue.vue
src/views/ecm/touch-clue.vue
+9
-2
No files found.
src/views/ecm/touch-clue.vue
View file @
29048dc2
...
...
@@ -189,7 +189,7 @@ export default {
color
=
'#FFCB48'
;
textColor
=
'white'
;
}
else
if
(
!
row
.
index
)
{
return
'--'
;
return
'-
-'
;
}
return
`<span style="background:
${
color
}
;color:
${
textColor
}
;width: 16px; display: inline-block; text-align: center; line-height:16px">
${
row
.
index
}
</span>`
;
}
...
...
@@ -306,7 +306,14 @@ export default {
this
.
tableList
=
[];
return
;
}
this
.
tableList
=
res
.
result
.
result
;
this
.
tableList
=
res
.
result
.
result
.
map
((
el
,
index
)
=>
{
if
(
el
.
groupName
==
'区域合计'
)
{
el
.
index
=
''
;
return
el
;
}
el
.
index
=
(
this
.
currentPage
-
1
)
*
this
.
pageSize
+
index
;
return
el
;
});
this
.
total
=
res
.
result
.
totalCount
;
this
.
loading
=
false
;
});
...
...
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