更新
This commit is contained in:
@@ -54,6 +54,13 @@ export const taskRankList = params => {
|
||||
{ params }
|
||||
);
|
||||
};
|
||||
export const taskRewardPriceData = params => {
|
||||
return http.request<Result>(
|
||||
"get",
|
||||
"/adminapi/Statistical/get_claimed_reward_price_show",
|
||||
{ params }
|
||||
);
|
||||
};
|
||||
// 中奖记录统计
|
||||
export const getLuckyRank = params => {
|
||||
return http.request<Result>(
|
||||
@@ -68,4 +75,4 @@ export const realTimeByluckyList = () => {
|
||||
"get",
|
||||
"/adminapi/Lottery/realtime_statistics"
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export const URL = "https://yushengapi.qxyushen.top";
|
||||
// export const URL = "https://test.vespa.qxyushen.top";
|
||||
// export const URL = "https://yushengapi.qxyushen.top";
|
||||
export const URL = "https://test.vespa.qxyushen.top";
|
||||
// 声网appId 在这里换
|
||||
export const appIdBySw = '02f7339ec98947deaeab173599891932';
|
||||
@@ -4,7 +4,8 @@ import ExportForm from '@/components/exportDialog/index.vue';
|
||||
import { addDialog } from "@/components/ReDialog";
|
||||
import { message } from "@/utils/message";
|
||||
import {
|
||||
taskRankList
|
||||
taskRankList,
|
||||
taskRewardPriceData
|
||||
} from "@/api/modules/statistics";
|
||||
export function useData() {
|
||||
const loading = ref(true);
|
||||
@@ -82,10 +83,13 @@ export function useData() {
|
||||
...ele
|
||||
}
|
||||
});
|
||||
total_price.value = data.total_reward_price
|
||||
// total_price.value = data.total_reward_price
|
||||
pagination.value.total = data.count;
|
||||
pagination.value.currentPage = data.page;
|
||||
}
|
||||
const res = await taskRewardPriceData({ ...formData })
|
||||
// console.log(res)
|
||||
total_price.value = res.code ? res.data.total_reward_price : 0
|
||||
loading.value = false;
|
||||
};
|
||||
const handleSizeChange = (val: number) => {
|
||||
|
||||
@@ -37,8 +37,8 @@ export default ({ mode }: ConfigEnv): UserConfigExport => {
|
||||
proxyReq.method = 'OPTIONS';
|
||||
// https://test.vespa.qxyushen.top
|
||||
// 'http://yushenggliht.qxyushen.top'
|
||||
res.setHeader('Access-Control-Allow-Origin', 'http://yushenggliht.qxyushen.top');
|
||||
// res.setHeader('Access-Control-Allow-Origin', 'https://test.vespa.qxyushen.top');
|
||||
// res.setHeader('Access-Control-Allow-Origin', 'http://yushenggliht.qxyushen.top');
|
||||
res.setHeader('Access-Control-Allow-Origin', 'https://test.vespa.qxyushen.top');
|
||||
res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS');
|
||||
res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization');
|
||||
res.end();
|
||||
|
||||
Reference in New Issue
Block a user