mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-11 03:46:48 +08:00
Merge remote-tracking branch 'yx/250207-growth-prod-master-zp' into dev0731
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import { createStore } from "vuex";
|
import { createStore } from "vuex";
|
||||||
import { PROJECT_PROCESS, ROUTER_PROCESS, PROFESSIONAL_STUDENT_DETAIL } from "@/api/api";
|
import { PROJECT_PROCESS, ROUTER_PROCESS, PROFESSIONAL_STUDENT_DETAIL } from "@/api/api";
|
||||||
import { request } from "@/api/request";
|
import { request } from "@/api/request";
|
||||||
|
import { growthRequest } from "@/api/growthRequest";
|
||||||
import { TASK_TYPES } from "@/api/CONST";
|
import { TASK_TYPES } from "@/api/CONST";
|
||||||
|
|
||||||
export default createStore({
|
export default createStore({
|
||||||
@@ -123,7 +124,7 @@ export default createStore({
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
getGrowthInfo(content, { routerId }) {
|
getGrowthInfo(content, { routerId }) {
|
||||||
request(PROFESSIONAL_STUDENT_DETAIL(routerId)).then(res => {
|
growthRequest(PROFESSIONAL_STUDENT_DETAIL(routerId)).then(res => {
|
||||||
content.commit("SET_GROWTH_INFO", res.data);
|
content.commit("SET_GROWTH_INFO", res.data);
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user