Commit c3e76248 authored by zhengke's avatar zhengke

加是否提示

parent a61e969e
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
</tbody> </tbody>
</table> </table>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="getCheckInfo()">确认航班信息</button> &nbsp; <button class="normalBtn" type="primary" @click="getIsSure()">确认航班信息</button> &nbsp;
<button class="hollowFixedBtn" @click="outerVisible = false">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" @click="outerVisible = false">{{$t('pub.cancelBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
...@@ -313,6 +313,20 @@ ...@@ -313,6 +313,20 @@
} }
}, err => {}); }, err => {});
}, },
//是否确定
getIsSure(){
this.$confirm("是否确认航班信息?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
this.getCheckInfo();
})
.catch(() => {
this.$message.info("已取消!");
});
},
//确定 //确定
getCheckInfo() { getCheckInfo() {
let FlightList = [] let FlightList = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment