Merge branch 'develop' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-stu into develop

This commit is contained in:
wyx
2022-12-22 19:35:45 +08:00
4 changed files with 13 additions and 5 deletions

View File

@@ -208,10 +208,16 @@ const resetClick = () => {
//搜索--------------end-----------------------------------------
const router = useRouter();
const goProjectDetails = (value) => {
router.push({
path: "/projectdetails",
query: { projectId: value.projectId },
});
import.meta.env.MODE === "development"
? router.push({
path: "/projectdetails",
query: { projectId: value.projectId },
})
: window.open(
`${import.meta.env.VITE_BOE_PATH_DETAIL_URL}/projectdetails&params=${encodeURIComponent(
`projectId=${routerId}`
)}`
);
};
</script>
<style lang="scss">

View File

@@ -149,7 +149,7 @@ async function gofun({ routerId, name: routerName }) {
query: { routerId, routerName },
})
: window.open(
`http://u-pre.boe.com/pc/forward?to=/fe-student/pathdetails&params=${encodeURIComponent(
`${import.meta.env.VITE_BOE_PATH_DETAIL_URL}/pathdetails&params=${encodeURIComponent(
`routerId=${routerId}&routerName=${routerName}`
)}`
);