diff --git a/src/App.vue b/src/App.vue index e09e7e17..436f650d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -43,7 +43,7 @@ export default defineComponent({ const store = useStore(); const isLogin = ref(false); // console.log("router", router.getRoutes(), route); - console.log("版本0.13------------"); + console.log("版本0.17------------"); const routes = computed(() => { return router.getRoutes().filter((e) => e.meta?.isLink); }); diff --git a/src/api/config.js b/src/api/config.js index e1b4874a..965764b6 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-04 13:27:07 + * @LastEditTime: 2022-12-05 00:00:40 * @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/MemberList.vue b/src/components/drawers/MemberList.vue index 3ec14370..5f163a64 100644 --- a/src/components/drawers/MemberList.vue +++ b/src/components/drawers/MemberList.vue @@ -97,8 +97,8 @@
- - + +
{ ctx.emit("update:Lvisible", false); + state.tabledata = []; + console.log("tabledata", state.tabledata); }; const showModal = () => { if (state.selectedRows.length == 0) { @@ -345,18 +347,25 @@ export default { state.tableDataTotal = -1; getProjStu(objf).then((res) => { console.log(res.data.data, "获取学员列表"); - let leng = res.data.data.rows.length; - state.total = res.data.data.total; - state.tableDataTotal = res.data.data.total; - if (leng > 0) { + if (res.data.code === 200) { + state.total = res.data.data.total; + state.tableDataTotal = res.data.data.total; let arr = res.data.data.rows; getTableDataList(arr); } + // let leng = res.data.data.rows.length; + + // state.tableDataTotal = res.data.data.total; + // if (leng > 0) { + + // } }); }; - const afterVisibleChange = () => { - getStu(); + const afterVisibleChange = (bool) => { + if (bool) { + getStu(); + } }; //分页 const changePaginationStu = (page) => { diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 1b834bff..063a7e63 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -7,53 +7,53 @@
@@ -81,16 +81,16 @@
@@ -104,18 +104,18 @@
课程名称:
{{ xzinputV1.length }}/20 @@ -129,8 +129,8 @@
@@ -138,15 +138,15 @@
@@ -154,8 +154,8 @@
@@ -163,14 +163,14 @@
- 1、课程名称统一不加书名号。
+ 1、课程名称统一不加书名号。
2、项目名称、属地等信息如需体现在课程名称中,请放在课程名称信息 之后,如“时间管理(GROW180项目)”或“时间管理(B*)”确保首先 - 看到的是课程内容主题。
+ 看到的是课程内容主题。
3、同一课程如先后有多个版本,原则上仅开放最新版本,旧版本应停用 版本如必须以年份标明,请以“沟通技巧(2022年)”的方式呈现。
@@ -180,8 +180,8 @@
授课形式 @@ -191,9 +191,9 @@
线上 @@ -202,9 +202,9 @@
面授 @@ -218,8 +218,8 @@
是否设置目录 @@ -228,18 +228,18 @@
@@ -263,29 +263,29 @@
编辑面授课 新建面授课
@@ -299,8 +299,8 @@
课程名称 @@ -308,10 +308,10 @@
@@ -327,19 +327,19 @@ 课程命名规则
收起
展开
@@ -347,14 +347,14 @@
- 1、课程名称统一不加书名号。
+ 1、课程名称统一不加书名号。
2、项目名称、属地等信息如需体现在课程名称中,请放在课程名称信息 之后,如“时间管理(GROW180项目)”或“时间管理(B*)”确保首先 - 看到的是课程内容主题。
+ 看到的是课程内容主题。
3、同一课程如先后有多个版本,原则上仅开放最新版本,旧版本应停用 版本如必须以年份标明,请以“沟通技巧(2022年)”的方式呈现。
@@ -364,26 +364,26 @@
封面图
avatar
@@ -403,9 +403,9 @@
目标人群 @@ -413,10 +413,10 @@
@@ -433,10 +433,10 @@
@@ -450,8 +450,8 @@
内容分类 @@ -459,18 +459,18 @@
{ return triggerNode.parentNode || document.body; } " - v-model:value="fen_lei" - dropdownClassName="dropdown-style" - style="width: 440px" - placeholder="请选择" - :options="options2" - allowClear - showSearch + v-model:value="fen_lei" + dropdownClassName="dropdown-style" + style="width: 440px" + placeholder="请选择" + :options="options2" + allowClear + showSearch >
@@ -482,18 +482,18 @@
{ return triggerNode.parentNode || document.body; } " - v-model:value="chang_jin" - dropdownClassName="dropdown-style" - style="width: 440px" - placeholder="请选择" - :options="options3" - allowClear - showSearch + v-model:value="chang_jin" + dropdownClassName="dropdown-style" + style="width: 440px" + placeholder="请选择" + :options="options3" + allowClear + showSearch >
@@ -504,16 +504,16 @@
{ return triggerNode.parentNode || document.body; } " - v-model:value="tags_val" - mode="tags" - style="width: 440px; height: 40px" - placeholder="请输入按回车键创建成功" - :options="tagsOptions" + v-model:value="tags_val" + mode="tags" + style="width: 440px; height: 40px" + placeholder="请输入按回车键创建成功" + :options="tagsOptions" >
@@ -523,8 +523,8 @@
asterisk
授课教师 @@ -532,8 +532,8 @@
@@ -545,10 +545,10 @@
@@ -564,15 +564,15 @@
enclosure
添加附件 @@ -585,9 +585,9 @@
@@ -645,17 +645,17 @@
@@ -680,28 +680,28 @@
查看面授课
@@ -715,8 +715,8 @@
课程名称 @@ -724,11 +724,11 @@
@@ -744,19 +744,19 @@ 课程命名规则
收起
展开
@@ -764,14 +764,14 @@
- 1、课程名称统一不加书名号。
+ 1、课程名称统一不加书名号。
2、项目名称、属地等信息如需体现在课程名称中,请放在课程名称信息 之后,如“时间管理(GROW180项目)”或“时间管理(B*)”确保首先 - 看到的是课程内容主题。
+ 看到的是课程内容主题。
3、同一课程如先后有多个版本,原则上仅开放最新版本,旧版本应停用 版本如必须以年份标明,请以“沟通技巧(2022年)”的方式呈现。
@@ -781,26 +781,26 @@
封面图
avatar
@@ -820,9 +820,9 @@
目标人群 @@ -830,10 +830,10 @@
@@ -850,10 +850,10 @@
@@ -867,8 +867,8 @@
内容分类 @@ -876,18 +876,18 @@
{ return triggerNode.parentNode || document.body; } " - v-model:value="fen_lei" - dropdownClassName="dropdown-style" - style="width: 440px" - placeholder="请选择" - :options="options2" - allowClear - showSearch + v-model:value="fen_lei" + dropdownClassName="dropdown-style" + style="width: 440px" + placeholder="请选择" + :options="options2" + allowClear + showSearch >
@@ -899,18 +899,18 @@
{ return triggerNode.parentNode || document.body; } " - v-model:value="chang_jin" - dropdownClassName="dropdown-style" - style="width: 440px" - placeholder="请选择" - :options="options3" - allowClear - showSearch + v-model:value="chang_jin" + dropdownClassName="dropdown-style" + style="width: 440px" + placeholder="请选择" + :options="options3" + allowClear + showSearch >
@@ -921,16 +921,16 @@
{ return triggerNode.parentNode || document.body; } " - v-model:value="tags_val" - mode="tags" - style="width: 440px; height: 40px" - placeholder="请输入按回车键创建成功" - :options="tagsOptions" + v-model:value="tags_val" + mode="tags" + style="width: 440px; height: 40px" + placeholder="请输入按回车键创建成功" + :options="tagsOptions" >
@@ -940,8 +940,8 @@
asterisk
授课教师 @@ -949,8 +949,8 @@
@@ -962,10 +962,10 @@
@@ -981,15 +981,15 @@
enclosure
添加附件 @@ -1002,9 +1002,9 @@
@@ -1062,17 +1062,17 @@
@@ -1094,30 +1094,30 @@