默认全选预约项目

master
xy 2 years ago
parent e8608e2610
commit 560a41249c

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

Loading…
Cancel
Save