mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-15 22:06:48 +08:00
fix:修改路径图跳转面授课作业不显示问题,项目跳转问题
This commit is contained in:
@@ -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¶ms=${encodeURIComponent(
|
||||
`projectId=${value.projectId}`
|
||||
,'_top')}`
|
||||
|
||||
Reference in New Issue
Block a user