diff --git a/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/detail.vue b/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/detail.vue
index 60ebccb..6e893f6 100644
--- a/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/detail.vue
+++ b/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/detail.vue
@@ -114,8 +114,8 @@
- 时间:{{ pd.HOT_WORK_PERSON_PRINCIPAL_TIME }} |
- 时间:{{ pd.HOT_WORK_AFTER_PRINCIPAL_TIME }} |
+ 时间:{{ pd.HOT_WORK_PERSON_PRINCIPAL_TIME }} |
+ 时间:{{ pd.HOT_WORK_AFTER_PRINCIPAL_TIME }} |
延时监火记录 |
diff --git a/src/views/keyproject_evaluation/branch_hazard_assessment/components/list.vue b/src/views/keyproject_evaluation/branch_hazard_assessment/components/list.vue
index 70c0aa6..9f169ae 100644
--- a/src/views/keyproject_evaluation/branch_hazard_assessment/components/list.vue
+++ b/src/views/keyproject_evaluation/branch_hazard_assessment/components/list.vue
@@ -50,14 +50,9 @@
{{ row.checked_count1 }} / {{ row.count1 }}
-
+
- {{ row.checked_count2 }} / {{ row.count2 }}
-
-
-
-
- {{ row.checked_count3 }} / {{ row.count3 }}
+ {{row.CORP_NAME == '秦港股份有限公司' ? row.checked_count2 : row.checked_count3 }} / {{row.CORP_NAME == '秦港股份有限公司' ? row.count2 : row.checked_count3 }}
diff --git a/src/views/keyprojects/aiwarning/components/record-list.vue b/src/views/keyprojects/aiwarning/components/record-list.vue
index 0a1451a..a415cc6 100644
--- a/src/views/keyprojects/aiwarning/components/record-list.vue
+++ b/src/views/keyprojects/aiwarning/components/record-list.vue
@@ -1,6 +1,7 @@
+
@@ -116,6 +117,10 @@ export default {
this.getList()
},
methods: {
+ back() {
+ this.$parent.CORPINFO_ID = ''
+ this.$parent.activeName = 'List'
+ },
checkboxInit(row, index) {
if (row.STATUS != '0') {
return 0 // 不可勾选
diff --git a/src/views/keyprojects/inspection/components/record-list.vue b/src/views/keyprojects/inspection/components/record-list.vue
index c30941c..bd058f9 100644
--- a/src/views/keyprojects/inspection/components/record-list.vue
+++ b/src/views/keyprojects/inspection/components/record-list.vue
@@ -1,5 +1,6 @@
+
@@ -98,6 +99,10 @@ export default {
this.getList()
},
methods: {
+ back() {
+ this.$parent.CORPINFO_ID = ''
+ this.$parent.activeName = 'list'
+ },
getRowKey(row) {
return row.OUTSOURCED_ID
},
diff --git a/src/views/keyprojects/outsourced/components/edit.vue b/src/views/keyprojects/outsourced/components/edit.vue
index 08b45c6..3ad5d8f 100644
--- a/src/views/keyprojects/outsourced/components/edit.vue
+++ b/src/views/keyprojects/outsourced/components/edit.vue
@@ -338,7 +338,7 @@
-
处罚相关:
+ 处罚相关:
(AI报警的处罚人员为AI报警的处置人)
处罚人员 添加
diff --git a/src/views/keyprojects/outsourced/components/info.vue b/src/views/keyprojects/outsourced/components/info.vue
index 8da1a64..83ecac6 100644
--- a/src/views/keyprojects/outsourced/components/info.vue
+++ b/src/views/keyprojects/outsourced/components/info.vue
@@ -134,7 +134,7 @@
-
处罚相关:
+ 处罚相关:
(AI报警的处罚人员为AI报警的处置人)
处罚人员部门 |
diff --git a/src/views/keyprojects/punish/components/list.vue b/src/views/keyprojects/punish/components/list.vue
index cfd86b6..fecbe8a 100644
--- a/src/views/keyprojects/punish/components/list.vue
+++ b/src/views/keyprojects/punish/components/list.vue
@@ -56,11 +56,6 @@
-
-
- {{ row.HANDLED === "0" ? "待处理" : "已处理" }}
-
-
diff --git a/src/views/keyprojects/punish/components/list2.vue b/src/views/keyprojects/punish/components/list2.vue
index 93cb6c8..f1f4fad 100644
--- a/src/views/keyprojects/punish/components/list2.vue
+++ b/src/views/keyprojects/punish/components/list2.vue
@@ -1,5 +1,6 @@
+
@@ -96,6 +97,10 @@ export default {
this.getList()
},
methods: {
+ back() {
+ this.$parent.CORPINFO_ID = ''
+ this.$parent.activeName = 'List'
+ },
getRowKey(row) {
return row.OUTSOURCED_ID
},
diff --git a/src/views/keyprojects/videomanager/components/video-list.vue b/src/views/keyprojects/videomanager/components/video-list.vue
index db0ad9e..80881f7 100644
--- a/src/views/keyprojects/videomanager/components/video-list.vue
+++ b/src/views/keyprojects/videomanager/components/video-list.vue
@@ -1,5 +1,6 @@
+
@@ -564,7 +565,10 @@ export default {
this.listLoading = false
})
},
-
+ goBack() {
+ this.$parent.CORPINFO_ID = ''
+ this.$parent.activeName = 'list'
+ },
// 保存
upload() {
this.$refs.form.validate(valid => {
diff --git a/src/views/map/dialog/index.vue b/src/views/map/dialog/index.vue
index 88f713c..cb06224 100644
--- a/src/views/map/dialog/index.vue
+++ b/src/views/map/dialog/index.vue
@@ -11,7 +11,7 @@
-
+
@@ -54,8 +54,8 @@
-
-
+
+
@@ -113,7 +113,6 @@ import outSourceVideoInfo from './outSourceVideoInfo.vue'
import AlarmDevice from './alarmDevice'
import meteorologicalMonitoring from './meteorologicalMonitoring.vue'
-
export default {
components: {
AlarmDevice,
diff --git a/src/views/map/dialog/mkGateMachine.vue b/src/views/map/dialog/mkGateMachine.vue
index 33d8cbd..aa3ba24 100644
--- a/src/views/map/dialog/mkGateMachine.vue
+++ b/src/views/map/dialog/mkGateMachine.vue
@@ -34,8 +34,8 @@
{{ item.USERNAME }} |
{{ item.TIME }} |
- 进入
- 出去
+ 进入
+ 出去
|
@@ -79,6 +79,12 @@ export default {
gangkou: {
type: String,
default: ''
+ },
+ corpId: {
+ type: String,
+ default() {
+ return ''
+ }
}
},
data() {
@@ -107,7 +113,8 @@ export default {
{
GATE_AREA_ID: this.id,
TYPE: this.type,
- GANGKOU: this.gangkou
+ GANGKOU: this.gangkou,
+ CORPINFO_ID: this.corpId
}
).then((data) => {
Object.assign(this.info, data.pd)
@@ -143,7 +150,8 @@ export default {
{
GATE_AREA_ID: this.id,
TYPE: this.type,
- GANGKOU: this.gangkou
+ GANGKOU: this.gangkou,
+ CORPINFO_ID: this.corpId
}
).then((data) => {
this.recordAllList = data.recordAllList
diff --git a/src/views/map/dialog/peoplePositionYGS.vue b/src/views/map/dialog/peoplePositionYGS.vue
index 71c5673..552186d 100644
--- a/src/views/map/dialog/peoplePositionYGS.vue
+++ b/src/views/map/dialog/peoplePositionYGS.vue
@@ -41,7 +41,7 @@
定位卡电量 |
- {{ info?otherInfo.data[3].currentValBody.val:'' }} |
+ {{ info?(otherInfo?otherInfo.data[3].currentValBody.val:'*'):'' }} |
部门 |
diff --git a/src/views/map/index.vue b/src/views/map/index.vue
index d719341..40f3203 100644
--- a/src/views/map/index.vue
+++ b/src/views/map/index.vue
@@ -1469,15 +1469,14 @@ export default {
url: '/mapapi/ware/upload/qhdgysh/merge_tile.json'
})
viewer.scene.primitives.add(qhdgysh)
- var czkszhmt = new Cesium.Cesium3DTileset({ //沧州矿石 杂货码头
+ var czkszhmt = new Cesium.Cesium3DTileset({ // 沧州矿石 杂货码头
url: '/mapapi/ware/upload/%E6%B2%A7%E5%B7%9E%E6%B8%AF%E8%A5%BF/%E6%B2%A7%E5%B7%9E%E6%B8%AF%E8%A5%BF/merge_tile.json'
})
viewer.scene.primitives.add(czkszhmt)
- var czksksmt = new Cesium.Cesium3DTileset({//沧州矿石 矿石码头
+ var czksksmt = new Cesium.Cesium3DTileset({// 沧州矿石 矿石码头
url: '/mapapi/ware/upload/%E6%B2%A7%E5%B7%9E%E6%B8%AF%E4%B8%9C/%E6%B2%A7%E5%B7%9E%E6%B8%AF%E4%B8%9C/merge_tile.json'
})
viewer.scene.primitives.add(czksksmt)
-
},
leftDownAction() {
@@ -2178,6 +2177,10 @@ export default {
this.clearMqttPoint('+/UwbBQ/')
this.removeTrajectory()
}
+ if (this.gangkouActive === '00003' && this.CORP_INFO_ID === '21590a00ea5e462e9ee44dd332dddc26' && urlType === 'peoplePosition') {
+ this.clearRYDWPoint('+/UwbBQ/')
+ this.removeTrajectory()
+ }
if (this.bottomOptionsList[pindex].list.length > index) {
this.bottomOptionsList[pindex].list[index].check = false
}
@@ -2212,6 +2215,9 @@ export default {
}
if (this.gangkouActive === '00003' && this.CORP_INFO_ID === '035958e685cf4850bc40151c5e0617a6' && urlType === 'peoplePosition') {
!this.connecting ? this.createConnection(this.CORP_INFO_ID) : this.doSubscribe()
+ } else if (this.gangkouActive === '00003' && this.CORP_INFO_ID === '21590a00ea5e462e9ee44dd332dddc26' && urlType === 'peoplePosition') {
+ // websocket实时获取人员定位
+ this.initRYDWWebsocket('21590a00ea5e462e9ee44dd332dddc26')
} else {
requestFN(
pointUrl,
@@ -2478,7 +2484,7 @@ export default {
},
// 查询当前点位是否在区域内
- isPointxyWithinTheArea(pointBox, x, y) {
+ isPointxyWithinTheArea(pointBox = {}, x, y) {
if (this.forEachIsPointInPolygon(pointBox.redList, x, y)) {
return '_1'
} else if (this.forEachIsPointInPolygon(pointBox.orangeList, x, y)) {
@@ -2769,6 +2775,15 @@ export default {
delete this.mqttPoint[key]
}
},
+ clearRYDWPoint(prefix) {
+ this.fwebsocket.close()
+ for (const mqttPointKey in this.mqttPoint) {
+ const key = prefix ? prefix + this.mqttPoint[mqttPointKey] : mqttPointKey
+ viewer.entities.removeById(this.mqttPoint[key])
+ this.onePerLocArr = this.onePerLocArr.filter(item => item.data_id !== this.mqttPoint[key])
+ delete this.mqttPoint[key]
+ }
+ },
// 删除人员定位点
clearCmtMqttPoint(prefix) {
for (const mqttPointKey in this.allOrientationPoint) {
@@ -2940,6 +2955,51 @@ export default {
}
}
},
+ // 九公司人员定位websocket
+ initRYDWWebsocket(CORP_INFO_ID) {
+ // eslint-disable-next-line no-unused-vars
+ const _this = this
+ if (window.WebSocket) {
+ const wsUrl = config.noDwSysUrl + '/ltLocation/DW_' + new Date().getTime() + '_98'
+ _this.fwebsocket = new WebSocket(encodeURI(wsUrl))
+ _this.fwebsocket.onmessage = function(message) {
+ console.info('接收消息')
+ const peopleList = JSON.parse(message.data).data.data
+ console.log(peopleList)
+ for (let i = 0; i < peopleList.length; i++) {
+ const item = peopleList[i]
+ if ((!item)) continue
+ // 将地图上剩余的点与最新的定位人员点进行对比 更新地图上已存在的点 新增地图上之前没有的点
+ const index = _this.onePerLocArr.findIndex(item1 => {
+ return item1.id.toString() === item.id.toString()
+ })
+ const x = item.lon
+ const y = item.lat
+ const pointColor = _this.isPointxyWithinTheArea(this.pointBox, x, y)
+ if (index !== -1) {
+ _this.onePerLocArr[index].x = x
+ _this.onePerLocArr[index].y = y
+ _this.onePerLocArr[index].icon_type = 'img4_0' + pointColor
+ ry_drag.getPosition(_this.onePerLocArr[index])
+ } else {
+ const perLoc = {
+ id: item.id,
+ x: x,
+ y: y,
+ icon_type: 'img4_0' + pointColor,
+ data_id: item.id,
+ point_type: '标记点peoplePositionOne',
+ label: '人员定位',
+ corpInfoId: CORP_INFO_ID
+ }
+ _this.onePerLocArr.push(perLoc)
+ ry_drag.addEntity(perLoc)
+ _this.mqttPoint[_this.subscription.topic.substring(0, _this.subscription.topic.lastIndexOf('+')) + item.id] = item.id
+ }
+ }
+ }
+ }
+ },
radomPer(mockData) {
for (const item of mockData.data) {
item.longitude += 0.0003 * Math.random()
@@ -3176,7 +3236,7 @@ export default {
},
// 循环判断某个点是否在某些区域内。只要在任意一个区域内。则返回true
- forEachIsPointInPolygon(polygonList, lng, lat) {
+ forEachIsPointInPolygon(polygonList = [], lng, lat) {
return polygonList.some(item => {
return this.isPointInPolygon(item.position, lng, lat)
})
diff --git a/src/views/threeSystems/safetyProductionResponsibilitySystem/components/list.vue b/src/views/threeSystems/safetyProductionResponsibilitySystem/components/list.vue
index 3078763..cf476a0 100644
--- a/src/views/threeSystems/safetyProductionResponsibilitySystem/components/list.vue
+++ b/src/views/threeSystems/safetyProductionResponsibilitySystem/components/list.vue
@@ -49,7 +49,6 @@
@cell-mouse-enter="enterSelectionRows"
@cell-mouse-leave="leaveSelectionRows">