douzhuo 2 år sedan
förälder
incheckning
c58a2ed851
2 ändrade filer med 12 tillägg och 12 borttagningar
  1. +2
    -2
      manifest.json
  2. +10
    -10
      pages/mine/reception/addreception.vue

+ 2
- 2
manifest.json Visa fil

@@ -1,5 +1,5 @@
{
"name" : "数智工牌",
"name" : "去房智控管家",
"appid" : "__UNI__D88F14A",
"description" : "AI营销助理",
"versionName" : "1.1.0",
@@ -91,7 +91,7 @@
},
"quickapp" : {},
"mp-weixin" : {
"appid" : "wxe044603515ff2cb5",
"appid" : "wx8f883dca5ecc5510",
"setting" : {
"urlCheck" : false,
"es6" : true,


+ 10
- 10
pages/mine/reception/addreception.vue Visa fil

@@ -115,9 +115,9 @@
Showhid: false,
text: null,
show: false,
content: '东临碣石,以观沧海',
confirmtext: '1', //确认文字
canceltext: '2', //取消文字
content: '',
confirmtext: '', //确认文字
canceltext: '', //取消文字
daitiReceptionobj: {},
saveisshow: true,
isBand: false, // 阻止二次提交
@@ -173,12 +173,7 @@
},
btnSave() {
if (this.isBand) return
this.save()
// let that = this
// clearTimeout(this.fdFlag)
// this.fdFlag = setTimeout(() => {
// that.fdFlag = null;
// }, 500)
this.save()
},
save() {
@@ -224,6 +219,7 @@
that.confirmtext = res.replacement.name + "代接待", //确认文字
that.canceltext = res.owner.name + '接待', //取消文字
that.show = true;
this.isBand = false
} else {
that.daitiReceptionobj = res;
console.log(that.daitiReceptionobj)
@@ -232,11 +228,11 @@
that.confirmtext = res.replacement.name + "代接待", //确认文字
that.canceltext = res.assign.name + '接待', //取消文字
that.show = true;
this.isBand = false
}
}
}
}
this.isBand = false
}).catch(e => {
that.show = true;
this.isBand = false
@@ -262,6 +258,8 @@
title: "保存成功"
})
uni.navigateBack()
}).catch(e => {
this.isBand = false
})
} else {
this.$u.post("/customer/add", this.parames).then(res => {
@@ -272,6 +270,8 @@
title: "保存成功"
})
uni.navigateBack()
}).catch(e => {
this.isBand = false
})
}
},


Laddar…
Avbryt
Spara