mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-17 14:56:48 +08:00
fix:修改路径图跳转面授课作业不显示问题,项目跳转问题
This commit is contained in:
@@ -129,6 +129,7 @@ import { toDate } from "../../api/method";
|
|||||||
import { ElMessage } from "element-plus";
|
import { ElMessage } from "element-plus";
|
||||||
import { ElLoading } from 'element-plus';
|
import { ElLoading } from 'element-plus';
|
||||||
|
|
||||||
|
const router = useRouter();
|
||||||
const projectClassify = [];
|
const projectClassify = [];
|
||||||
const studyProgress = [];
|
const studyProgress = [];
|
||||||
const projectList = ref([]); //项目列表
|
const projectList = ref([]); //项目列表
|
||||||
@@ -208,7 +209,7 @@ const resetClick = () => {
|
|||||||
console.log("点击重置");
|
console.log("点击重置");
|
||||||
};
|
};
|
||||||
//搜索--------------end-----------------------------------------
|
//搜索--------------end-----------------------------------------
|
||||||
const router = useRouter();
|
|
||||||
const goProjectDetails = (value) => {
|
const goProjectDetails = (value) => {
|
||||||
if(value.status===2){
|
if(value.status===2){
|
||||||
// dialogVisible.value=true
|
// dialogVisible.value=true
|
||||||
@@ -216,11 +217,13 @@ const goProjectDetails = (value) => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
(import.meta.env.MODE === "development" || import.meta.env.MODE === "test")
|
(import.meta.env.MODE === "development" || import.meta.env.MODE === "test")
|
||||||
? router.push({
|
?
|
||||||
|
router.push({
|
||||||
path: "/projectdetails",
|
path: "/projectdetails",
|
||||||
query: { projectId: value.projectId },
|
query: { projectId: value.projectId },
|
||||||
})
|
})
|
||||||
: window.open(
|
:
|
||||||
|
window.open(
|
||||||
`${import.meta.env.VITE_BOE_PATH_DETAIL_URL}/projectdetails¶ms=${encodeURIComponent(
|
`${import.meta.env.VITE_BOE_PATH_DETAIL_URL}/projectdetails¶ms=${encodeURIComponent(
|
||||||
`projectId=${value.projectId}`
|
`projectId=${value.projectId}`
|
||||||
,'_top')}`
|
,'_top')}`
|
||||||
|
|||||||
Reference in New Issue
Block a user