Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
diseaseControlManage
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
diseaseControlManage-Develop
diseaseControlManage
Commits
2e226db9
Commit
2e226db9
authored
Oct 27, 2020
by
lihu541
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
echarts按行政区划排序
parent
137c72a2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
16 deletions
+21
-16
src/components/userJoin/screenTwoPag1.vue
+0
-8
src/components/userJoin/screenTwoPag2.vue
+0
-8
src/components/userJoin/screenTwoPag3.vue
+8
-0
src/components/userJoin/screenTwoPag4.vue
+13
-0
No files found.
src/components/userJoin/screenTwoPag1.vue
View file @
2e226db9
...
...
@@ -2188,10 +2188,6 @@
temptableAllQ.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
}else if('YLJGDM' === this._group){
temptableAllQ.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
}
commonMethod(param).then(res => {
let temptableAll = res.data.content
...
...
@@ -2203,10 +2199,6 @@
temptableAll.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
}else if('YLJGDM' === this._group){
temptableAll.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
}
// if (_this.groupNo === 'time') {
// _this.data_x = ["
1
月
", "
2
月
", "
3
月
", "
4
月
", "
5
月
", "
6
月
", "
7
月
", "
8
月
", "
9
月
", "
10
月
", "
11
月
", "
12
月
"]
...
...
src/components/userJoin/screenTwoPag2.vue
View file @
2e226db9
...
...
@@ -1298,10 +1298,6 @@
bottomData_g
.
sort
((
prev
,
next
)
=>
{
return
parseInt
(
prev
.
XZQH
)
-
parseInt
(
next
.
XZQH
)
})
}
else
if
(
'YLJGDM'
===
this
.
_group
){
bottomData_g
.
sort
((
prev
,
next
)
=>
{
return
parseInt
(
prev
.
XZQH
)
-
parseInt
(
next
.
XZQH
)
})
}
// 签数据请求--- 右下角列表 + 图表 (数据共用)
...
...
@@ -1315,10 +1311,6 @@
bottomData_q
.
sort
((
prev
,
next
)
=>
{
return
parseInt
(
prev
.
XZQH
)
-
parseInt
(
next
.
XZQH
)
})
}
else
if
(
'YLJGDM'
===
this
.
_group
){
bottomData_q
.
sort
((
prev
,
next
)
=>
{
return
parseInt
(
prev
.
XZQH
)
-
parseInt
(
next
.
XZQH
)
})
}
bottomData_g
.
forEach
((
item
,
index
)
=>
{
let
obj
=
{}
...
...
src/components/userJoin/screenTwoPag3.vue
View file @
2e226db9
...
...
@@ -1061,6 +1061,10 @@
tempList
.
sort
(
function
(
prev
,
next
)
{
return
parseInt
(
prev
.
YWSJ
.
substring
(
5
,
7
))
-
parseInt
(
next
.
YWSJ
.
substring
(
5
,
7
))
})
}
else
if
(
'XZQH'
===
this
.
_group
){
tempList
.
sort
((
prev
,
next
)
=>
{
return
parseInt
(
prev
.
XZQH
)
-
parseInt
(
next
.
XZQH
)
})
}
tempList
.
forEach
(
item
=>
{
...
...
@@ -1106,6 +1110,10 @@
tempList
.
sort
(
function
(
prev
,
next
)
{
return
parseInt
(
prev
.
YWSJ
.
substring
(
5
,
7
))
-
parseInt
(
next
.
YWSJ
.
substring
(
5
,
7
))
})
}
else
if
(
'XZQH'
===
this
.
_group
){
tempList
.
sort
((
prev
,
next
)
=>
{
return
parseInt
(
prev
.
XZQH
)
-
parseInt
(
next
.
XZQH
)
})
}
//---重新赋值先请空,否则一直push会有问题
_this
.
data101
=
[]
...
...
src/components/userJoin/screenTwoPag4.vue
View file @
2e226db9
...
...
@@ -1101,6 +1101,15 @@
// 用于在下文 对管数据进行赋值 可搜索 tableg
this
.
tableg
=
res
.
data
.
content
if
(
this
.
_group
==
'YWSJ'
)
{
this
.
tableg
.
sort
(
function
(
prev
,
next
)
{
return
parseInt
(
prev
.
YWSJ
.
substring
(
5
,
7
))
-
parseInt
(
next
.
YWSJ
.
substring
(
5
,
7
))
})
}
else
if
(
'XZQH'
===
this
.
_group
){
this
.
tableg
.
sort
((
prev
,
next
)
=>
{
return
parseInt
(
prev
.
XZQH
)
-
parseInt
(
next
.
XZQH
)
})
}
commonMethod
(
param4
).
then
(
res
=>
{
// console.log('早发现---底部签')
this
.
tableq
=
res
.
data
.
content
...
...
@@ -1109,6 +1118,10 @@
this
.
tableq
.
sort
(
function
(
prev
,
next
)
{
return
parseInt
(
prev
.
YWSJ
.
substring
(
5
,
7
))
-
parseInt
(
next
.
YWSJ
.
substring
(
5
,
7
))
})
}
else
if
(
'XZQH'
===
this
.
_group
){
this
.
tableq
.
sort
((
prev
,
next
)
=>
{
return
parseInt
(
prev
.
XZQH
)
-
parseInt
(
next
.
XZQH
)
})
}
this
.
tableq
.
forEach
((
item
,
index
)
=>
{
...
...
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