odc.xiaohui
2023-03-18 a52129f16bd78bceeae3ee901d3a15d8471b4845
src/views/intelligentPatrol/statistics/unlawful/point/index.vue
@@ -309,9 +309,13 @@
    handleExport(e) {
      this.$axios({
        method: "post",
        url: `sccg/intelligentPatrol/statistics/export/unlawful`,
        // url: `sccg/intelligentPatrol/statistics/export/unlawful/site`,
        // url: `sccg/intelligentPatrol/statistics/export/unlawful`,
        url: `sccg/intelligentPatrol/statistics/export/unlawful/site`,
        responseType: "arraybuffer",
        data: {
          beginTime: this.value2[0],
          endTime: this.value2[1],
        },
      }).then((res) => {
        let time = new Date();
        let deathdate = time.toLocaleDateString();
@@ -334,11 +338,11 @@
      });
    },
    setTableDataHandle(e) {
      this.setTableData()
      this.setTableData();
    },
    resetTableData(e) {
      this.value2= ''
      this.setTableData()
      this.value2 = "";
      this.setTableData();
    },
    // 设置表格斑马纹
    tableRowClassName({ row, rowIndex }) {
@@ -356,7 +360,7 @@
        currentPage,
        pageSize,
        beginTime: this.value2[0],
        endTime:this.value2[1],
        endTime: this.value2[1],
      }).then((res) => {
        this.list = res.records;
        this.totalNum = res.total;