更新
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
export const URL = "http://test.vespa.xscmmidi.site";
|
export const URL = "http://1.13.101.98";
|
||||||
// https://vespa.qxyushen.top 正式
|
// https://vespa.qxyushen.top 正式
|
||||||
// http://1.13.101.98
|
// http://1.13.101.98
|
||||||
// https://test.vespa.xscmmidi.site
|
// https://test.vespa.xscmmidi.site
|
||||||
|
|||||||
@@ -195,8 +195,8 @@ const exportExcal = async () => {
|
|||||||
const workSheet = utils.aoa_to_sheet(res);
|
const workSheet = utils.aoa_to_sheet(res);
|
||||||
const workBook = utils.book_new();
|
const workBook = utils.book_new();
|
||||||
utils.book_append_sheet(workBook, workSheet, "数据报表");
|
utils.book_append_sheet(workBook, workSheet, "数据报表");
|
||||||
const TagName = tagList.value.filter(ele => { return ele.value == tagValue.value })
|
// const TagName = tagList.value.filter(ele => { return ele.value == tagValue.value })
|
||||||
writeFile(workBook, `房间${TagName.length ? TagName.value.label : '流水'}信息.xlsx`);
|
writeFile(workBook, `房间流水信息.xlsx`);
|
||||||
message("导出成功", {
|
message("导出成功", {
|
||||||
type: "success"
|
type: "success"
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => {
|
|||||||
// 设置CORS头 https://admin.qxyushen.top
|
// 设置CORS头 https://admin.qxyushen.top
|
||||||
// https://test.vespa.qxyushen.top
|
// https://test.vespa.qxyushen.top
|
||||||
// 'http://admin.vespa.xscmmidi.site'
|
// '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-Methods', 'GET, POST, PUT, DELETE, OPTIONS');
|
||||||
res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization');
|
res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization');
|
||||||
res.end();
|
res.end();
|
||||||
|
|||||||
Reference in New Issue
Block a user