作者 xudada

运输工具通用查询

... ... @@ -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.get(`${baseUrlAirLineAircraft}/editAirLineAircraft`, params);};
export const editAirLineAircraft=params=>{return http.put(`${baseUrlAirLineAircraft}/editAirLineAircraft`, params);};
//查询列表
export const selectAirLineAircraft=params=>{return http.put(`${baseUrlAirLineAircraft}/selectAirLineAircraft`, params);};
export const selectAirLineAircraft=params=>{return http.get(`${baseUrlAirLineAircraft}/selectAirLineAircraft`, params);};
//进港预报申报prediction
//新增方法
export const addPrediction = params => { return http.post(`${baseUrlPrediction}/addPrediction`, params); };
//删除方法
export const editPrediction=params=>{return http.get(`${baseUrlPrediction}/editPrediction`, params);};
export const editPrediction=params=>{return http.put(`${baseUrlPrediction}/editPrediction`, params);};
//查询列表
export const selectPrediction=params=>{return http.put(`${baseUrlPrediction}/selectPrediction`, params);};
export const selectPrediction=params=>{return http.get(`${baseUrlPrediction}/selectPrediction`, params);};
//进港确报申报confirm
//新增方法
export const addConfirm = params => { return http.post(`${baseUrlConfirm}/addConfirm`, params); };
//删除方法
export const editConfirm=params=>{return http.get(`${baseUrlConfirm}/editConfirm`, params);};
export const editConfirm=params=>{return http.put(`${baseUrlConfirm}/editConfirm`, params);};
//查询列表
export const selectConfirm=params=>{return http.put(`${baseUrlConfirm}/selectConfirm`, params);};
export const selectConfirm=params=>{return http.get(`${baseUrlConfirm}/selectConfirm`, params);};
//进港航班配置
//新增方法
export const addSchedule = params => { return http.post(`${baseUrlSchedule}/addSchedule`, params); };
//删除方法
export const editSchedule=params=>{return http.get(`${baseUrlSchedule}/editSchedule`, params);};
export const editSchedule=params=>{return http.put(`${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
... ...
... ... @@ -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>
... ...
... ... @@ -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');
}
... ...