From ad174acb3036355a071398b7de9f573f0b5797cf Mon Sep 17 00:00:00 2001 From: dongwug Date: Fri, 21 Oct 2022 10:47:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=8E=88=E6=9D=83=E5=90=8D=E5=8D=95=20?= =?UTF-8?q?=E6=8E=88=E6=9D=83=E5=BC=B9=E7=AA=97=E6=A0=B7=E5=BC=8F=20?= =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E9=80=80=E5=87=BA=E6=B8=85=E9=99=A4?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/CorPowerlist.vue | 352 +++++ src/components/drawers/OwnPower.vue | 1402 +++++++++--------- src/components/drawers/Ownership.vue | 1 + src/views/courselibrary/CoursewareManage.vue | 294 ++-- 4 files changed, 1246 insertions(+), 803 deletions(-) create mode 100644 src/components/drawers/CorPowerlist.vue diff --git a/src/components/drawers/CorPowerlist.vue b/src/components/drawers/CorPowerlist.vue new file mode 100644 index 00000000..34c4d1e7 --- /dev/null +++ b/src/components/drawers/CorPowerlist.vue @@ -0,0 +1,352 @@ + + + \ No newline at end of file diff --git a/src/components/drawers/OwnPower.vue b/src/components/drawers/OwnPower.vue index 57a410a4..ca7183fe 100644 --- a/src/components/drawers/OwnPower.vue +++ b/src/components/drawers/OwnPower.vue @@ -1,726 +1,776 @@ +
+ + +
+ + + + }, + setup(props, ctx) { + const state = reactive({ + pageSize: 10, + currentPage: 1, + tableDataTotal: 50, + organizeList: [ + { + id: 1, + value: "京东方", + label: "京东方", + children: [ + { + id: 2, + value: "产研部", + label: "产研部", + children: [ + { + id: 4, + value: "产品部门", + label: "产品部门", + }, + { + id: 5, + value: "研发部门", + label: "研发部门", + }, + ], + }, + { + id: 3, + value: "人力资源部", + label: "人力资源部", + children: [ + { + id: 6, + value: "人事部", + label: "人事部", + }, + { + id: 7, + value: "行政部", + label: "行政部", + }, + ], + }, + ], + }, + ], + tabledata: [ + { + key: 1, + name: "小李", + bum: "产研部", + gangw: "产品经理", + }, + { + key: 2, + name: "小刘", + bum: "产研部", + gangw: "产品经理", + }, + { + key: 3, + name: "小李", + bum: "产研部", + gangw: "产品经理", + }, + { + key: 4, + name: "小李", + bum: "产研部", + gangw: "产品经理", + }, + { + key: 5, + name: "小李", + bum: "产研部", + gangw: "产品经理", + }, + { + key: 6, + name: "小李", + bum: "产研部", + gangw: "产品经理", + }, + { + key: 7, + name: "小李", + bum: "产研部", + gangw: "产品经理", + }, + { + key: 8, + name: "小李", + bum: "产研部", + gangw: "产品经理", + }, + { + key: 9, + name: "小李", + bum: "产研部", + gangw: "产品经理", + }, + ], + tablecolumns: [ + { + title: "姓名", + dataIndex: "name", + key: "name", + width: 30, + align: "left", + className: "h", + }, + { + title: "部门", + dataIndex: "bum", + key: "bum", + width: 40, + align: "center", + className: "h", + }, + { + title: "岗位", + dataIndex: "gangw", + key: "gangw", + width: 40, + align: "center", + className: "h", + }, + ], + tabledata1: [ + { + key: 1, + name: "学习受众", + time: "2022-10-31 23:12:00", + total: "1", + state: "已发布", + type: "普通受众", + }, + { + key: 2, + name: "2", + time: "2022-10-31 23:12:00", + total: "2", + state: "已发布", + type: "普通受众", + }, + { + key: 3, + name: "mask", + time: "2022-10-31 23:12:00", + total: "1", + state: "已发布", + type: "普通受众", + }, + { + key: 4, + name: "学习受众", + time: "2022-10-31 23:12:00", + total: "1", + state: "已发布", + type: "普通受众", + }, + { + key: 5, + name: "学业受众", + time: "2022-10-31 23:12:00", + total: "2", + state: "已发布", + type: "普通受众", + }, + { + key: 6, + name: "案例受众", + time: "2022-10-31 23:12:00", + total: "3", + state: "已发布", + type: "普通受众", + }, + ], + tablecolumns1: [ + { + title: "受众名称", + dataIndex: "name", + key: "name", + width: 30, + align: "left", + className: "h", + }, + { + title: "创建时间", + dataIndex: "time", + key: "time", + width: 40, + align: "center", + className: "h", + }, + { + title: "人数", + dataIndex: "total", + key: "total", + width: 20, + align: "center", + className: "h", + }, + { + title: "状态", + dataIndex: "state", + key: "state", + width: 20, + align: "center", + className: "h", + }, + { + title: "类型", + dataIndex: "type", + key: "type", + width: 30, + align: "center", + className: "h", + }, + ], + }); + const closeDrawer = () => { + ctx.emit("update:ownpowervisible", false); + }; + + const afterVisibleChange = (bool) => { + console.log("state", bool); + }; + + return { + ...toRefs(state), + afterVisibleChange, + closeDrawer, + // change, + }; + }, +}; + \ No newline at end of file +} + \ No newline at end of file diff --git a/src/components/drawers/Ownership.vue b/src/components/drawers/Ownership.vue index 6fe9cc3f..f0267f44 100644 --- a/src/components/drawers/Ownership.vue +++ b/src/components/drawers/Ownership.vue @@ -765,6 +765,7 @@ export default { background-image: url(../../assets/images/basicinfo/ch.png); right: -8px; top: -8px; + cursor: pointer; } } } diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 748a3862..4bddd2c2 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -79,9 +79,11 @@
-
-
+ --> -
+
-
无课程
-
请点击新建开课,创建课程
+
+ 无课程 +
+
+ 请点击新建开课,创建课程 +
-
+
-
+
-
二维码
-
在线课
-
面授课
-
面授课签到
+
+ 二维码 +
+
+ 在线课 +
+
+ 面授课 +
+
+ 面授课签到 +
+
+ 管理者面授课 +
@@ -1707,12 +1730,18 @@ + +
+ +
+