diff --git a/.env b/.env index 95cc3827..5afca6ef 100644 --- a/.env +++ b/.env @@ -20,7 +20,6 @@ VUE_APP_IFRAME_STUDENT_URL=https://u-pre.boe.com/pc/loadingVUE_APP_BOE_API_URLVU # 课程二维码 VUE_APP_COURSE_STUDY=https://u-pre.boe.com/pc/course/studyindex?id= + # 导入学员模板 -VUE_APP_UP_LOAD_HOMEWORK_TEMPLATE=导入作业成绩模板-1673511599785.xlsx -# 导入作业成绩学员模板 -VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673511636808.xlsx +VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673963663229.xlsx diff --git a/.env.boe b/.env.boe index 4b824494..fdaf95b3 100644 --- a/.env.boe +++ b/.env.boe @@ -6,8 +6,5 @@ VUE_APP_LOGIN_URL=https://u-pre.boe.com/web VUE_APP_BOE_API_URL=https://u-pre.boe.com - # 导入学员模板 -VUE_APP_UP_LOAD_HOMEWORK_TEMPLATE=导入作业成绩模板-1673516508029.xlsx -# 导入作业成绩学员模板 -VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673516483342.xlsx \ No newline at end of file +VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673963663229.xlsx \ No newline at end of file diff --git a/.env.prod b/.env.prod index 8291a432..3fc171f3 100644 --- a/.env.prod +++ b/.env.prod @@ -13,4 +13,4 @@ VUE_APP_IFRAME_STUDENT_URL=https://u.boe.com/pc/loading VUE_APP_COURSE_STUDY=https://u.boe.com/pc/course/studyindex?id= -VUE_APP_TEMPLATE=https://u-pre.boe.com/upload/ \ No newline at end of file +VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673963663229.xlsx diff --git a/.env.release b/.env.release index 39b98c87..4870808f 100644 --- a/.env.release +++ b/.env.release @@ -13,4 +13,4 @@ VUE_APP_IFRAME_STUDENT_URL=https://u.boe.com/pc-release/loading VUE_APP_COURSE_STUDY=https://u.boe.com/pc-release/course/studyindex?id= -VUE_APP_TEMPLATE=https://u-pre.boe.com/upload/ \ No newline at end of file +VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673963663229.xlsx \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index ba791049..eaa77157 100644 --- a/src/App.vue +++ b/src/App.vue @@ -44,7 +44,7 @@ export default defineComponent({ const store = useStore(); const isLogin = ref(false); // console.log("router", router.getRoutes(), route); - console.log("版本2.0.9------------"); + console.log("版本2.1.6------------"); const routes = computed(() => { return router.getRoutes().filter((e) => e.meta?.isLink); }); diff --git a/src/api/ThirdApi.js b/src/api/ThirdApi.js index 4158b413..e0b7558f 100644 --- a/src/api/ThirdApi.js +++ b/src/api/ThirdApi.js @@ -1,4 +1,5 @@ -export const USER_LIST = '/userbasic/user/list post' +// export const USER_LIST = '/userbasic/user/list post' +export const USER_LIST = '/userbasic/user/searchList post' export const ORG_LIST = '/userbasic/org/list post' export const ORG_CHILD_LIST = '/userbasic/org/info post' export const AUDIENCE_LIST = '/userbasic/audience/list post' \ No newline at end of file diff --git a/src/components/drawers/ActiveAttendance.vue b/src/components/drawers/ActiveAttendance.vue index e41f7511..4b51a340 100644 --- a/src/components/drawers/ActiveAttendance.vue +++ b/src/components/drawers/ActiveAttendance.vue @@ -59,7 +59,6 @@ :options="projectNameList2" @change="selectProjectName2" allowClear - showSearch > diff --git a/src/components/drawers/AddFaceteach.vue b/src/components/drawers/AddFaceteach.vue index ce245d56..937893cd 100644 --- a/src/components/drawers/AddFaceteach.vue +++ b/src/components/drawers/AddFaceteach.vue @@ -335,6 +335,7 @@ v-model:addtestVisible="addtestvisible" v-model:EditTestId="EditTestId" v-model:testName="testName" + v-model:offCourseId="offCourseId" :faceLevel="true" /> @@ -498,6 +499,7 @@ export default { assessmentName: null, isClick: false, attach:"", + offCourseId:props.EditFaceId, }); const clear = () => { @@ -586,6 +588,7 @@ export default { const queryFaceTeach = () => { queryFaceDetailById(props.EditFaceId).then((res) => { console.log("获取到了面授课开课详情", res.data.data); + state.offCourseId = props.EditFaceId; let result = res.data.data; state.courseName = result.name; state.description = result.description; diff --git a/src/components/drawers/AddHomework.vue b/src/components/drawers/AddHomework.vue index 1f70b2d9..b68e77fd 100644 --- a/src/components/drawers/AddHomework.vue +++ b/src/components/drawers/AddHomework.vue @@ -72,10 +72,10 @@ - +
-
+
取消 确定
diff --git a/src/components/drawers/AddLevelImportStu.vue b/src/components/drawers/AddLevelImportStu.vue index 5aac683e..f3dffcc3 100644 --- a/src/components/drawers/AddLevelImportStu.vue +++ b/src/components/drawers/AddLevelImportStu.vue @@ -37,35 +37,12 @@ name="uploadFile" :multiple="false" @change="handleChange" - :data=" - courseType == 1 - ? { + :data="{ targetId: Number(courseId), - type: 3, - userId: userId, - userName: userName, - } - : courseType == 3 - ? { - targetId: Number(courseId), - type: 1, - userId: userId, - userName: userName, - } - : courseType == 4 - ? { - targetId: Number(courseId), - type: 2, - userId: userId, - userName: userName, - } - : { - targetId: Number(courseId), - type: 3, - userId: userId, - userName: userName, - } - " + type: courseType, + userId: userInfo.id, + userName: userInfo.realName, + } " :showUploadList="false" >

@@ -205,7 +182,7 @@