...
|
...
|
@@ -91,14 +91,12 @@ |
|
|
fixed="right"
|
|
|
prop=""
|
|
|
label="报文操作"
|
|
|
width="150">
|
|
|
width="200">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="success"
|
|
|
@click="handleEdit(scope.$index, scope.row)">查看</el-button>
|
|
|
</template>
|
|
|
<template slot-scope="scope">
|
|
|
type="primary"
|
|
|
@click="selectDetail(scope.$index,scope.row)">查看回执</el-button>
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="danger"
|
...
|
...
|
@@ -120,6 +118,16 @@ |
|
|
</el-pagination>
|
|
|
</div>
|
|
|
</el-row>
|
|
|
<!--查看回执弹框-->
|
|
|
<el-dialog title="回执明细" :visible.sync="dialogTableVisible">
|
|
|
<el-table :data="gridData">
|
|
|
<el-table-column property="sendtime" label="操作时间" ></el-table-column>
|
|
|
<el-table-column property="createBy" label="操作人" ></el-table-column>
|
|
|
<el-table-column property="flightNo" label="航班号"></el-table-column>
|
|
|
<el-table-column property="flightDate" label="航班日期" ></el-table-column>
|
|
|
<el-table-column property="receiptContent" label="回执内容" ></el-table-column>
|
|
|
</el-table>
|
|
|
</el-dialog>
|
|
|
</el-main>
|
|
|
</el-container>
|
|
|
</template>
|
...
|
...
|
@@ -142,7 +150,7 @@ |
|
|
|
|
|
</style>
|
|
|
<script>
|
|
|
import {editAirLineAircraft, selectAirLineAircraft} from "../../api/transport";
|
|
|
import {editAirLineAircraft, selectAirLineAircraft, selectReturnMsg} from "../../api/transport";
|
|
|
|
|
|
export default {
|
|
|
data(){
|
...
|
...
|
@@ -156,10 +164,23 @@ |
|
|
pageSize:10,
|
|
|
total:0,
|
|
|
tableData:[],
|
|
|
tableloading:false
|
|
|
tableloading:false,
|
|
|
gridData:[],
|
|
|
dialogTableVisible: false,
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
//查询回执列表
|
|
|
selectDetail(index,row){
|
|
|
this.gridData=[];
|
|
|
this.dialogTableVisible=true;
|
|
|
let params={messageid:row.messageid};
|
|
|
selectReturnMsg(params).then(res=>{
|
|
|
let response=res.data.data;
|
|
|
console.log(response)
|
|
|
this.gridData=response;
|
|
|
});
|
|
|
},
|
|
|
//分页
|
|
|
handleSizeChange(val) {
|
|
|
this.pageSize=val;
|
...
|
...
|
|