Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
d1273bee
Commit
d1273bee
authored
Sep 14, 2023
by
qipeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://git.tbd.yanzuoguang.com/panyongping/uni-pdtravel
into develop
parents
e174186e
57fd3cd6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
numberIndex.vue
pages/my/takeNumber/numberIndex/numberIndex.vue
+4
-4
No files found.
pages/my/takeNumber/numberIndex/numberIndex.vue
View file @
d1273bee
...
@@ -114,12 +114,12 @@ export default {
...
@@ -114,12 +114,12 @@ export default {
let
uses
=
res
.
data
[
0
].
uses
||
[]
let
uses
=
res
.
data
[
0
].
uses
||
[]
let
list
=
res
.
data
[
0
].
timeAreas
||
[]
let
list
=
res
.
data
[
0
].
timeAreas
||
[]
//获取所有站点列表
//获取所有站点列表
let
area
List
=
[]
let
total
List
=
[]
list
.
forEach
(
item
=>
{
list
.
forEach
(
item
=>
{
if
(
!
area
List
.
find
(
item2
=>
item2
.
projectIds
==
item
.
projectIds
)){
if
(
!
total
List
.
find
(
item2
=>
item2
.
projectIds
==
item
.
projectIds
)){
//去重,并且为排号区的才放入数组
//去重,并且为排号区的才放入数组
if
(
item
.
areaId
==
1
){
if
(
item
.
areaId
==
1
){
area
List
.
push
({
total
List
.
push
({
projectIds
:
item
.
projectIds
,
projectIds
:
item
.
projectIds
,
projectName
:
item
.
projectName
projectName
:
item
.
projectName
})
})
...
@@ -138,7 +138,7 @@ export default {
...
@@ -138,7 +138,7 @@ export default {
}
}
})
})
//获取未排号的站点列表
//获取未排号的站点列表
this
.
noNumberList
=
JSON
.
parse
(
JSON
.
stringify
(
area
List
))
this
.
noNumberList
=
JSON
.
parse
(
JSON
.
stringify
(
total
List
))
this
.
noNumberList
.
forEach
((
item
,
index
)
=>
{
this
.
noNumberList
.
forEach
((
item
,
index
)
=>
{
usedNewArr
.
forEach
(
item2
=>
{
usedNewArr
.
forEach
(
item2
=>
{
if
(
item
.
projectIds
==
item2
.
projectId
){
if
(
item
.
projectIds
==
item2
.
projectId
){
...
...
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