Commit bc8a39f7 by 王志慧

commit

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