无人机管理后台前端(已迁走)
chenyao
2025-11-22 71bd417a0d713a8e2201a8e615d2432b053a68e8
feat:智飞工单
3 files modified
22 ■■■■■ changed files
.env.development 4 ●●●● patch | view | raw | blame | history
src/views/tickets/component/SearchBox.vue 13 ●●●●● patch | view | raw | blame | history
src/views/tickets/orderLog.vue 5 ●●●● patch | view | raw | blame | history
.env.development
@@ -20,9 +20,9 @@
VITE_APP_BASE=/manage
# 服务地址
# VITE_APP_URL = https://wrj.shuixiongit.com/api
VITE_APP_URL = https://wrj.shuixiongit.com/api
#VITE_APP_URL= http://192.168.1.168
VITE_APP_URL= http://192.168.1.33
# VITE_APP_URL= http://192.168.1.33
#VITE_APP_URL= http://192.168.1.204
#新大屏地址
VITE_APP_DASHBOARD_URL = 'https://wrj.shuixiongit.com/command-center-dashboard/'
src/views/tickets/component/SearchBox.vue
@@ -139,6 +139,9 @@
  if (!dateRange.value) {
    dateRange.value = [];
  }
  if (!cycleDateRange.value) {
    cycleDateRange.value = [];
  }
  // if (dateRange.value && dateRange.value.length) {
  //   checked.value = '';
  //   searchForm.date_enum = '';
@@ -149,14 +152,14 @@
    create_start_date: dateRange.value.length
      ? dayjs(dateRange?.value[0]).startOf('day').format(timeFormat)
      : null,
    create_end_date: dateRange.value.length
    create_end_date: dateRange?.value.length
      ? dayjs(dateRange?.value[1]).endOf('day').format(timeFormat)
      : null,
    start_date: cycleDateRange.value.length
      ? dayjs(dateRange?.value[0]).startOf('day').format(timeFormat)
    start_date: cycleDateRange?.value.length
      ? dayjs(cycleDateRange?.value[0]).startOf('day').format(timeFormat)
      : null,
    end_date: cycleDateRange.value.length
      ? dayjs(dateRange?.value[1]).startOf('day').format(timeFormat)
    end_date: cycleDateRange?.value.length
      ? dayjs(cycleDateRange?.value[1]).startOf('day').format(timeFormat)
      : null,
  };
  emit('search', params);
src/views/tickets/orderLog.vue
@@ -110,6 +110,9 @@
import { cloneDeep } from 'lodash';
import { computed, onMounted } from 'vue';
import { ElMessage, ElMessageBox } from 'element-plus'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn' // 导入中文语言包
import weekday from 'dayjs/plugin/weekday'
import { aiImagesPage } from '@/api/dataCenter/dataCenter';
const store = useStore()
@@ -332,7 +335,7 @@
      ...cloneDeep(orderListParams.searchParams)
    }
    const res = await orderLogExport(apiParams)
    console.log(res, '导出')
    downloadXls(res.data, `智飞工单${dayjs().format('YYYY-MM-DD')}.xlsx`)
    ElMessage.success('导出成功')