施工管控

This commit is contained in:
cwchen 2024-08-15 19:01:37 +08:00
parent daf7b411de
commit 4db1e0dff5
2 changed files with 19 additions and 2 deletions

View File

@ -51,4 +51,13 @@ export function getPersonsInfo(query) {
method: 'get',
params: query
})
}
/* 人员树选中人员触发的接口 */
export function getPersonDetail(query) {
return request({
url: '/bracelet/consControl/getPersonDetail',
method: 'get',
params: query
})
}

View File

@ -169,7 +169,7 @@
</template>
<script>
import { personsTree, teamPersonByTower, spotCheck, getCheckConfig, checkConfig, getPersonsInfo } from "@/api/construction/manage/personManage.js";
import { personsTree, teamPersonByTower, spotCheck, getCheckConfig, checkConfig, getPersonsInfo, getPersonDetail } from "@/api/construction/manage/personManage.js";
import no_warn from "@/assets/svg/no_warn.svg";
import no_warn2 from "@/assets/svg/no_warn2.svg";
import warn from "@/assets/svg/warn.svg";
@ -271,7 +271,7 @@ export default {
phone: '18855798259',
teamName: '张三班组',
idCard: '341181199807165636',
warnName: '离开工作区域',
warnName: '离开工作区域/人脸验证异常',
warnType: 'danger',
hasSafetyHat: true,
sh: {
@ -583,6 +583,14 @@ export default {
}
}).catch((res) => { })
},
//
loadPersonDetail() {
getPersonDetail(params).then((res) => {
const data = res.data;
if (data) {
}
}).catch((res) => { })
},
handler({ BMap, map }) {
this.BMap = BMap;
this.map = map;