无人机管理后台前端(已迁走)
shuishen
2025-08-01 58577982a483d92559480557545acf1cf29d3e85
src/views/tickets/ticket.vue
@@ -18,7 +18,7 @@
              @clear="handleKeyWords"
              @keyup.enter="handleSearch"
            />
            <el-select
            <!-- <el-select
              v-model="filters.department"
              placeholder="请选择所属单位"
              class="filter-item"
@@ -30,7 +30,7 @@
                :label="item.label"
                :value="item.value"
              />
            </el-select>
            </el-select> -->
            <el-select
              v-model="filters.type"
              placeholder="请选择工单类型"
@@ -874,6 +874,8 @@
import { mapGetters } from 'vuex'
import { getAdcodeObj } from '@/utils/disposeData'
import elTooltipCopy from '@/components/ElTooltipCopy.vue'
import getBaseConfig from '@/buildConfig/config'
const { envName } = getBaseConfig()
function regExp (label, name) {
  var reg = new RegExp(label + '=([^&]*)(&|$)', 'g')
  return name.match(reg)[0].split('=')[1]
@@ -979,7 +981,7 @@
          { label: '处理人', prop: 'handler', width: 70 },
          {
            slot: true,
            hide: false,
            hide: envName === 'jiangwu'? true : false,
            label: '复核状态',
            prop: 'isReview',
            width: 90,
@@ -1089,6 +1091,7 @@
  },
  mounted() {
    const href = this.$route.href;
    if (this.$route?.query?.status !== undefined && this.$route?.query?.status !== null) {
      this.filters.status = this.$route?.query?.status + '';
@@ -1132,12 +1135,12 @@
      if (orderNumber) {
        this.filters.keyword = orderNumber;
        this.$nextTick(() => {
          this.isShowInfo = true;
          const find = this.$store.state.tags.bsTagList.find(i => i.path === '/tickets/ticket')
          find && (find.query = {})
        });
        console.log('orderNumber', orderNumber);
      }
    }
@@ -1913,8 +1916,6 @@
      this.page.currentPage = 1;
      this.$router.replace({});  //清除url参数
      this.fetchTableData();
      console.log('handleSearch', this.$router);
    },
    handleKeyWords(){
      this.$router.replace({});  //清除url参数
@@ -2931,7 +2932,8 @@
  },
  activated() {
    this.handleReset();
  }
  },
};
</script>