无人机管理后台前端(已迁走)
chenyao
2025-11-22 8d32ef6a30791411fcf8cabf283024749fe9e9ab
src/views/tickets/orderLog.vue
@@ -36,7 +36,7 @@
              </template>
            </el-table-column>
            <el-table-column prop="dept_name" label="所属单位" show-overflow-tooltip/>
            <el-table-column prop="create_time" label="创建时间" show-overflow-tooltip/>
            <el-table-column prop="create_time" label="创建时间" width="160" show-overflow-tooltip/>
            <el-table-column prop="job_num" label="已执行次数" width="90" align="center" />
            <el-table-column prop="content" label="工单内容" show-overflow-tooltip align="center" />
            <el-table-column prop="wayline_name" label="关联航线" show-overflow-tooltip />
@@ -110,6 +110,7 @@
import { cloneDeep } from 'lodash';
import { computed, onMounted } from 'vue';
import { ElMessage, ElMessageBox } from 'element-plus'
import { aiImagesPage } from '@/api/dataCenter/dataCenter';
const store = useStore()
@@ -228,11 +229,12 @@
const orderListTable = ref([])
function getTableList() {
  orderListParams.searchParams.ai_types =  orderListParams.searchParams.ai_typesValue ? [ orderListParams.searchParams.ai_typesValue] : null
  const apiParams = {
    ...cloneDeep(orderListParams),
    ...cloneDeep(orderListParams.searchParams)
  }
  getList(apiParams).then(res => {
  getList(apiParams, orderListParams.current, orderListParams.size).then(res => {
    orderListTable.value = res.data.data.records
    total.value = res.data.data.total
    // updateGlobalCounts()
@@ -324,11 +326,10 @@
    NProgress.start()
    orderListParams.searchParams.ai_types =  orderListParams.searchParams.ai_typesValue ? [ orderListParams.searchParams.ai_typesValue] : null
    const apiParams = {
      ...cloneDeep(orderListParams),
      searchParams: {
        ...cloneDeep(orderListParams.searchParams)
      },
      ...cloneDeep(orderListParams.searchParams)
    }
    const res = await orderLogExport(apiParams)
@@ -415,11 +416,11 @@
}
onMounted(() => {
  getLines()
  aitypeList()
  filteredTabs()
  getTableList()
  updateGlobalCounts()
  getLines()
  aitypeList()
})
</script>