| .env.development | ●●●●● patch | view | raw | blame | history | |
| src/views/tickets/component/SearchBox.vue | ●●●●● patch | view | raw | blame | history | |
| src/views/tickets/orderLog.vue | ●●●●● 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('导出成功')