Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-10-17 09:52:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b290a620f5f54fa7b92025381977d4bd86bc497d
b290a620
1 parent
db707fd6
modify
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
72 additions
and
63 deletions
src/api/system/dictionary.js
src/api/system/dictionary.js
View file @
b290a62
import
request
from
'@/utils/request'
import
request
from
"@/utils/request"
;
//数据字典名称
/**
* @param
*/
export
function
getDictNameList
()
{
return
request
({
url
:
'/dictionary/queryMain'
,
method
:
'get'
,
})
url
:
"/dictionary/queryMain"
,
method
:
"get"
,
});
}
//字典表查询
...
...
@@ -19,10 +19,10 @@ export function getDictNameList() {
*/
export
function
getDictionaryList
(
data
)
{
return
request
({
url
:
'/dictionary/query'
,
method
:
'post'
,
data
:
data
})
url
:
"/dictionary/query"
,
method
:
"post"
,
data
:
data
,
});
}
//serviceCode字典表查询
...
...
@@ -31,9 +31,9 @@ export function getDictionaryList(data) {
*/
export
function
getServiceCodeList
()
{
return
request
({
url
:
'/dictionary/queryServiceCode'
,
method
:
'get'
,
})
url
:
"/dictionary/queryServiceCode"
,
method
:
"get"
,
});
}
//新增字典(单条)
...
...
@@ -44,10 +44,10 @@ export function getServiceCodeList() {
*/
export
function
addDict
(
data
)
{
return
request
({
url
:
'/dictionary/addDict'
,
method
:
'POST'
,
data
:
data
})
url
:
"/dictionary/addDict"
,
method
:
"POST"
,
data
:
data
,
});
}
//新增字典(批量)
...
...
@@ -57,10 +57,10 @@ export function addDict(data) {
*/
export
function
addDictBatch
(
data
)
{
return
request
({
url
:
'/dictionary/addDictBatch'
,
method
:
'POST'
,
data
:
data
})
url
:
"/dictionary/addDictBatch"
,
method
:
"POST"
,
data
:
data
,
});
}
//serviceCode子字典添加
...
...
@@ -71,10 +71,10 @@ export function addDictBatch(data) {
*/
export
function
addServiceCodeBatch
(
data
)
{
return
request
({
url
:
'/dictionary/addServiceCodeBatch'
,
method
:
'POST'
,
data
:
data
})
url
:
"/dictionary/addServiceCodeBatch"
,
method
:
"POST"
,
data
:
data
,
});
}
//serviceCode子字典删除
...
...
@@ -84,10 +84,10 @@ export function addServiceCodeBatch(data) {
*/
export
function
delServiceCodeCihild
(
data
)
{
return
request
({
url
:
'/dictionary/delServiceCodeCihild'
,
method
:
'POST'
,
data
:
data
})
url
:
"/dictionary/delServiceCodeCihild"
,
method
:
"POST"
,
data
:
data
,
});
}
//字典删除
...
...
@@ -97,10 +97,10 @@ export function delServiceCodeCihild(data) {
*/
export
function
delDict
(
data
)
{
return
request
({
url
:
'/dictionary/delDict'
,
method
:
'POST'
,
data
:
data
})
url
:
"/dictionary/delDict"
,
method
:
"POST"
,
data
:
data
,
});
}
//虚拟航班查询
...
...
@@ -111,10 +111,10 @@ export function delDict(data) {
*/
export
function
flightType
(
data
)
{
return
request
({
url
:
'/dictionary/flightType'
,
method
:
'post'
,
data
:
data
})
url
:
"/dictionary/flightType"
,
method
:
"post"
,
data
:
data
,
});
}
//虚拟航班新增
...
...
@@ -123,10 +123,10 @@ export function flightType(data) {
*/
export
function
addFlight
(
data
)
{
return
request
({
url
:
'/dictionary/addFlight'
,
method
:
'post'
,
data
:
data
})
url
:
"/dictionary/addFlight"
,
method
:
"post"
,
data
:
data
,
});
}
//虚拟航班删除
...
...
@@ -135,10 +135,10 @@ export function addFlight(data) {
*/
export
function
delFlight
(
data
)
{
return
request
({
url
:
'/dictionary/delFlight'
,
method
:
'post'
,
data
:
data
})
url
:
"/dictionary/delFlight"
,
method
:
"post"
,
data
:
data
,
});
}
//查询航线
...
...
@@ -149,10 +149,10 @@ export function delFlight(data) {
*/
export
function
queryRoute
(
data
)
{
return
request
({
url
:
'/dictionary/queryRoute'
,
method
:
'post'
,
data
:
data
})
url
:
"/dictionary/queryRoute"
,
method
:
"post"
,
data
:
data
,
});
}
//新增航线
...
...
@@ -162,10 +162,10 @@ export function queryRoute(data) {
*/
export
function
addRoute
(
data
)
{
return
request
({
url
:
'/dictionary/addRoute'
,
method
:
'post'
,
data
:
data
})
url
:
"/dictionary/addRoute"
,
method
:
"post"
,
data
:
data
,
});
}
//删除航线
...
...
@@ -174,10 +174,10 @@ export function addRoute(data) {
*/
export
function
delRoute
(
data
)
{
return
request
({
url
:
'/dictionary/delRoute'
,
method
:
'post'
,
data
:
data
})
url
:
"/dictionary/delRoute"
,
method
:
"post"
,
data
:
data
,
});
}
//航线排序
...
...
@@ -186,10 +186,10 @@ export function delRoute(data) {
*/
export
function
orderRoute
(
data
)
{
return
request
({
url
:
'/dictionary/orderRoute'
,
method
:
'post'
,
data
:
data
})
url
:
"/dictionary/orderRoute"
,
method
:
"post"
,
data
:
data
,
});
}
//航线删除确认
...
...
@@ -199,8 +199,17 @@ export function orderRoute(data) {
*/
export
function
checkFlightRoute
(
data
)
{
return
request
({
url
:
'/FlightPreserveController/checkFlightRoute'
,
method
:
'post'
,
data
:
data
})
url
:
"/FlightPreserveController/checkFlightRoute"
,
method
:
"post"
,
data
:
data
,
});
}
//更新航线
export
function
updateRoute
(
data
)
{
return
request
({
url
:
`/dictionary/updateRoute`
,
method
:
"post"
,
data
:
data
,
});
}
...
...
Please
register
or
login
to post a comment