|
|
@@ -249,24 +249,28 @@ export default {
|
|
|
return false
|
|
|
}
|
|
|
let that = this
|
|
|
- modifySeatSnFn({id:this.option.id,seatSn:this.userInfo.seatSn}).then(res=>{
|
|
|
- if(res.code == 1){
|
|
|
- that.$msg(res.msg)
|
|
|
- setTimeout(function(){
|
|
|
- that.getUserDetail()
|
|
|
- },1000)
|
|
|
- }
|
|
|
+ this.$util.confirmModal({content:'确认修改?'},() => {
|
|
|
+ modifySeatSnFn({id:this.option.id,seatSn:this.userInfo.seatSn}).then(res=>{
|
|
|
+ if(res.code == 1){
|
|
|
+ that.$msg(res.msg)
|
|
|
+ setTimeout(function(){
|
|
|
+ that.getUserDetail()
|
|
|
+ },1000)
|
|
|
+ }
|
|
|
+ })
|
|
|
})
|
|
|
},
|
|
|
createSeatSn(){
|
|
|
let that = this
|
|
|
- createSeatSnFn({id:this.option.id}).then(res=>{
|
|
|
- if(res.code == 1){
|
|
|
- that.$msg(res.msg)
|
|
|
- setTimeout(function(){
|
|
|
- that.getUserDetail()
|
|
|
- },1000)
|
|
|
- }
|
|
|
+ this.$util.confirmModal({content:'确认生成?'},() => {
|
|
|
+ createSeatSnFn({id:this.option.id}).then(res=>{
|
|
|
+ if(res.code == 1){
|
|
|
+ that.$msg(res.msg)
|
|
|
+ setTimeout(function(){
|
|
|
+ that.getUserDetail()
|
|
|
+ },1000)
|
|
|
+ }
|
|
|
+ })
|
|
|
})
|
|
|
},
|
|
|
changeWlFn() {
|