mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-12 04:16:49 +08:00
feat:修改
This commit is contained in:
@@ -161,15 +161,15 @@ request(DISCUSS_LIST, {
|
|||||||
id,
|
id,
|
||||||
})
|
})
|
||||||
.then((e) => {
|
.then((e) => {
|
||||||
state.info = e.data;
|
|
||||||
console.log("讨论详情", state.info);
|
|
||||||
state.discussId = e.data.discussDtoList[0].id;
|
|
||||||
getPostList(e.data.discussDtoList[0].id);
|
|
||||||
if (e.code === 6) {
|
if (e.code === 6) {
|
||||||
router.push({
|
router.push({
|
||||||
path: "/notpath",
|
path: "/notpath",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
state.info = e.data;
|
||||||
|
console.log("讨论详情", state.info);
|
||||||
|
state.discussId = e.data.discussDtoList[0].id;
|
||||||
|
getPostList(e.data.discussDtoList[0].id);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* @Author: lixg lixg@dongwu-inc.com
|
* @Author: lixg lixg@dongwu-inc.com
|
||||||
* @Date: 2023-02-06 18:26:23
|
* @Date: 2023-02-06 18:26:23
|
||||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||||
* @LastEditTime: 2023-03-02 01:57:28
|
* @LastEditTime: 2023-03-02 02:38:59
|
||||||
* @FilePath: /stu_h5/src/views/examination/ExternalExam.vue
|
* @FilePath: /stu_h5/src/views/examination/ExternalExam.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
|
||||||
-->
|
-->
|
||||||
@@ -55,12 +55,12 @@ const state = reactive({
|
|||||||
request(EXTERNALEXAM, { externalId: courseId })
|
request(EXTERNALEXAM, { externalId: courseId })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log("获取考试", res);
|
console.log("获取考试", res);
|
||||||
state.datainfo = res.data;
|
|
||||||
if (res.code === 6) {
|
if (res.code === 6) {
|
||||||
router.push({
|
router.push({
|
||||||
path: "/notpath",
|
path: "/notpath",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
state.datainfo = res.data;
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ const { data } =
|
|||||||
taskId && taskId !== "undefined"
|
taskId && taskId !== "undefined"
|
||||||
? useRequest(TASK_WORK_DETAIL, { workId, taskId }, (e) => {
|
? useRequest(TASK_WORK_DETAIL, { workId, taskId }, (e) => {
|
||||||
if (e.code === 6) {
|
if (e.code === 6) {
|
||||||
|
console.log("作业判断", e);
|
||||||
router.push({
|
router.push({
|
||||||
path: "/notpath",
|
path: "/notpath",
|
||||||
});
|
});
|
||||||
@@ -126,6 +127,7 @@ const { data } =
|
|||||||
})
|
})
|
||||||
: useRequest(TASK_WORK_DETAIL, { workId }, (e) => {
|
: useRequest(TASK_WORK_DETAIL, { workId }, (e) => {
|
||||||
if (e.code === 6) {
|
if (e.code === 6) {
|
||||||
|
console.log("作业判断", e);
|
||||||
router.push({
|
router.push({
|
||||||
path: "/notpath",
|
path: "/notpath",
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -223,6 +223,7 @@ const returnclick = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const { data } = useRequest(TASK_BROADCAST_DETAIL, { liveId }, (e) => {
|
const { data } = useRequest(TASK_BROADCAST_DETAIL, { liveId }, (e) => {
|
||||||
|
console.log("直播判断", e);
|
||||||
if (e.code === 6) {
|
if (e.code === 6) {
|
||||||
router.push({
|
router.push({
|
||||||
path: "/notpath",
|
path: "/notpath",
|
||||||
|
|||||||
Reference in New Issue
Block a user