| | |
| | | </template> |
| | | |
| | | <template slot-scope="{type,size,row}" slot="menu"> |
| | | <el-button icon="el-icon-check" :size="size" :type="type" @click.stop="handleStart(row)">历史</el-button> |
| | | <el-button icon="el-icon-check" :size="size" :type="type" @click.stop="handleHistory(row)">历史</el-button> |
| | | <el-button icon="el-icon-check" :size="size" :type="type" @click.stop="handleStart(row)">视频</el-button> |
| | | <el-button icon="el-icon-check" :size="size" :type="type">处置</el-button> |
| | | <el-button icon="el-icon-check" :size="size" :type="type" @click.stop="handleAdd11()">定位</el-button> |
| | |
| | | { |
| | | label: "报警时间", |
| | | type: "datetime", |
| | | width:130, |
| | | format: "yyyy-MM-dd hh:mm:ss", |
| | | valueFormat: "yyyy-MM-dd hh:mm:ss", |
| | | prop: "alarmTime", |
| | |
| | | }, { |
| | | label: "联系电话", |
| | | prop: "phoneNumber", |
| | | width:130, |
| | | }, { |
| | | label: "接警人", |
| | | prop: "galarmPeople", |
| | |
| | | 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", |
| | | }, { |
| | | label: "设备编号", |
| | | search: true, |
| | | searchSpan: 3, |
| | | width:130, |
| | | prop: "deviceNumber", |
| | | }, { |
| | | label: "是否生成警单", |
| | | label: "生成警单", |
| | | search: true, |
| | | searchSpan: 3, |
| | | slot: true, |
| | | searchLabelWidth: 100, |
| | | searchPlaceholder: "请选择", |
| | | searchPlaceholder: "", |
| | | prop: "jtype", |
| | | type: "select", |
| | | dicData: [ |
| | |
| | | search: true, |
| | | searchSpan: 3, |
| | | searchLabelWidth: 60, |
| | | placeholder:"行政区", |
| | | type: 'select', |
| | | props: { |
| | | label: 'name', |
| | |
| | | label: '地市', |
| | | prop: 'city', |
| | | type: 'select', |
| | | searchPlaceholder: "地市", |
| | | placeholder:"地市", |
| | | searchLabelWidth: 1, |
| | | searchSpan: 2, |
| | | search: true, |
| | |
| | | label: '区县', |
| | | searchSpan: 2, |
| | | searchLabelWidth: 1, |
| | | searchPlaceholder: "区县", |
| | | placeholder:"区县", |
| | | search: true, |
| | | prop: 'district', |
| | | type: 'select', |
| | |
| | | } |
| | | }, |
| | | handleStart(row) { |
| | | |
| | | this.$router.push({path: `/real/video/${row.channelNumber}/${row.serialNumber}`}); |
| | | }, |
| | | handleHistory(row) { |
| | | this.$router.push({path: `/real/history/${row.deviceNumber}`}); |
| | | }, |
| | | handleAdd11(){ |
| | | this.qwe=true; |
| | | } |