Commit 6fe7a184 by 胡悦

修改标题、调整售后数据曲线起步数据,减少曲线波幅

1 parent 40253fc2
...@@ -164,10 +164,16 @@ export default { ...@@ -164,10 +164,16 @@ export default {
this.lineOptions.series[0].data = seriesDate this.lineOptions.series[0].data = seriesDate
this.lineOptions.tooltip.textStyle.fontSize = this.setChartFontSize(10) this.lineOptions.tooltip.textStyle.fontSize = this.setChartFontSize(10)
if (this.queryType == 0) { if (this.queryType == 0) {
this.lineOptions.yAxis.scale = true // this.lineOptions.yAxis.scale = true
let min = Math.floor((Math.min(...seriesDate) * 0.6) / 10) * 10
console.log(min.toString().length)
if (min.toString().length > 5) {
min = Math.trunc(min / 10000) + '0000'
}
this.lineOptions.yAxis.min = min
} else { } else {
this.lineOptions.yAxis.max = Math.ceil(Math.max(...seriesDate) / 10) * 10 this.lineOptions.yAxis.max = Math.ceil(Math.max(...seriesDate) / 10) * 10
this.lineOptions.yAxis.min = Math.floor(Math.min(...seriesDate) * 0.9 / 10) * 10 this.lineOptions.yAxis.min = Math.floor((Math.min(...seriesDate) * 0.9) / 10) * 10
} }
this[this.domId].setOption(this.lineOptions) this[this.domId].setOption(this.lineOptions)
// 默认展示tooltip // 默认展示tooltip
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="logo user-select"> <div class="logo user-select">
<img style="height: 4vh" src="@/assets/images/logo.svg" alt="logo" /> <img style="height: 4vh" src="@/assets/images/logo.svg" alt="logo" />
</div> </div>
<div class="view-title flex user-select">XXX集团客户池数据大屏</div> <div class="view-title flex user-select">XXX 4S集团客户池数据大屏</div>
<div class="time"> <div class="time">
<div class="top flex"> <div class="top flex">
<img src="@/assets/images/time.svg" class="icon" /> <img src="@/assets/images/time.svg" class="icon" />
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
</div> </div>
<div class="bottom flex"> <div class="bottom flex">
<div class="merchant">已同步门店数:{{ merchantNum.totalNum }}</div> <div class="merchant">已同步门店数:{{ merchantNum.totalNum }}</div>
<div class="merchant">上月新接入店数:{{merchantNum.increLastMonthNum}}</div> <div class="merchant">上月新接入店数:{{ merchantNum.increLastMonthNum }}</div>
<div class="merchant">本月新接入店数:{{merchantNum.increThisMonthNum}}</div> <div class="merchant">本月新接入店数:{{ merchantNum.increThisMonthNum }}</div>
</div> </div>
</div> </div>
<div class="center-control"> <div class="center-control">
...@@ -89,6 +89,9 @@ export default { ...@@ -89,6 +89,9 @@ export default {
color: #ffffff; color: #ffffff;
.top { .top {
justify-content: flex-end; justify-content: flex-end;
.now {
min-width: 9.3vw;
}
.yesterday { .yesterday {
font-size: 10px; font-size: 10px;
color: #606266; color: #606266;
...@@ -118,9 +121,9 @@ export default { ...@@ -118,9 +121,9 @@ export default {
width: 1px; width: 1px;
height: 1.5vh; height: 1.5vh;
content: ''; content: '';
background-color: #EB6001; background-color: #eb6001;
} }
&:last-child{ &:last-child {
margin-right: 0; margin-right: 0;
&::after { &::after {
width: 0; width: 0;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2021-06-07 14:12:32 * @Date: 2021-06-07 14:12:32
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2022-07-11 11:01:00 * @LastEditTime: 2023-02-28 11:02:23
*/ */
// 本地环境配置 // 本地环境配置
module.exports = { module.exports = {
...@@ -14,7 +14,7 @@ module.exports = { ...@@ -14,7 +14,7 @@ module.exports = {
// baseURL: 'http://192.168.3.126:8081', // 本地测试项目地址, // baseURL: 'http://192.168.3.126:8081', // 本地测试项目地址,
// baseURL: 'http://192.168.1.160:8081', // 本地开发项目地址, // baseURL: 'http://192.168.1.160:8081', // 本地开发项目地址,
// baseURL: 'http://192.168.1.158:9996', // baseURL: 'http://192.168.1.158:9996',
baseURL: 'http://192.168.1.152:8081', baseURL: 'http://192.168.1.152:9996',
// 设置超时时间 // 设置超时时间
timeout: 180000, timeout: 180000,
// 携带凭证 // 携带凭证
...@@ -30,5 +30,5 @@ module.exports = { ...@@ -30,5 +30,5 @@ module.exports = {
errId_logout_value: '21', errId_logout_value: '21',
logout_function: 'reLogin', logout_function: 'reLogin',
code_message_map: {} code_message_map: {}
}, }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!