diff --git a/src/assets/js/api/personnelPositioning.js b/src/assets/js/api/personnelPositioning.js new file mode 100644 index 00000000..15a0a06c --- /dev/null +++ b/src/assets/js/api/personnelPositioning.js @@ -0,0 +1,12 @@ +/** + * api接口统一管理 + */ + import {post,get} from '../http' + + + export const addPersonnelLocationnApi = data => post('xmgl/personnelLocationBaseStation/addPersonnelLocationBaseStation', data);//新增人员定位-基站 + export const deletePersonnelLocationDeleteByIdApi = data => get('xmgl/personnelLocationBaseStation/deleteById', data);//根据id删除人员定位-基站 + export const getPersonnelLocationBaseStationGetByIdApi = data => get('xmgl/personnelLocationBaseStation/getById', data);//根据id查询人员定位-基站 + export const editPersonnelLocationBaseStationUpdateApi = data => post('personnelLocationBaseStation/updatePersonnelLocationBaseStation', data);//修改人员定位-基站 + export const getPersonnelLocationBaseStationListApi = data => get('xmgl/personnelLocationBaseStation/list', data);//所有人员定位-基站 + export const getPersonnelLocationBaseStationApi = data => get('xmgl/personnelLocationBaseStation/selectPage', data);//分页查询人员定位-基站 diff --git a/src/router/index.js b/src/router/index.js index 69f98476..7779ae16 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -432,6 +432,19 @@ const routes2 = [ name: '人员定位_地图管理', component: () => import('@/views/projectFront/personnelPosition/mapManage.vue') }, + //------ + //人员定位--点位配置 + { + path: '/project/personnelPosition/pointConfiguration', + name: '人员定位_点位配置', + component: () => import('@/views/projectFront/personnelPosition/pointConfiguration.vue') + }, + //人员定位--人员定位 + { + path: '/project/personnelPosition/personnelPositioning', + name: '人员定位_人员定位', + component: () => import('@/views/projectFront/personnelPosition/personnelPositioning.vue') + }, { path: '/project/safeManage/addSafeRecord', name: '安全管理_新增安全检查', diff --git a/src/views/projectAdmin/zjsj/command/index.vue b/src/views/projectAdmin/zjsj/command/index.vue index 3f49b3f8..39d0da8d 100644 --- a/src/views/projectAdmin/zjsj/command/index.vue +++ b/src/views/projectAdmin/zjsj/command/index.vue @@ -39,7 +39,7 @@ + diff --git a/src/views/projectFront/personnelPosition/ConfigChildrenIndex/positoningIndex.vue b/src/views/projectFront/personnelPosition/ConfigChildrenIndex/positoningIndex.vue new file mode 100644 index 00000000..7a969db5 --- /dev/null +++ b/src/views/projectFront/personnelPosition/ConfigChildrenIndex/positoningIndex.vue @@ -0,0 +1,441 @@ + + + + diff --git a/src/views/projectFront/personnelPosition/laborPersonCommon.less b/src/views/projectFront/personnelPosition/laborPersonCommon.less new file mode 100644 index 00000000..6ad8e452 --- /dev/null +++ b/src/views/projectFront/personnelPosition/laborPersonCommon.less @@ -0,0 +1,198 @@ +.flex{ + display: flex; + align-items: center; + justify-content: space-between; +} +.flex2{ + display: flex; + align-items: center; +} +.flex3{ + display: flex; + justify-content: space-between; +} +.flex4{ + display: flex; +} +.right2{ + margin-left: 11px; + width: calc(100% - 380px); + height: 100%; + box-sizing: border-box; + .title{ + padding: 0 22px; + height: 41px; + line-height: 41px; + // background: #fff; + border-bottom: 1px solid #e6e6e6; + .team_number{ + opacity: 0.7; + font-size: 14px; + text-align: left; + font-family: PingFangSC-Regular; + .number{ + color: @--color-primary; + opacity: 1; + } + } + } + .team_list{ + padding: 20px 22px; + // background: #fff; + margin-bottom: 8px; + position: relative; + height: 79px; + .team_addBtn{ + display: grid; + padding: 10px 0; + width: 79px; + height: 79px; + border-radius: 3px; + /deep/ i{ + font-size: 30px; + } + /deep/ span{ + opacity: 0.7; + display: block; + width: 100%; + margin: 0; + } + + } + .team_addBtn:hover{ + /deep/ span{ + color: #fff; + } + } + .list_wrap{ + flex-grow: 22; + flex-wrap: wrap; + overflow: hidden; + cursor: pointer; + .list{ + width: 88px; + height: 79px; + margin-left: 12px; + box-sizing: border-box; + padding: 14px 0; + margin-bottom: 12px; + font-size: 14px; + text-align: center; + border-radius: 3px; + background-color: #dce0ec; + div{ + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + padding: 0 5px; + } + } + .checkedTeam{ + background-color: #3390FF!important; + } + } + } + .laborComponent_table_wrap{ + box-sizing: border-box; + // background: #fff; + height: calc(100% - 170px); + position: relative; + padding-bottom: 60px; + .search_wrap{ + padding: 25px 13px 13px 23px; + border-bottom: 2px solid #E5ECFE; + } + .values{ + opacity: 0.9; + } + } + .table_wrap_bottom{ + padding: 0 13px; + position: absolute; + bottom: 0; + left: 0; + right: 0; + height: 46px; + .table_wrap_btn{ + margin-left: 20px; + } + } + /deep/ .el-form-item{ + margin-bottom:0; + } + + .show_teamList{ + width: calc( 100% - 128px); + flex-grow: 22; + flex-wrap: wrap; + cursor: pointer; + float: left; + z-index: 1000; + position: absolute; + left: 110px; + top:7px; + background: #fff; + border: 1px solid #E5ECFE; + border-radius: 5px; + padding-top: 12px; + padding-right: 12px; + } + .height_79{ + height: 79px; + } +} + +.hint{ + opacity: 0.5; +color: rgba(42, 46, 63, 1); +font-size: 12px; +text-align: left; +font-family: PingFangSC-Regular; +} + +.bigImageDialog{ + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: rgba(0,0,0,0.5); + text-align: center; + z-index: 1000000; + overflow-y: auto; + // padding-bottom: 50px; + height: 100%; + .bigImageContent{ + height: 100%; + margin:0 auto; text-align:center + } + img{ + // margin-top: 10%; + position: relative; + top: 10%; + max-height: 80%; + max-width: 80%; + } +} + +.margin_top35{ + margin-top: -35px; +} + +/deep/ .identity_card .el-upload-list__item-name { + width: 100px; + } + +.upload_btn_wrap{ + position: relative; + width: 100%; + .High_btn{ + position:absolute; + right: 70px; + top: 2px; + height: 28px; + } +} +.personItemBottom{ + margin-top: 10px; +} \ No newline at end of file diff --git a/src/views/projectFront/personnelPosition/personnelPositioning.vue b/src/views/projectFront/personnelPosition/personnelPositioning.vue new file mode 100644 index 00000000..cfc1e13e --- /dev/null +++ b/src/views/projectFront/personnelPosition/personnelPositioning.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/src/views/projectFront/personnelPosition/pointConfiguration.vue b/src/views/projectFront/personnelPosition/pointConfiguration.vue new file mode 100644 index 00000000..44ea2e49 --- /dev/null +++ b/src/views/projectFront/personnelPosition/pointConfiguration.vue @@ -0,0 +1,90 @@ + + +