小程序异常确认页面修改
This commit is contained in:
parent
76ac334774
commit
666f8402a2
@ -83,8 +83,8 @@ const categoryList = ref([
|
|||||||
path: "unqualifiedNotificationConfirm",
|
path: "unqualifiedNotificationConfirm",
|
||||||
name: "品质异常确认",
|
name: "品质异常确认",
|
||||||
auth: true,
|
auth: true,
|
||||||
imgUrl: "/static/images/unqualifiedNotification.png",
|
imgUrl: "",
|
||||||
defaultImgUrl: "/static/images/unqualifiedNotification-default.png",
|
defaultImgUrl: "",
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
const loginStore = useLoginStore();
|
const loginStore = useLoginStore();
|
||||||
|
@ -105,7 +105,7 @@ const onRefresherrefresh = async () => {
|
|||||||
isTriggered.value = false
|
isTriggered.value = false
|
||||||
}
|
}
|
||||||
onShow(async () => {
|
onShow(async () => {
|
||||||
await getListData()
|
await updateData()
|
||||||
})
|
})
|
||||||
defineExpose({ updateData })
|
defineExpose({ updateData })
|
||||||
const showpicture= (pictureArray:[])=>{
|
const showpicture= (pictureArray:[])=>{
|
||||||
|
@ -183,15 +183,16 @@
|
|||||||
})
|
})
|
||||||
} finally {
|
} finally {
|
||||||
isLoading.value = false;
|
isLoading.value = false;
|
||||||
// const url = `/pages/unqualifiedNotification/unqualifiedNotification`
|
console.log(1111)
|
||||||
// uni.redirectTo({
|
const url = `/pages/unqualifiedNotificationConfirm/unqualifiedNotificationConfirm`
|
||||||
// url,
|
uni.redirectTo({
|
||||||
// })
|
url,
|
||||||
const pages = getCurrentPages(); // 获取当前页面栈
|
})
|
||||||
await initPage();
|
// const pages = getCurrentPages(); // 获取当前页面栈
|
||||||
const currentPage = pages[pages.length - 1]; // 当前页面
|
// await initPage();
|
||||||
const url = `/${currentPage.route}?${Object.entries(currentPage.options).map(([key, val]) => `${key}=${val}`).join('&')}`;
|
// const currentPage = pages[pages.length - 1]; // 当前页面
|
||||||
uni.reLaunch({ url }); // 重新加载当前页面
|
// const url = `/${currentPage.route}?${Object.entries(currentPage.options).map(([key, val]) => `${key}=${val}`).join('&')}`;
|
||||||
|
// uni.reLaunch({ url }); // 重新加载当前页面
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -210,6 +211,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
const cancel = () => {
|
const cancel = () => {
|
||||||
|
console.log(1111)
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
delta: 1 // 返回的页面数,这里1表示返回上一页
|
delta: 1 // 返回的页面数,这里1表示返回上一页
|
||||||
});
|
});
|
||||||
|
@ -132,15 +132,14 @@ const handleComplate = async () => {
|
|||||||
})
|
})
|
||||||
} finally {
|
} finally {
|
||||||
isLoading.value = false;
|
isLoading.value = false;
|
||||||
// const url = `/pages/pgMaster/pgMaster-detail?id=${detailInfo.value.id}`
|
|
||||||
// uni.redirectTo({
|
// uni.redirectTo({
|
||||||
// url,
|
// url,
|
||||||
// })
|
// })
|
||||||
await initPage();
|
// await initPage();
|
||||||
const pages = getCurrentPages(); // 获取当前页面栈
|
// const pages = getCurrentPages(); // 获取当前页面栈
|
||||||
const currentPage = pages[pages.length - 1]; // 当前页面
|
// const currentPage = pages[pages.length - 1]; // 当前页面
|
||||||
const url = `/${currentPage.route}?${Object.entries(currentPage.options).map(([key, val]) => `${key}=${val}`).join('&')}`;
|
// const url = `/${currentPage.route}?${Object.entries(currentPage.options).map(([key, val]) => `${key}=${val}`).join('&')}`;
|
||||||
uni.reLaunch({ url }); // 重新加载当前页面
|
// uni.reLaunch({ url }); // 重新加载当前页面
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const range = [
|
const range = [
|
||||||
@ -183,15 +182,16 @@ const submitForm = async () => {
|
|||||||
})
|
})
|
||||||
} finally {
|
} finally {
|
||||||
isLoading.value = false;
|
isLoading.value = false;
|
||||||
// const url = `/pages/unqualifiedNotificationConfirm/dataltem`
|
|
||||||
// uni.redirectTo({
|
const url = `/pages/unqualifiedNotificationConfirm/unqualifiedNotificationConfirm`
|
||||||
// url,
|
uni.redirectTo({
|
||||||
// })
|
url,
|
||||||
const pages = getCurrentPages(); // 获取当前页面栈
|
})
|
||||||
await initPage();
|
// const pages = getCurrentPages(); // 获取当前页面栈
|
||||||
const currentPage = pages[pages.length - 1]; // 当前页面
|
// await initPage();
|
||||||
const url = `/${currentPage.route}?${Object.entries(currentPage.options).map(([key, val]) => `${key}=${val}`).join('&')}`;
|
// const currentPage = pages[pages.length - 1]; // 当前页面
|
||||||
uni.reLaunch({ url }); // 重新加载当前页面
|
// const url = `/${currentPage.route}?${Object.entries(currentPage.options).map(([key, val]) => `${key}=${val}`).join('&')}`;
|
||||||
|
// uni.reLaunch({ url }); // 重新加载当前页面
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user