南昌市物联网技防平台-前端
zengh
2021-01-28 5eb237d3614944b4d0286c9edf1643d4d59d1990
src/views/realTimePolice/real.vue
@@ -52,7 +52,7 @@
      </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>
@@ -111,6 +111,7 @@
            {
              label: "报警时间",
              type: "datetime",
              width:130,
              format: "yyyy-MM-dd hh:mm:ss",
              valueFormat: "yyyy-MM-dd hh:mm:ss",
              prop: "alarmTime",
@@ -143,6 +144,7 @@
            }, {
              label: "联系电话",
              prop: "phoneNumber",
              width:130,
            }, {
              label: "接警人",
              prop: "galarmPeople",
@@ -151,22 +153,24 @@
              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: [
@@ -185,6 +189,7 @@
              search: true,
              searchSpan: 3,
              searchLabelWidth: 60,
              placeholder:"行政区",
              type: 'select',
              props: {
                label: 'name',
@@ -199,6 +204,8 @@
              label: '地市',
              prop: 'city',
              type: 'select',
              searchPlaceholder: "地市",
              placeholder:"地市",
              searchLabelWidth: 1,
              searchSpan: 2,
              search: true,
@@ -215,6 +222,8 @@
              label: '区县',
              searchSpan: 2,
              searchLabelWidth: 1,
              searchPlaceholder: "区县",
              placeholder:"区县",
              search: true,
              prop: 'district',
              type: 'select',
@@ -454,9 +463,11 @@
        }
      },
      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;
      }