feat:修改跳转及获取信息

This commit is contained in:
lixg
2023-02-28 14:47:59 +08:00
parent 014f7fdccf
commit 585c9d11a1
3 changed files with 11 additions and 11 deletions

View File

@@ -152,7 +152,7 @@ function toDetail(i) {
`${ `${
window.location.protocol + import.meta.env.VITE_BOE_PATH_DETAIL_URL window.location.protocol + import.meta.env.VITE_BOE_PATH_DETAIL_URL
}/pathmappage&params=${encodeURIComponent( }/pathmappage&params=${encodeURIComponent(
`routerId=${props.detail.routerId}&routerName=${props.detail.routerName}` `routerId=${props.routerId}`
)}`, )}`,
"_top" "_top"
); );

View File

@@ -2,7 +2,7 @@
* @Author: lixg lixg@dongwu-inc.com * @Author: lixg lixg@dongwu-inc.com
* @Date: 2023-01-19 14:59:34 * @Date: 2023-01-19 14:59:34
* @LastEditors: lixg lixg@dongwu-inc.com * @LastEditors: lixg lixg@dongwu-inc.com
* @LastEditTime: 2023-02-18 13:49:14 * @LastEditTime: 2023-02-28 14:46:55
* @FilePath: /stu_h5/src/views/pathmap/LevelList.vue * @FilePath: /stu_h5/src/views/pathmap/LevelList.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
@@ -15,9 +15,9 @@
></ReturnHead> ></ReturnHead>
<!-- 学习路径介绍 --> <!-- 学习路径介绍 -->
<div class="pathdetail"> <div class="pathdetail">
<div class="pathName">{{ data?.routerInfo?.name }}</div> <div class="pathName">{{ data?.name }}</div>
<div class="pathIntro"> <div class="pathIntro">
{{ data?.routerInfo?.remark ? data?.routerInfo?.remark : "-" }} {{ data?.remark ? data?.remark : "-" }}
</div> </div>
</div> </div>
<!-- 学习路径介绍 --> <!-- 学习路径介绍 -->

View File

@@ -2,7 +2,7 @@
* @Author: lixg lixg@dongwu-inc.com * @Author: lixg lixg@dongwu-inc.com
* @Date: 2023-01-19 11:28:11 * @Date: 2023-01-19 11:28:11
* @LastEditors: lixg lixg@dongwu-inc.com * @LastEditors: lixg lixg@dongwu-inc.com
* @LastEditTime: 2023-02-28 09:56:55 * @LastEditTime: 2023-02-28 14:47:12
* @FilePath: /stu_h5/src/views/projectdetails/ProjectPath.vue * @FilePath: /stu_h5/src/views/projectdetails/ProjectPath.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
@@ -179,14 +179,14 @@ const handleClick = (tab, event) => {
console.log("selectTab", selectTab.value); console.log("selectTab", selectTab.value);
}; };
const goDetails = () => { const goDetails = () => {
router.push({
path: "/pathdetails",
query: { routerId: 459 },
});
// router.push({ // router.push({
// path: "/projectdetails", // path: "/pathdetails",
// query: { projectId: 684 }, // query: { routerId: 459 },
// }); // });
router.push({
path: "/projectdetails",
query: { projectId: 684 },
});
// router.push({ // router.push({
// path: "/faceteach", // path: "/faceteach",
// query: { type: 3, courseId: 290 }, // query: { type: 3, courseId: 290 },