Commit d1273bee authored by qipeng's avatar qipeng

Merge branch 'develop' of http://git.tbd.yanzuoguang.com/panyongping/uni-pdtravel into develop

parents e174186e 57fd3cd6
......@@ -114,12 +114,12 @@ export default {
let uses=res.data[0].uses||[]
let list=res.data[0].timeAreas||[]
//获取所有站点列表
let areaList=[]
let totalList=[]
list.forEach(item=>{
if(!areaList.find(item2=>item2.projectIds==item.projectIds)){
if(!totalList.find(item2=>item2.projectIds==item.projectIds)){
//去重,并且为排号区的才放入数组
if(item.areaId==1){
areaList.push({
totalList.push({
projectIds:item.projectIds,
projectName:item.projectName
})
......@@ -138,7 +138,7 @@ export default {
}
})
//获取未排号的站点列表
this.noNumberList=JSON.parse(JSON.stringify(areaList))
this.noNumberList=JSON.parse(JSON.stringify(totalList))
this.noNumberList.forEach((item,index)=>{
usedNewArr.forEach(item2=>{
if(item.projectIds==item2.projectId){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment