Merge branch 'main' of git.zdool.com:xs/ggfwjsc

This commit is contained in:
姚宇浩 2024-06-11 13:29:02 +08:00
commit 56eea01e9e
1 changed files with 96 additions and 29 deletions

View File

@ -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);
};
@ -764,7 +764,7 @@ const close = () => {
dialogShowEc.value = false;
dialogShowTab.value = false;
pagination.currentPage = 1;
pagination.total=100;
pagination.total=100;
};
//
const showDialog2 = (title, url) => {
@ -1358,33 +1358,100 @@ onBeforeMount(async () => {
//
const showEc = (val) => {
dataEc.title = val;
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;
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 = [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 = [
{
bc: "G13214",
sfzd: "A-B",
time: "2024-06-11",
},
{
bc: "G13214",
sfzd: "A-B",
time: "2024-06-11",
},
{
bc: "G13214",
sfzd: "A-B",
time: "2024-06-11",
},
];
dialogShowTab.value = true;
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 = [
{
bc: "G13214",
sfzd: "A-B",
time: "2024-06-11",
},
{
bc: "G13214",
sfzd: "A-B",
time: "2024-06-11",
},
{
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>