切换导航条
此项目
正在载入...
登录
朱兆平
/
vue_cli
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
shenhailong
5 years ago
提交
4c56d789c4dafd20e214a4a35d9fd480a4bcb4df
1 个父辈
530c107f
完善航班列表显示问题
显示空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
18 行增加
和
18 行删除
src/views/nmms/ExitFlight.vue
src/views/nmms/ExitFlightDesc.vue
src/views/nmms/ExitLoading.vue
src/views/nmms/ExitFlight.vue
查看文件 @
4c56d78
...
...
@@ -12,13 +12,13 @@
<el-table :data="flightData" stripe style="font-size: 14px" border>
<el-table-column label="航班号" width="180px" align="center">
<template slot-scope="scope">
<span>{{ scope.row.carrier }}{{ scope.row.flight
N
o }}</span>
<span>{{ scope.row.carrier }}{{ scope.row.flight
n
o }}</span>
</template>
</el-table-column>
<el-table-column label="航班日期" width="190px" align="center">
<template slot-scope="scope">
<i class="el-icon-time"></i>
<span>{{ scope.row.flight
D
ate }}</span>
<span>{{ scope.row.flight
d
ate }}</span>
</template>
</el-table-column>
<el-table-column label="始发站" width="160px" align="center">
...
...
@@ -75,8 +75,8 @@
},
getList() {
getFlightListForParam(this.listQuery).then(res => {
this.flightData = res.data.dataList
this.total = res.data.count
this.flightData = res.data.data.list
this.total = res.data.data.total
})
},
handleSearch() {
...
...
@@ -84,26 +84,26 @@
},
handleLoading(row) {
row.messageType = 'MT4201'
row.flightdate = row.flightDate
row.flightno = row.flightNo
row.flightdate = row.flightdate
row.flightno = row.flightno
this.$router.push({name: '出港航班信息', params: {scopeRow: row}})
},
handleTidy(row) {
row.messageType = 'MT5202'
row.flightdate = row.flightDate
row.flightno = row.flightNo
row.flightdate = row.flightdate
row.flightno = row.flightno
this.$router.push({name: '出港航班信息', params: {scopeRow: row}})
},
handleArrive(row) {
row.messageType = 'MT3201'
row.flightdate = row.flightDate
row.flightno = row.flightNo
row.flightdate = row.flightdate
row.flightno = row.flightno
this.$router.push({name: '出港航班信息', params: {scopeRow: row}})
},
handlePre(row) {
row.messageType = 'MT2201'
row.flightdate = row.flightDate
row.flightno = row.flightNo
row.flightdate = row.flightdate
row.flightno = row.flightno
this.$router.push({name: '出港航班信息', params: {scopeRow: row}})
}
},
...
...
src/views/nmms/ExitFlightDesc.vue
查看文件 @
4c56d78
...
...
@@ -117,7 +117,7 @@
this.flight.originstation = this.$route.params.scopeRow.originstation
this.flight.destinationstation = this.$route.params.scopeRow.destinationstation
this.flight.messageType = this.$route.params.scopeRow.messageType
if (this.$route.params.scopeRow.awba !== undefined) {
if (this.$route.params.scopeRow.awba !== undefined
&& this.$route.params.scopeRow.awba != null
) {
this.flight.awba = this.$route.params.scopeRow.awba.replace('-', '')
}
}
...
...
src/views/nmms/ExitLoading.vue
查看文件 @
4c56d78
...
...
@@ -556,9 +556,9 @@
this.listLoading = true
if (this.loadingQuery.awba !== undefined && this.loadingQuery.awba !== '') {
getMt4201ListForParam(this.loadingQuery).then(res => {
this.loadingData = res.data.dataList
this.total = res.data.count
if (res.data.count > 0) {
this.loadingData = res.data.data.list
this.total = res.data.data.total
if (res.data.data.total > 0) {
this.loadingQuery.carrier = this.loadingData[0].carrier
this.loadingQuery.flightno = this.loadingData[0].flightno
this.loadingQuery.flightdate = this.loadingData[0].flightdate
...
...
@@ -572,8 +572,8 @@
})
} else {
getMt4201ListForParam(this.loadingQuery).then(res => {
this.loadingData = res.data.dataList
this.total = res.data.count
this.loadingData = res.data.data.list
this.total = res.data.data.total
setTimeout(() => {
this.listLoading = false
}, 1.5 * 1000)
...
...
请
注册
或
登录
后发表评论