Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
罗超
SuperMan
Commits
8ddc5520
Commit
8ddc5520
authored
Jun 30, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d3fc23d2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
8 deletions
+52
-8
tripsManager.vue
src/components/dmc/manager/tripsManager.vue
+52
-8
No files found.
src/components/dmc/manager/tripsManager.vue
View file @
8ddc5520
...
@@ -410,6 +410,14 @@
...
@@ -410,6 +410,14 @@
<div
class=
"TC_Content TravelControlList"
>
<div
class=
"TC_Content TravelControlList"
>
<div
class=
"query-box"
>
<div
class=
"query-box"
>
<ul>
<ul>
<li>
<em>
线路
</em>
<el-select
v-model=
"queryMsg.LineId"
class=
"w378"
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList(queryMsg.LineId,true)"
filterable
>
<el-option
v-for=
"item in queryCommonData.LineList"
:label=
"item.LineName"
:value=
"item.LineID"
:key=
"item.LineID"
>
</el-option>
</el-select>
</li>
<li>
<li>
<span>
<span>
<em>
{{
$t
(
'active.ad_xlmc'
)
}}
</em>
<em>
{{
$t
(
'active.ad_xlmc'
)
}}
</em>
...
@@ -617,7 +625,7 @@
...
@@ -617,7 +625,7 @@
</
template
>
</
template
>
</tbody>
</tbody>
<tr
v-show=
"queryMsg.noData"
>
<tr
v-show=
"queryMsg.noData"
>
<td
colspan=
"6"
>
{{$t('system.content_noData')}}
</td>
<td
colspan=
"6"
style=
"text-align:center;height:40px;"
>
{{$t('system.content_noData')}}
</td>
</tr>
</tr>
</table>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"queryMsg.currentPage"
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"queryMsg.currentPage"
...
@@ -650,7 +658,7 @@
...
@@ -650,7 +658,7 @@
queryMsg
:
{
queryMsg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
5
,
pageSize
:
5
,
LineId
:
14
,
LineId
:
0
,
LineteamId
:
0
,
LineteamId
:
0
,
TCNUM
:
""
,
TCNUM
:
""
,
StartGroupDate
:
""
,
StartGroupDate
:
""
,
...
@@ -755,23 +763,58 @@
...
@@ -755,23 +763,58 @@
getLineList
()
{
getLineList
()
{
this
.
apipost
(
"line_post_GetList"
,
{},
res
=>
{
this
.
apipost
(
"line_post_GetList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineList
=
res
.
data
.
data
;
let
lineArr
=
res
.
data
.
data
;
this
.
queryCommonData
.
LineList
=
[];
lineArr
.
forEach
(
x
=>
{
if
(
x
.
LineID
==
14
||
x
.
LineID
==
90
){
this
.
queryCommonData
.
LineList
.
push
(
x
);
}
})
let
obj
=
{
LineName
:
'不限'
,
LineID
:
0
}
this
.
queryCommonData
.
LineList
.
unshift
(
obj
);
}
}
});
});
},
},
//获取系列列表
//获取系列列表
getLineTeamList
()
{
getLineTeamList
(
lineId
,
isDefault
)
{
//查询线路名
if
(
isDefault
)
{
this
.
queryMsg
.
LineteamId
=
0
;
this
.
queryMsg
.
LineteamId
=
0
;
}
let
msg
=
{
let
msg
=
{
lineID
:
this
.
queryMsg
.
L
ineId
,
lineID
:
l
ineId
,
isTOOP
:
1
isTOOP
:
1
};
};
var
that
=
this
;
//获取当前选中的对象
let
obj
=
{};
obj
=
that
.
queryCommonData
.
LineList
.
find
(
item
=>
{
return
item
.
LineID
===
lineId
;
});
this
.
apipost
(
"team_post_GetList"
,
msg
,
res
=>
{
this
.
apipost
(
"team_post_GetList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineTeamList
=
res
.
data
.
data
;
this
.
queryCommonData
.
LineTeamList
=
res
.
data
.
data
;
}
}
});
});
},
},
// //获取系列列表
// getLineTeamList() {
// this.queryMsg.LineteamId = 0;
// let msg = {
// lineID: this.queryMsg.LineId,
// isTOOP: 1
// };
// this.apipost("team_post_GetList", msg, res => {
// if (res.data.resultCode == 1) {
// this.queryCommonData.LineTeamList = res.data.data;
// }
// });
// },
//新获取列表数据
//新获取列表数据
getControlList
()
{
getControlList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
...
@@ -812,8 +855,9 @@
...
@@ -812,8 +855,9 @@
},
},
},
},
mounted
()
{
mounted
()
{
this
.
getLineList
();
this
.
getCompanyList
();
this
.
getCompanyList
();
this
.
getLineTeamList
();
this
.
getLineTeamList
(
0
,
true
);
},
},
created
()
{
created
()
{
var
myDate
=
new
Date
();
var
myDate
=
new
Date
();
...
...
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