Commit c3e76248 authored by zhengke's avatar zhengke

加是否提示

parent a61e969e
......@@ -227,7 +227,7 @@
</tbody>
</table>
<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>
</div>
</el-dialog>
......@@ -313,6 +313,20 @@
}
}, err => {});
},
//是否确定
getIsSure(){
this.$confirm("是否确认航班信息?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
this.getCheckInfo();
})
.catch(() => {
this.$message.info("已取消!");
});
},
//确定
getCheckInfo() {
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