This commit is contained in:
yziiy
2025-11-10 10:40:20 +08:00
parent d3667bde58
commit c6219fe6ad
3 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
export const URL = "http://test.vespa.xscmmidi.site";
export const URL = "http://1.13.101.98";
// https://vespa.qxyushen.top 正式
// http://1.13.101.98
// https://test.vespa.xscmmidi.site

View File

@@ -195,8 +195,8 @@ const exportExcal = async () => {
const workSheet = utils.aoa_to_sheet(res);
const workBook = utils.book_new();
utils.book_append_sheet(workBook, workSheet, "数据报表");
const TagName = tagList.value.filter(ele => { return ele.value == tagValue.value })
writeFile(workBook, `房间${TagName.length ? TagName.value.label : '流水'}信息.xlsx`);
// const TagName = tagList.value.filter(ele => { return ele.value == tagValue.value })
writeFile(workBook, `房间流水信息.xlsx`);
message("导出成功", {
type: "success"
});

View File

@@ -38,7 +38,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => {
// 设置CORS头 https://admin.qxyushen.top
// https://test.vespa.qxyushen.top
// 'http://admin.vespa.xscmmidi.site'
res.setHeader('Access-Control-Allow-Origin', 'https://test.vespa.qxyushen.top');
res.setHeader('Access-Control-Allow-Origin', 'http://admin.vespa.xscmmidi.site');
res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS');
res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization');
res.end();