mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
---项目详情排名
This commit is contained in:
@@ -2,7 +2,7 @@ import http from "./config";
|
|||||||
|
|
||||||
|
|
||||||
// 获取路径图详情-包含关卡及任务列表
|
// 获取路径图详情-包含关卡及任务列表
|
||||||
export const GetRouterDetail = (routerId) => http.get(`/admin/router/detail?routerId=${routerId}`)
|
export const GetRouterDetail = (routerId,useTask="") => http.get(`/admin/router/detail?routerId=${routerId}&useTask=${useTask}`)
|
||||||
|
|
||||||
// 新建或编辑阶段任务
|
// 新建或编辑阶段任务
|
||||||
export const ProjectEditTask = (obj) => http.post('/admin/project/editTask',obj)
|
export const ProjectEditTask = (obj) => http.post('/admin/project/editTask',obj)
|
||||||
|
|||||||
@@ -1796,7 +1796,7 @@ export default {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const reget = () => {
|
const reget = () => {
|
||||||
GetRouterDetail(state.routerId).then((res) => {
|
GetRouterDetail(state.routerId,"N").then((res) => {
|
||||||
// console.log("获取路径图详情", res);
|
// console.log("获取路径图详情", res);
|
||||||
state.styTitle = res.data.data.routerInfo.name;
|
state.styTitle = res.data.data.routerInfo.name;
|
||||||
state.cretime = res.data.data.routerInfo.createTime;
|
state.cretime = res.data.data.routerInfo.createTime;
|
||||||
@@ -1868,6 +1868,7 @@ export default {
|
|||||||
|
|
||||||
// 获取路径列表
|
// 获取路径列表
|
||||||
const myGetRouterDetail = () => {
|
const myGetRouterDetail = () => {
|
||||||
|
console.log('执行-------myGetRouterDetail')
|
||||||
GetRouterDetail(state.routerId)
|
GetRouterDetail(state.routerId)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log("router-list", res);
|
console.log("router-list", res);
|
||||||
|
|||||||
@@ -1460,7 +1460,7 @@ export default {
|
|||||||
getDetail();
|
getDetail();
|
||||||
};
|
};
|
||||||
const getDetail = () => {
|
const getDetail = () => {
|
||||||
GetRouterDetail(state.routerId)
|
GetRouterDetail(state.routerId,"N")
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
//给level赋初始值
|
//给level赋初始值
|
||||||
state.level = res.data.data.chapterList;
|
state.level = res.data.data.chapterList;
|
||||||
|
|||||||
Reference in New Issue
Block a user