diff --git a/src/api/method.js b/src/api/method.js index 07bba27f..ef5ccc81 100644 --- a/src/api/method.js +++ b/src/api/method.js @@ -162,6 +162,7 @@ function autoComma(number) { return 0; } } +//新建延迟 const commonData = { timeout: 50 } @@ -368,6 +369,8 @@ const commonData = { //组织树 const organizationalTree = [] + +const iframeUrl = "https://u-pre.boe.com/pc/iframe" export { toDate, getWeek, @@ -375,4 +378,5 @@ export { formatNumber, commonData, organizationalTree, + iframeUrl, } \ No newline at end of file diff --git a/src/components/Modals/addOnlineCourse.vue b/src/components/Modals/addOnlineCourse.vue new file mode 100644 index 00000000..69d053fa --- /dev/null +++ b/src/components/Modals/addOnlineCourse.vue @@ -0,0 +1,68 @@ + + + + + + \ No newline at end of file diff --git a/src/components/drawers/SelectTest.vue b/src/components/drawers/SelectTest.vue index 70749429..dab3e4e4 100644 --- a/src/components/drawers/SelectTest.vue +++ b/src/components/drawers/SelectTest.vue @@ -1,466 +1,497 @@ +
+ + +
+ + + + + + + + + if (state.name !== "" || state.projectName !== "") { + api + .taskStudentList(objser) + .then((res) => { + state.pageNo = res.data.data.pageNo; + state.pageSize = res.data.data.pageSize; + state.pageSize = res.data.data.pageSize; + let newArr = []; + for (let i = 0; i < res.data.data.rows.length; i++) { + if (res.data.data.rows[i].userInfoBo.userName == state.name) + newArr.push(res.data.data.rows[i].userInfoBo); + } + state.tabledata = newArr; + }) + .catch(() => {}); + } + }; + + //重置任务列表 + const resetTaskList = () => { + state.inputPname = ""; + state.inputCname = ""; + state.tableData = []; + state.selectedRowKeys = []; + state.SelectTestData = []; + state.currentPage = 1; + getManageList(); + }; + return { + ...toRefs(state), + closeDrawer, + afterVisibleChange, + getTableDate, + onSelectChange, + CreatSTText, + newTest, + tableDataFunc, + onChange, + getManageList, + searchTaskList, + resetTaskList, + }; + }, +}; + +} + +.addExamModal { + .ant-modal { + width: 80% !important; + } +} + \ No newline at end of file diff --git a/src/views/courselibrary/CourseManage.vue b/src/views/courselibrary/CourseManage.vue index c128f5d5..b0db9bb5 100644 --- a/src/views/courselibrary/CourseManage.vue +++ b/src/views/courselibrary/CourseManage.vue @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-09 09:26:26 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2022-11-22 20:13:01 + * @LastEditTime: 2022-11-24 16:16:10 * @FilePath: /fe-manage/src/views/courselibrary/CourseManage.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> @@ -11,8 +11,8 @@
@@ -20,12 +20,14 @@