Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
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
lanbaoming
jiedao-app-operator-master
Commits
0f521f96
Commit
0f521f96
authored
Jan 23, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
路线选择起渠道跟城市挂钩
parent
fd0ee3e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
index.vue
src/components/RoutersSelector/index.vue
+9
-2
No files found.
src/components/RoutersSelector/index.vue
View file @
0f521f96
...
...
@@ -204,7 +204,8 @@ export default {
this
.
getOpenedRouterList
()
},
importCity
(){
this
.
getOpenedRouterList
()
this
.
getChannelList
()
this
.
getOpenedRouterList
()
},
selectedRoutes
(
val
){
this
.
$emit
(
'
input
'
,
val
)
...
...
@@ -246,7 +247,7 @@ export default {
}
},
async
created
(){
this
.
channelList
=
(
await
getChannelList
()).
data
this
.
getChannelList
()
this
.
tradeCityList
=
(
await
getTradeCityList
()).
data
// 路线需要过滤失效的进出口城市,所以在程序加载后再加载路线
await
this
.
getOpenedRouterList
()
...
...
@@ -268,6 +269,12 @@ export default {
this
.
inited
=
true
},
methods
:{
async
getChannelList
(){
let
query
=
{
cityId
:
this
.
importCity
}
this
.
channelList
=
(
await
getChannelList
(
query
)).
data
},
getAttrList
(){
getProductAttrList
().
then
(
res
=>
{
this
.
attrList
=
res
.
data
...
...
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