正在显示
5 个修改的文件
包含
103 行增加
和
30 行删除
| @@ -88,14 +88,12 @@ | @@ -88,14 +88,12 @@ | ||
| 88 | fixed="right" | 88 | fixed="right" |
| 89 | prop="" | 89 | prop="" |
| 90 | label="报文操作" | 90 | label="报文操作" |
| 91 | - width="150"> | 91 | + width="200"> |
| 92 | <template slot-scope="scope"> | 92 | <template slot-scope="scope"> |
| 93 | <el-button | 93 | <el-button |
| 94 | size="mini" | 94 | size="mini" |
| 95 | - type="success" | ||
| 96 | - @click="handleEdit(scope.$index, scope.row)">查看</el-button> | ||
| 97 | - </template> | ||
| 98 | - <template slot-scope="scope"> | 95 | + type="primary" |
| 96 | + @click="selectDetail(scope.$index,scope.row)">查看回执</el-button> | ||
| 99 | <el-button | 97 | <el-button |
| 100 | size="mini" | 98 | size="mini" |
| 101 | type="danger" | 99 | type="danger" |
| @@ -117,6 +115,16 @@ | @@ -117,6 +115,16 @@ | ||
| 117 | </el-pagination> | 115 | </el-pagination> |
| 118 | </div> | 116 | </div> |
| 119 | </el-row> | 117 | </el-row> |
| 118 | + <!--查看回执弹框--> | ||
| 119 | + <el-dialog title="回执明细" :visible.sync="dialogTableVisible"> | ||
| 120 | + <el-table :data="gridData"> | ||
| 121 | + <el-table-column property="sendtime" label="操作时间" ></el-table-column> | ||
| 122 | + <el-table-column property="createBy" label="操作人" ></el-table-column> | ||
| 123 | + <el-table-column property="flightNo" label="航班号"></el-table-column> | ||
| 124 | + <el-table-column property="flightDate" label="航班日期" ></el-table-column> | ||
| 125 | + <el-table-column property="receiptContent" label="回执内容" ></el-table-column> | ||
| 126 | + </el-table> | ||
| 127 | + </el-dialog> | ||
| 120 | </el-main> | 128 | </el-main> |
| 121 | </el-container> | 129 | </el-container> |
| 122 | </template> | 130 | </template> |
| @@ -139,7 +147,7 @@ | @@ -139,7 +147,7 @@ | ||
| 139 | 147 | ||
| 140 | </style> | 148 | </style> |
| 141 | <script> | 149 | <script> |
| 142 | - import {selectAircraft, editAircraft} from "../../api/transport"; | 150 | + import {selectAircraft, editAircraft, selectReturnMsg} from "../../api/transport"; |
| 143 | 151 | ||
| 144 | export default { | 152 | export default { |
| 145 | data(){ | 153 | data(){ |
| @@ -154,11 +162,23 @@ | @@ -154,11 +162,23 @@ | ||
| 154 | pageSize:10, | 162 | pageSize:10, |
| 155 | total:0, | 163 | total:0, |
| 156 | tableData:[], | 164 | tableData:[], |
| 157 | - tableloading:false | ||
| 158 | - | 165 | + tableloading:false, |
| 166 | + gridData:[], | ||
| 167 | + dialogTableVisible: false, | ||
| 159 | } | 168 | } |
| 160 | }, | 169 | }, |
| 161 | methods: { | 170 | methods: { |
| 171 | + //查询回执列表 | ||
| 172 | + selectDetail(index,row){ | ||
| 173 | + this.gridData=[]; | ||
| 174 | + this.dialogTableVisible=true; | ||
| 175 | + let params={messageid:row.messageid}; | ||
| 176 | + selectReturnMsg(params).then(res=>{ | ||
| 177 | + let response=res.data.data; | ||
| 178 | + console.log(response) | ||
| 179 | + this.gridData=response; | ||
| 180 | + }); | ||
| 181 | + }, | ||
| 162 | //分页 | 182 | //分页 |
| 163 | handleSizeChange(val) { | 183 | handleSizeChange(val) { |
| 164 | this.pageSize=val; | 184 | this.pageSize=val; |
| @@ -100,12 +100,12 @@ | @@ -100,12 +100,12 @@ | ||
| 100 | fixed="right" | 100 | fixed="right" |
| 101 | prop="" | 101 | prop="" |
| 102 | label="报文操作" | 102 | label="报文操作" |
| 103 | - width="150"> | 103 | + width="200"> |
| 104 | <template slot-scope="scope"> | 104 | <template slot-scope="scope"> |
| 105 | <el-button | 105 | <el-button |
| 106 | size="mini" | 106 | size="mini" |
| 107 | - type="success" | ||
| 108 | - @click="selectDetail(scope.$index,scope.row)">查看</el-button> | 107 | + type="primary" |
| 108 | + @click="selectDetail(scope.$index,scope.row)">查看回执</el-button> | ||
| 109 | <el-button | 109 | <el-button |
| 110 | size="mini" | 110 | size="mini" |
| 111 | type="danger" | 111 | type="danger" |
| @@ -127,7 +127,7 @@ | @@ -127,7 +127,7 @@ | ||
| 127 | </el-pagination> | 127 | </el-pagination> |
| 128 | </div> | 128 | </div> |
| 129 | </el-row> | 129 | </el-row> |
| 130 | - <!--//查看回执弹框--> | 130 | + <!--查看回执弹框--> |
| 131 | <el-dialog title="回执明细" :visible.sync="dialogTableVisible"> | 131 | <el-dialog title="回执明细" :visible.sync="dialogTableVisible"> |
| 132 | <el-table :data="gridData"> | 132 | <el-table :data="gridData"> |
| 133 | <el-table-column property="sendtime" label="操作时间" ></el-table-column> | 133 | <el-table-column property="sendtime" label="操作时间" ></el-table-column> |
| @@ -183,6 +183,7 @@ | @@ -183,6 +183,7 @@ | ||
| 183 | methods: { | 183 | methods: { |
| 184 | //查询回执列表 | 184 | //查询回执列表 |
| 185 | selectDetail(index,row){ | 185 | selectDetail(index,row){ |
| 186 | + this.gridData=[]; | ||
| 186 | this.dialogTableVisible=true; | 187 | this.dialogTableVisible=true; |
| 187 | let params={messageid:row.messageid}; | 188 | let params={messageid:row.messageid}; |
| 188 | selectReturnMsg(params).then(res=>{ | 189 | selectReturnMsg(params).then(res=>{ |
| @@ -83,14 +83,12 @@ | @@ -83,14 +83,12 @@ | ||
| 83 | fixed="right" | 83 | fixed="right" |
| 84 | prop="" | 84 | prop="" |
| 85 | label="报文操作" | 85 | label="报文操作" |
| 86 | - width="150"> | 86 | + width="200"> |
| 87 | <template slot-scope="scope"> | 87 | <template slot-scope="scope"> |
| 88 | <el-button | 88 | <el-button |
| 89 | size="mini" | 89 | size="mini" |
| 90 | - type="success" | ||
| 91 | - @click="handleEdit(scope.$index, scope.row)">查看</el-button> | ||
| 92 | - </template> | ||
| 93 | - <template slot-scope="scope"> | 90 | + type="primary" |
| 91 | + @click="selectDetail(scope.$index,scope.row)">查看回执</el-button> | ||
| 94 | <el-button | 92 | <el-button |
| 95 | size="mini" | 93 | size="mini" |
| 96 | type="danger" | 94 | type="danger" |
| @@ -112,6 +110,16 @@ | @@ -112,6 +110,16 @@ | ||
| 112 | </el-pagination> | 110 | </el-pagination> |
| 113 | </div> | 111 | </div> |
| 114 | </el-row> | 112 | </el-row> |
| 113 | + <!--查看回执弹框--> | ||
| 114 | + <el-dialog title="回执明细" :visible.sync="dialogTableVisible"> | ||
| 115 | + <el-table :data="gridData"> | ||
| 116 | + <el-table-column property="sendtime" label="操作时间" ></el-table-column> | ||
| 117 | + <el-table-column property="createBy" label="操作人" ></el-table-column> | ||
| 118 | + <el-table-column property="flightNo" label="航班号"></el-table-column> | ||
| 119 | + <el-table-column property="flightDate" label="航班日期" ></el-table-column> | ||
| 120 | + <el-table-column property="receiptContent" label="回执内容" ></el-table-column> | ||
| 121 | + </el-table> | ||
| 122 | + </el-dialog> | ||
| 115 | </el-main> | 123 | </el-main> |
| 116 | </el-container> | 124 | </el-container> |
| 117 | </template> | 125 | </template> |
| @@ -134,7 +142,7 @@ | @@ -134,7 +142,7 @@ | ||
| 134 | 142 | ||
| 135 | </style> | 143 | </style> |
| 136 | <script> | 144 | <script> |
| 137 | - import {editFlight, selectFlight} from "../../api/transport"; | 145 | + import {editFlight, selectFlight, selectReturnMsg} from "../../api/transport"; |
| 138 | 146 | ||
| 139 | export default { | 147 | export default { |
| 140 | data(){ | 148 | data(){ |
| @@ -151,11 +159,23 @@ | @@ -151,11 +159,23 @@ | ||
| 151 | pageSize:10, | 159 | pageSize:10, |
| 152 | total:0, | 160 | total:0, |
| 153 | tableData:[], | 161 | tableData:[], |
| 154 | - tableloading:false | ||
| 155 | - | 162 | + tableloading:false, |
| 163 | + gridData:[], | ||
| 164 | + dialogTableVisible: false, | ||
| 156 | } | 165 | } |
| 157 | }, | 166 | }, |
| 158 | methods: { | 167 | methods: { |
| 168 | + //查询回执列表 | ||
| 169 | + selectDetail(index,row){ | ||
| 170 | + this.gridData=[]; | ||
| 171 | + this.dialogTableVisible=true; | ||
| 172 | + let params={messageid:row.messageid}; | ||
| 173 | + selectReturnMsg(params).then(res=>{ | ||
| 174 | + let response=res.data.data; | ||
| 175 | + console.log(response) | ||
| 176 | + this.gridData=response; | ||
| 177 | + }); | ||
| 178 | + }, | ||
| 159 | //分页方法 | 179 | //分页方法 |
| 160 | handleSizeChange(val) { | 180 | handleSizeChange(val) { |
| 161 | this.pageSize=val; | 181 | this.pageSize=val; |
| @@ -111,7 +111,7 @@ | @@ -111,7 +111,7 @@ | ||
| 111 | <el-button | 111 | <el-button |
| 112 | size="mini" | 112 | size="mini" |
| 113 | type="primary" | 113 | type="primary" |
| 114 | - @click="dialogTableVisible = true">查看回执</el-button> | 114 | + @click="selectDetail(scope.$index,scope.row)">查看回执</el-button> |
| 115 | <el-button | 115 | <el-button |
| 116 | size="mini" | 116 | size="mini" |
| 117 | type="danger" | 117 | type="danger" |
| @@ -140,7 +140,7 @@ | @@ -140,7 +140,7 @@ | ||
| 140 | <el-table-column property="createBy" label="操作人" ></el-table-column> | 140 | <el-table-column property="createBy" label="操作人" ></el-table-column> |
| 141 | <el-table-column property="flightNo" label="航班号" ></el-table-column> | 141 | <el-table-column property="flightNo" label="航班号" ></el-table-column> |
| 142 | <el-table-column property="flightDate" label="航班日期" ></el-table-column> | 142 | <el-table-column property="flightDate" label="航班日期" ></el-table-column> |
| 143 | - <el-table-column property="receiptContent" label="回执内容" fixed="right" width="400"></el-table-column> | 143 | + <el-table-column property="receiptContent" label="回执内容" fixed="right" width="300"></el-table-column> |
| 144 | </el-table> | 144 | </el-table> |
| 145 | </el-dialog> | 145 | </el-dialog> |
| 146 | </el-main> | 146 | </el-main> |
| @@ -165,7 +165,7 @@ | @@ -165,7 +165,7 @@ | ||
| 165 | 165 | ||
| 166 | </style> | 166 | </style> |
| 167 | <script> | 167 | <script> |
| 168 | - import {selectFlightPlan, editFlightPlan} from "../../api/transport"; | 168 | + import {selectFlightPlan, editFlightPlan, selectReturnMsg} from "../../api/transport"; |
| 169 | export default { | 169 | export default { |
| 170 | data(){ | 170 | data(){ |
| 171 | return{ | 171 | return{ |
| @@ -185,6 +185,17 @@ | @@ -185,6 +185,17 @@ | ||
| 185 | } | 185 | } |
| 186 | }, | 186 | }, |
| 187 | methods: { | 187 | methods: { |
| 188 | + //查询回执列表 | ||
| 189 | + selectDetail(index,row){ | ||
| 190 | + this.gridData=[]; | ||
| 191 | + this.dialogTableVisible=true; | ||
| 192 | + let params={messageid:row.messageid}; | ||
| 193 | + selectReturnMsg(params).then(res=>{ | ||
| 194 | + let response=res.data.data; | ||
| 195 | + console.log(response) | ||
| 196 | + this.gridData=response; | ||
| 197 | + }); | ||
| 198 | + }, | ||
| 188 | //分页 | 199 | //分页 |
| 189 | handleSizeChange(val) { | 200 | handleSizeChange(val) { |
| 190 | this.pageSize=val; | 201 | this.pageSize=val; |
| @@ -91,14 +91,12 @@ | @@ -91,14 +91,12 @@ | ||
| 91 | fixed="right" | 91 | fixed="right" |
| 92 | prop="" | 92 | prop="" |
| 93 | label="报文操作" | 93 | label="报文操作" |
| 94 | - width="150"> | 94 | + width="200"> |
| 95 | <template slot-scope="scope"> | 95 | <template slot-scope="scope"> |
| 96 | <el-button | 96 | <el-button |
| 97 | size="mini" | 97 | size="mini" |
| 98 | - type="success" | ||
| 99 | - @click="handleEdit(scope.$index, scope.row)">查看</el-button> | ||
| 100 | - </template> | ||
| 101 | - <template slot-scope="scope"> | 98 | + type="primary" |
| 99 | + @click="selectDetail(scope.$index,scope.row)">查看回执</el-button> | ||
| 102 | <el-button | 100 | <el-button |
| 103 | size="mini" | 101 | size="mini" |
| 104 | type="danger" | 102 | type="danger" |
| @@ -120,6 +118,16 @@ | @@ -120,6 +118,16 @@ | ||
| 120 | </el-pagination> | 118 | </el-pagination> |
| 121 | </div> | 119 | </div> |
| 122 | </el-row> | 120 | </el-row> |
| 121 | + <!--查看回执弹框--> | ||
| 122 | + <el-dialog title="回执明细" :visible.sync="dialogTableVisible"> | ||
| 123 | + <el-table :data="gridData"> | ||
| 124 | + <el-table-column property="sendtime" label="操作时间" ></el-table-column> | ||
| 125 | + <el-table-column property="createBy" label="操作人" ></el-table-column> | ||
| 126 | + <el-table-column property="flightNo" label="航班号"></el-table-column> | ||
| 127 | + <el-table-column property="flightDate" label="航班日期" ></el-table-column> | ||
| 128 | + <el-table-column property="receiptContent" label="回执内容" ></el-table-column> | ||
| 129 | + </el-table> | ||
| 130 | + </el-dialog> | ||
| 123 | </el-main> | 131 | </el-main> |
| 124 | </el-container> | 132 | </el-container> |
| 125 | </template> | 133 | </template> |
| @@ -142,7 +150,7 @@ | @@ -142,7 +150,7 @@ | ||
| 142 | 150 | ||
| 143 | </style> | 151 | </style> |
| 144 | <script> | 152 | <script> |
| 145 | - import {editAirLineAircraft, selectAirLineAircraft} from "../../api/transport"; | 153 | + import {editAirLineAircraft, selectAirLineAircraft, selectReturnMsg} from "../../api/transport"; |
| 146 | 154 | ||
| 147 | export default { | 155 | export default { |
| 148 | data(){ | 156 | data(){ |
| @@ -156,10 +164,23 @@ | @@ -156,10 +164,23 @@ | ||
| 156 | pageSize:10, | 164 | pageSize:10, |
| 157 | total:0, | 165 | total:0, |
| 158 | tableData:[], | 166 | tableData:[], |
| 159 | - tableloading:false | 167 | + tableloading:false, |
| 168 | + gridData:[], | ||
| 169 | + dialogTableVisible: false, | ||
| 160 | } | 170 | } |
| 161 | }, | 171 | }, |
| 162 | methods: { | 172 | methods: { |
| 173 | + //查询回执列表 | ||
| 174 | + selectDetail(index,row){ | ||
| 175 | + this.gridData=[]; | ||
| 176 | + this.dialogTableVisible=true; | ||
| 177 | + let params={messageid:row.messageid}; | ||
| 178 | + selectReturnMsg(params).then(res=>{ | ||
| 179 | + let response=res.data.data; | ||
| 180 | + console.log(response) | ||
| 181 | + this.gridData=response; | ||
| 182 | + }); | ||
| 183 | + }, | ||
| 163 | //分页 | 184 | //分页 |
| 164 | handleSizeChange(val) { | 185 | handleSizeChange(val) { |
| 165 | this.pageSize=val; | 186 | this.pageSize=val; |
-
请 注册 或 登录 后发表评论