Commit bc8a39f7 by 王志慧

commit

1 parent 9fe4756f
export default {
data() {
return {
corporateGroupName: '集团1'
}
},
watch: {
watchReportParams: {
immediate: true,
......
......@@ -18,7 +18,7 @@ export default {
let clientApi = !this.isBrand ? 'overalldistribution' : 'merchantOveralldistribution'
const params = {
req: {
corporateGroupName: '集团1',
corporateGroupName: this.corporateGroupName,
queryItem: this.type,
// queryTime: this.getCurrentDate,
queryTime: '2022-06-23',
......
......@@ -18,7 +18,7 @@ export default {
let salesApi = !this.isBrand ? 'getSales' : 'getMerchantSales'
const params = {
req: {
corporateGroupName: '集团1',
corporateGroupName: this.corporateGroupName,
queryItem: this.type,
// queryTime: this.getCurrentDate,
queryTime: '2022-06-23',
......
......@@ -134,7 +134,7 @@ export default {
let analyzeApi = !this.isBrand ? 'aftersaleother' : 'afterMerchantSaleother'
const params = {
req: {
corporateGroupName: '集团1',
corporateGroupName: this.corporateGroupName,
queryItem: 'valueanalyse',
// queryTime: this.getCurrentDate,
queryTime: '2022-06-23',
......
......@@ -17,7 +17,7 @@
<div>客户数</div>
</div>
<div class="ranking">
<div class="brand flex" v-for="(item, index) in rankingData.slice(0,5)" :key="index">
<div class="brand flex" v-for="(item, index) in rankingData.slice(0, 5)" :key="index">
<span class="brand-num">{{ index + 1 }}</span>
<marquee class="marquee" :direction="directionTimer" :delay="delayTimer" :text="item.brand" />
<span>{{ item.value }}</span>
......@@ -62,7 +62,7 @@ export default {
let mileageApi = !this.isBrand ? 'aftersaleother' : 'afterMerchantSaleother'
const params = {
req: {
corporateGroupName: '集团1',
corporateGroupName: this.corporateGroupName,
queryItem: 'mileage',
// queryTime: this.getCurrentDate,
queryTime: '2022-06-23',
......@@ -108,8 +108,8 @@ export default {
}
</script>
<style lang="scss" scoped>
.title{
padding:1vh 0.556vw;
.title {
padding: 1vh 0.556vw;
}
.ranking-container {
flex: 1;
......@@ -120,14 +120,14 @@ export default {
background: #262525;
.ranking-title {
padding: 0.5vh 1.5vw 0.4vh 1.5vw;
font-size: 0.833vw;
font-size: 0.833vw;
color: #eb6001;
letter-spacing: 0;
font-weight: 400;
background: rgba(53, 53, 53, 0.6);
display: flex;
align-items: center;
div{
div {
white-space: nowrap;
}
.ranking-title-brand {
......@@ -136,7 +136,7 @@ export default {
}
}
.ranking {
font-size: 0.694vw;
font-size: 0.694vw;
color: #ffffff;
letter-spacing: 0;
font-weight: 400;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!