From 8335109a94210c551be5de0127b900cc076d4b4d Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 25 Nov 2025 19:01:21 +0800
Subject: [PATCH] feat:添加参数
---
src/subPackages/workDetail/index.vue | 4 ++--
src/pages/work/index.vue | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/pages/work/index.vue b/src/pages/work/index.vue
index cecf111..2272364 100644
--- a/src/pages/work/index.vue
+++ b/src/pages/work/index.vue
@@ -31,7 +31,7 @@
} else if (data.type === 'workid') {
uni.navigateTo({
- url: `/subPackages/workDetail/index?eventNum=${data.eventNum}&totalNum=${data.totalNum}&keyword=${data.keyword}&aiType=${data.aiType}`
+ url: `/subPackages/workDetail/index?eventNum=${data.eventNum}&totalNum=${data.totalNum}&keyword=${data.keyword}&aiType=${data.aiType}&status=${data.status}`
});
} else if (data.type === 'bigImage') {
uni.navigateTo({
diff --git a/src/subPackages/workDetail/index.vue b/src/subPackages/workDetail/index.vue
index fb4f729..6fc8a4c 100644
--- a/src/subPackages/workDetail/index.vue
+++ b/src/subPackages/workDetail/index.vue
@@ -15,13 +15,13 @@
const viewUrl = ref('')
onLoad( (options) => {
const eventNum= options.eventNum;
- viewUrl.value = getWebViewUrl('/workDetail', {eventNum:eventNum,totalNum:options.totalNum,keyword:options.keyword,aiType:options.aiType,wLJobInfoId:options.wLJobInfoId})
+ viewUrl.value = getWebViewUrl('/workDetail', {eventNum:eventNum,totalNum:options.totalNum,keyword:options.keyword,aiType:options.aiType,wLJobInfoId:options.wLJobInfoId,status:options.status})
});
function onPostMessage(data) {
if (data.type === 'workback'){
-uni.setStorageSync('joinParams', {
+ uni.setStorageSync('joinParams', {
type: 'add'
});
uni.switchTab({
--
Gitblit v1.9.3