@@ -184,6 +190,7 @@
visitor_yes: false,
remployee_yes: false,
employee_yes: false,
+ driver_yes:false,
group: [],
postOptions: [],
selectionFilters: [],
@@ -220,6 +227,7 @@
if (this.employee_yes){arr.push('employee')}
if (this.remployee_yes){arr.push('remployee')}
if (this.visitor_yes){arr.push('visitor')}
+ if (this.driver_yes){arr.push('driver')}
this.form.access_list = arr;
this.isSaveing = true;
if (this.mode === "add") {
@@ -267,6 +275,9 @@
if (data.access_list.indexOf('visitor')>-1) {
this.visitor_yes = true;
}
+ if (data.access_list.indexOf('driver')>-1) {
+ this.driver_yes = true;
+ }
},
},
};
diff --git a/src/views/bigScreen/index.vue b/src/views/bigScreen/index.vue
index 3c4f597b..8332354b 100644
--- a/src/views/bigScreen/index.vue
+++ b/src/views/bigScreen/index.vue
@@ -257,6 +257,7 @@
作业
监控
喇叭
+ 人员
@@ -269,18 +270,22 @@
-
+
-
+
+
+
+
+
@@ -809,6 +814,9 @@ export default {
dangerList: [],//岗位列表
areaList: [],//区域列表/风险区域列表
areaOperation:[],
+ areaVideo:[],
+ areaSpeaker:[],
+ areaUser:[],
//数据统计
userCount: {
total: 0,
@@ -822,6 +830,7 @@ export default {
screenUserItem: {},//人员信息
screenUserItemDetail: {},//人员信息
url: '',
+ areaDetailId:'',
params: {
json: {
data: {
@@ -1059,7 +1068,7 @@ export default {
let height2 = document.getElementsByClassName('cockpit-alarm')[0].clientHeight;
let height3 = document.getElementsByClassName('area-simple-title')[0].clientHeight;
let domHeight = pageHeight - height1 - height2 - 84;
- let areaTableHeight = domHeight - height3 - 10;
+ let areaTableHeight = domHeight - height3 - 50;
this.areaTableHeight = areaTableHeight;
document.getElementsByClassName('cockpit-info')[0].style.height = domHeight + 'px';
// document.getElementsByClassName('area-info-body')[0].style.height = simpleBodyHeight + 'px';
@@ -1073,6 +1082,19 @@ export default {
},
areaItemHandle(index){
this.areaShowType = index;
+ if(index==1){
+ //区域下的作业
+ this.getAreaOperation();
+ }else if(index==2){
+ //区域下的监控
+ this.getAreaVchannel();
+ }else if(index==3){
+ //区域下的喇叭
+ this.getAreaSpeaker();
+ }else if(index==4){
+ //区域下的人员
+ this.getAreaBlt();
+ }
},
//报警统计
getWarningTotal() {
@@ -1099,14 +1121,44 @@ export default {
areaRowClick(data) {
let that = this;
that.areaDetail = true;
- this.$API.opm.operation.list.req({area:data.id}).then(res=>{
- console.log(res)
- that.areaOperation = res.results;
- })
+ that.areaDetailId = data.id;
+ this.getAreaOperation();
// let points = data.third_info.xx_rail.detail.polygon.points[0];
window.map.flyToPosition(new jsmap.JSPoint(114.63168864138028, 38.81254802029822, 0), { duration: 1000 });
},
+ //区域下的作业
+ getAreaOperation(){
+ let that = this;
+ this.$API.opm.operation.list.req({area:that.areaDetailId}).then(res=>{
+ console.log(res)
+ that.areaOperation = res.results;
+ })
+ },
+ //区域下的监控
+ getAreaVchannel(){
+ let that = this;
+ that.$API.third.tdevice.list.req({area:that.areaDetailId,type:60,page:0}).then(res=>{
+ console.log(res)
+ that.areaVideo = res;
+ })
+ },
+ //区域下的喇叭
+ getAreaSpeaker(){
+ let that = this;
+ that.$API.third.tdevice.list.req({area:that.areaDetailId,type:50,page:0}).then(res=>{
+ console.log(res)
+ that.areaSpeaker = res;
+ })
+ },
+ //区域下的人员
+ getAreaBlt(){
+ let that = this;
+ that.$API.third.tdevice.list.req({area:that.areaDetailId,type:30,page:0}).then(res=>{
+ console.log(res)
+ that.areaUser = res;
+ })
+ },
//岗位
getAllPost() {
this.$API.system.post.list.req({ page: 0 }).then(res => {
diff --git a/src/views/ecm/event_handlefrom.vue b/src/views/ecm/event_handlefrom.vue
index 387b67fe..f3c976d4 100644
--- a/src/views/ecm/event_handlefrom.vue
+++ b/src/views/ecm/event_handlefrom.vue
@@ -8,8 +8,56 @@
>
-
-
+
+
+
+
+
+ {{ item.name }}
+
+
+
+ {{ mark_options2[form.mark] }}
+
+
+ {{ form.create_time }}
+
+
+ {{ form.area_.name }}
+
+
+
+ 作业
+ 人员
+ 其他
+
+
+
+ {{ form.vemployee_.name }}
+ {{ form.operation_name }}
+
+
+
+ {{ form.vchannel_.code }}-{{ form.vchannel_.name }}
+ 未设置
+
+
+
+
+
+
![]()
+
![]()
+
+ 无抓拍
+
+
+
+
+
+
+#infoForm .el-form-item--default .el-form-item__label {
+ width: 150px;
+ height: 50px;
+ background: #fafafa;
+ line-height: 50px;
+ text-align: center!important;
+ border: 1px solid #dddddd;
+}
+
\ No newline at end of file