南昌市物联网技防平台-前端
shuishen
2021-03-11 08413f10a9b4833d0a00a3ee2a3ce629acc7bdd8
src/views/policeInformationDistribution/index.vue
@@ -65,7 +65,7 @@
      <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%"
@@ -81,7 +81,7 @@
  update,
  add,
  getclient
} from "@/api/policeInformation/distribution";
} from "@/api/policeInformation/index";
import { mapGetters } from "vuex";
export default {
@@ -105,6 +105,7 @@
        indexLabel: "序号",
        calcHeight: 30,
        labelWidth: "100",
        size: "mini",
        dialogWidth: 950,
        tip: false,
        searchShow: true,
@@ -120,6 +121,7 @@
            prop: "waringType",
            search: true,
            searchSpan: 3,
            className: "waringTypeClass",
            searchLabelWidth: 80,
            searchPlaceholder: "请选择",
            type: "select",
@@ -128,8 +130,7 @@
              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: "报警时间",
@@ -143,8 +144,8 @@
            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,
@@ -198,11 +199,12 @@
            prop: "deviceNumber"
          },
          {
            label: "行政区",
            label: "省份",
            prop: "province",
            search: true,
            searchSpan: 3,
            searchLabelWidth: 60,
            searchSpan: 2,
            searchLabelWidth: 45,
            span:5,
            type: "select",
            props: {
              label: "name",
@@ -210,7 +212,6 @@
            },
            cascaderItem: ["city", "district"],
            dicUrl: "/api/blade-system/region/select",
            span: 6,
            className: "cityClass1"
          },
          {
@@ -219,13 +220,13 @@
            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"
          },
@@ -233,6 +234,7 @@
            label: "区县",
            searchSpan: 2,
            searchLabelWidth: 1,
            span:3,
            search: true,
            prop: "district",
            type: "select",
@@ -241,19 +243,18 @@
              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: "待处理",
@@ -281,7 +282,7 @@
        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() {
@@ -513,24 +514,17 @@
    },
    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>