牛逼已成
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import {dicts} from "@/utils/dicts";
|
import {dicts} from "@/utils/dicts";
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
import Vue from 'vue'
|
||||||
|
|
||||||
window.axios = axios
|
window.axios = axios
|
||||||
const KENGEE_CDN_BASE = "http://10.0.97.209/presource/datascreen/"
|
const KENGEE_CDN_BASE = "http://10.0.97.209/presource/datascreen/"
|
||||||
@@ -18,6 +19,23 @@ window.$waitFor = (target, t = 500) => new Promise(resolve => {
|
|||||||
resolve(target)
|
resolve(target)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Vue.prototype.$marketBoard = Vue.observable({
|
||||||
|
search: {
|
||||||
|
"groupCodeList": [
|
||||||
|
"K250QTD032"
|
||||||
|
], //课区编码,不传即为全部
|
||||||
|
"currentDate": "20240501", //当前日期
|
||||||
|
"compareDate": "20240430", //比较日期
|
||||||
|
"hourNum": "18" //小时数(取值1~24,18表示18:00:00之前的交易统计)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
Vue.prototype.$multipleStoreBoard = Vue.observable({
|
||||||
|
search: {}
|
||||||
|
})
|
||||||
|
Vue.prototype.$storeBoard = Vue.observable({
|
||||||
|
search: {}
|
||||||
|
})
|
||||||
export default Promise.all([
|
export default Promise.all([
|
||||||
import("./fetch"),
|
import("./fetch"),
|
||||||
...libs.map(url => new Promise(resolve => {
|
...libs.map(url => new Promise(resolve => {
|
||||||
|
|||||||
@@ -4,14 +4,6 @@ export default {
|
|||||||
label: "市场看板-销售情况",
|
label: "市场看板-销售情况",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
search: {
|
|
||||||
"groupCodeList": [
|
|
||||||
"K250QTD032"
|
|
||||||
], //课区编码,不传即为全部
|
|
||||||
"currentDate": "20240501", //当前日期
|
|
||||||
"compareDate": "20240430", //比较日期
|
|
||||||
"hourNum": "18" //小时数(取值1~24,18表示18:00:00之前的交易统计)
|
|
||||||
},
|
|
||||||
info: {},
|
info: {},
|
||||||
list: [
|
list: [
|
||||||
{label: "过机销售额(万元)", prop: "saleAmt"},
|
{label: "过机销售额(万元)", prop: "saleAmt"},
|
||||||
@@ -23,6 +15,9 @@ export default {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
search: v => v.$marketBoard.search
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getData() {
|
getData() {
|
||||||
const {$http, $waitFor} = window
|
const {$http, $waitFor} = window
|
||||||
|
|||||||
Reference in New Issue
Block a user