From d4e22611b7717e4a57fb9646b77ed73d3356d0a2 Mon Sep 17 00:00:00 2001 From: suyanyan <1321717064@qq.com> Date: Tue, 16 Jul 2024 10:37:19 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=9B=B8=E5=85=B3=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SafeCampus.WEB/src/api/interface/sys/index.ts | 1 + .../src/api/interface/sys/usermanage/index.ts | 15 +++ .../api/interface/sys/usermanage/personnel.ts | 47 +++++++ SafeCampus.WEB/src/api/modules/index.ts | 2 +- .../src/api/modules/usermanage/index.ts | 15 +++ .../src/api/modules/usermanage/personnel.ts | 56 ++++++++ .../src/views/userManage/personnel/index.vue | 127 ++++++++++++++++++ 7 files changed, 262 insertions(+), 1 deletion(-) create mode 100644 SafeCampus.WEB/src/api/interface/sys/usermanage/index.ts create mode 100644 SafeCampus.WEB/src/api/interface/sys/usermanage/personnel.ts create mode 100644 SafeCampus.WEB/src/api/modules/usermanage/index.ts create mode 100644 SafeCampus.WEB/src/api/modules/usermanage/personnel.ts create mode 100644 SafeCampus.WEB/src/views/userManage/personnel/index.vue diff --git a/SafeCampus.WEB/src/api/interface/sys/index.ts b/SafeCampus.WEB/src/api/interface/sys/index.ts index fec76b9..663fadb 100644 --- a/SafeCampus.WEB/src/api/interface/sys/index.ts +++ b/SafeCampus.WEB/src/api/interface/sys/index.ts @@ -20,3 +20,4 @@ export * from "./audit"; export * from "./organization"; export * from "./auth"; export * from "./warn"; +export * from "./usermanage"; diff --git a/SafeCampus.WEB/src/api/interface/sys/usermanage/index.ts b/SafeCampus.WEB/src/api/interface/sys/usermanage/index.ts new file mode 100644 index 0000000..7d0c865 --- /dev/null +++ b/SafeCampus.WEB/src/api/interface/sys/usermanage/index.ts @@ -0,0 +1,15 @@ +/** + * @description + * @license Apache License Version 2.0 + * @Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛 + * @remarks + * SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款: + * 1.请不要删除和修改根目录下的LICENSE文件。 + * 2.请不要删除和修改SimpleAdmin源码头部的版权声明。 + * 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin + * 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。 + * 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为不要删除和修改作者声明。 + * 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关 + * @see https://gitee.com/dotnetmoyu/SimpleAdmin + */ +export * from "./personnel"; diff --git a/SafeCampus.WEB/src/api/interface/sys/usermanage/personnel.ts b/SafeCampus.WEB/src/api/interface/sys/usermanage/personnel.ts new file mode 100644 index 0000000..80ad31b --- /dev/null +++ b/SafeCampus.WEB/src/api/interface/sys/usermanage/personnel.ts @@ -0,0 +1,47 @@ +/** + * @description 用户管理接口 + * @license Apache License Version 2.0 + * @Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛 + * @remarks + * SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款: + * 1.请不要删除和修改根目录下的LICENSE文件。 + * 2.请不要删除和修改SimpleAdmin源码头部的版权声明。 + * 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin + * 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。 + * 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为不要删除和修改作者声明。 + * 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关 + */ + +import { ReqId, ReqPage } from "@/api"; +/** + * @Description: 人员管理接口 + * @Author: syy + * @Date: 2023-12-15 15:34:54 + */ + +export namespace SysUserPersonnel { + /** 头像信息 */ + export interface SysUserAvatar { + /** 头像 */ + avatar?: string; + } + + /** 用户信息 */ + export interface SysUserPerInfo { + id: number | string; + /** 人员id */ + personId?: string; + /** 姓名 */ + name?: string; + /** 年龄 */ + age?: number | string; + /** 性别 */ + gender?: string; + /** 手机 */ + phone?: string; + /** 扩展字段 */ + extData?: string; + /** 人脸 */ + // faces: Array<>; + } +} diff --git a/SafeCampus.WEB/src/api/modules/index.ts b/SafeCampus.WEB/src/api/modules/index.ts index 50b2c9b..0f7fab2 100644 --- a/SafeCampus.WEB/src/api/modules/index.ts +++ b/SafeCampus.WEB/src/api/modules/index.ts @@ -19,4 +19,4 @@ export * from "./warn"; export * from "./monitor"; export * from "./sysconfig"; export * from "./statistion"; - +export * from "./usermanage"; diff --git a/SafeCampus.WEB/src/api/modules/usermanage/index.ts b/SafeCampus.WEB/src/api/modules/usermanage/index.ts new file mode 100644 index 0000000..7d0c865 --- /dev/null +++ b/SafeCampus.WEB/src/api/modules/usermanage/index.ts @@ -0,0 +1,15 @@ +/** + * @description + * @license Apache License Version 2.0 + * @Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛 + * @remarks + * SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款: + * 1.请不要删除和修改根目录下的LICENSE文件。 + * 2.请不要删除和修改SimpleAdmin源码头部的版权声明。 + * 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin + * 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。 + * 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为不要删除和修改作者声明。 + * 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关 + * @see https://gitee.com/dotnetmoyu/SimpleAdmin + */ +export * from "./personnel"; diff --git a/SafeCampus.WEB/src/api/modules/usermanage/personnel.ts b/SafeCampus.WEB/src/api/modules/usermanage/personnel.ts new file mode 100644 index 0000000..29f0c5d --- /dev/null +++ b/SafeCampus.WEB/src/api/modules/usermanage/personnel.ts @@ -0,0 +1,56 @@ +/** + * @description 单页管理接口 + * @license Apache License Version 2.0 + * @Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛 + * @remarks + * SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款: + * 1.请不要删除和修改根目录下的LICENSE文件。 + * 2.请不要删除和修改SimpleAdmin源码头部的版权声明。 + * 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin + * 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。 + * 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为不要删除和修改作者声明。 + * 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关 + * @see https://gitee.com/dotnetmoyu/SimpleAdmin + */ +import { moduleRequest } from "@/api/request"; +import { ResPage, ZJRQ, ReqId } from "@/api/interface"; +const http = moduleRequest("/business/personApi/"); + +/** + * @Description: 单页管理 + * @Author: SYY + * @Date: 2023-12-15 15:34:54 + */ +const userManagePersonnelApi = { + /** 获取单页分页 */ + page(params: ZJRQ.Page) { + return http.post("pageQuery", params); + }, + /** 获取单页详情 */ + detail(params: ReqId) { + return http.get("getPersionById", params); + }, + /** 删除机构 */ + delete(params: ReqId) { + return http.post("deletePersonD", params); + }, + /** 新增机构 */ + add(params: ZJRQ.WarnInfo) { + return http.post("createPersonA", params); + }, + /** 修改机构 */ + edit(params: ZJRQ.WarnInfo) { + return http.post("updatePersionU", params); + } +}; + +const userPerButtonCode = { + /** 新增人员 */ + add: "userManagePersonnelAdd", + /** 删除人员 */ + edit: "userManagePersonnelEdit", + /** 删除人员 */ + delete: "userManagePersonnelDelete" +}; + +export { userManagePersonnelApi, userPerButtonCode }; diff --git a/SafeCampus.WEB/src/views/userManage/personnel/index.vue b/SafeCampus.WEB/src/views/userManage/personnel/index.vue new file mode 100644 index 0000000..e300ebd --- /dev/null +++ b/SafeCampus.WEB/src/views/userManage/personnel/index.vue @@ -0,0 +1,127 @@ + + + + From de62fdd29f06f8b13e1398d5f0fb2b5a07423521 Mon Sep 17 00:00:00 2001 From: wwp <782568523@qq.com> Date: Tue, 16 Jul 2024 11:06:15 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SafeCampus.WEB/components.d.ts | 6 +- SafeCampus.WEB/index.html | 2 +- .../src/api/modules/monitor/live.ts | 19 +- .../src/assets/images/home/carame.png | Bin 0 -> 4088 bytes .../src/assets/images/home/handle.png | Bin 0 -> 3397 bytes .../src/assets/images/home/participation.png | Bin 0 -> 4904 bytes .../src/assets/images/home/warn.png | Bin 0 -> 4025 bytes .../src/layouts/components/Footer/index.vue | 4 +- SafeCampus.WEB/src/views/home/index.scss | 60 +- SafeCampus.WEB/src/views/home/index.vue | 383 +++- SafeCampus.WEB/src/views/monitor/live/ali.css | 1609 ----------------- .../views/monitor/live/components/form.vue | 118 ++ .../src/views/monitor/live/index.scss | 38 + .../src/views/monitor/live/index.vue | 174 +- .../src/views/warn/statistion/index.vue | 6 +- 15 files changed, 743 insertions(+), 1676 deletions(-) create mode 100644 SafeCampus.WEB/src/assets/images/home/carame.png create mode 100644 SafeCampus.WEB/src/assets/images/home/handle.png create mode 100644 SafeCampus.WEB/src/assets/images/home/participation.png create mode 100644 SafeCampus.WEB/src/assets/images/home/warn.png delete mode 100644 SafeCampus.WEB/src/views/monitor/live/ali.css create mode 100644 SafeCampus.WEB/src/views/monitor/live/components/form.vue create mode 100644 SafeCampus.WEB/src/views/monitor/live/index.scss diff --git a/SafeCampus.WEB/components.d.ts b/SafeCampus.WEB/components.d.ts index 09bffd5..84a8379 100644 --- a/SafeCampus.WEB/components.d.ts +++ b/SafeCampus.WEB/components.d.ts @@ -24,7 +24,6 @@ declare module 'vue' { ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem'] ElButton: typeof import('element-plus/es')['ElButton'] ElCheckbox: typeof import('element-plus/es')['ElCheckbox'] - ElCol: typeof import('element-plus/es')['ElCol'] ElColorPicker: typeof import('element-plus/es')['ElColorPicker'] ElContainer: typeof import('element-plus/es')['ElContainer'] ElDialog: typeof import('element-plus/es')['ElDialog'] @@ -43,13 +42,10 @@ declare module 'vue' { ElMain: typeof import('element-plus/es')['ElMain'] ElMenu: typeof import('element-plus/es')['ElMenu'] ElMenuItem: typeof import('element-plus/es')['ElMenuItem'] - ElOption: typeof import('element-plus/es')['ElOption'] ElPagination: typeof import('element-plus/es')['ElPagination'] ElPopover: typeof import('element-plus/es')['ElPopover'] ElRadio: typeof import('element-plus/es')['ElRadio'] - ElRow: typeof import('element-plus/es')['ElRow'] ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] - ElSelect: typeof import('element-plus/es')['ElSelect'] ElSpace: typeof import('element-plus/es')['ElSpace'] ElSubMenu: typeof import('element-plus/es')['ElSubMenu'] ElSwitch: typeof import('element-plus/es')['ElSwitch'] @@ -59,6 +55,8 @@ declare module 'vue' { ElTabs: typeof import('element-plus/es')['ElTabs'] ElTag: typeof import('element-plus/es')['ElTag'] ElTooltip: typeof import('element-plus/es')['ElTooltip'] + ElTree: typeof import('element-plus/es')['ElTree'] + ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect'] ESign: typeof import('./src/components/ESign/index.vue')['default'] FormContainer: typeof import('./src/components/Form/FormContainer/index.vue')['default'] Grid: typeof import('./src/components/Grid/index.vue')['default'] diff --git a/SafeCampus.WEB/index.html b/SafeCampus.WEB/index.html index da93951..89f7a8f 100644 --- a/SafeCampus.WEB/index.html +++ b/SafeCampus.WEB/index.html @@ -2,7 +2,7 @@ - + <%- title %> diff --git a/SafeCampus.WEB/src/api/modules/monitor/live.ts b/SafeCampus.WEB/src/api/modules/monitor/live.ts index bda1510..e5bbb47 100644 --- a/SafeCampus.WEB/src/api/modules/monitor/live.ts +++ b/SafeCampus.WEB/src/api/modules/monitor/live.ts @@ -36,5 +36,22 @@ const monitorLIVEApi = { }, }; +/** + * @Description: 监控管理按钮权限码 + * @Author: huguodong + * @Date: 2024-02-20 09:51:15 + */ +const monitorLiveButtonCode = { + /** 新增监控 */ + add: "monitorLiveAdd", + /** 编辑监控 */ + edit: "monitorLiveEdit", + /** 删除监控 */ + delete: "monitorLiveDelete", + /** 批量删除监控 */ + batchDelete: "monitorLiveBatchDelete", + /** 复制监控 */ + copy: "monitorLiveCopy" +}; -export { monitorLIVEApi }; +export { monitorLIVEApi, monitorLiveButtonCode }; diff --git a/SafeCampus.WEB/src/assets/images/home/carame.png b/SafeCampus.WEB/src/assets/images/home/carame.png new file mode 100644 index 0000000000000000000000000000000000000000..710e8b4aa2ba86c33bf45b5b1a790b6d5ecc93d1 GIT binary patch literal 4088 zcmVPx^vPnciRCr$PU43*^#TEbEc^e226%|UVw4y{oQ2~j9m5Se}*%&!ktU~>++S3oM z*4iqysMs&7^`ouy_<>rrg-Ri^LHs;mML|I2C^ghjX~h}^D%wCG$(!4Ace7-7+3dde z_PyO%vvbb=wKMnLxxaU3?%cUELny{Fo6FI^eYh1W8^KCffiZ+Zl?1K?FaSUW0Tlp3 z@$NCO6+jDstpsXja5D%^q*arx+t*=dStF*9{9jasibC3X+Xq{{`b=Qx@gR&RV0a=p zKJ}r4fkrT1Ca9O~HY~+t+UOJQz{r>jV0~M)vaE9foI=2;z%-D7Ff$qfEYM0VKn<-Z zgbdkung!q@9;$485eU-=7?Mr+eE!eC1`r<8ZEX)?QlAa^*oI|?CI zK>)NC@>GVNQLMnF0wvB5k(zGT(7b$um|p-Jc&w%QE)b8)cSrNVPb^YHU4}5N&Ido? zksko(bAJ`mw-e#Ae08jle3&pxZ)?37Q!1K+mLqroBV41PXAv+s=+2l#pMho~^_`%H z)!+b}&E;yKzK?*5Oj2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IqM1wOVK?VQ)b441!QKK)= z`k)s + diff --git a/SafeCampus.WEB/src/views/monitor/live/index.scss b/SafeCampus.WEB/src/views/monitor/live/index.scss new file mode 100644 index 0000000..00728b8 --- /dev/null +++ b/SafeCampus.WEB/src/views/monitor/live/index.scss @@ -0,0 +1,38 @@ +.filter { + box-sizing: border-box; + width: 280px; + height: 100%; + padding: 18px; + margin-right: 10px; + .title { + margin: 0 0 15px; + font-size: 18px; + font-weight: bold; + color: var(--el-color-info-dark-2); + letter-spacing: 0.5px; + } + .el-input { + margin: 0 0 15px; + } + .el-scrollbar { + :deep(.el-tree) { + height: 80%; + overflow: auto; + .el-tree-node__content { + height: 33px; + } + } + :deep(.el-tree--highlight-current) { + .el-tree-node.is-current > .el-tree-node__content { + background-color: var(--el-color-primary); + .el-tree-node__label, + .el-tree-node__expand-icon { + color: white; + } + .is-leaf { + color: transparent; + } + } + } + } +} diff --git a/SafeCampus.WEB/src/views/monitor/live/index.vue b/SafeCampus.WEB/src/views/monitor/live/index.vue index f999c36..2b923b5 100644 --- a/SafeCampus.WEB/src/views/monitor/live/index.vue +++ b/SafeCampus.WEB/src/views/monitor/live/index.vue @@ -4,66 +4,135 @@ * @Date: 2023-12-15 15:44:05 !--> + + + +
+ + \ No newline at end of file diff --git a/SafeCampus.WEB/src/api/modules/usermanage/classManage.ts b/SafeCampus.WEB/src/api/modules/usermanage/classManage.ts new file mode 100644 index 0000000..00011d7 --- /dev/null +++ b/SafeCampus.WEB/src/api/modules/usermanage/classManage.ts @@ -0,0 +1,52 @@ +/** + * @description 单页管理接口 + * @license Apache License Version 2.0 + * @Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛 + * @remarks + * SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款: + * 1.请不要删除和修改根目录下的LICENSE文件。 + * 2.请不要删除和修改SimpleAdmin源码头部的版权声明。 + * 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin + * 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。 + * 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为不要删除和修改作者声明。 + * 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关 + * @see https://gitee.com/dotnetmoyu/SimpleAdmin + */ +import { moduleRequest } from "@/api/request"; +import { ResPage, ZJRQ, ReqId } from "@/api/interface"; +const http = moduleRequest("/business/dfieldApi/"); + +/** + * @Description: 单页管理 + * @Author: SYY + * @Date: 2023-12-15 15:34:54 + */ +const userManageClassManageApi = { + /** 查询底库列表 */ + page(params: ZJRQ.Page) { + return http.get("queryAll", params); + }, + /** 删除底库 */ + delete(params: ReqId) { + return http.post("deleteDfieldD", params); + }, + /** 创建底库 */ + add(params: ZJRQ.WarnInfo) { + return http.post("createDfieldA", params); + }, + /** 更新底库 */ + edit(params: ZJRQ.WarnInfo) { + return http.post("updateDfieldU", params); + } +}; + +const userClassButtonCode = { + /** 新增人员 */ + add: "userManageClassManageAdd", + /** 删除人员 */ + edit: "userManageClassManageEdit", + /** 删除人员 */ + delete: "userManageClassManageDelete" +}; + +export { userManageClassManageApi,userClassButtonCode }; diff --git a/SafeCampus.WEB/src/api/modules/usermanage/index.ts b/SafeCampus.WEB/src/api/modules/usermanage/index.ts index 7d0c865..db1d1b1 100644 --- a/SafeCampus.WEB/src/api/modules/usermanage/index.ts +++ b/SafeCampus.WEB/src/api/modules/usermanage/index.ts @@ -13,3 +13,4 @@ * @see https://gitee.com/dotnetmoyu/SimpleAdmin */ export * from "./personnel"; +export * from "./classManage"; From d7f835924c46686931a8e5ce3eee73d918c12b90 Mon Sep 17 00:00:00 2001 From: wwp <782568523@qq.com> Date: Tue, 16 Jul 2024 17:41:47 +0800 Subject: [PATCH 05/11] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Selectors/ClassUserselector/index.vue | 246 +++++++++++++++++ .../Selectors/ClassUserselector/interface.ts | 48 ++++ SafeCampus.WEB/src/styles/element.scss | 16 +- .../monitor/live/components/userForm.vue | 127 +++++++++ .../src/views/monitor/live/index.scss | 44 ++- .../src/views/monitor/live/index.vue | 250 +++++++++++++----- 6 files changed, 658 insertions(+), 73 deletions(-) create mode 100644 SafeCampus.WEB/src/components/Selectors/ClassUserselector/index.vue create mode 100644 SafeCampus.WEB/src/components/Selectors/ClassUserselector/interface.ts create mode 100644 SafeCampus.WEB/src/views/monitor/live/components/userForm.vue diff --git a/SafeCampus.WEB/src/components/Selectors/ClassUserselector/index.vue b/SafeCampus.WEB/src/components/Selectors/ClassUserselector/index.vue new file mode 100644 index 0000000..d725bd9 --- /dev/null +++ b/SafeCampus.WEB/src/components/Selectors/ClassUserselector/index.vue @@ -0,0 +1,246 @@ + + + + + + diff --git a/SafeCampus.WEB/src/components/Selectors/ClassUserselector/interface.ts b/SafeCampus.WEB/src/components/Selectors/ClassUserselector/interface.ts new file mode 100644 index 0000000..2c0132b --- /dev/null +++ b/SafeCampus.WEB/src/components/Selectors/ClassUserselector/interface.ts @@ -0,0 +1,48 @@ +/** + * @description 用户选择器接口 + * @license Apache License Version 2.0 + * @Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛 + * @remarks + * SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款: + * 1.请不要删除和修改根目录下的LICENSE文件。 + * 2.请不要删除和修改SimpleAdmin源码头部的版权声明。 + * 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin + * 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。 + * 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为不要删除和修改作者声明。 + * 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关 + * @see https://gitee.com/dotnetmoyu/SimpleAdmin + */ +import UserSelector from "./index.vue"; + +/** 用户选择器属性 */ +export interface UserSelectProps { + /** 组织树api */ + orgTreeApi: (data?: any) => Promise; + /** 职位选择api */ + positionTreeApi?: (data?: any) => Promise; + /** 角色选择api */ + roleTreeApi?: (data?: any) => Promise; + /** 用户选择api */ + userSelectorApi: (data?: any) => Promise; + /** 是否多选 */ + multiple?: boolean; + /** 最大用户数 */ + maxCount?: number; + /** 是否是业务 */ + biz?: boolean; +} + +/** 用户选择器表格初始化参数 */ +export interface UserSelectTableInitParams { + /** 组织ID */ + orgId?: number | string | null; + /** 职位ID */ + positionId?: number | string | null; + /** 角色ID */ + roleId?: number | string | null; +} + +/** + * @description 用户选择器实例类型 + */ +export type UserSelectorInstance = Omit, keyof ComponentPublicInstance | keyof UserSelectProps>; diff --git a/SafeCampus.WEB/src/styles/element.scss b/SafeCampus.WEB/src/styles/element.scss index 78f4b47..3e5c6d7 100644 --- a/SafeCampus.WEB/src/styles/element.scss +++ b/SafeCampus.WEB/src/styles/element.scss @@ -249,13 +249,27 @@ /* el-dialog */ .el-dialog { + padding: 0!important; .el-dialog__header { - padding: 15px 20px; + padding: 16px; + margin: 0; border-bottom: 1px solid var(--el-border-color-lighter); .el-dialog__title { font-size: 17px; } + .el-dialog__headerbtn { + top: 6px; + } + } + .el-dialog__body { + padding: 30px; + + } + .el-dialog__footer { + padding: 15px 16px; + box-sizing: border-box; + border-top: 1px solid var(--el-border-color-lighter) } } diff --git a/SafeCampus.WEB/src/views/monitor/live/components/userForm.vue b/SafeCampus.WEB/src/views/monitor/live/components/userForm.vue new file mode 100644 index 0000000..cb6b623 --- /dev/null +++ b/SafeCampus.WEB/src/views/monitor/live/components/userForm.vue @@ -0,0 +1,127 @@ + + + + + + diff --git a/SafeCampus.WEB/src/views/monitor/live/index.scss b/SafeCampus.WEB/src/views/monitor/live/index.scss index 00728b8..026c873 100644 --- a/SafeCampus.WEB/src/views/monitor/live/index.scss +++ b/SafeCampus.WEB/src/views/monitor/live/index.scss @@ -1,9 +1,16 @@ -.filter { +ul,li { + list-style: none; + padding: 0; + margin: 0; +} + +.treeBox { box-sizing: border-box; width: 280px; height: 100%; - padding: 18px; + padding: 14px; margin-right: 10px; + flex-shrink: 1; .title { margin: 0 0 15px; font-size: 18px; @@ -11,6 +18,36 @@ color: var(--el-color-info-dark-2); letter-spacing: 0.5px; } + .btn { + + } + .treeContent { + padding: 10px 0; + // height: calc(100% - 100px); + // overflow: auto; + .el-tree-node__content { + height: 33px; + } + .custom-tree-node { + flex: 1; + display: flex; + align-items: center; + justify-content: space-between; + font-size: 14px; + padding-right: 8px; + .node-label { + width: 100px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + font-size: 16px; + } + + } + :deep(.el-tree-node__content) { + height: 50px; + } + } .el-input { margin: 0 0 15px; } @@ -36,3 +73,6 @@ } } } +.table-box { + width: calc(100% - 280px); +} diff --git a/SafeCampus.WEB/src/views/monitor/live/index.vue b/SafeCampus.WEB/src/views/monitor/live/index.vue index 2b923b5..3b7b71e 100644 --- a/SafeCampus.WEB/src/views/monitor/live/index.vue +++ b/SafeCampus.WEB/src/views/monitor/live/index.vue @@ -5,19 +5,45 @@ !--> -
- +