Merge branch 'main' of git.zdool.com:xs/ggfwjsc
This commit is contained in:
commit
56eea01e9e
|
@ -446,7 +446,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jtsyBoxtop1">
|
||||
<div class="jtsyBoxtop1" @click="showEc('电动单车')">
|
||||
<img :src="data.jtsyList[1].img" alt="" />
|
||||
<img src="../assets/images/sy/jtsy.gif" class="turn" alt="" />
|
||||
<div>
|
||||
|
@ -478,7 +478,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jtsyBoxtop1">
|
||||
<div class="jtsyBoxtop1" @click="showTab('长途汽车')">
|
||||
<img :src="data.jtsyList[3].img" alt="" />
|
||||
<img src="../assets/images/sy/jtsy.gif" class="turn" alt="" />
|
||||
<div>
|
||||
|
@ -493,7 +493,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jtsyBoxtop1">
|
||||
<div class="jtsyBoxtop1" @click="showTab('高铁')">
|
||||
<img :src="data.jtsyList[4].img" alt="" />
|
||||
<img src="../assets/images/sy/jtsy.gif" class="turn" alt="" />
|
||||
<div>
|
||||
|
@ -755,7 +755,7 @@ const showDialog = (title, url) => {
|
|||
tableType.title = title;
|
||||
tableType.url = url;
|
||||
tableType.columns = columnss[title];
|
||||
pagination.currentPage = 1;
|
||||
|
||||
getTable(url, pagination.currentPage);
|
||||
};
|
||||
|
||||
|
@ -1358,13 +1358,32 @@ onBeforeMount(async () => {
|
|||
// 交通事业弹框
|
||||
const showEc = (val) => {
|
||||
dataEc.title = val;
|
||||
dataEc.list1 = [];
|
||||
dataEc.list2 = [];
|
||||
switch (val) {
|
||||
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) => {
|
||||
dataTab.title = val;
|
||||
dataTab.list1 = [];
|
||||
dataTab.year = [];
|
||||
dataTab.data = [];
|
||||
switch (val) {
|
||||
case "公共汽车":
|
||||
dataTab.list1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 122];
|
||||
dataTab.year = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
||||
dataTab.data = [
|
||||
|
@ -1385,6 +1404,54 @@ const showTab = (val) => {
|
|||
},
|
||||
];
|
||||
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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue