|
@@ -74,6 +74,31 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
formItems: [
|
|
|
+ {
|
|
|
+ prop: "fttpId",
|
|
|
+ inputType: "select",
|
|
|
+ placeholder: "国内国际",
|
|
|
+ requiredWarning: "请先选择国内国际",
|
|
|
+ clearable: true,
|
|
|
+ options: [
|
|
|
+ {
|
|
|
+ value: DATACONTENT_ID.detailGnDeparture,
|
|
|
+ label: "国内出港",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: DATACONTENT_ID.detailGjDeparture,
|
|
|
+ label: "国际出港",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: DATACONTENT_ID.detailGnArrival,
|
|
|
+ label: "国内进港",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: DATACONTENT_ID.detailGjArrival,
|
|
|
+ label: "国际进港",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
{
|
|
|
prop: "fttp",
|
|
|
inputType: "select",
|
|
@@ -198,20 +223,39 @@ export default {
|
|
|
fd1: data.dateTime,
|
|
|
fd2: data.dateTime
|
|
|
}]
|
|
|
- this.getQuery(option, null);
|
|
|
+ this.getQuery(data.fttpId, option, null);
|
|
|
+ let typeName = null
|
|
|
+ switch (data.fttpId) {
|
|
|
+ case 52233:
|
|
|
+ typeName = '国内出港'
|
|
|
+ break;
|
|
|
+ case 52234:
|
|
|
+ typeName = '国内进港'
|
|
|
+ break;
|
|
|
+ case 52235:
|
|
|
+ typeName = '国际出港'
|
|
|
+ break;
|
|
|
+ case 52236:
|
|
|
+ typeName = '国际进港'
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ typeName = '国内出港'
|
|
|
+ break;
|
|
|
+ }
|
|
|
this.listname =
|
|
|
"节点明细统计" + '-' +
|
|
|
+ typeName + '-' +
|
|
|
data.fttp + '-' +
|
|
|
data.flighttype + '-' +
|
|
|
data.dateTime;
|
|
|
this.listHeader = ["序号", "时间", "航班(班)", "环比(%)"];
|
|
|
},
|
|
|
//获取表格数据
|
|
|
- async getQuery (data, dat) {
|
|
|
+ async getQuery (id, data, dat) {
|
|
|
this.loading = true
|
|
|
try {
|
|
|
const { code, returnData } = await Query({
|
|
|
- id: DATACONTENT_ID.detailNode,
|
|
|
+ id: id,
|
|
|
dataContent: data,
|
|
|
});
|
|
|
if (code == 0) {
|