Merge branch 'main' of git.zdool.com:xs/ggfwjsc
This commit is contained in:
commit
56eea01e9e
125
src/view/sy.vue
125
src/view/sy.vue
|
@ -446,7 +446,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="jtsyBoxtop1">
|
<div class="jtsyBoxtop1" @click="showEc('电动单车')">
|
||||||
<img :src="data.jtsyList[1].img" alt="" />
|
<img :src="data.jtsyList[1].img" alt="" />
|
||||||
<img src="../assets/images/sy/jtsy.gif" class="turn" alt="" />
|
<img src="../assets/images/sy/jtsy.gif" class="turn" alt="" />
|
||||||
<div>
|
<div>
|
||||||
|
@ -478,7 +478,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="jtsyBoxtop1">
|
<div class="jtsyBoxtop1" @click="showTab('长途汽车')">
|
||||||
<img :src="data.jtsyList[3].img" alt="" />
|
<img :src="data.jtsyList[3].img" alt="" />
|
||||||
<img src="../assets/images/sy/jtsy.gif" class="turn" alt="" />
|
<img src="../assets/images/sy/jtsy.gif" class="turn" alt="" />
|
||||||
<div>
|
<div>
|
||||||
|
@ -493,7 +493,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="jtsyBoxtop1">
|
<div class="jtsyBoxtop1" @click="showTab('高铁')">
|
||||||
<img :src="data.jtsyList[4].img" alt="" />
|
<img :src="data.jtsyList[4].img" alt="" />
|
||||||
<img src="../assets/images/sy/jtsy.gif" class="turn" alt="" />
|
<img src="../assets/images/sy/jtsy.gif" class="turn" alt="" />
|
||||||
<div>
|
<div>
|
||||||
|
@ -755,7 +755,7 @@ const showDialog = (title, url) => {
|
||||||
tableType.title = title;
|
tableType.title = title;
|
||||||
tableType.url = url;
|
tableType.url = url;
|
||||||
tableType.columns = columnss[title];
|
tableType.columns = columnss[title];
|
||||||
pagination.currentPage = 1;
|
|
||||||
getTable(url, pagination.currentPage);
|
getTable(url, pagination.currentPage);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -764,7 +764,7 @@ const close = () => {
|
||||||
dialogShowEc.value = false;
|
dialogShowEc.value = false;
|
||||||
dialogShowTab.value = false;
|
dialogShowTab.value = false;
|
||||||
pagination.currentPage = 1;
|
pagination.currentPage = 1;
|
||||||
pagination.total=100;
|
pagination.total=100;
|
||||||
};
|
};
|
||||||
//医疗卫生
|
//医疗卫生
|
||||||
const showDialog2 = (title, url) => {
|
const showDialog2 = (title, url) => {
|
||||||
|
@ -1358,33 +1358,100 @@ onBeforeMount(async () => {
|
||||||
// 交通事业弹框
|
// 交通事业弹框
|
||||||
const showEc = (val) => {
|
const showEc = (val) => {
|
||||||
dataEc.title = val;
|
dataEc.title = val;
|
||||||
dataEc.list1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 122];
|
dataEc.list1 = [];
|
||||||
dataEc.list2 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 112];
|
dataEc.list2 = [];
|
||||||
dataEc.year = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
switch (val) {
|
||||||
dialogShowEc.value = true;
|
case "公共自行车":
|
||||||
|
dataEc.list1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 122];
|
||||||
|
dataEc.list2 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 112];
|
||||||
|
dataEc.year = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
||||||
|
dialogShowEc.value = true;
|
||||||
|
break;
|
||||||
|
case "电动单车":
|
||||||
|
dataEc.list1 = [11, 21, 31, 41, 5, 6, 7, 8, 9, 10, 11, 122];
|
||||||
|
dataEc.list2 = [11, 21, 31, 4, 51, 61, 7, 8, 9, 10, 11, 112];
|
||||||
|
dataEc.year = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
||||||
|
dialogShowEc.value = true;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
const showTab = (val) => {
|
const showTab = (val) => {
|
||||||
dataTab.title = val;
|
dataTab.title = val;
|
||||||
dataTab.list1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 122];
|
dataTab.list1 = [];
|
||||||
dataTab.year = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
dataTab.year = [];
|
||||||
dataTab.data = [
|
dataTab.data = [];
|
||||||
{
|
switch (val) {
|
||||||
bc: "G13214",
|
case "公共汽车":
|
||||||
sfzd: "A-B",
|
dataTab.list1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 122];
|
||||||
time: "2024-06-11",
|
dataTab.year = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
||||||
},
|
dataTab.data = [
|
||||||
{
|
{
|
||||||
bc: "G13214",
|
bc: "G13214",
|
||||||
sfzd: "A-B",
|
sfzd: "A-B",
|
||||||
time: "2024-06-11",
|
time: "2024-06-11",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
bc: "G13214",
|
bc: "G13214",
|
||||||
sfzd: "A-B",
|
sfzd: "A-B",
|
||||||
time: "2024-06-11",
|
time: "2024-06-11",
|
||||||
},
|
},
|
||||||
];
|
{
|
||||||
dialogShowTab.value = true;
|
bc: "G13214",
|
||||||
|
sfzd: "A-B",
|
||||||
|
time: "2024-06-11",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
dialogShowTab.value = true;
|
||||||
|
break;
|
||||||
|
case "长途汽车":
|
||||||
|
dataTab.list1 = [11, 21, 31, 4, 51, 6, 7, 81, 91, 10, 11, 122];
|
||||||
|
dataTab.year = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
||||||
|
dataTab.data = [
|
||||||
|
{
|
||||||
|
bc: "D6456",
|
||||||
|
sfzd: "A-B",
|
||||||
|
time: "2024-06-11",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
bc: "D6456",
|
||||||
|
sfzd: "A-B",
|
||||||
|
time: "2024-06-11",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
bc: "D6456",
|
||||||
|
sfzd: "A-B",
|
||||||
|
time: "2024-06-11",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
dialogShowTab.value = true;
|
||||||
|
break;
|
||||||
|
case "高铁":
|
||||||
|
dataTab.list1 = [1, 222, 333, 444, 5, 6, 7, 8, 9, 10, 11, 122];
|
||||||
|
dataTab.year = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
||||||
|
dataTab.data = [
|
||||||
|
{
|
||||||
|
bc: "G13214",
|
||||||
|
sfzd: "A-B",
|
||||||
|
time: "2024-06-12",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
bc: "G13214",
|
||||||
|
sfzd: "A-B",
|
||||||
|
time: "2024-06-13",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
bc: "G4564",
|
||||||
|
sfzd: "A-B",
|
||||||
|
time: "2024-06-14",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
dialogShowTab.value = true;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue