Commit 1c891cf3 by 前端

fixed

1 parent de3771bd
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
uni.reLaunch({ uni.reLaunch({
url: "/pages/common/login", url: "/pages/common/login",
}); });
return return;
} }
// console.log(utils.requestAndroidPermission()); // console.log(utils.requestAndroidPermission());
}, },
...@@ -280,7 +280,7 @@ export default { ...@@ -280,7 +280,7 @@ export default {
async checkUploadFile(tempFilePath) { async checkUploadFile(tempFilePath) {
let attempt = 0; let attempt = 0;
let errorMsg = ""; let errorMsg = "";
while (attempt < 3) { while (attempt < 5) {
try { try {
const result = await upload(tempFilePath); const result = await upload(tempFilePath);
// 上传成功 // 上传成功
......
...@@ -117,27 +117,13 @@ export default { ...@@ -117,27 +117,13 @@ export default {
} }
}, },
},
watch: {
watchStatus: {
handler () {
this.init()
},
immediate: true
},
show () {
this.$refs.receptionTips?.close()
this.getRecordList()
}
},
methods: { methods: {
init () { init () {
this.customerNameOrPhone = ''; this.customerNameOrPhone = '';
this.isSearch = false this.isSearch = false
this.pageNum = 1 this.pageNum = 1
this.flag = false this.flag = false
this.getRecordList()
}, },
//已预约的并且预约时间小于当前时间的,显示超时未到店,否则显示已预约 //已预约的并且预约时间小于当前时间的,显示超时未到店,否则显示已预约
formatInvite (val) { formatInvite (val) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!