Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
holo-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinkong
holo-web
Commits
ce71b617
Commit
ce71b617
authored
Jan 25, 2024
by
ninglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
路口详情修正select下拉框默认取值问题
parent
4f12f697
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
18 deletions
+22
-18
crossDetail.vue
wj-manage-web/src/views/situation/crossDetail.vue
+22
-18
No files found.
wj-manage-web/src/views/situation/crossDetail.vue
View file @
ce71b617
...
...
@@ -72,7 +72,7 @@
header-cell-class-name=
"tab-table-header-cell"
:data=
"jkTableData"
height=
"100%"
style=
"width:100%"
style=
"width:
100%"
>
<el-table-column
min-width=
"50"
label=
"进口指标"
>
<template
slot-scope=
"scope"
>
...
...
@@ -163,7 +163,7 @@
<div
class=
"tab"
>
<div
class=
"tab-row top"
>
<el-table
height=
"100%"
height=
"100%"
class=
"crossDetail-table1"
cell-class-name=
"custom-table-cell"
header-row-class-name=
"tab-table-header"
...
...
@@ -277,8 +277,9 @@
:label=
"`${dirDic[item.dir]}进口`"
:name=
"item.dir"
>
<el-table
height=
"100%"
style=
"width:100%"
<el-table
height=
"100%"
style=
"width: 100%"
class=
"crossDetail-table1"
cell-class-name=
"custom-table-cell"
header-row-class-name=
"tab-table-header"
...
...
@@ -677,7 +678,7 @@ export default {
this
.
roadOptions
=
match
[
0
].
laneList
.
filter
((
item
)
=>
{
return
matchArr
.
includes
(
item
.
laneNo
);
});
this
.
activeName2
=
match
[
0
].
laneList
[
0
]
.
laneNo
;
this
.
activeName2
=
this
.
roadOptions
[
0
]?
.
laneNo
;
},
roadTrafficFlowChart
(
content
)
{
console
.
log
(
"
ccccccccc
"
,
content
,
this
.
activeName1
);
...
...
@@ -1581,20 +1582,23 @@ export default {
this.roadTables.push(res.content[i]);
if (i == 0) this.activeName1 = res.content[i].dir;
}
let match = this.roadTurnMap.filter((item) => {
return Number(item.dir) === Number(this.roadTables[0].dir);
});
let matchTable = this.roadTables.filter((item) => {
return Number(item.dir) === Number(this.roadTables[0].dir);
});
let matchArr = [];
for (let row of matchTable[0].list) {
matchArr.push(Number(row.laneNo));
if (this.roadTables.length) {
let match = this.roadTurnMap.filter((item) => {
return Number(item.dir) === Number(this.roadTables[0].dir);
});
let matchTable = this.roadTables.filter((item) => {
return Number(item.dir) === Number(this.roadTables[0].dir);
});
let matchArr = [];
for (let row of matchTable[0].list) {
matchArr.push(Number(row.laneNo));
}
this.roadOptions = match[0].laneList.filter((item) => {
return matchArr.includes(item.laneNo);
});
this.activeName2 = this.roadOptions[0]?.laneNo;
}
this.roadOptions = match[0].laneList.filter((item) => {
return matchArr.includes(item.laneNo);
});
this.activeName2 = match[0].laneList[0].laneNo;
Promise.all([
roadTimeBetw({ ...this.sendData, type: "2" }),
roadTimeBetw({ ...this.sendData, type: "1" }),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment