| | |
| | | setTimeout(() => { |
| | | that.$router.push({ |
| | | path: "/realTimePolice/real", |
| | | query: that.form, |
| | | // query: that.form, |
| | | }); |
| | | }, 10); |
| | | |
| | |
| | | }} |
| | | </el-tag> |
| | | </template> |
| | | |
| | | <template slot-scope="{ row }" slot="alarmbs"> |
| | | <el-tag |
| | | >{{ |
| | | row.alarmbs == "0" ? "一般警情" : row.alarmbs == "1" ? "误报警情" : row.alarmbs == "2" ? "重大警情" : "暂无" |
| | | }} |
| | | </el-tag> |
| | | </template> |
| | | |
| | | <template slot-scope="{ row }" slot="cid"> |
| | | <el-tag |
| | | >{{ |
| | |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | }, |
| | | |
| | | { |
| | | label: "警情标识", |
| | | prop: "alarmbs", |
| | | width: 90, |
| | | search: true, |
| | | searchSpan: 3, |
| | | slot: true, |
| | | type: "select", |
| | | dicData: [ |
| | | { |
| | | label: "一般警情", |
| | | value: "0", |
| | | }, |
| | | { |
| | | label: "误报警情", |
| | | value: "1", |
| | | }, |
| | | { |
| | | label: "严重警情", |
| | | value: "2", |
| | | } |
| | | ], |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: false, |
| | | }, { |
| | | label: "接警人", |
| | | prop: "alarmPeople", |
| | | width: 90, |
| | |
| | | if (val) { |
| | | //地址截取,从县/区开始截取,并且取从县区第一个出现的位置开始 |
| | | var address = val.formattedAddress.toString(); |
| | | |
| | | //经纬度替换 |
| | | this.form.wd = val.latitude; |
| | | this.form.jd = val.longitude; //经纬度替换 |
| | | |
| | | if (address.search("县") != -1) { |
| | | this.form.address = address.substring( |
| | | address.indexOf("县") + 1, |