|
@@ -69,6 +69,7 @@ Page({
|
|
|
],
|
|
|
popData: [{ "popName": "", "data": [] }],
|
|
|
showIndex: false,
|
|
|
+ showSearch: true,
|
|
|
showTraffic: true,
|
|
|
height: 0,
|
|
|
searchVal: '',
|
|
@@ -139,6 +140,9 @@ Page({
|
|
|
// 查阅场所
|
|
|
var cycsbms = [];
|
|
|
for (let i in res.data.xxs) {
|
|
|
+ if (res.data.xxs[i].tel) {
|
|
|
+ res.data.xxs[i].tel = res.data.xxs[i].tel.split(';');
|
|
|
+ }
|
|
|
xxs.push(res.data.xxs[i]);
|
|
|
getAllJson.push(res.data.xxs[i]);
|
|
|
if (xxs[i].type == '小学') {
|
|
@@ -158,6 +162,9 @@ Page({
|
|
|
tsjy: tsjy
|
|
|
});
|
|
|
for (let i in res.data.dxs) {
|
|
|
+ if (res.data.dxs[i].tel) {
|
|
|
+ res.data.dxs[i].tel = res.data.dxs[i].tel.split(';');
|
|
|
+ }
|
|
|
dx.push(res.data.dxs[i]);
|
|
|
getAllJson.push(res.data.dxs[i]);
|
|
|
}
|
|
@@ -165,6 +172,9 @@ Page({
|
|
|
dx: dx
|
|
|
});
|
|
|
for (let i in res.data.zyyxs) {
|
|
|
+ if (res.data.zyyxs[i].tel) {
|
|
|
+ res.data.zyyxs[i].tel = res.data.zyyxs[i].tel.split(';');
|
|
|
+ }
|
|
|
zyyx.push(res.data.zyyxs[i])
|
|
|
getAllJson.push(res.data.zyyxs[i]);
|
|
|
}
|
|
@@ -172,6 +182,9 @@ Page({
|
|
|
zyyx: zyyx
|
|
|
});
|
|
|
for (let i in res.data.yeys) {
|
|
|
+ if (res.data.yeys[i].tel) {
|
|
|
+ res.data.yeys[i].tel = res.data.yeys[i].tel.split(';');
|
|
|
+ }
|
|
|
yey.push(res.data.yeys[i])
|
|
|
getAllJson.push(res.data.yeys[i]);
|
|
|
}
|
|
@@ -179,6 +192,9 @@ Page({
|
|
|
yey: yey
|
|
|
});
|
|
|
for (let i in res.data.bmfwzxs) {
|
|
|
+ if (res.data.bmfwzxs[i].tel) {
|
|
|
+ res.data.bmfwzxs[i].tel = res.data.bmfwzxs[i].tel.split(';');
|
|
|
+ }
|
|
|
bmfwzx.push(res.data.bmfwzxs[i]);
|
|
|
getAllJson.push(res.data.bmfwzxs[i]);
|
|
|
}
|
|
@@ -186,6 +202,9 @@ Page({
|
|
|
bmfwzx: bmfwzx
|
|
|
});
|
|
|
for (let i in res.data.ggfwzxs) {
|
|
|
+ if (res.data.ggfwzxs[i].tel) {
|
|
|
+ res.data.ggfwzxs[i].tel = res.data.ggfwzxs[i].tel.split(';');
|
|
|
+ }
|
|
|
ggfwzx.push(res.data.ggfwzxs[i]);
|
|
|
getAllJson.push(res.data.ggfwzxs[i]);
|
|
|
}
|
|
@@ -193,6 +212,9 @@ Page({
|
|
|
ggfwzx: ggfwzx
|
|
|
});
|
|
|
for (let i in res.data.dqfwzxs) {
|
|
|
+ if (res.data.dqfwzxs[i].tel) {
|
|
|
+ res.data.dqfwzxs[i].tel = res.data.dqfwzxs[i].tel.split(';');
|
|
|
+ }
|
|
|
dqfwzx.push(res.data.dqfwzxs[i]);
|
|
|
getAllJson.push(res.data.dqfwzxs[i]);
|
|
|
}
|
|
@@ -200,6 +222,9 @@ Page({
|
|
|
dqfwzx: dqfwzx
|
|
|
});
|
|
|
for (let i in res.data.bms) {
|
|
|
+ if (res.data.bms[i].tel) {
|
|
|
+ res.data.bms[i].tel = res.data.bms[i].tel.split(';');
|
|
|
+ }
|
|
|
qjjz.push(res.data.bms[i]);
|
|
|
getAllJson.push(res.data.bms[i]);
|
|
|
}
|
|
@@ -207,6 +232,9 @@ Page({
|
|
|
qjjz: qjjz
|
|
|
});
|
|
|
for (let i in res.data.jzs) {
|
|
|
+ if (res.data.jzs[i].tel) {
|
|
|
+ res.data.jzs[i].tel = res.data.jzs[i].tel.split(';');
|
|
|
+ }
|
|
|
qjjz.push(res.data.jzs[i])
|
|
|
getAllJson.push(res.data.jzs[i]);
|
|
|
}
|
|
@@ -214,6 +242,9 @@ Page({
|
|
|
qjjz: qjjz
|
|
|
});
|
|
|
for (let i in res.data.cycsbms) {
|
|
|
+ if (res.data.cycsbms[i].tel) {
|
|
|
+ res.data.cycsbms[i].tel = res.data.cycsbms[i].tel.split(';');
|
|
|
+ }
|
|
|
cycsbms.push(res.data.cycsbms[i]);
|
|
|
getAllJson.push(res.data.cycsbms[i]);
|
|
|
}
|
|
@@ -221,6 +252,9 @@ Page({
|
|
|
cycsbms: cycsbms
|
|
|
});
|
|
|
for (let i in res.data.slcsjzs) {
|
|
|
+ if (res.data.slcsjzs[i].tel) {
|
|
|
+ res.data.slcsjzs[i].tel = res.data.slcsjzs[i].tel.split(';');
|
|
|
+ }
|
|
|
cycsbms.push(res.data.slcsjzs[i]);
|
|
|
getAllJson.push(res.data.slcsjzs[i]);
|
|
|
}
|
|
@@ -228,6 +262,9 @@ Page({
|
|
|
cycsbms: cycsbms
|
|
|
});
|
|
|
for (let i in res.data.cyys) {
|
|
|
+ if (res.data.cyys[i].tel) {
|
|
|
+ res.data.cyys[i].tel = res.data.cyys[i].tel.split(';');
|
|
|
+ }
|
|
|
cyy.push(res.data.cyys[i]);
|
|
|
getAllJson.push(res.data.cyys[i]);
|
|
|
}
|
|
@@ -235,6 +272,9 @@ Page({
|
|
|
cyy: cyy
|
|
|
});
|
|
|
for (let i in res.data.byfwjgs) {
|
|
|
+ if (res.data.byfwjgs[i].tel) {
|
|
|
+ res.data.byfwjgs[i].tel = res.data.byfwjgs[i].tel.split(';');
|
|
|
+ }
|
|
|
byfwjg.push(res.data.byfwjgs[i]);
|
|
|
getAllJson.push(res.data.byfwjgs[i]);
|
|
|
}
|
|
@@ -242,6 +282,9 @@ Page({
|
|
|
byfwjg: byfwjg
|
|
|
});
|
|
|
for (let i in res.data.cwsss) {
|
|
|
+ if (res.data.cwsss[i].tel) {
|
|
|
+ res.data.cwsss[i].tel = res.data.cwsss[i].tel.split(';');
|
|
|
+ }
|
|
|
cwss.push(res.data.cwsss[i]);
|
|
|
getAllJson.push(res.data.cwsss[i]);
|
|
|
}
|
|
@@ -249,6 +292,9 @@ Page({
|
|
|
cwss: cwss
|
|
|
});
|
|
|
for (let i in res.data.sqwsfwzs) {
|
|
|
+ if (res.data.sqwsfwzs[i].tel) {
|
|
|
+ res.data.sqwsfwzs[i].tel = res.data.sqwsfwzs[i].tel.split(';');
|
|
|
+ }
|
|
|
sqwsfwz.push(res.data.sqwsfwzs[i]);
|
|
|
getAllJson.push(res.data.sqwsfwzs[i]);
|
|
|
}
|
|
@@ -256,6 +302,9 @@ Page({
|
|
|
sqwsfwz: sqwsfwz
|
|
|
});
|
|
|
for (let i in res.data.ekzlfwjgs) {
|
|
|
+ if (res.data.ekzlfwjgs[i].tel) {
|
|
|
+ res.data.ekzlfwjgs[i].tel = res.data.ekzlfwjgs[i].tel.split(';');
|
|
|
+ }
|
|
|
ekzlfwjg.push(res.data.ekzlfwjgs[i]);
|
|
|
getAllJson.push(res.data.ekzlfwjgs[i]);
|
|
|
}
|
|
@@ -263,6 +312,9 @@ Page({
|
|
|
ekzlfwjg: ekzlfwjg
|
|
|
});
|
|
|
for (let i in res.data.kqbpsfczmzs) {
|
|
|
+ if (res.data.kqbpsfczmzs[i].tel) {
|
|
|
+ res.data.kqbpsfczmzs[i].tel = res.data.kqbpsfczmzs[i].tel.split(';');
|
|
|
+ }
|
|
|
kqbpsfczmz.push(res.data.kqbpsfczmzs[i]);
|
|
|
getAllJson.push(res.data.kqbpsfczmzs[i]);
|
|
|
}
|
|
@@ -270,6 +322,9 @@ Page({
|
|
|
kqbpsfczmz: kqbpsfczmz
|
|
|
});
|
|
|
for (let i in res.data.myghyfjzmzs) {
|
|
|
+ if (res.data.myghyfjzmzs[i].tel) {
|
|
|
+ res.data.myghyfjzmzs[i].tel = res.data.myghyfjzmzs[i].tel.split(';');
|
|
|
+ }
|
|
|
myghyfjzmz.push(res.data.myghyfjzmzs[i]);
|
|
|
getAllJson.push(res.data.myghyfjzmzs[i]);
|
|
|
}
|
|
@@ -277,6 +332,9 @@ Page({
|
|
|
myghyfjzmz: myghyfjzmz
|
|
|
});
|
|
|
for (let i in res.data.ejyljgs) {
|
|
|
+ if (res.data.ejyljgs[i].tel) {
|
|
|
+ res.data.ejyljgs[i].tel = res.data.ejyljgs[i].tel.split(';');
|
|
|
+ }
|
|
|
ejyljg.push(res.data.ejyljgs[i]);
|
|
|
getAllJson.push(res.data.ejyljgs[i]);
|
|
|
}
|
|
@@ -284,6 +342,9 @@ Page({
|
|
|
ejyljg: ejyljg
|
|
|
});
|
|
|
for (let i in res.data.sjyljgs) {
|
|
|
+ if (res.data.sjyljgs[i].tel) {
|
|
|
+ res.data.sjyljgs[i].tel = res.data.sjyljgs[i].tel.split(';');
|
|
|
+ }
|
|
|
sjyljg.push(res.data.sjyljgs[i]);
|
|
|
getAllJson.push(res.data.sjyljgs[i]);
|
|
|
}
|
|
@@ -291,6 +352,9 @@ Page({
|
|
|
sjyljg: sjyljg
|
|
|
});
|
|
|
for (let i in res.data.sqwsfwjgs) {
|
|
|
+ if (res.data.sqwsfwjgs[i].tel) {
|
|
|
+ res.data.sqwsfwjgs[i].tel = res.data.sqwsfwjgs[i].tel.split(';');
|
|
|
+ }
|
|
|
sqwsfwjg.push(res.data.sqwsfwjgs[i]);
|
|
|
getAllJson.push(res.data.sqwsfwjgs[i]);
|
|
|
}
|
|
@@ -298,6 +362,9 @@ Page({
|
|
|
sqwsfwjg: sqwsfwjg
|
|
|
});
|
|
|
for (let i in res.data.zybzdjgs) {
|
|
|
+ if (res.data.zybzdjgs[i].tel) {
|
|
|
+ res.data.zybzdjgs[i].tel = res.data.zybzdjgs[i].tel.split(';');
|
|
|
+ }
|
|
|
zybzdjg.push(res.data.zybzdjgs[i]);
|
|
|
getAllJson.push(res.data.zybzdjgs[i]);
|
|
|
}
|
|
@@ -305,6 +372,9 @@ Page({
|
|
|
zybzdjg: zybzdjg
|
|
|
});
|
|
|
for (let i in res.data.gys) {
|
|
|
+ if (res.data.gys[i].tel) {
|
|
|
+ res.data.gys[i].tel = res.data.gys[i].tel.split(';');
|
|
|
+ }
|
|
|
gy.push(res.data.gys[i]);
|
|
|
getAllJson.push(res.data.gys[i]);
|
|
|
}
|
|
@@ -312,6 +382,9 @@ Page({
|
|
|
gy: gy
|
|
|
});
|
|
|
for (let i in res.data.tcs) {
|
|
|
+ if (res.data.tcs[i].tel) {
|
|
|
+ res.data.tcs[i].tel = res.data.tcs[i].tel.split(';');
|
|
|
+ }
|
|
|
tc.push(res.data.tcs[i]);
|
|
|
getAllJson.push(res.data.tcs[i]);
|
|
|
}
|
|
@@ -319,6 +392,9 @@ Page({
|
|
|
tc: tc
|
|
|
});
|
|
|
for (let i in res.data.gcs) {
|
|
|
+ if (res.data.gcs[i].tel) {
|
|
|
+ res.data.gcs[i].tel = res.data.gcs[i].tel.split(';');
|
|
|
+ }
|
|
|
gc.push(res.data.gcs[i])
|
|
|
getAllJson.push(res.data.gcs[i]);
|
|
|
}
|
|
@@ -326,6 +402,9 @@ Page({
|
|
|
gc: gc
|
|
|
});
|
|
|
for (let i in res.data.hydjcs) {
|
|
|
+ if (res.data.hydjcs[i].tel) {
|
|
|
+ res.data.hydjcs[i].tel = res.data.hydjcs[i].tel.split(';');
|
|
|
+ }
|
|
|
hydjjg.push(res.data.hydjcs[i])
|
|
|
getAllJson.push(res.data.hydjcs[i]);
|
|
|
}
|
|
@@ -333,6 +412,9 @@ Page({
|
|
|
hydjjg: hydjjg
|
|
|
});
|
|
|
for (let i in res.data.zcyljg) {
|
|
|
+ if (res.data.zcyljg[i].tel) {
|
|
|
+ res.data.zcyljg[i].tel = res.data.zcyljg[i].tel.split(';');
|
|
|
+ }
|
|
|
zcyljg.push(res.data.zcyljg[i])
|
|
|
getAllJson.push(res.data.zcyljg[i]);
|
|
|
}
|
|
@@ -340,6 +422,9 @@ Page({
|
|
|
zcyljg: zcyljg
|
|
|
});
|
|
|
for (let i in res.data.ckmzfwjgs) {
|
|
|
+ if (res.data.ckmzfwjgs[i].tel) {
|
|
|
+ res.data.ckmzfwjgs[i].tel = res.data.ckmzfwjgs[i].tel.split(';');
|
|
|
+ }
|
|
|
ckmzfwjg.push(res.data.ckmzfwjgs[i])
|
|
|
getAllJson.push(res.data.ckmzfwjgs[i]);
|
|
|
}
|
|
@@ -347,6 +432,9 @@ Page({
|
|
|
ckmzfwjg: ckmzfwjg
|
|
|
});
|
|
|
for (let i in res.data.pcss) {
|
|
|
+ if (res.data.pcss[i].tel) {
|
|
|
+ res.data.pcss[i].tel = res.data.pcss[i].tel.split(';');
|
|
|
+ }
|
|
|
pcs.push(res.data.pcss[i])
|
|
|
getAllJson.push(res.data.pcss[i]);
|
|
|
}
|
|
@@ -354,6 +442,9 @@ Page({
|
|
|
pcs: pcs
|
|
|
});
|
|
|
for (let i in res.data.crjywbljgs) {
|
|
|
+ if (res.data.crjywbljgs[i].tel) {
|
|
|
+ res.data.crjywbljgs[i].tel = res.data.crjywbljgs[i].tel.split(';');
|
|
|
+ }
|
|
|
crjywbljg.push(res.data.crjywbljgs[i])
|
|
|
getAllJson.push(res.data.crjywbljgs[i]);
|
|
|
}
|
|
@@ -361,6 +452,9 @@ Page({
|
|
|
crjywbljg: crjywbljg
|
|
|
});
|
|
|
for (let i in res.data.jtxljcdds) {
|
|
|
+ if (res.data.jtxljcdds[i].tel) {
|
|
|
+ res.data.jtxljcdds[i].tel = res.data.jtxljcdds[i].tel.split(';');
|
|
|
+ }
|
|
|
jtxljcdd.push(res.data.jtxljcdds[i])
|
|
|
getAllJson.push(res.data.jtxljcdds[i]);
|
|
|
}
|
|
@@ -368,6 +462,9 @@ Page({
|
|
|
jtxljcdd: jtxljcdd
|
|
|
});
|
|
|
for (let i in res.data.jtwfcljgs) {
|
|
|
+ if (res.data.jtwfcljgs[i].tel) {
|
|
|
+ res.data.jtwfcljgs[i].tel = res.data.jtwfcljgs[i].tel.split(';');
|
|
|
+ }
|
|
|
jtwfcljg.push(res.data.jtwfcljgs[i])
|
|
|
getAllJson.push(res.data.jtwfcljgs[i]);
|
|
|
}
|
|
@@ -375,6 +472,9 @@ Page({
|
|
|
jtwfcljg: jtwfcljg
|
|
|
});
|
|
|
for (let i in res.data.jtsgcljgs) {
|
|
|
+ if (res.data.jtsgcljgs[i].tel) {
|
|
|
+ res.data.jtsgcljgs[i].tel = res.data.jtsgcljgs[i].tel.split(';');
|
|
|
+ }
|
|
|
jtsgcljg.push(res.data.jtsgcljgs[i])
|
|
|
getAllJson.push(res.data.jtsgcljgs[i]);
|
|
|
}
|
|
@@ -382,6 +482,9 @@ Page({
|
|
|
jtsgcljg: jtsgcljg
|
|
|
});
|
|
|
for (let i in res.data.cgss) {
|
|
|
+ if (res.data.cgss[i].tel) {
|
|
|
+ res.data.cgss[i].tel = res.data.cgss[i].tel.split(';');
|
|
|
+ }
|
|
|
cgs.push(res.data.cgss[i])
|
|
|
getAllJson.push(res.data.cgss[i]);
|
|
|
}
|
|
@@ -389,6 +492,9 @@ Page({
|
|
|
cgs: cgs
|
|
|
});
|
|
|
for (let i in res.data.jdcjccss) {
|
|
|
+ if (res.data.jdcjccss[i].tel) {
|
|
|
+ res.data.jdcjccss[i].tel = res.data.jdcjccss[i].tel.split(';');
|
|
|
+ }
|
|
|
jdcjccs.push(res.data.jdcjccss[i])
|
|
|
getAllJson.push(res.data.jdcjccss[i]);
|
|
|
}
|
|
@@ -396,6 +502,9 @@ Page({
|
|
|
jdcjccs: jdcjccs
|
|
|
});
|
|
|
for (let i in res.data.jsrtjzs) {
|
|
|
+ if (res.data.jsrtjzs[i].tel) {
|
|
|
+ res.data.jsrtjzs[i].tel = res.data.jsrtjzs[i].tel.split(';');
|
|
|
+ }
|
|
|
jsrtjz.push(res.data.jsrtjzs[i])
|
|
|
getAllJson.push(res.data.jsrtjzs[i]);
|
|
|
}
|
|
@@ -403,6 +512,9 @@ Page({
|
|
|
jsrtjz: jsrtjz
|
|
|
});
|
|
|
for (let i in res.data.ylfwjgs) {
|
|
|
+ if (res.data.ylfwjgs[i].tel) {
|
|
|
+ res.data.ylfwjgs[i].tel = res.data.ylfwjgs[i].tel.split(';');
|
|
|
+ }
|
|
|
ylfwjg.push(res.data.ylfwjgs[i])
|
|
|
getAllJson.push(res.data.ylfwjgs[i]);
|
|
|
}
|
|
@@ -410,6 +522,9 @@ Page({
|
|
|
ylfwjg: ylfwjg
|
|
|
});
|
|
|
for (let i in res.data.tsgs) {
|
|
|
+ if (res.data.tsgs[i].tel) {
|
|
|
+ res.data.tsgs[i].tel = res.data.tsgs[i].tel.split(';');
|
|
|
+ }
|
|
|
tsg.push(res.data.tsgs[i])
|
|
|
getAllJson.push(res.data.tsgs[i]);
|
|
|
}
|
|
@@ -417,6 +532,9 @@ Page({
|
|
|
tsg: tsg
|
|
|
});
|
|
|
for (let i in res.data.whgs) {
|
|
|
+ if (res.data.whgs[i].tel) {
|
|
|
+ res.data.whgs[i].tel = res.data.whgs[i].tel.split(';');
|
|
|
+ }
|
|
|
whg.push(res.data.whgs[i])
|
|
|
getAllJson.push(res.data.whgs[i]);
|
|
|
}
|
|
@@ -424,6 +542,9 @@ Page({
|
|
|
whg: whg
|
|
|
});
|
|
|
for (let i in res.data.wgss) {
|
|
|
+ if (res.data.wgss[i].tel) {
|
|
|
+ res.data.wgss[i].tel = res.data.wgss[i].tel.split(';');
|
|
|
+ }
|
|
|
wgs.push(res.data.wgss[i])
|
|
|
getAllJson.push(res.data.wgss[i]);
|
|
|
}
|
|
@@ -431,6 +552,9 @@ Page({
|
|
|
wgs: wgs
|
|
|
});
|
|
|
for (let i in res.data.ggtys) {
|
|
|
+ if (res.data.ggtys[i].tel) {
|
|
|
+ res.data.ggtys[i].tel = res.data.ggtys[i].tel.split(';');
|
|
|
+ }
|
|
|
ggty.push(res.data.ggtys[i])
|
|
|
getAllJson.push(res.data.ggtys[i]);
|
|
|
}
|
|
@@ -438,6 +562,9 @@ Page({
|
|
|
ggty: ggty
|
|
|
});
|
|
|
for (let i in res.data.jqs) {
|
|
|
+ if (res.data.jqs[i].tel) {
|
|
|
+ res.data.jqs[i].tel = res.data.jqs[i].tel.split(';');
|
|
|
+ }
|
|
|
jq.push(res.data.jqs[i])
|
|
|
getAllJson.push(res.data.jqs[i]);
|
|
|
}
|
|
@@ -445,6 +572,9 @@ Page({
|
|
|
jq: jq
|
|
|
});
|
|
|
for (let i in res.data.bdcdjzxbsdts) {
|
|
|
+ if (res.data.bdcdjzxbsdts[i].tel) {
|
|
|
+ res.data.bdcdjzxbsdts[i].tel = res.data.bdcdjzxbsdts[i].tel.split(';');
|
|
|
+ }
|
|
|
bdcdjzxbsdt.push(res.data.bdcdjzxbsdts[i])
|
|
|
getAllJson.push(res.data.bdcdjzxbsdts[i]);
|
|
|
}
|
|
@@ -452,6 +582,9 @@ Page({
|
|
|
bdcdjzxbsdt: bdcdjzxbsdt
|
|
|
});
|
|
|
for (let i in res.data.cjrfwzxs) {
|
|
|
+ if (res.data.cjrfwzxs[i].tel) {
|
|
|
+ res.data.cjrfwzxs[i].tel = res.data.cjrfwzxs[i].tel.split(';');
|
|
|
+ }
|
|
|
cjrfwzx.push(res.data.cjrfwzxs[i])
|
|
|
getAllJson.push(res.data.cjrfwzxs[i]);
|
|
|
}
|
|
@@ -459,6 +592,9 @@ Page({
|
|
|
cjrfwzx: cjrfwzx
|
|
|
});
|
|
|
for (let i in res.data.qtcjrfwzxs) {
|
|
|
+ if (res.data.qtcjrfwzxs[i].tel) {
|
|
|
+ res.data.qtcjrfwzxs[i].tel = res.data.qtcjrfwzxs[i].tel.split(';');
|
|
|
+ }
|
|
|
ddcjrfwjg.push(res.data.qtcjrfwzxs[i])
|
|
|
getAllJson.push(res.data.qtcjrfwzxs[i]);
|
|
|
}
|
|
@@ -466,6 +602,9 @@ Page({
|
|
|
ddcjrfwjg: ddcjrfwjg
|
|
|
});
|
|
|
for (let i in res.data.fwglzxs) {
|
|
|
+ if (res.data.fwglzxs[i].tel) {
|
|
|
+ res.data.fwglzxs[i].tel = res.data.fwglzxs[i].tel.split(';');
|
|
|
+ }
|
|
|
fwglzx.push(res.data.fwglzxs[i])
|
|
|
getAllJson.push(res.data.fwglzxs[i]);
|
|
|
}
|
|
@@ -473,6 +612,9 @@ Page({
|
|
|
fwglzx: fwglzx
|
|
|
});
|
|
|
for (let i in res.data.gzcs) {
|
|
|
+ if (res.data.gzcs[i].tel) {
|
|
|
+ res.data.gzcs[i].tel = res.data.gzcs[i].tel.split(';');
|
|
|
+ }
|
|
|
gzc.push(res.data.gzcs[i])
|
|
|
getAllJson.push(res.data.gzcs[i]);
|
|
|
}
|
|
@@ -480,6 +622,9 @@ Page({
|
|
|
gzc: gzc
|
|
|
});
|
|
|
for (let i in res.data.sfjdjgs) {
|
|
|
+ if (res.data.sfjdjgs[i].tel) {
|
|
|
+ res.data.sfjdjgs[i].tel = res.data.sfjdjgs[i].tel.split(';');
|
|
|
+ }
|
|
|
sfjdjg.push(res.data.sfjdjgs[i])
|
|
|
getAllJson.push(res.data.sfjdjgs[i]);
|
|
|
}
|
|
@@ -487,6 +632,9 @@ Page({
|
|
|
sfjdjg: sfjdjg
|
|
|
});
|
|
|
for (let i in res.data.jcfwfwss) {
|
|
|
+ if (res.data.jcfwfwss[i].tel) {
|
|
|
+ res.data.jcfwfwss[i].tel = res.data.jcfwfwss[i].tel.split(';');
|
|
|
+ }
|
|
|
jcfwfws.push(res.data.jcfwfwss[i])
|
|
|
getAllJson.push(res.data.jcfwfwss[i]);
|
|
|
}
|
|
@@ -494,6 +642,9 @@ Page({
|
|
|
jcfwfws: jcfwfws
|
|
|
});
|
|
|
for (let i in res.data.flyzzxs) {
|
|
|
+ if (res.data.flyzzxs[i].tel) {
|
|
|
+ res.data.flyzzxs[i].tel = res.data.flyzzxs[i].tel.split(';');
|
|
|
+ }
|
|
|
flyzzx.push(res.data.flyzzxs[i])
|
|
|
getAllJson.push(res.data.flyzzxs[i]);
|
|
|
}
|
|
@@ -501,6 +652,9 @@ Page({
|
|
|
flyzzx: flyzzx
|
|
|
});
|
|
|
for (let i in res.data.bsfwts) {
|
|
|
+ if (res.data.bsfwts[i].tel) {
|
|
|
+ res.data.bsfwts[i].tel = res.data.bsfwts[i].tel.split(';');
|
|
|
+ }
|
|
|
bsfwt.push(res.data.bsfwts[i])
|
|
|
getAllJson.push(res.data.bsfwts[i]);
|
|
|
}
|
|
@@ -508,6 +662,9 @@ Page({
|
|
|
bsfwt: bsfwt
|
|
|
});
|
|
|
for (let i in res.data.scjdgljs) {
|
|
|
+ if (res.data.scjdgljs[i].tel) {
|
|
|
+ res.data.scjdgljs[i].tel = res.data.scjdgljs[i].tel.split(';');
|
|
|
+ }
|
|
|
scjdglj.push(res.data.scjdgljs[i])
|
|
|
getAllJson.push(res.data.scjdgljs[i]);
|
|
|
}
|
|
@@ -515,6 +672,9 @@ Page({
|
|
|
scjdglj: scjdglj
|
|
|
});
|
|
|
for (let i in res.data.ybs) {
|
|
|
+ if (res.data.ybs[i].tel) {
|
|
|
+ res.data.ybs[i].tel = res.data.ybs[i].tel.split(';');
|
|
|
+ }
|
|
|
yb.push(res.data.ybs[i])
|
|
|
getAllJson.push(res.data.ybs[i]);
|
|
|
}
|
|
@@ -522,6 +682,9 @@ Page({
|
|
|
yb: yb
|
|
|
});
|
|
|
for (let i in res.data.dkblds) {
|
|
|
+ if (res.data.dkblds[i].tel) {
|
|
|
+ res.data.dkblds[i].tel = res.data.dkblds[i].tel.split(';');
|
|
|
+ }
|
|
|
dkbld.push(res.data.dkblds[i])
|
|
|
getAllJson.push(res.data.dkblds[i]);
|
|
|
}
|
|
@@ -529,6 +692,9 @@ Page({
|
|
|
dkbld: dkbld
|
|
|
});
|
|
|
for (let i in res.data.cjgshfwzs) {
|
|
|
+ if (res.data.cjgshfwzs[i].tel) {
|
|
|
+ res.data.cjgshfwzs[i].tel = res.data.cjgshfwzs[i].tel.split(';');
|
|
|
+ }
|
|
|
cjgshfwz.push(res.data.cjgshfwzs[i])
|
|
|
getAllJson.push(res.data.cjgshfwzs[i]);
|
|
|
}
|
|
@@ -536,6 +702,9 @@ Page({
|
|
|
cjgshfwz: cjgshfwz
|
|
|
});
|
|
|
for (let i in res.data.jykszxs) {
|
|
|
+ if (res.data.jykszxs[i].tel) {
|
|
|
+ res.data.jykszxs[i].tel = res.data.jykszxs[i].tel.split(';');
|
|
|
+ }
|
|
|
jykszx.push(res.data.jykszxs[i])
|
|
|
getAllJson.push(res.data.jykszxs[i]);
|
|
|
}
|
|
@@ -543,6 +712,9 @@ Page({
|
|
|
jykszx: jykszx
|
|
|
});
|
|
|
for (let i in res.data.xzfwzxs) {
|
|
|
+ if (res.data.xzfwzxs[i].tel) {
|
|
|
+ res.data.xzfwzxs[i].tel = res.data.xzfwzxs[i].tel.split(';');
|
|
|
+ }
|
|
|
xzfwzx.push(res.data.xzfwzxs[i])
|
|
|
getAllJson.push(res.data.xzfwzxs[i]);
|
|
|
}
|
|
@@ -550,6 +722,9 @@ Page({
|
|
|
xzfwzx: xzfwzx
|
|
|
});
|
|
|
for (let i in res.data.jzzxs) {
|
|
|
+ if (res.data.jzzxs[i].tel) {
|
|
|
+ res.data.jzzxs[i].tel = res.data.jzzxs[i].tel.split(';');
|
|
|
+ }
|
|
|
jzzx.push(res.data.jzzxs[i])
|
|
|
getAllJson.push(res.data.jzzxs[i]);
|
|
|
}
|
|
@@ -557,6 +732,9 @@ Page({
|
|
|
jzzx: jzzx
|
|
|
});
|
|
|
for (let i in res.data.jyhrczxs) {
|
|
|
+ if (res.data.jyhrczxs[i].tel) {
|
|
|
+ res.data.jyhrczxs[i].tel = res.data.jyhrczxs[i].tel.split(';');
|
|
|
+ }
|
|
|
jyhrczx.push(res.data.jyhrczxs[i])
|
|
|
getAllJson.push(res.data.jyhrczxs[i]);
|
|
|
}
|
|
@@ -564,6 +742,9 @@ Page({
|
|
|
jyhrczx: jyhrczx
|
|
|
});
|
|
|
for (let i in res.data.shbxswzxs) {
|
|
|
+ if (res.data.shbxswzxs[i].tel) {
|
|
|
+ res.data.shbxswzxs[i].tel = res.data.shbxswzxs[i].tel.split(';');
|
|
|
+ }
|
|
|
shbxswzx.push(res.data.shbxswzxs[i])
|
|
|
getAllJson.push(res.data.shbxswzxs[i]);
|
|
|
}
|
|
@@ -571,6 +752,9 @@ Page({
|
|
|
shbxswzx: shbxswzx
|
|
|
});
|
|
|
for (let i in res.data.sqs) {
|
|
|
+ if (res.data.sqs[i].tel) {
|
|
|
+ res.data.sqs[i].tel = res.data.sqs[i].tel.split(';');
|
|
|
+ }
|
|
|
sq.push(res.data.sqs[i])
|
|
|
getAllJson.push(res.data.sqs[i]);
|
|
|
}
|
|
@@ -578,6 +762,9 @@ Page({
|
|
|
sq: sq
|
|
|
});
|
|
|
for (let i in res.data.gjjs) {
|
|
|
+ if (res.data.gjjs[i].tel) {
|
|
|
+ res.data.gjjs[i].tel = res.data.gjjs[i].tel.split(';');
|
|
|
+ }
|
|
|
gjj.push(res.data.gjjs[i])
|
|
|
getAllJson.push(res.data.gjjs[i]);
|
|
|
}
|
|
@@ -585,6 +772,9 @@ Page({
|
|
|
gjj: gjj
|
|
|
});
|
|
|
for (let i in res.data.hscyds) {
|
|
|
+ if (res.data.hscyds[i].tel) {
|
|
|
+ res.data.hscyds[i].tel = res.data.hscyds[i].tel.split(';');
|
|
|
+ }
|
|
|
hscyd.push(res.data.hscyds[i])
|
|
|
getAllJson.push(res.data.hscyds[i]);
|
|
|
}
|
|
@@ -592,6 +782,9 @@ Page({
|
|
|
hscyd: hscyd
|
|
|
});
|
|
|
for (let i in res.data.gwzxs) {
|
|
|
+ if (res.data.gwzxs[i].tel) {
|
|
|
+ res.data.gwzxs[i].tel = res.data.gwzxs[i].tel.split(';');
|
|
|
+ }
|
|
|
gwzx.push(res.data.gwzxs[i])
|
|
|
getAllJson.push(res.data.gwzxs[i]);
|
|
|
}
|
|
@@ -599,6 +792,9 @@ Page({
|
|
|
gwzx: gwzx
|
|
|
});
|
|
|
for (let i in res.data.jds) {
|
|
|
+ if (res.data.jds[i].tel) {
|
|
|
+ res.data.jds[i].tel = res.data.jds[i].tel.split(';');
|
|
|
+ }
|
|
|
jd.push(res.data.jds[i])
|
|
|
getAllJson.push(res.data.jds[i]);
|
|
|
}
|
|
@@ -1039,25 +1235,41 @@ Page({
|
|
|
},
|
|
|
// list跳转info
|
|
|
changeItem(e) {
|
|
|
+ let that = this;
|
|
|
console.info(e)
|
|
|
let value = e.currentTarget.dataset.value;
|
|
|
if (value === "none") {
|
|
|
- this.setData({
|
|
|
- isList: false
|
|
|
- })
|
|
|
+ that.setData({
|
|
|
+ isList: false,
|
|
|
+ showSearch: false,
|
|
|
+ showSet: false,
|
|
|
+ });
|
|
|
} else {
|
|
|
- this.setData({
|
|
|
+ // 控制公交自驾选中状态
|
|
|
+ let type = e.currentTarget.dataset.type;
|
|
|
+ that.setData({
|
|
|
+ trafficType: type,
|
|
|
+ showSet: false
|
|
|
+ });
|
|
|
+ that.setData({
|
|
|
isList: false,
|
|
|
+ showSearch: false,
|
|
|
showSet: true
|
|
|
- })
|
|
|
+ });
|
|
|
}
|
|
|
- let type = e.currentTarget.dataset.type;
|
|
|
- this.setData({
|
|
|
- trafficType: type,
|
|
|
- showSet: false
|
|
|
- });
|
|
|
- this.setData({
|
|
|
- showSet: true
|
|
|
+ // 详情赋值
|
|
|
+ let index = e.currentTarget.dataset.index;
|
|
|
+ let item = that.data.popData[index];
|
|
|
+ console.info(item);
|
|
|
+ that.setData({
|
|
|
+ detail_dep: item.dep,
|
|
|
+ detail_content: item.content,
|
|
|
+ detail_img: item.img,
|
|
|
+ detail_address: item.address,
|
|
|
+ detail_time: item.time,
|
|
|
+ detail_tel: item.tel,
|
|
|
+ detail_index: index,
|
|
|
+ trafficEnd: item.address
|
|
|
});
|
|
|
},
|
|
|
getSearchVal(e) {
|
|
@@ -1100,7 +1312,7 @@ Page({
|
|
|
continue;
|
|
|
}
|
|
|
}
|
|
|
- // console.info(searchResult);
|
|
|
+ console.info(searchResult);
|
|
|
// 搜索结果
|
|
|
that.setData({
|
|
|
showTraffic: false,
|
|
@@ -1150,12 +1362,14 @@ Page({
|
|
|
if (!this.data.isList) {
|
|
|
this.setData({
|
|
|
isList: true,
|
|
|
+ showSearch: true,
|
|
|
showSet: false
|
|
|
});
|
|
|
} else {
|
|
|
if (!this.data.showTraffic) {
|
|
|
this.setData({
|
|
|
showTraffic: true,
|
|
|
+ showSearch: true,
|
|
|
searchVal: ''
|
|
|
});
|
|
|
}
|