| | |
| | | <iframe |
| | | id="mapDiv" |
| | | ref="mapDiv" |
| | | src="/map/index.html?openid=ClientManagement" |
| | | src="/map/index.html?openid=ClientManagement&ISinit=1" |
| | | frameborder="0" |
| | | width="100%" |
| | | height="100%" |
| | |
| | | update, |
| | | add, |
| | | getclient |
| | | } from "@/api/policeInformation/distribution"; |
| | | } from "@/api/policeInformation/index"; |
| | | import { mapGetters } from "vuex"; |
| | | |
| | | export default { |
| | |
| | | indexLabel: "序号", |
| | | calcHeight: 30, |
| | | labelWidth: "100", |
| | | size: "mini", |
| | | dialogWidth: 950, |
| | | tip: false, |
| | | searchShow: true, |
| | |
| | | prop: "waringType", |
| | | search: true, |
| | | searchSpan: 3, |
| | | className: "waringTypeClass", |
| | | searchLabelWidth: 80, |
| | | searchPlaceholder: "请选择", |
| | | type: "select", |
| | |
| | | value: "dictValue" |
| | | }, |
| | | //cascaderItem: ["city", "district"], |
| | | dicUrl: "/api/blade-system/dict-biz/child-list?parentId=1356516807043231746", |
| | | span: 6 |
| | | dicUrl: "/api/blade-system/dict-biz/child-list?parentId=1356523651644043266", |
| | | }, |
| | | { |
| | | label: "报警时间", |
| | |
| | | label: "报警时间", |
| | | prop: "releaseTimeRange", |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd hh:mm:ss", |
| | | valueFormat: "yyyy-MM-dd hh:mm:ss", |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd", |
| | | searchRange: true, |
| | | searchSpan: 5, |
| | | hide: true, |
| | |
| | | prop: "deviceNumber" |
| | | }, |
| | | { |
| | | label: "行政区", |
| | | label: "省份", |
| | | prop: "province", |
| | | search: true, |
| | | searchSpan: 3, |
| | | searchLabelWidth: 60, |
| | | searchSpan: 2, |
| | | searchLabelWidth: 45, |
| | | span:5, |
| | | type: "select", |
| | | props: { |
| | | label: "name", |
| | |
| | | }, |
| | | cascaderItem: ["city", "district"], |
| | | dicUrl: "/api/blade-system/region/select", |
| | | span: 6, |
| | | className: "cityClass1" |
| | | }, |
| | | { |
| | |
| | | type: "select", |
| | | searchLabelWidth: 1, |
| | | searchSpan: 2, |
| | | span:3, |
| | | search: true, |
| | | props: { |
| | | label: "name", |
| | | value: "code" |
| | | }, |
| | | dicUrl: "/api/blade-system/region/select?code={{key}}", |
| | | span: 3, |
| | | labelWidth: "0", |
| | | className: "cityClass2" |
| | | }, |
| | |
| | | label: "区县", |
| | | searchSpan: 2, |
| | | searchLabelWidth: 1, |
| | | span:3, |
| | | search: true, |
| | | prop: "district", |
| | | type: "select", |
| | |
| | | value: "code" |
| | | }, |
| | | dicUrl: "/api/blade-system/region/select?code={{key}}", |
| | | span: 3, |
| | | labelWidth: "0", |
| | | className: "cityClass3" |
| | | }, |
| | | { |
| | | label: "处理状态", |
| | | search: true, |
| | | searchSpan: 3, |
| | | searchSpan: 2, |
| | | slot: true, |
| | | searchLabelWidth: 80, |
| | | searchPlaceholder: "请选择", |
| | | prop: "type", |
| | | type: "select", |
| | | className: "selectClass", |
| | | dicData: [ |
| | | { |
| | | label: "待处理", |
| | |
| | | addBtn: this.vaildData(this.permission.distribution_add, false), |
| | | viewBtn: this.vaildData(null, false), |
| | | delBtn: this.vaildData(null, false), |
| | | editBtn: this.vaildData(this.permission.real_edit, false) |
| | | editBtn: this.vaildData(this.permission.distribution_edit, false) |
| | | }; |
| | | }, |
| | | ids() { |
| | |
| | | }, |
| | | PoliceTracking(row){ |
| | | //警情追踪 |
| | | |
| | | |
| | | |
| | | this.$router.push({ path: "/policeTracking/track", query: row }); |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style> |
| | | .cityClass1 { |
| | | padding-right: 5px !important; |
| | | } |
| | | |
| | | .cityClass3 div label { |
| | | display: none; |
| | | } |
| | | .el-card__body .selectClass{ |
| | | width: 12%; |
| | | } |
| | | |
| | | .cityClass3 { |
| | | padding-left: 5px !important; |
| | | } |
| | | |
| | | </style> |