odc.xiaohui
2023-02-24 cec9008c7bdbb373c400d53330642be3891a84d5
2023/2/24
肖辉
屏蔽门前三包统计
修改重置按钮
7个文件已修改
74 ■■■■ 已修改文件
src/App.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/seachHeader/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/statistics/unlawful/area/index.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/statistics/unlawful/point/index.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/statistics/unlawful/time/index.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/statistics/unlawful/type/index.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/layout/components/Menu/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/App.vue
@@ -141,6 +141,10 @@
  .list{
    height: 100%;
    overflow: auto;
    header{
      background-color: transparent;
      border: none
    }
  }
  // 设置弹出框样式
  .el-dialog__title {
src/components/seachHeader/index.vue
@@ -70,6 +70,7 @@
                    @click="dialogCreate()"
                    >添加</el-button
                >
              <el-button type="primary" @click="resetAll">重置</el-button>
            </el-form-item>
        </el-form>
        <!--      <div>-->
@@ -138,6 +139,10 @@
        this.getCommunityOptions()
    },
    methods: {
      resetAll(){
        this.seachData = {}
        this.$emit('getUserList', { seachData: this.seachData });
      },
        handleChange(value) {
            console.log(value);
        },
src/views/intelligentPatrol/statistics/unlawful/area/index.vue
@@ -13,6 +13,7 @@
            start-placeholder="开始日期"
            end-placeholder="结束日期"
            :picker-options="pickerOptions"
            value-format="yyyy-MM-dd HH:mm:ss"
          >
          </el-date-picker>
        </div>
@@ -144,6 +145,7 @@
      this.$axios({
        method: "post",
        url: `sccg/intelligentPatrol/statistics/export/unlawful`,
        // url: `sccg/intelligentPatrol/statistics/export/unlawful/street`,
        responseType: "arraybuffer",
      }).then((res) => {
        let time = new Date();
@@ -166,8 +168,13 @@
        this.$message.success("操作成功");
      });
    },
    setTableDataHandle(e) {},
    resetTableData(e) {},
    setTableDataHandle(e) {
      this.setTableData()
    },
    resetTableData(e) {
      this.value2= ''
      this.setTableData()
    },
    // 设置表格斑马纹
    tableRowClassName({ row, rowIndex }) {
      if ((rowIndex + 1) % 2 == 0) {
@@ -183,8 +190,8 @@
      this.searchByArea({
        currentPage,
        pageSize,
        beginTime: "2022-05-01 00:00:00",
        endTime: "2022-09-01 00:00:00",
        beginTime: this.value2[0],
        endTime:this.value2[1],
      }).then((res) => {
        this.list = res.records;
        this.totalNum = res.total;
src/views/intelligentPatrol/statistics/unlawful/point/index.vue
@@ -13,6 +13,7 @@
            start-placeholder="开始日期"
            end-placeholder="结束日期"
            :picker-options="pickerOptions"
            value-format="yyyy-MM-dd HH:mm:ss"
          >
          </el-date-picker>
        </div>
@@ -154,6 +155,7 @@
      this.$axios({
        method: "post",
        url: `sccg/intelligentPatrol/statistics/export/unlawful`,
        // url: `sccg/intelligentPatrol/statistics/export/unlawful/site`,
        responseType: "arraybuffer",
      }).then((res) => {
        let time = new Date();
@@ -176,8 +178,13 @@
        this.$message.success("操作成功");
      });
    },
    setTableDataHandle(e) {},
    resetTableData(e) {},
    setTableDataHandle(e) {
      this.setTableData()
    },
    resetTableData(e) {
      this.value2= ''
      this.setTableData()
    },
    // 设置表格斑马纹
    tableRowClassName({ row, rowIndex }) {
      if ((rowIndex + 1) % 2 == 0) {
@@ -193,8 +200,8 @@
      this.searchByPoint({
        currentPage,
        pageSize,
        beginTime: "2022-05-01 00:00:00",
        endTime: "2022-09-01 00:00:00",
        beginTime: this.value2[0],
        endTime:this.value2[1],
      }).then((res) => {
        this.list = res.records;
        this.totalNum = res.total;
src/views/intelligentPatrol/statistics/unlawful/time/index.vue
@@ -13,6 +13,7 @@
            start-placeholder="开始日期"
            end-placeholder="结束日期"
            :picker-options="pickerOptions"
            value-format="yyyy-MM-dd HH:mm:ss"
          >
          </el-date-picker>
        </div>
@@ -167,8 +168,13 @@
            this.$message.success('操作成功');
        })
    },
    setTableDataHandle(e) {},
    resetTableData(e) {},
    setTableDataHandle(e) {
      this.setTableData()
    },
    resetTableData(e) {
      this.value2= ''
      this.setTableData()
    },
    // 设置表格斑马纹
    tableRowClassName({ row, rowIndex }) {
      if ((rowIndex + 1) % 2 == 0) {
@@ -184,8 +190,8 @@
      this.searchByTime({
        currentPage,
        pageSize,
        beginTime:'2022-05-01 00:00:00',
        endTime:'2022-09-01 00:00:00'
        beginTime: this.value2[0],
        endTime:this.value2[1],
      }).then((res) => {
          this.list = res.records;
          this.totalNum = res.total;
src/views/intelligentPatrol/statistics/unlawful/type/index.vue
@@ -13,6 +13,7 @@
            start-placeholder="开始日期"
            end-placeholder="结束日期"
            :picker-options="pickerOptions"
            value-format="yyyy-MM-dd HH:mm:ss"
          >
          </el-date-picker>
        </div>
@@ -151,7 +152,8 @@
    handleExport(e) {
      this.$axios({
        method: 'post',
        url: `sccg/intelligentPatrol/statistics/export/unlawful`,
        // url: `sccg/intelligentPatrol/statistics/export/unlawful`,
        url: `sccg/intelligentPatrol/statistics/export/unlawful/type`,
        responseType: 'arraybuffer'
      })
        .then(res => {
@@ -160,7 +162,7 @@
            const blob = new Blob([res.data], {
              type: "application/vnd.ms-excel;charset=utf-8",
            });
            if (window.navigator.msSaveBlob) {
              window.navigator.msSaveBlob(blob, deathdate+"按违规类型统计" + ".xlsx");
            } else {
@@ -176,8 +178,13 @@
            this.$message.success('操作成功');
        })
    },
    setTableDataHandle(e) {},
    resetTableData(e) {},
    setTableDataHandle(e) {
      this.setTableData()
    },
    resetTableData(e) {
      this.value2= ''
      this.setTableData()
    },
    // 设置表格斑马纹
    tableRowClassName({ row, rowIndex }) {
      if ((rowIndex + 1) % 2 == 0) {
@@ -193,8 +200,8 @@
      this.searchByType({
        currentPage,
        pageSize,
        beginTime:'2022-05-01 00:00:00',
        endTime:'2022-09-01 00:00:00'
        beginTime: this.value2[0],
        endTime:this.value2[1],
      }).then((res) => {
          this.list = res.records;
          this.totalNum = res.total;
src/views/layout/components/Menu/index.vue
@@ -38,7 +38,7 @@
                    :key="thirdMenu.id"
                    :index="`${thirdMenu.id}`"
                    :route="{ name: thirdMenu.url }"
                    v-if="thirdMenu.id!='63'&&thirdMenu.id!='65'"
                    v-if="thirdMenu.id!='65'"
                    >
                    <template>
                      {{thirdMenu.title }}