fix:修改路径图跳转面授课作业不显示问题,项目跳转问题

This commit is contained in:
wyx
2023-01-16 16:10:40 +08:00
parent 685a12bdc0
commit 864d0637af

View File

@@ -129,6 +129,7 @@ import { toDate } from "../../api/method";
import { ElMessage } from "element-plus";
import { ElLoading } from 'element-plus';
const router = useRouter();
const projectClassify = [];
const studyProgress = [];
const projectList = ref([]); //项目列表
@@ -208,7 +209,7 @@ const resetClick = () => {
console.log("点击重置");
};
//搜索--------------end-----------------------------------------
const router = useRouter();
const goProjectDetails = (value) => {
if(value.status===2){
// dialogVisible.value=true
@@ -216,11 +217,13 @@ const goProjectDetails = (value) => {
return
}
(import.meta.env.MODE === "development" || import.meta.env.MODE === "test")
? router.push({
?
router.push({
path: "/projectdetails",
query: { projectId: value.projectId },
})
: window.open(
:
window.open(
`${import.meta.env.VITE_BOE_PATH_DETAIL_URL}/projectdetails&params=${encodeURIComponent(
`projectId=${value.projectId}`
,'_top')}`