龚焕茏
2024-08-22 eb14fce6c7b8cd383970c72e8312f44d64c92173
feat:查询条件优化
5个文件已修改
94 ■■■■■ 已修改文件
src/views/system/contract/score/index.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/monitor/car/index.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/monitor/face/index.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/monitor/recovery/index.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/monitor/video/index.vue 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/contract/score/index.vue
@@ -388,12 +388,17 @@
      if (null != this.daterangeAuditingTime && '' != this.daterangeAuditingTime) {
        this.queryParams["auditingStartTime"] = this.daterangeAuditingTime[0];
        this.queryParams["auditingEndTime"] = this.daterangeAuditingTime[1];
      } else {
        this.queryParams["auditingStartTime"] = null;
        this.queryParams["auditingEndTime"] = null;
      }
      if (null != this.daterangeCreateTime && '' != this.daterangeCreateTime) {
        this.queryParams["createStartTime"] = this.daterangeCreateTime[0];
        this.queryParams["createEndTime"] = this.daterangeCreateTime[1];
      } else {
        this.queryParams["createStartTime"] = null;
        this.queryParams["createEndTime"] = null;
      }
      console.log("this.queryParams", this.queryParams)
      listAuditing(this.queryParams).then(response => {
        this.auditingList = response.rows;
        this.total = response.total;
src/views/system/monitor/car/index.vue
@@ -44,15 +44,14 @@
          v-model="queryParams.address"
          placeholder="请选择区域"
          clearable
          @change="handleQuery"
        >
        <el-option label="自贡市" value="自贡市"/>
        <el-option label="沿滩区" value="沿滩区"/>
        <el-option label="大安区" value="大安区"/>
        <el-option label="贡井区" value="贡井区"/>
        <el-option label="自流井区" value="自流井区"/>
        <el-option label="高新区" value="高新区"/>
        <el-option label="荣县" value="荣县"/>
        <el-option label="富顺县" value="富顺县"/>
        <el-option
            v-for="dept in deptList"
            :key="dept.deptId"
            :label="dept.area"
            :value="dept.deptId"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="设备状态" prop="onState">
@@ -178,12 +177,13 @@
<script>
import { videoCount, listMonitor, getMonitor, delMonitor, addMonitor, updateMonitor } from "@/api/platform/monitor";
import { listDept } from "@/api/system/dept";
export default {
  name: "Monitor",
  dicts: ['sys_normal_disable','platform_yes_no','camera_state'],
  data() {
    return {
      deptList: [],
      // 列信息
      columns: [
        { key: 0, label: `标签`, visible: true },
@@ -259,6 +259,9 @@
  created() {
    this.getVideoCount();
    this.getList();
    listDept({ status: 0 }).then(response => {
      this.deptList = response.data.filter(item => item.area);
    });
  },
  methods: {
    /** 查询设备资产列表 */
@@ -308,6 +311,7 @@
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.queryParams.address = '';
      this.resetForm("queryForm");
      this.handleQuery();
    },
src/views/system/monitor/face/index.vue
@@ -44,15 +44,14 @@
          v-model="queryParams.address"
          placeholder="请选择区域"
          clearable
          @change="handleQuery"
        >
          <el-option label="自贡市" value="自贡市"/>
          <el-option label="沿滩区" value="沿滩区"/>
          <el-option label="大安区" value="大安区"/>
          <el-option label="贡井区" value="贡井区"/>
          <el-option label="自流井区" value="自流井区"/>
          <el-option label="高新区" value="高新区"/>
          <el-option label="荣县" value="荣县"/>
          <el-option label="富顺县" value="富顺县"/>
        <el-option
            v-for="dept in deptList"
            :key="dept.deptId"
            :label="dept.area"
            :value="dept.deptId"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="设备状态" prop="onState">
@@ -217,12 +216,13 @@
<script>
import { videoCount, listMonitor, getMonitor, delMonitor, addMonitor, updateMonitor } from "@/api/platform/monitor";
import { listDept } from "@/api/system/dept";
export default {
  name: "Monitor",
  dicts: ['sys_normal_disable','platform_yes_no','camera_state'],
  data() {
    return {
      deptList: [],
      // 列信息
      columns: [
        { key: 0, label: `标签`, visible: true },
@@ -297,6 +297,9 @@
  created() {
    this.getVideoCount();
    this.getList();
    listDept({ status: 0 }).then(response => {
      this.deptList = response.data.filter(item => item.area);
    });
  },
  methods: {
    /** 查询设备资产列表 */
@@ -341,6 +344,7 @@
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.queryParams.address = '';
      this.resetForm("queryForm");
      this.handleQuery();
    },
src/views/system/monitor/recovery/index.vue
@@ -44,15 +44,14 @@
          v-model="queryParams.address"
          placeholder="请选择区域"
          clearable
          @change="handleQuery"
        >
          <el-option label="自贡市" value="自贡市"/>
          <el-option label="沿滩区" value="沿滩区"/>
          <el-option label="大安区" value="大安区"/>
          <el-option label="贡井区" value="贡井区"/>
          <el-option label="自流井区" value="自流井区"/>
          <el-option label="高新区" value="高新区"/>
          <el-option label="荣县" value="荣县"/>
          <el-option label="富顺县" value="富顺县"/>
        <el-option
            v-for="dept in deptList"
            :key="dept.deptId"
            :label="dept.area"
            :value="dept.deptId"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="监控类型" prop="onState">
@@ -165,12 +164,13 @@
<script>
import { recoveryException, listMonitor, getMonitor, delMonitor, addMonitor, updateMonitor } from "@/api/platform/monitor";
import { listDept } from "@/api/system/dept";
export default {
  name: "Monitor",
  dicts: ['sys_normal_disable','platform_yes_no','camera_state'],
  data() {
    return {
      deptList: [],
      // 列信息
      columns: [
        { key: 0, label: `标签`, visible: true },
@@ -243,6 +243,9 @@
  created() {
    this.getList();
    this.getVideoCount();
    listDept({ status: 0 }).then(response => {
      this.deptList = response.data.filter(item => item.area);
    });
  },
  methods: {
    /** 查询设备资产列表 */
@@ -292,6 +295,7 @@
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.queryParams.address = '';
      this.resetForm("queryForm");
      this.handleQuery();
    },
src/views/system/monitor/video/index.vue
@@ -46,15 +46,14 @@
          v-model="queryParams.address"
          placeholder="请选择区域"
          clearable
          @change="handleQuery"
        >
          <el-option label="自贡市" value="自贡市"/>
          <el-option label="沿滩区" value="沿滩区"/>
          <el-option label="大安区" value="大安区"/>
          <el-option label="贡井区" value="贡井区"/>
          <el-option label="自流井区" value="自流井区"/>
          <el-option label="高新区" value="高新区"/>
          <el-option label="荣县" value="荣县"/>
          <el-option label="富顺县" value="富顺县"/>
          <el-option
            v-for="dept in deptList"
            :key="dept.deptId"
            :label="dept.area"
            :value="dept.deptId"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="设备状态" prop="onState">
@@ -180,11 +179,13 @@
<script>
import { videoCount, listMonitor, getMonitor, delMonitor, addMonitor, updateMonitor } from "@/api/platform/monitor";
import { listDept } from "@/api/system/dept";
export default {
  name: "Monitor",
  dicts: ['sys_normal_disable', 'platform_yes_no','camera_state'],
  data() {
    return {
      deptList: [],
      // 列信息
      columns: [
        { key: 0, label: `标签`, visible: true },
@@ -259,6 +260,9 @@
  created() {
    this.getVideoCount();
    this.getList();
    listDept({ status: 0 }).then(response => {
      this.deptList = response.data.filter(item => item.area);
    });
  },
  methods: {
    /** 查询设备资产列表 */
@@ -304,6 +308,7 @@
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.queryParams.address = '';
      this.resetForm("queryForm");
      this.handleQuery();
    },