diff --git a/public/index.html b/public/index.html index 3e5a1396..5182965d 100644 --- a/public/index.html +++ b/public/index.html @@ -1,17 +1,29 @@ + - - - - - - <%= htmlWebpackPlugin.options.title %> - - - -
- - - + + + + + + + 京东方大学堂 + + + + +
+ + + + \ No newline at end of file diff --git a/src/api/config.js b/src/api/config.js index af18a217..160018ed 100644 --- a/src/api/config.js +++ b/src/api/config.js @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-21 14:32:52 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2022-12-09 18:11:04 + * @LastEditTime: 2022-12-10 10:37:11 * @FilePath: /fe-manage/src/api/config.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -56,7 +56,7 @@ http.interceptors.response.use( return response; } else { if (code === 1000) { - window.open("https://u-pre.boe.com/web/", '_self'); + // window.open("https://u-pre.boe.com/web/", '_self'); // window.open("http://111.231.196.214:12013/manage/login", '_self'); } console.log("api %o", msg); diff --git a/src/components/drawers/AddFaceteach.vue b/src/components/drawers/AddFaceteach.vue index ef068b98..e931e191 100644 --- a/src/components/drawers/AddFaceteach.vue +++ b/src/components/drawers/AddFaceteach.vue @@ -29,13 +29,16 @@ 课程名称: -
+
+
+ {{ courseName.length }}/20 +
@@ -95,7 +98,7 @@
授课教师: -
+
- --> + -->
@@ -358,7 +361,9 @@
- {{testName}} + {{ + testName + }}
@@ -405,8 +410,8 @@ import ProjectManager from "@/components/project/ProjectManagerNew"; import { detail } from "../../api/indexCourse"; import { queryAppraiseDetailById } from "../../api/indexInvist"; -import {queryWorkDetailById} from "@/api/indexWork"; -import {queryExaminationDetailById} from "@/api/indexExam"; +import { queryWorkDetailById } from "@/api/indexWork"; +import { queryExaminationDetailById } from "@/api/indexExam"; export default { name: "AddFaceteach", components: { @@ -609,19 +614,22 @@ export default { state.EditWorkId = result.homeWorkId; state.assessmentId = result.evaluateId; state.needEval = result.evaluateId; - detail({offcourseId:result.offcourseId}).then((res)=>{ - state.chooseCourseName =res.data.data.name; - + detail({ offcourseId: result.offcourseId }).then((res) => { + state.chooseCourseName = res.data.data.name; }); - queryAppraiseDetailById({assessmentId:result.evaluateId}).then((res)=>{ - state.assessmentName =res.data.data.assessmentName; - }); - queryWorkDetailById({workId:result.homeWorkId}).then((res)=>{ + queryAppraiseDetailById({ assessmentId: result.evaluateId }).then( + (res) => { + state.assessmentName = res.data.data.assessmentName; + } + ); + queryWorkDetailById({ workId: result.homeWorkId }).then((res) => { state.workName = res.data.data.workName; }); - queryExaminationDetailById({ examinationId: result.testId }).then((res)=>{ - state.testName = res.data.data.examinationName; - }); + queryExaminationDetailById({ examinationId: result.testId }).then( + (res) => { + state.testName = res.data.data.examinationName; + } + ); console.log("state=======", state); }); }; @@ -730,7 +738,7 @@ export default { await ProjectEditTask(editObj) .then(() => { console.log("props.EditFaceId", props.EditFaceId); - // message.success(`${props.edit ? "编辑" : "新增"}阶段任务成功`); + // message.success(`${props.edit ? "编辑" : "新增"}阶段任务成功`); }) .catch(() => { //message.error(`${props.EditFaceId ? "编辑" : "新增"}阶段任务失败`); diff --git a/src/components/drawers/AddOnline.vue b/src/components/drawers/AddOnline.vue index a52a58bd..2d0a86b2 100644 --- a/src/components/drawers/AddOnline.vue +++ b/src/components/drawers/AddOnline.vue @@ -31,7 +31,8 @@ /> -
+ +
@@ -98,7 +99,7 @@
{ - console.log(res) - console.log("模板项目中是否包含此在线课了", res); + }) + .then((res) => { + console.log(res); + console.log("模板项目中是否包含此在线课了", res); if (res.data.data.length) { let strdata = res.data.data; let tipStr = ""; @@ -599,21 +601,26 @@ export default { type: 1, }) .then((res) => { - console.log('新增或者编辑在线课',res) + console.log("新增或者编辑在线课", res); message.destroy(); - message.success(`${props.edit ? "编辑" : "新增"}模板库任务成功`); + message.success( + `${props.edit ? "编辑" : "新增"}模板库任务成功` + ); ctx.emit("changeData", false); closeDrawer(); }) .catch(() => { message.destroy(); - message.error(`${props.edit ? "编辑" : "新增"}模板库任务失败`); + message.error( + `${props.edit ? "编辑" : "新增"}模板库任务失败` + ); }); - }) + }); } - }).catch(err=>{ - console.log(err) - }) + }) + .catch((err) => { + console.log(err); + }); } //if(state.addOnlineList.Target==undefined){ // closeDrawer(); diff --git a/src/components/project/ProjectManager.vue b/src/components/project/ProjectManager.vue index af03202f..543e1b9c 100644 --- a/src/components/project/ProjectManager.vue +++ b/src/components/project/ProjectManager.vue @@ -69,7 +69,7 @@ export default { onMounted(() => { console.log("onMounted"); - init() + init(); }); function getMember() { diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index a708bb63..6fb2e08f 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -630,7 +630,17 @@ {{ item.name }}
-->
- {{ item.slice(item.lastIndexOf('/')+1) }} + {{ item.slice(item.lastIndexOf("/") + 1) }}