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