diff --git a/collect_information/src/pages/police/index/index.scss b/collect_information/src/pages/police/index/index.scss index dac1e0d..6ff67f6 100644 --- a/collect_information/src/pages/police/index/index.scss +++ b/collect_information/src/pages/police/index/index.scss @@ -1,6 +1,6 @@ .nameTitle { position: absolute; - top: 277rpx; + top: 19%; left: 55px; height: 125rpx; background-color: #fff; diff --git a/collect_information/src/pages/police/index/index.vue.bak b/collect_information/src/pages/police/index/index.vue.bak index 9c1ef37..4f1cd4c 100644 --- a/collect_information/src/pages/police/index/index.vue.bak +++ b/collect_information/src/pages/police/index/index.vue.bak @@ -1,57 +1,94 @@ + + + + diff --git a/collect_information/src/pages/police/mine/index.vue b/collect_information/src/pages/police/mine/index.vue index c3cf9de..2f180fa 100644 --- a/collect_information/src/pages/police/mine/index.vue +++ b/collect_information/src/pages/police/mine/index.vue @@ -15,7 +15,7 @@ - + @@ -28,20 +28,30 @@ + diff --git a/collect_information/src/pages/projectManager/index/index.scss b/collect_information/src/pages/projectManager/index/index.scss index 5308805..6ff67f6 100644 --- a/collect_information/src/pages/projectManager/index/index.scss +++ b/collect_information/src/pages/projectManager/index/index.scss @@ -1,6 +1,6 @@ .nameTitle { position: absolute; - top: 277rpx; + top: 19%; left: 55px; height: 125rpx; background-color: #fff; @@ -26,6 +26,9 @@ margin-left: -8px; } } +.nameTitle .itemSchool:nth-child(4) { + border-right: none; +} .swiperDemoItem { color: #3886d0; display: flex; diff --git a/collect_information/src/pages/projectManager/mine/index.vue b/collect_information/src/pages/projectManager/mine/index.vue index 8279945..b85b668 100644 --- a/collect_information/src/pages/projectManager/mine/index.vue +++ b/collect_information/src/pages/projectManager/mine/index.vue @@ -14,7 +14,7 @@ - + @@ -27,20 +27,30 @@ + diff --git a/collect_information/src/subPages/police/dailyInspection/dailyInspection.vue b/collect_information/src/subPages/police/dailyInspection/dailyInspection.vue index 2b74e6d..0dc2ba5 100644 --- a/collect_information/src/subPages/police/dailyInspection/dailyInspection.vue +++ b/collect_information/src/subPages/police/dailyInspection/dailyInspection.vue @@ -25,11 +25,11 @@ - {{ item.name }}({{ item.totalScore }}分) + {{ item.name }}({{ item?.totalScore }}分) - -{{ item.currentScore }} + -{{ item?.currentScore }} diff --git a/collect_information/src/subPages/police/myEnterprisesUnit/myEnterprisesUnit.scss b/collect_information/src/subPages/police/myEnterprisesUnit/myEnterprisesUnit.scss index 1cab77b..94a2385 100644 --- a/collect_information/src/subPages/police/myEnterprisesUnit/myEnterprisesUnit.scss +++ b/collect_information/src/subPages/police/myEnterprisesUnit/myEnterprisesUnit.scss @@ -17,16 +17,13 @@ page { } .project { - display: flex; - justify-content: space-between; - flex-flow: wrap; - text-align: center; + //display: flex; + //justify-content: space-between; + //flex-flow: wrap; + //text-align: center; view { - width: 45%; - height: 100rpx; - border: 1px solid #cccccc; - line-height: 100rpx; + width: 100%; margin: 8px 0 8px 0; } } diff --git a/collect_information/src/subPages/police/myEnterprisesUnit/myEnterprisesUnit.vue b/collect_information/src/subPages/police/myEnterprisesUnit/myEnterprisesUnit.vue index dbbdc4e..4ed49dc 100644 --- a/collect_information/src/subPages/police/myEnterprisesUnit/myEnterprisesUnit.vue +++ b/collect_information/src/subPages/police/myEnterprisesUnit/myEnterprisesUnit.vue @@ -3,7 +3,7 @@ {{ item?.name }} - + 单位类型:{{ item?.type.label }} 地址: @@ -15,7 +15,16 @@ - {{ serviceProject.name }} + + + 项目名称:{{serviceProject.name}} + 项目类型:{{serviceProject.type.label}} + + + 项目负责人:{{serviceProject.projectManagerMiniProgramUserInfo?.name?serviceProject.projectManagerMiniProgramUserInfo?.name:'无分配项目经理'}} + + 责任单位:{{serviceProject.securityUnitName}} + diff --git a/collect_information/src/subPages/police/myEnterprisesUnit/projectDetails/projectDetails.vue b/collect_information/src/subPages/police/myEnterprisesUnit/projectDetails/projectDetails.vue index 4c2c92e..306fcdd 100644 --- a/collect_information/src/subPages/police/myEnterprisesUnit/projectDetails/projectDetails.vue +++ b/collect_information/src/subPages/police/myEnterprisesUnit/projectDetails/projectDetails.vue @@ -61,7 +61,7 @@ 职位:{{ item.workPost ? item.workPost : '创建者' }} - 保安证件:{{ item.securityNumber ? item.securityNumber : '125241256451' }} + 保安证件:{{ item.securityNumber ? item.securityNumber : '无' }} 出生年月:{{ dayjs(item.dateOfBirth).format('YYYY-MM-DD') }} diff --git a/collect_information/src/subPages/select/dailyLife/dailyLife.vue b/collect_information/src/subPages/select/dailyLife/dailyLife.vue index 95240a8..7ea5510 100644 --- a/collect_information/src/subPages/select/dailyLife/dailyLife.vue +++ b/collect_information/src/subPages/select/dailyLife/dailyLife.vue @@ -19,7 +19,7 @@ :key="i" style="margin-bottom: 20rpx" shape="button" - >{{ items.name }}{{ items.name}} diff --git a/collect_information/types/subPages/projectManager/myProject/index.ts b/collect_information/types/subPages/projectManager/myProject/index.ts index bfeba41..4bbe728 100644 --- a/collect_information/types/subPages/projectManager/myProject/index.ts +++ b/collect_information/types/subPages/projectManager/myProject/index.ts @@ -15,6 +15,7 @@ export interface MyProjectList { securityUnitId: string; street?: string; streetName?: string; + type?:any } export interface ContactPersonInfo { @@ -30,17 +31,18 @@ export interface ServiceProjectList { name?: string; remark?: string; securityUserTotal?: number; + securityUnitName?:string; serviceArea?: number; snowFlakeId?: string; staffTotal?: number; - type?: string; + type?: any; projectManagerMiniProgramUserInfo?: ProgramUserInfo } export interface ProgramUserInfo { - idCard: null - name: string - telephone: string + idCard?: null + name?: string + telephone?: string } export interface ServiceProjectSecurityUserPagerVo { diff --git a/policeSecurityServer/src/main/java/com/changhu/module/management/controller/EnterprisesUnitController.java b/policeSecurityServer/src/main/java/com/changhu/module/management/controller/EnterprisesUnitController.java index e2ac2a1..5bdf01e 100644 --- a/policeSecurityServer/src/main/java/com/changhu/module/management/controller/EnterprisesUnitController.java +++ b/policeSecurityServer/src/main/java/com/changhu/module/management/controller/EnterprisesUnitController.java @@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.changhu.common.annotation.JsonBody; import com.changhu.common.exception.MessageException; import com.changhu.common.pojo.vo.SelectNodeVo; +import com.changhu.module.management.pojo.entity.EnterprisesUnit; import com.changhu.module.management.pojo.params.EnterprisesUnitSaveOrUpdateParams; import com.changhu.module.management.pojo.queryParams.EnterprisesUnitPagerQueryParams; import com.changhu.module.management.pojo.vo.EnterprisesUnitPagerVo; @@ -58,4 +59,10 @@ public class EnterprisesUnitController { return enterprisesUnitService.queryListByAdministrativeDivisionCodes(administrativeDivisionCodes); } + @Operation(summary = "企事业单位地图点位") + @GetMapping("/mapPoint") + public List mapPoint() { + return enterprisesUnitService.list(); + } + } diff --git a/superManagement/src/views/data/dataOverview.vue b/superManagement/src/views/data/dataOverview.vue index 2383d4d..155c6a1 100644 --- a/superManagement/src/views/data/dataOverview.vue +++ b/superManagement/src/views/data/dataOverview.vue @@ -1,13 +1,89 @@ diff --git a/superManagement/src/views/unitManage/police/unitManage/index.tsx b/superManagement/src/views/unitManage/police/unitManage/index.tsx index 5b2ed13..0ac9090 100644 --- a/superManagement/src/views/unitManage/police/unitManage/index.tsx +++ b/superManagement/src/views/unitManage/police/unitManage/index.tsx @@ -87,7 +87,7 @@ const saveOrUpdateEnterprisesUnit = (params: _FormType, callback: Function) => { placeholder={'请输入详细地址'} autocomplete="off" onFocus={() => { - if (!_mapRef.value.mapInstance) { + if (!_mapRef.value?.mapInstance) { message.error('地图组件尚未初始化成功 请重新打开页面') return }