From 65947c2eb496c081a2c918f91221281b1d8e2d2e Mon Sep 17 00:00:00 2001 From: jy <1052480693@qq.com> Date: Mon, 26 May 2025 21:03:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E2=80=99=E6=88=91=E7=9A=84?= =?UTF-8?q?=E5=B8=83=E6=8E=A7=E7=9A=84=E5=A2=9E=E5=88=A0=E6=9F=A5=E6=94=B9?= =?UTF-8?q?=E2=80=98=EF=BC=8C=E5=B8=83=E6=8E=A7=E5=AE=A1=E6=A0=B8=E9=80=81?= =?UTF-8?q?=E5=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MyComponents/ChooseUser/index.vue | 38 +- src/components/aboutTable/FormMessage.vue | 177 +++++- src/router/index.js | 187 ++++-- .../BasicManagement/components/dialogList.vue | 209 +++++++ .../components/editAddForm.vue | 242 ++++++++ .../surveillanceControl/index.vue | 193 ++++++ .../ControlApproval/index.vue | 446 ++++++++------ .../myControl/components/dialogList.vue | 229 +++++++ .../myControl/components/sendControl.vue | 139 +++-- .../myControl/components/ui/approvalInfo.vue | 277 ++++++--- .../myControl/components/ui/controlArea.vue | 341 ++++++++--- .../myControl/components/ui/controlInfo.vue | 561 +++++++++++++++--- .../myControl/components/ui/dialogList.vue | 215 +++++++ .../IntelligentControl/myControl/index.vue | 465 +++++++++------ .../fourColorManage/components/dialogList.vue | 78 ++- .../tagManage/components/editAddForm.vue | 288 ++++++--- src/views/home/layout/head.vue | 7 +- src/views/login/index.vue | 130 ++-- 18 files changed, 3332 insertions(+), 890 deletions(-) create mode 100644 src/views/backOfficeSystem/BasicManagement/components/dialogList.vue create mode 100644 src/views/backOfficeSystem/BasicManagement/surveillanceControl/components/editAddForm.vue create mode 100644 src/views/backOfficeSystem/BasicManagement/surveillanceControl/index.vue create mode 100644 src/views/backOfficeSystem/IntelligentControl/myControl/components/dialogList.vue create mode 100644 src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/dialogList.vue diff --git a/src/components/MyComponents/ChooseUser/index.vue b/src/components/MyComponents/ChooseUser/index.vue index e5b79d3..8311e04 100644 --- a/src/components/MyComponents/ChooseUser/index.vue +++ b/src/components/MyComponents/ChooseUser/index.vue @@ -44,7 +44,11 @@ style="width: 100%" height="450" > - + { // 为用户分配角色 const onComfirm = () => { const userList = multipleSelectionUser.value; - let list = [] - let listId = [] - userList.forEach(val=>{ - if(listId.indexOf(val.id) == -1) { + let list = []; + let listId = []; + userList.forEach((val) => { + if (listId.indexOf(val.id) == -1) { list.push(val); listId.push(val.id); } - }) + }); emits("choosedUsers", list); let data = { type: props.LeaderType, userList: userList }; + emits("choosedUsersLeader", data); closed(); }; @@ -193,20 +198,20 @@ const handleCurrentChange = (currentPage) => { }; const getListData = () => { const params = listQuery.value; - selectUserDeptPage(params).then(res=>{ + selectUserDeptPage(params).then((res) => { tableData.value = res?.records; total.value = Number(res.total); - multipleUser() + multipleUser(); }); }; //列表回显 function multipleUser() { - tableData.value.forEach(item=>{ - if(props.roleIds.some(id=>id == item.id)){ + tableData.value.forEach((item) => { + if (props.roleIds.some((id) => id == item.id)) { multipleUserRef.value.toggleRowSelection(item, true); } - }) + }); } const handleFilter = () => { @@ -226,7 +231,6 @@ const handleSelectionChange = (val) => { } else { multipleSelectionUser.value = val; } - }; @@ -241,10 +245,8 @@ const handleSelectionChange = (val) => { .tabBoxRadio .el-table__header-wrapper .el-checkbox { display: none; } -.el-dialog{ - background: #050e33; -} -.el-dialog__title{ - color: #fff; + +.el-dialog__title { + color: #fff; } diff --git a/src/components/aboutTable/FormMessage.vue b/src/components/aboutTable/FormMessage.vue index 41fbb64..10957b4 100644 --- a/src/components/aboutTable/FormMessage.vue +++ b/src/components/aboutTable/FormMessage.vue @@ -1,46 +1,155 @@ - - \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index b86c871..f5f9bab 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -29,7 +29,8 @@ export const privateRoutes = [ { path: "/user/department-ist", name: "departmentList", - component: () => import("@/views/backOfficeSystem/systemConfig/department-list/index"), + component: () => + import("@/views/backOfficeSystem/systemConfig/department-list/index"), meta: { title: "部门管理", icon: "article-ranking" @@ -39,7 +40,8 @@ export const privateRoutes = [ { path: "/user/userList", name: "userList", - component: () => import("@/views/backOfficeSystem/systemConfig/user-list/index"), + component: () => + import("@/views/backOfficeSystem/systemConfig/user-list/index"), meta: { title: "用户管理", icon: "article-ranking" @@ -48,7 +50,8 @@ export const privateRoutes = [ { path: "/user/role", name: "userRoleIndex", - component: () => import("@/views/backOfficeSystem/systemConfig/role-list/index"), + component: () => + import("@/views/backOfficeSystem/systemConfig/role-list/index"), meta: { title: "角色列表", icon: "article-ranking" @@ -57,7 +60,8 @@ export const privateRoutes = [ { path: "/user/menuList", name: "menuList", - component: () => import("@/views/backOfficeSystem/systemConfig/menu-list/index"), + component: () => + import("@/views/backOfficeSystem/systemConfig/menu-list/index"), meta: { title: "菜单管理", icon: "article-ranking" @@ -67,7 +71,8 @@ export const privateRoutes = [ { path: "/dict/detail", name: "dictDetail", - component: () => import("@/views/backOfficeSystem/systemConfig/dict/detail"), + component: () => + import("@/views/backOfficeSystem/systemConfig/dict/detail"), meta: { title: "字典数据" } @@ -75,7 +80,8 @@ export const privateRoutes = [ { path: "/dict/index", name: "dictIndex", - component: () => import("@/views/backOfficeSystem/systemConfig/dict/index"), + component: () => + import("@/views/backOfficeSystem/systemConfig/dict/index"), meta: { title: "字典列表", icon: "article-ranking" @@ -85,7 +91,10 @@ export const privateRoutes = [ { path: "/user/deptAllocationUser/:id", name: "deptAllocationUser", - component: () => import("@/views/backOfficeSystem/systemConfig/department-list/deptAllocationUser"), + component: () => + import( + "@/views/backOfficeSystem/systemConfig/department-list/deptAllocationUser" + ), meta: { title: "管理用户" } @@ -93,7 +102,10 @@ export const privateRoutes = [ { path: "/user/allocationUser/:id", name: "allocationUser", - component: () => import("@/views/backOfficeSystem/systemConfig/role-list/allocationUser"), + component: () => + import( + "@/views/backOfficeSystem/systemConfig/role-list/allocationUser" + ), meta: { title: "分配用户" } @@ -102,7 +114,10 @@ export const privateRoutes = [ { path: "/user/systemConfig", name: "systemConfig", - component: () => import("@/views/backOfficeSystem/systemConfig/system-config-list/index"), + component: () => + import( + "@/views/backOfficeSystem/systemConfig/system-config-list/index" + ), meta: { title: "系统配置", icon: "article-ranking" @@ -144,7 +159,10 @@ export const publicRoutes = [ { path: "/IdentityManage", name: "IdentityManage", - component: () => import("@/views/backOfficeSystem/fourColorManage/IdentityManage/index"), + component: () => + import( + "@/views/backOfficeSystem/fourColorManage/IdentityManage/index" + ), meta: { title: "身份标签管理", icon: "article" @@ -153,7 +171,10 @@ export const publicRoutes = [ { path: "/BehaviorLabels", name: "BehaviorLabels", - component: () => import("@/views/backOfficeSystem/fourColorManage/BehaviorLabels/index"), + component: () => + import( + "@/views/backOfficeSystem/fourColorManage/BehaviorLabels/index" + ), meta: { title: "行为标签管理", icon: "article" @@ -162,7 +183,10 @@ export const publicRoutes = [ { path: "/tagManage", name: "tagManage", - component: () => import("@/views/backOfficeSystem/fourColorManage/tagManage/index"), + component: () => + import( + "@/views/backOfficeSystem/fourColorManage/tagManage/index" + ), meta: { title: "标签组合管理", icon: "article" @@ -178,7 +202,10 @@ export const publicRoutes = [ { path: "/warningControl", name: "warningControl", - component: () => import("@/views/backOfficeSystem/IntelligentControl/warningControl/index"), + component: () => + import( + "@/views/backOfficeSystem/IntelligentControl/warningControl/index" + ), meta: { title: "预警布控", icon: "article" @@ -187,7 +214,10 @@ export const publicRoutes = [ { path: "/myControl", name: "myControl", - component: () => import("@/views/backOfficeSystem/IntelligentControl/myControl/index"), + component: () => + import( + "@/views/backOfficeSystem/IntelligentControl/myControl/index" + ), meta: { title: "我的布控", icon: "article" @@ -196,7 +226,10 @@ export const publicRoutes = [ { path: "/ControlApproval", name: "ControlApproval", - component: () => import("@/views/backOfficeSystem/IntelligentControl/ControlApproval/index"), + component: () => + import( + "@/views/backOfficeSystem/IntelligentControl/ControlApproval/index" + ), meta: { title: "布控审批", icon: "article" @@ -212,7 +245,10 @@ export const publicRoutes = [ { path: "/DatAcquisition", name: "DatAcquisition", - component: () => import("@/views/backOfficeSystem/ResearchJudgment/DatAcquisition/index"), + component: () => + import( + "@/views/backOfficeSystem/ResearchJudgment/DatAcquisition/index" + ), meta: { title: "情报数据采集", icon: "article" @@ -221,7 +257,10 @@ export const publicRoutes = [ { path: "/MoralAnalysis", name: "MoralAnalysis", - component: () => import("@/views/backOfficeSystem/ResearchJudgment/MoralAnalysis/index"), + component: () => + import( + "@/views/backOfficeSystem/ResearchJudgment/MoralAnalysis/index" + ), meta: { title: "情报语义分析", icon: "article" @@ -230,7 +269,10 @@ export const publicRoutes = [ { path: "/IntelligenceManagement", name: "IntelligenceManagement", - component: () => import("@/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/index"), + component: () => + import( + "@/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/index" + ), meta: { title: "情报管理", icon: "article" @@ -246,7 +288,9 @@ export const publicRoutes = [ path: "/InformationFlow", name: "InformationFlow", component: () => - import("@/views/backOfficeSystem/ResearchJudgment/InformationFlows/InformationFlow/index"), + import( + "@/views/backOfficeSystem/ResearchJudgment/InformationFlows/InformationFlow/index" + ), meta: { title: "情报信息流转", icon: "article" @@ -256,7 +300,9 @@ export const publicRoutes = [ path: "/InstructionInformation", name: "InstructionInformation", component: () => - import("@/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index"), + import( + "@/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index" + ), meta: { title: "指令信息", icon: "article" @@ -266,7 +312,9 @@ export const publicRoutes = [ path: "/StatisticalAnalysis", name: "StatisticalAnalysis", component: () => - import("@/views/backOfficeSystem/ResearchJudgment/InformationFlows/StatisticalAnalysis/index"), + import( + "@/views/backOfficeSystem/ResearchJudgment/InformationFlows/StatisticalAnalysis/index" + ), meta: { title: "情报统计分析", icon: "article" @@ -277,7 +325,10 @@ export const publicRoutes = [ { path: "/RecordsOperations", name: "RecordsOperations", - component: () => import("@/views/backOfficeSystem/ResearchJudgment/RecordsOperations/index"), + component: () => + import( + "@/views/backOfficeSystem/ResearchJudgment/RecordsOperations/index" + ), meta: { title: "操作记录", icon: "article" @@ -293,7 +344,10 @@ export const publicRoutes = [ { path: "/RlStatisticalAnalysis", name: "RlStatisticalAnalysis", - component: () => import("@/views/backOfficeSystem/HumanIntelligence/RlStatisticalAnalysis/index"), + component: () => + import( + "@/views/backOfficeSystem/HumanIntelligence/RlStatisticalAnalysis/index" + ), meta: { title: "人力情报统计分析", icon: "article" @@ -302,7 +356,10 @@ export const publicRoutes = [ { path: "/CollectCrculate", name: "CollectCrculate", - component: () => import("@/views/backOfficeSystem/HumanIntelligence/CollectCrculate/index"), + component: () => + import( + "@/views/backOfficeSystem/HumanIntelligence/CollectCrculate/index" + ), meta: { title: "人力情报信息采集流转", icon: "article" @@ -311,7 +368,10 @@ export const publicRoutes = [ { path: "/TaskScheduling", name: "TaskScheduling", - component: () => import("@/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index"), + component: () => + import( + "@/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index" + ), meta: { title: "人力情报信息搜索任务调度", icon: "article" @@ -320,7 +380,10 @@ export const publicRoutes = [ { path: "/ConstructionManagement", name: "ConstructionManagement", - component: () => import("@/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/index"), + component: () => + import( + "@/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/index" + ), meta: { title: "社会信息人员建设管理", icon: "article" @@ -336,7 +399,10 @@ export const publicRoutes = [ { path: "/ZdryFjyp", name: "ZdryFjyp", - component: () => import("@/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/index"), + component: () => + import( + "@/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/index" + ), meta: { title: "重点人员发掘研判", icon: "article" @@ -345,7 +411,10 @@ export const publicRoutes = [ { path: "/PreliminaryExcavations", name: "PreliminaryExcavations", - component: () => import("@/views/backOfficeSystem/ExcavationResearch/PreliminaryExcavations/index"), + component: () => + import( + "@/views/backOfficeSystem/ExcavationResearch/PreliminaryExcavations/index" + ), meta: { title: "重点人员初步发掘", icon: "article" @@ -354,7 +423,10 @@ export const publicRoutes = [ { path: "/LandingAudit", name: "LandingAudit", - component: () => import("@/views/backOfficeSystem/ExcavationResearch/LandingAudit/index"), + component: () => + import( + "@/views/backOfficeSystem/ExcavationResearch/LandingAudit/index" + ), meta: { title: "重点人员落地审核", icon: "article" @@ -363,7 +435,10 @@ export const publicRoutes = [ { path: "/WarningModel", name: "WarningModel", - component: () => import("@/views/backOfficeSystem/ExcavationResearch/WarningModel/index"), + component: () => + import( + "@/views/backOfficeSystem/ExcavationResearch/WarningModel/index" + ), meta: { title: "重点人员预警模型", icon: "article" @@ -383,21 +458,25 @@ export const publicRoutes = [ { path: "/ResearchHome", name: "ResearchHome", - component: () => import("@/views/backOfficeSystem/ResearchJudgment/ResearchHome/index"), + component: () => + import( + "@/views/backOfficeSystem/ResearchJudgment/ResearchHome/index" + ), meta: { title: "研判首页", icon: "article" - }, + } }, { path: "/MeetingRoom", name: "MeetingRoom", - component: () => import("@/views/backOfficeSystem/MeetingRoom/index"), + component: () => + import("@/views/backOfficeSystem/MeetingRoom/index"), meta: { title: "网上会商室", icon: "article" } - }, + } ] }, { @@ -412,23 +491,51 @@ export const publicRoutes = [ { path: "/mpvGroup", name: "mpvGroup", - component: () => import("@/views/backOfficeSystem/DeploymentDisposal/mpvGroup/index"), + component: () => + import( + "@/views/backOfficeSystem/DeploymentDisposal/mpvGroup/index" + ), meta: { title: "重点群体管理", icon: "article" - }, + } }, { path: "/mpvPeo", name: "mpvPeo", - component: () => import("@/views/backOfficeSystem/DeploymentDisposal/mpvPeo/index"), + component: () => + import( + "@/views/backOfficeSystem/DeploymentDisposal/mpvPeo/index" + ), meta: { title: "重点人管理", icon: "article" - }, - }, + } + } ] }, + { + path: "/BasicManagement", + name: "BasicManagement", + meta: { + title: "基础管理", + icon: "article" + }, + children: [ + { + path: "/surveillanceControl", + name: "surveillanceControl", + component: () => + import( + "@/views/backOfficeSystem/BasicManagement/surveillanceControl/index" + ), + meta: { + title: "布控监视", + icon: "article" + } + } + ] + } ] } ]; @@ -441,7 +548,7 @@ const router = createRouter({ export function resetRouter() { if (store.getters?.routeReady && store.getters?.userInfo?.permission?.menus) { const menus = store.getters.userInfo.permission.menus; - menus.forEach(menu => { + menus.forEach((menu) => { router.removeRoute(menu); }); } diff --git a/src/views/backOfficeSystem/BasicManagement/components/dialogList.vue b/src/views/backOfficeSystem/BasicManagement/components/dialogList.vue new file mode 100644 index 0000000..9424c4f --- /dev/null +++ b/src/views/backOfficeSystem/BasicManagement/components/dialogList.vue @@ -0,0 +1,209 @@ + + + + + + diff --git a/src/views/backOfficeSystem/BasicManagement/surveillanceControl/components/editAddForm.vue b/src/views/backOfficeSystem/BasicManagement/surveillanceControl/components/editAddForm.vue new file mode 100644 index 0000000..3b37628 --- /dev/null +++ b/src/views/backOfficeSystem/BasicManagement/surveillanceControl/components/editAddForm.vue @@ -0,0 +1,242 @@ + + + + + diff --git a/src/views/backOfficeSystem/BasicManagement/surveillanceControl/index.vue b/src/views/backOfficeSystem/BasicManagement/surveillanceControl/index.vue new file mode 100644 index 0000000..6c84f4e --- /dev/null +++ b/src/views/backOfficeSystem/BasicManagement/surveillanceControl/index.vue @@ -0,0 +1,193 @@ + + + + + diff --git a/src/views/backOfficeSystem/IntelligentControl/ControlApproval/index.vue b/src/views/backOfficeSystem/IntelligentControl/ControlApproval/index.vue index 87c29e4..6233daa 100644 --- a/src/views/backOfficeSystem/IntelligentControl/ControlApproval/index.vue +++ b/src/views/backOfficeSystem/IntelligentControl/ControlApproval/index.vue @@ -8,16 +8,22 @@
- + diff --git a/src/views/backOfficeSystem/IntelligentControl/myControl/components/dialogList.vue b/src/views/backOfficeSystem/IntelligentControl/myControl/components/dialogList.vue new file mode 100644 index 0000000..ddf9fa7 --- /dev/null +++ b/src/views/backOfficeSystem/IntelligentControl/myControl/components/dialogList.vue @@ -0,0 +1,229 @@ + + + + + + diff --git a/src/views/backOfficeSystem/IntelligentControl/myControl/components/sendControl.vue b/src/views/backOfficeSystem/IntelligentControl/myControl/components/sendControl.vue index 00544aa..1fe3ca7 100644 --- a/src/views/backOfficeSystem/IntelligentControl/myControl/components/sendControl.vue +++ b/src/views/backOfficeSystem/IntelligentControl/myControl/components/sendControl.vue @@ -3,68 +3,127 @@
发起布控
+ 保存 + 关闭
布控信息
- +
布控范围
- +
审批信息
- +
diff --git a/src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/approvalInfo.vue b/src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/approvalInfo.vue index 28f2351..92b810f 100644 --- a/src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/approvalInfo.vue +++ b/src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/approvalInfo.vue @@ -1,7 +1,7 @@ diff --git a/src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/controlArea.vue b/src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/controlArea.vue index 38c7d0f..afa2eae 100644 --- a/src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/controlArea.vue +++ b/src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/controlArea.vue @@ -1,24 +1,53 @@ diff --git a/src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/controlInfo.vue b/src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/controlInfo.vue index e897130..ca1af4d 100644 --- a/src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/controlInfo.vue +++ b/src/views/backOfficeSystem/IntelligentControl/myControl/components/ui/controlInfo.vue @@ -1,32 +1,78 @@ diff --git a/src/views/backOfficeSystem/fourColorManage/components/dialogList.vue b/src/views/backOfficeSystem/fourColorManage/components/dialogList.vue index 700e0e3..b0c1378 100644 --- a/src/views/backOfficeSystem/fourColorManage/components/dialogList.vue +++ b/src/views/backOfficeSystem/fourColorManage/components/dialogList.vue @@ -1,28 +1,63 @@ - + - + - \ No newline at end of file diff --git a/src/views/backOfficeSystem/fourColorManage/tagManage/components/editAddForm.vue b/src/views/backOfficeSystem/fourColorManage/tagManage/components/editAddForm.vue index ecf9a35..c3a7cb1 100644 --- a/src/views/backOfficeSystem/fourColorManage/tagManage/components/editAddForm.vue +++ b/src/views/backOfficeSystem/fourColorManage/tagManage/components/editAddForm.vue @@ -3,45 +3,76 @@
组合标签管理{{ title }}
- 保存 + 保存 关闭
- + + 选择 +
+ + + + + + + + +
+ -
- +