| | |
| | | </template> |
| | | <template slot-scope="{ row }" slot="cid"> |
| | | <el-tag>{{ |
| | | row.cid == "1" ? "事件发生" : row.cid == "3" ? "是" : "事件恢复" |
| | | row.cid == "1" ? "事件发生" : row.cid == "3" ? "是" : "事件恢复" |
| | | }} |
| | | </el-tag> |
| | | </template> |
| | |
| | | { |
| | | label: "报警人", |
| | | prop: "galarmPeople" |
| | | }, |
| | | { |
| | | }, { |
| | | label: "联系电话", |
| | | prop: "phoneNumber", |
| | | width: 130 |
| | | }, |
| | | { |
| | | label: "接警人", |
| | | prop: "alarmPeople" |
| | | }, |
| | | { |
| | | label: "接警时间", |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd HH:mm:ss", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | width: 130, |
| | | prop: "jjTime" |
| | | }, |
| | | { |
| | | label: "事发地址", |
| | |
| | | searchSpan: 3, |
| | | prop: "cid", |
| | | slot: true, |
| | | hide: true, |
| | | width: 100, |
| | | type: "select", |
| | | dicData: [ |
| | |
| | | value: '3' |
| | | } |
| | | ], |
| | | }, |
| | | { |
| | | label: "接警人", |
| | | prop: "alarmPeople" |
| | | }, |
| | | { |
| | | label: "接警时间", |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd HH:mm:ss", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | width: 130, |
| | | prop: "jjTime" |
| | | }, |
| | | ] |
| | | }, |
| | |
| | | }); |
| | | this.$store.state.tags.tagList = arr; |
| | | this.$router.push({ |
| | | path: `/real/video/`,query:row |
| | | path: `/real/video/`, query: row |
| | | }); |
| | | }, |
| | | handleHistory(row) { |
| | |
| | | this.showMap = true; |
| | | this.$nextTick(() => { |
| | | this.$refs.mapDiv.onload = () => { |
| | | window.frames[0].init("ClientManagement",{x: row.jd, y: row.wd}); |
| | | window.frames[0].init("ClientManagement", {x: row.jd, y: row.wd}); |
| | | }; |
| | | }); |
| | | }, |
| | |
| | | galarmPeople: row.galarmPeople, |
| | | phoneNumber: row.phoneNumber, |
| | | place: row.place, |
| | | alarmPeople:row.alarmPeople, |
| | | alarmPeople: row.alarmPeople, |
| | | content: row.content, |
| | | galarmTime: row.alarmTime, |
| | | waringType: row.waringType, |
| | |
| | | }); |
| | | that.$store.state.tags.tagList = arr; |
| | | row.type = 0; |
| | | that.$router.push({ path: "/distribution/index", query: row }); |
| | | that.$router.push({path: "/distribution/index", query: row}); |
| | | |
| | | }) |
| | | .catch(function (error) { |
| | |
| | | |
| | | <style> |
| | | |
| | | .el-card__body .jtypeClass{ |
| | | .el-card__body .jtypeClass { |
| | | width: 10%; |
| | | } |
| | | |
| | | .el-card__body .waringTypeClass{ |
| | | .el-card__body .waringTypeClass { |
| | | width: 12%; |
| | | } |
| | | |
| | |
| | | width: 155px; |
| | | padding-right: 0px !important; |
| | | } |
| | | |
| | | .el-card__body .cityClass2 { |
| | | width: 100px; |
| | | padding-left: 0px !important; |
| | | padding-right: 0px !important; |
| | | } |
| | | |
| | | .el-card__body .cityClass3 { |
| | | width: 100px; |
| | | padding-left: 0px !important; |
| | |
| | | width: 220px; |
| | | padding-right: 0px !important; |
| | | } |
| | | |
| | | .el-dialog .cityClass2 { |
| | | width: 110px; |
| | | padding-left: 5px !important; |
| | | padding-right: 5px !important; |
| | | } |
| | | |
| | | .el-dialog .cityClass3 { |
| | | width: 110px; |
| | | padding-left: 0px !important; |
| | |
| | | prop: "phoneNumber", |
| | | width:130, |
| | | }, { |
| | | label: "接警人", |
| | | prop: "alarmPeople", |
| | | }, { |
| | | label: "接警时间", |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd HH:mm:ss", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | width:130, |
| | | prop: "jjTime", |
| | | }, { |
| | | label: "事发地址", |
| | | width:200, |
| | | prop: "place", |
| | |
| | | searchSpan: 3, |
| | | prop: "cid", |
| | | width: 100, |
| | | hide: true, |
| | | slot: true, |
| | | type: "select", |
| | | dicData: [ |
| | |
| | | value: '3' |
| | | } |
| | | ], |
| | | }, |
| | | |
| | | }, { |
| | | label: "接警人", |
| | | prop: "alarmPeople", |
| | | }, { |
| | | label: "接警时间", |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd HH:mm:ss", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | width:130, |
| | | prop: "jjTime", |
| | | } |
| | | ] |
| | | }, |
| | | data: [] |