切换导航条
此项目
正在载入...
登录
朱兆平
/
vue_cli
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
xudada
5 years ago
提交
de9911aaccc618a1c3979df987ca3ec88653dcbb
1 个父辈
e10a699f
运输工具通用查询
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
21 行增加
和
25 行删除
src/api/transport.js
src/views/airtransport/queryRoute.vue
src/views/airtransport/route.vue
src/api/transport.js
查看文件 @
de9911a
...
...
@@ -8,6 +8,7 @@ let baseUrlAirLineAircraft = 'air-server-transport/transport/airlineaircraft'
let
baseUrlPrediction
=
'air-server-transport/transport/prediction'
let
baseUrlConfirm
=
'air-server-transport/transport/confirm'
let
baseUrlSchedule
=
'air-server-transport/transport/schedule'
let
baseUrlLongtimeplan
=
'air-server-transport/transport/longtimeplan'
...
...
@@ -61,33 +62,35 @@ export const editAircraft=params=>{return http.put(`${baseUrlAircraft}/editAircr
//新增方法
export
const
addAirLineAircraft
=
params
=>
{
return
http
.
post
(
`
$
{
baseUrlAirLineAircraft
}
/addAirLineAircraft`, params
)
; }
;
//删除方法
export
const
editAirLineAircraft
=
params
=>
{
return
http
.
ge
t
(
`
$
{
baseUrlAirLineAircraft
}
/editAirLineAircraft`, params
)
;}
;
export
const
editAirLineAircraft
=
params
=>
{
return
http
.
pu
t
(
`
$
{
baseUrlAirLineAircraft
}
/editAirLineAircraft`, params
)
;}
;
//查询列表
export
const
selectAirLineAircraft
=
params
=>
{
return
http
.
pu
t
(
`
$
{
baseUrlAirLineAircraft
}
/selectAirLineAircraft`, params
)
;}
;
export
const
selectAirLineAircraft
=
params
=>
{
return
http
.
ge
t
(
`
$
{
baseUrlAirLineAircraft
}
/selectAirLineAircraft`, params
)
;}
;
//进港预报申报prediction
//新增方法
export
const
addPrediction
=
params
=>
{
return
http
.
post
(
`
$
{
baseUrlPrediction
}
/addPrediction`, params
)
; }
;
//删除方法
export
const
editPrediction
=
params
=>
{
return
http
.
ge
t
(
`
$
{
baseUrlPrediction
}
/editPrediction`, params
)
;}
;
export
const
editPrediction
=
params
=>
{
return
http
.
pu
t
(
`
$
{
baseUrlPrediction
}
/editPrediction`, params
)
;}
;
//查询列表
export
const
selectPrediction
=
params
=>
{
return
http
.
pu
t
(
`
$
{
baseUrlPrediction
}
/selectPrediction`, params
)
;}
;
export
const
selectPrediction
=
params
=>
{
return
http
.
ge
t
(
`
$
{
baseUrlPrediction
}
/selectPrediction`, params
)
;}
;
//进港确报申报confirm
//新增方法
export
const
addConfirm
=
params
=>
{
return
http
.
post
(
`
$
{
baseUrlConfirm
}
/addConfirm`, params
)
; }
;
//删除方法
export
const
editConfirm
=
params
=>
{
return
http
.
ge
t
(
`
$
{
baseUrlConfirm
}
/editConfirm`, params
)
;}
;
export
const
editConfirm
=
params
=>
{
return
http
.
pu
t
(
`
$
{
baseUrlConfirm
}
/editConfirm`, params
)
;}
;
//查询列表
export
const
selectConfirm
=
params
=>
{
return
http
.
pu
t
(
`
$
{
baseUrlConfirm
}
/selectConfirm`, params
)
;}
;
export
const
selectConfirm
=
params
=>
{
return
http
.
ge
t
(
`
$
{
baseUrlConfirm
}
/selectConfirm`, params
)
;}
;
//进港航班配置
//新增方法
export
const
addSchedule
=
params
=>
{
return
http
.
post
(
`
$
{
baseUrlSchedule
}
/addSchedule`, params
)
; }
;
//删除方法
export
const
editSchedule
=
params
=>
{
return
http
.
ge
t
(
`
$
{
baseUrlSchedule
}
/editSchedule`, params
)
;}
;
export
const
editSchedule
=
params
=>
{
return
http
.
pu
t
(
`
$
{
baseUrlSchedule
}
/editSchedule`, params
)
;}
;
//查询列表
export
const
selectSchedule
=
params
=>
{
return
http
.
put
(
`
$
{
baseUrlSchedule
}
/selectSchedule`, params
)
;};
\ No newline at end of file
export
const
selectSchedule
=
params
=>
{
return
http
.
get
(
`
$
{
baseUrlSchedule
}
/selectSchedule`, params
)
;}
;
//查询长期计划查询列表
export
const
selectLongTimePlan
=
params
=>
{
return
http
.
get
(
`
$
{
baseUrlLongtimeplan
}
/selectLongTimePlan`, params
)
;};
\ No newline at end of file
...
...
src/views/airtransport/queryRoute.vue
查看文件 @
de9911a
...
...
@@ -20,7 +20,6 @@
</el-row>
<el-row>
<el-col :span="24">
<template>
<el-table
:data="tableData"
border
...
...
@@ -38,61 +37,60 @@
</template>
</el-table-column>
<el-table-column
fixed
prop="serialNo"
label="航线序号"
width="80">
</el-table-column>
<el-table-column
fixed
prop="departurePort"
label="出发港"
width="80">
</el-table-column>
<el-table-column
fixed
prop="departureCustomNo"
label="出发港关区代码"
width="150">
</el-table-column>
<el-table-column
fixed
prop="arrivalPort"
label="目的港"
width="80">
</el-table-column>
<el-table-column
fixed
prop="arrivalCustomNo"
label="目的港关区代码"
width="150">
</el-table-column>
<el-table-column
fixed
prop="std"
label="长期离港时间"
width="150">
</el-table-column>
<el-table-column
fixed
prop="sta"
label="长期抵港时间"
width="150">
</el-table-column>
<el-table-column
fixed
prop="effStartdate"
label="有效期起始时间"
width="150">
</el-table-column>
<el-table-column
fixed
prop="effEnddate"
label="有效期结束时间"
width="150">
</el-table-column>
<el-table-column
fixed
prop="plan"
label="每周执行情况"
width="150">
...
...
@@ -113,7 +111,6 @@
</template>
</el-table-column>
</el-table>
</template>
</el-col>
</el-row>
<el-row>
...
...
src/views/airtransport/route.vue
查看文件 @
de9911a
...
...
@@ -131,25 +131,21 @@
</template>
</el-table-column>
<el-table-column
fixed
prop="std"
label="长期离港时间"
width="150">
</el-table-column>
<el-table-column
fixed
prop="sta"
label="长期抵港时间"
width="150">
</el-table-column>
<el-table-column
fixed
prop="effStartdate"
label="有效起始日期"
width="180">
</el-table-column>
<el-table-column
fixed
prop="effEnddate"
label="有效结束日期"
width="180">
...
...
@@ -321,7 +317,7 @@
//加载默认值
defaultData(){
if(this.$route.query.uuid!=null){
Object.assign(this.airline, this.$route.query);
let ob=
Object.assign(this.airline, this.$route.query);
if(ob.sta!=null && ob.sta!=undefined && ob.sta!=""){
this.airline.sta=fecha.parse(ob.sta,'HHmmss');
}
...
...
请
注册
或
登录
后发表评论