mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
fix:项目/学习路径返回跳转指点tab修改
This commit is contained in:
@@ -2072,6 +2072,11 @@ export default {
|
||||
//学员管理------------------------------------------------
|
||||
|
||||
onMounted(() => {
|
||||
// 是否是从编辑跳转过来的
|
||||
if(route.query.routerEdit==="true"){
|
||||
state.activeKey = "2";
|
||||
}
|
||||
|
||||
state.addLoading = true;
|
||||
getOverview();
|
||||
myGetRouterDetail();
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
</unlock-mode>
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<router-link :to="{ path: '/leveladd', query:{ routerId: routerId } }">
|
||||
<router-link :to="{ path: '/leveladd', query:{ routerId: routerId, routerEdit: true } }">
|
||||
<div style="display: flex">
|
||||
<img class="img2" style="margin-right: 22px" src="../../assets/images/leveladd/back.png"/>
|
||||
<div class="return">返回</div>
|
||||
@@ -335,7 +335,7 @@
|
||||
<div class="btnbox">
|
||||
<a-button class="btn btn1" @click="temporaryStorage" :loading="confirmLoading">暂存</a-button>
|
||||
<a-button class="btn btn1" @click="submitStorage" :loading="confirmLoading">确定</a-button>
|
||||
<router-link :to="{ path: '/leveladd', query:{ routerId: routerId } }">
|
||||
<router-link :to="{ path: '/leveladd', query:{ routerId: routerId, routerEdit: true } }">
|
||||
<!-- @click="cancelStorage" -->
|
||||
<a-button class="btn btn1" :loading="cancleLoading">取消</a-button>
|
||||
</router-link>
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
</unlock-mode>
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<router-link :to="{ path: `/taskpage`, query: { projectId: route.query.projectId } }">
|
||||
<router-link :to="{ path: `/taskpage`, query: { projectId: route.query.projectId, routerEdit: true } }">
|
||||
<div style="display: flex">
|
||||
<img class="img2" src="../../assets/images/leveladd/back.png"/>
|
||||
<div class="return">返回</div>
|
||||
@@ -289,7 +289,7 @@
|
||||
<div class="btnbox">
|
||||
<a-button class="btn btn1" @click="temporaryStorage" :loading="confirmLoading">暂存</a-button>
|
||||
<a-button class="btn btn1" @click="submitStorage" :loading="confirmLoading">确定</a-button>
|
||||
<router-link :to="{ path: `/taskpage`, query: { projectId: route.query.projectId } }">
|
||||
<router-link :to="{ path: `/taskpage`, query: { projectId: route.query.projectId, routerEdit: true } }">
|
||||
<!-- @click="cancelStorage" -->
|
||||
<a-button class="btn btn1" :loading="cancleLoading">取消</a-button>
|
||||
</router-link>
|
||||
|
||||
@@ -4540,6 +4540,10 @@ export default {
|
||||
}
|
||||
);
|
||||
onMounted(() => {
|
||||
// 是否是从编辑跳转过来的
|
||||
if(route.query.routerEdit==="true"){
|
||||
state.activeKey = "2";
|
||||
}
|
||||
// getStu();
|
||||
getTaskList();
|
||||
getTaskInfo();
|
||||
|
||||
Reference in New Issue
Block a user