shuishen
2025-12-19 32febb140d320b35d580c8d4e78a80ef846e75fc
src/subPackages/workDetail/index.vue
@@ -14,16 +14,24 @@
   const sWebViewRef = ref(null);
   const viewUrl = ref('')
   onLoad( (options) => {
      const eventNum= options.eventNum;
      viewUrl.value = getWebViewUrl('/workDetail', {eventNum:eventNum})
      const eventNum= options.eventNum;
      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', {
            type: 'add'
         });
       uni.switchTab({
         url: '/pages/work/index'
         url: `/pages/work/index?addLog=111`
         // url: '/pages/work/index'
       });
     }else if(data.type === 'jumpMapNav'){
         uni.navigateTo({
          url:`/subPackages/workDetail/mapWork/index?currentItem=${data.eventNum}`
        });
     }
   }
@@ -31,9 +39,10 @@
<style lang="scss" scoped>
   .workDetailContainer {
      padding: 0 10px;
  width: 100%;
   height: 100%;
   background-size: cover;
   }
</style>
</style>