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
ad03d207
Commit
ad03d207
authored
May 26, 2022
by
wanglianghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线路价格
parent
ee04fca9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
1 deletion
+30
-1
region.js
src/api/ecw/region.js
+9
-0
warehouse.js
src/api/ecw/warehouse.js
+11
-0
index.vue
src/views/ecw/productPrice/index.vue
+10
-1
No files found.
src/api/ecw/region.js
View file @
ad03d207
...
@@ -80,3 +80,12 @@ export function exportRegionExcel(query) {
...
@@ -80,3 +80,12 @@ export function exportRegionExcel(query) {
params
:
query
params
:
query
})
})
}
}
//获取城市列表
export
function
getCityList
(
query
)
{
return
request
({
url
:
'
/ecw/region/getCityList
'
,
method
:
'
get
'
,
params
:
query
})
}
src/api/ecw/warehouse.js
View file @
ad03d207
...
@@ -53,6 +53,7 @@ export function exportWarehouseExcel(query) {
...
@@ -53,6 +53,7 @@ export function exportWarehouseExcel(query) {
})
})
}
}
/**所有线路列表 */
export
function
routerList
(
data
)
{
export
function
routerList
(
data
)
{
return
request
({
return
request
({
url
:
'
/ecw/warehouse/routerList
'
,
url
:
'
/ecw/warehouse/routerList
'
,
...
@@ -61,6 +62,7 @@ export function routerList(data) {
...
@@ -61,6 +62,7 @@ export function routerList(data) {
})
})
}
}
/**修改线路开通状态 */
export
function
changeRouteStatus
(
data
)
{
export
function
changeRouteStatus
(
data
)
{
return
request
({
return
request
({
url
:
'
/ecw/warehouse/changeRouteStatus
'
,
url
:
'
/ecw/warehouse/changeRouteStatus
'
,
...
@@ -69,4 +71,13 @@ export function changeRouteStatus(data) {
...
@@ -69,4 +71,13 @@ export function changeRouteStatus(data) {
})
})
}
}
/**查看已开通线路列表 */
export
function
openedRouterList
(
data
)
{
return
request
({
url
:
'
/ecw/warehouse/openedRouterList
'
,
method
:
'
post
'
,
data
:
data
})
}
src/views/ecw/productPrice/index.vue
View file @
ad03d207
...
@@ -127,7 +127,8 @@
...
@@ -127,7 +127,8 @@
<
script
>
<
script
>
import
{
createProductPrice
,
updateProductPrice
,
deleteProductPrice
,
getProductPrice
,
getProductPricePage
,
exportProductPriceExcel
}
from
"
@/api/ecw/productPrice
"
;
import
{
createProductPrice
,
updateProductPrice
,
deleteProductPrice
,
getProductPrice
,
getProductPricePage
,
exportProductPriceExcel
}
from
"
@/api/ecw/productPrice
"
;
import
{
openedRouterList
}
from
"
@/api/ecw/warehouse
"
;
import
{
getCityList
}
from
"
@/api/ecw/region
"
;
export
default
{
export
default
{
name
:
"
ProductPrice
"
,
name
:
"
ProductPrice
"
,
components
:
{
components
:
{
...
@@ -174,6 +175,14 @@ export default {
...
@@ -174,6 +175,14 @@ export default {
},
},
created
()
{
created
()
{
this
.
getList
();
this
.
getList
();
openedRouterList
({}).
then
(
response
=>
{
})
getCityList
({}).
then
(
response
=>
{
})
},
},
methods
:
{
methods
:
{
/** 查询列表 */
/** 查询列表 */
...
...
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