douzhuo 2 лет назад
Родитель
Сommit
05adf74dac
1 измененных файлов: 12 добавлений и 4 удалений
  1. +12
    -4
      pages/mine/details2.vue

+ 12
- 4
pages/mine/details2.vue Просмотреть файл

@@ -539,6 +539,7 @@
ACTION: Symbol('zaudio'), // 唯一值区分每个页面的方法
isPageHide: false, // 是否息屏
duration: '', // 总时长
isBand: false, // 阻止二次提交
};
},
computed: {
@@ -847,8 +848,9 @@
title: '提示',
content: msg,
success: function(res) {
if (this.noClick) {
this.noClick= false;
that.isBand = true
if (that.noClick) {
that.noClick= false;
if (res.confirm) {
let parames = {
id: that.customerId,
@@ -862,11 +864,14 @@
}
that.$u.post("/customer/updateValidInvalid", parames).then(res => {
console.log(res)
that.isBand = false
that.Thetapeidisshow = false;
})
}).catch(e => {
that.isBand = false
})
}
setTimeout(()=> {
this.noClick= true;
that.noClick= true;
}, 2000)
} else {
// 这里是重复点击的判断
@@ -892,6 +897,7 @@
}
}
this.effective = false;
this.isBand = true
let parames = {
id: this.customerId,
validInvalid: '',
@@ -902,6 +908,8 @@
this.$u.post("/customer/updateValidInvalid", parames).then(res => {
console.log(res)
this.Thetapeidisshow = false;
}).catch(e=>{
this.isBand = false
})
},
radioChange(evt) {


Загрузка…
Отмена
Сохранить