默认全选预约项目

master
xy 2 years ago
parent e8608e2610
commit 560a41249c

@ -176,6 +176,7 @@
},
data() {
return {
isSubmitConfirm: false,
tips: "",
isSignOutConfirm: false,
isShowModal: false, //
@ -417,6 +418,9 @@
//
clock(files, type) {
if (this.isSubmitConfirm) {
return
}
let title;
switch (type) {
case 1:
@ -431,6 +435,7 @@
default:
title = '操作成功'
}
this.isSubmitConfirm = true
this.uploadImgs(files).then(res => {
this.form.upload_list = res.map(item => {
return {
@ -439,6 +444,7 @@
})
this.form.type = type
this.$u.api.processSave(this.form).then(res1 => {
this.isSubmitConfirm = false
uni.showToast({
icon: 'success',
title
@ -451,8 +457,8 @@
this.tips = "用户服务次数已达到次数、总服务时长未满"
this.isShowModal = true
}
})
})
}).catch(err => this.isSubmitConfirm = false)
}).catch(err => this.isSubmitConfirm = false)
},
//

Loading…
Cancel
Save