修改评分

This commit is contained in:
lcc
2024-11-03 17:41:16 +08:00
parent 63c9a970c1
commit 225b59b451
+253 -241
View File
@@ -4,6 +4,7 @@ const app = getApp()
let barChartData; let barChartData;
let pieChartData; let pieChartData;
function barChart(canvas, width, height, dpr) { function barChart(canvas, width, height, dpr) {
const chart = echarts.init(canvas, null, { const chart = echarts.init(canvas, null, {
width: width, width: width,
@@ -15,6 +16,7 @@ function barChart(canvas, width, height, dpr) {
chart.setOption(option); chart.setOption(option);
return chart; return chart;
} }
function pieChart(canvas, width, height, dpr) { function pieChart(canvas, width, height, dpr) {
const chart = echarts.init(canvas, null, { const chart = echarts.init(canvas, null, {
width: width, width: width,
@@ -29,32 +31,32 @@ function pieChart(canvas, width, height, dpr) {
Page({ Page({
data: { data: {
isShowMain:false,//显示页面内容 isShowMain: false, //显示页面内容
imgUrl:_.config.imgUrl, imgUrl: _.config.imgUrl,
userCal:'', userCal: '',
deallist:'', deallist: '',
hoursTip:'', hoursTip: '',
showBarChart:false,//是否显示Bar图表 showBarChart: false, //是否显示Bar图表
ecBar:{}, ecBar: {},
showPieChart:false,//是否显示Pie图表 showPieChart: false, //是否显示Pie图表
ecPie:{}, ecPie: {},
isShowNotice:false,//是否显示通知 isShowNotice: false, //是否显示通知
stopNotice:false,//是否不再显示通知 stopNotice: false, //是否不再显示通知
isShowReport:false,//是否显示调拨盘点弹框 isShowReport: false, //是否显示调拨盘点弹框
isShowProfile:true,//是否显示授权用户信息按钮 isShowProfile: true, //是否显示授权用户信息按钮
isShowGoods:false,//是否显示库存预警 isShowGoods: false, //是否显示库存预警
banneractive: 0, banneractive: 0,
banneractive2: 0, banneractive2: 0,
banneractive3: 0, banneractive3: 0,
remindTab:[],//调拨盘点入口 remindTab: [], //调拨盘点入口
remindMsg:[],//调拨盘点弹框 remindMsg: [], //调拨盘点弹框
levelStIndex:0, levelStIndex: 0,
levelSt:[],//客户等级 levelSt: [], //客户等级
isResetbiz:false,//是否重置过BIZID isResetbiz: false, //是否重置过BIZID
isShowVersionInfo:false,//是否显示版本更新 isShowVersionInfo: false, //是否显示版本更新
versionInfo:{ versionInfo: {
number:'V3.0.51', number: 'V3.0.51',
list:[ list: [
// '', // '',
// '', // '',
// '', // '',
@@ -83,7 +85,7 @@ Page({
score_role_tab: [{ score_role_tab: [{
id: 1, id: 1,
name: '个人' name: '个人'
},{ }, {
id: 2, id: 2,
name: '门店' name: '门店'
}], }],
@@ -98,14 +100,14 @@ Page({
}) })
} }
if(this.data.biz_id){ if (this.data.biz_id) {
let that = this let that = this
setTimeout(function () { setTimeout(function () {
that.putAppUserResetbiz() that.putAppUserResetbiz()
}, 500) }, 500)
}else{ } else {
this.setData({ this.setData({
isResetbiz:true, isResetbiz: true,
}); });
this.getUserInfo() this.getUserInfo()
} }
@@ -113,16 +115,16 @@ Page({
//this.getAppStatisticsHorder() //this.getAppStatisticsHorder()
//消息通讯 是否显示授权用户信息按钮 //消息通讯 是否显示授权用户信息按钮
_.eventBus.on("isShowProfile", this, function(res){ _.eventBus.on("isShowProfile", this, function (res) {
this.setData({ this.setData({
isShowProfile:res, isShowProfile: res,
}) })
}) })
//判断是否显示版本更新内容 //判断是否显示版本更新内容
if(this.data.versionInfo.list.length>0&&app.getStorageByKey("appversion")!=this.data.versionInfo.number){ if (this.data.versionInfo.list.length > 0 && app.getStorageByKey("appversion") != this.data.versionInfo.number) {
this.setData({ this.setData({
isShowVersionInfo:true, isShowVersionInfo: true,
}) })
} }
@@ -132,12 +134,12 @@ Page({
this.getHoursTip() this.getHoursTip()
//确保bizID重置完成再执行 //确保bizID重置完成再执行
if(this.data.isResetbiz){ if (this.data.isResetbiz) {
this.setData({ this.setData({
remindTab:[], remindTab: [],
remindMsg:[], remindMsg: [],
isShowReport:false,//是否显示调拨盘点弹框 isShowReport: false, //是否显示调拨盘点弹框
isShowGoods:false, isShowGoods: false,
}); });
this.getAppUserCal() this.getAppUserCal()
this.getScore() this.getScore()
@@ -152,37 +154,40 @@ Page({
//生命周期函数--监听页面卸载 //生命周期函数--监听页面卸载
onUnload: function () { onUnload: function () {
//卸载消息通讯 是否显示授权用户信息 //卸载消息通讯 是否显示授权用户信息
_.eventBus.remove('isShowProfile',this); _.eventBus.remove('isShowProfile', this);
}, },
//候取时间 //候取时间
getHoursTip(){ getHoursTip() {
let hoursTip = ''; let hoursTip = '';
let date=new Date(); let date = new Date();
  if(date.getHours()>=0&&date.getHours()<12){ if (date.getHours() >= 0 && date.getHours() < 12) {
  hoursTip="上午好!" hoursTip = "上午好!"
  }else if(date.getHours()>=12&&date.getHours()<18){ } else if (date.getHours() >= 12 && date.getHours() < 18) {
  hoursTip="下午好!" hoursTip = "下午好!"
  }else{ } else {
  hoursTip="" hoursTip = ""
  } }
this.setData({ this.setData({
hoursTip:hoursTip hoursTip: hoursTip
}) })
}, },
//更新用户店铺id //更新用户店铺id
putAppUserResetbiz(){ putAppUserResetbiz() {
let params = {}; let params = {};
let that = this;
params['biz_id'] = this.data.biz_id; params['biz_id'] = this.data.biz_id;
_.apiQuery.putAppUserResetbiz(params).then(res => { _.apiQuery.putAppUserResetbiz(params).then(res => {
this.setData({ this.setData({
isResetbiz:true, isResetbiz: true,
}); });
this.getUserInfo() this.getUserInfo()
this.getAppUserCal() this.getAppUserCal()
this.getScore() setTimeout(function () {
that.getScore()
}, 500)
// this.getAppTransferRemind() // this.getAppTransferRemind()
// this.getAppInventoryRemind() // this.getAppInventoryRemind()
// this.getAppGoodsRemind() // this.getAppGoodsRemind()
@@ -191,147 +196,147 @@ Page({
}, },
//调拨提醒 //调拨提醒
getAppTransferRemind(){ getAppTransferRemind() {
_.apiQuery.getAppTransferRemind().then(res => { _.apiQuery.getAppTransferRemind().then(res => {
this.setData({ this.setData({
diaoboNum:res.data.total, diaoboNum: res.data.total,
}) })
if(res.data.total>0){ if (res.data.total > 0) {
let remindTab = this.data.remindTab let remindTab = this.data.remindTab
remindTab.push({ remindTab.push({
title:'车辆调拨', title: '车辆调拨',
content:'您有新的车辆调拨,需要您进行确认操作。', content: '您有新的车辆调拨,需要您进行确认操作。',
img:'https://qs.haodian.cn/wechat_app/lichebao/allot/car.gif?v=220224', img: 'https://qs.haodian.cn/wechat_app/lichebao/allot/car.gif?v=220224',
url:'/pages/allot/list/index', url: '/pages/allot/list/index',
allotNum:res.data.total, allotNum: res.data.total,
}) })
let remindMsg = this.data.remindMsg let remindMsg = this.data.remindMsg
remindMsg.push({ remindMsg.push({
title:'调拨提醒', title: '调拨提醒',
content:'您有新的车辆调拨,需要您进行确认操作。', content: '您有新的车辆调拨,需要您进行确认操作。',
img:'https://qs.haodian.cn/wechat_app/lichebao/allot/car.gif?v=220224', img: 'https://qs.haodian.cn/wechat_app/lichebao/allot/car.gif?v=220224',
btn:{ btn: {
title:'前往操作', title: '前往操作',
url:'/pages/allot/list/index', url: '/pages/allot/list/index',
}, },
}) })
this.setData({ this.setData({
remindTab, remindTab,
remindMsg, remindMsg,
isShowReport:true, isShowReport: true,
isShowNotice:false, isShowNotice: false,
isShowGoods:false, isShowGoods: false,
}) })
} }
}); });
}, },
//盘点提醒 //盘点提醒
getAppInventoryRemind(){ getAppInventoryRemind() {
_.apiQuery.getAppInventoryRemind().then(res => { _.apiQuery.getAppInventoryRemind().then(res => {
this.setData({ this.setData({
pandianNum:res.data.total, pandianNum: res.data.total,
}) })
if(res.data.total>0){ if (res.data.total > 0) {
let remindTab = this.data.remindTab let remindTab = this.data.remindTab
remindTab.push({ remindTab.push({
title:'车辆盘点', title: '车辆盘点',
content:'您有新的车辆调拨,需要您进行确认操作。', content: '您有新的车辆调拨,需要您进行确认操作。',
img:'https://qs.haodian.cn/wechat_app/lichebao/inventory/icon.png', img: 'https://qs.haodian.cn/wechat_app/lichebao/inventory/icon.png',
url:'/pages/inventory/list/index', url: '/pages/inventory/list/index',
allotNum:res.data.total, allotNum: res.data.total,
}) })
let remindMsg = this.data.remindMsg let remindMsg = this.data.remindMsg
remindMsg.push({ remindMsg.push({
title:'盘点提醒', title: '盘点提醒',
content:'您有新的车辆盘点,需要您进行确认操作。', content: '您有新的车辆盘点,需要您进行确认操作。',
img:'https://qs.haodian.cn/wechat_app/lichebao/inventory/animation.gif', img: 'https://qs.haodian.cn/wechat_app/lichebao/inventory/animation.gif',
btn:{ btn: {
title:'前往操作', title: '前往操作',
url:'/pages/inventory/list/index', url: '/pages/inventory/list/index',
}, },
}) })
this.setData({ this.setData({
remindTab, remindTab,
remindMsg, remindMsg,
isShowReport:true, isShowReport: true,
isShowNotice:false, isShowNotice: false,
isShowGoods:false, isShowGoods: false,
}) })
} }
}); });
}, },
//库存提醒/预警 //库存提醒/预警
getAppGoodsRemind(){ getAppGoodsRemind() {
_.apiQuery.getAppGoodsRemind().then(res => { _.apiQuery.getAppGoodsRemind().then(res => {
this.setData({ this.setData({
inventory:res.data.inventory, inventory: res.data.inventory,
warning:res.data.warning, warning: res.data.warning,
}) })
if(res.data.warning.list&&res.data.warning.list.length>0){ if (res.data.warning.list && res.data.warning.list.length > 0) {
if(!app.getStorageByKey("showGoods")||app.getStorageByKey("showGoods").data!=new Date().getDate()){ if (!app.getStorageByKey("showGoods") || app.getStorageByKey("showGoods").data != new Date().getDate()) {
//清除 //清除
wx.removeStorageSync('showGoods') wx.removeStorageSync('showGoods')
this.setData({ this.setData({
isShowGoods:true, isShowGoods: true,
}) })
let showGoods = {} let showGoods = {}
if(this.data.biz_id){ if (this.data.biz_id) {
showGoods.data = new Date().getDate() showGoods.data = new Date().getDate()
showGoods.list =[{ showGoods.list = [{
biz_id:this.data.biz_id, biz_id: this.data.biz_id,
num:1, num: 1,
}] }]
}else{ } else {
showGoods.data = new Date().getDate() showGoods.data = new Date().getDate()
showGoods.list =[{ showGoods.list = [{
biz_id:'b1', biz_id: 'b1',
num:1, num: 1,
}] }]
} }
app.setStorage('showGoods',showGoods) app.setStorage('showGoods', showGoods)
}else{ } else {
let showGoods = app.getStorageByKey("showGoods") let showGoods = app.getStorageByKey("showGoods")
let index = -1 let index = -1
if(this.data.biz_id){ if (this.data.biz_id) {
showGoods.list.forEach((item,i) => { showGoods.list.forEach((item, i) => {
if(item.biz_id == this.data.biz_id){ if (item.biz_id == this.data.biz_id) {
index = i index = i
item.num = item.num + 1 item.num = item.num + 1
} }
}) })
}else{ } else {
showGoods.list.forEach((item,i) => { showGoods.list.forEach((item, i) => {
if(item.biz_id == 'b1'){ if (item.biz_id == 'b1') {
index = i index = i
item.num = item.num + 1 item.num = item.num + 1
} }
}) })
} }
if(index > -1){ if (index > -1) {
if(showGoods.list[index].num<4){ if (showGoods.list[index].num < 4) {
this.setData({ this.setData({
isShowGoods:true, isShowGoods: true,
}) })
app.setStorage('showGoods',showGoods) app.setStorage('showGoods', showGoods)
} }
}else{ } else {
this.setData({ this.setData({
isShowGoods:true, isShowGoods: true,
}) })
if(this.data.biz_id){ if (this.data.biz_id) {
showGoods.list.push({ showGoods.list.push({
biz_id:this.data.biz_id, biz_id: this.data.biz_id,
num:1, num: 1,
}) })
}else{ } else {
showGoods.list.push({ showGoods.list.push({
biz_id:'b1', biz_id: 'b1',
num:1, num: 1,
}) })
} }
app.setStorage('showGoods',showGoods) app.setStorage('showGoods', showGoods)
} }
} }
} }
@@ -339,39 +344,39 @@ Page({
}, },
//获取用户信息 //获取用户信息
getUserInfo(){ getUserInfo() {
_.apiQuery.getUserInfo().then(res => { _.apiQuery.getUserInfo().then(res => {
this.setData({ this.setData({
userInfo: res userInfo: res
}) })
if(res.group_id>2){ if (res.group_id > 2) {
this.setData({ this.setData({
score_role_cur:1 score_role_cur: 1
}) })
} }
}); });
}, },
//获取用户统计 //获取用户统计
getAppUserCal(){ getAppUserCal() {
let params = {}; let params = {};
if(this.data.biz_id){ if (this.data.biz_id) {
params['biz_id'] = this.data.biz_id; params['biz_id'] = this.data.biz_id;
} }
_.apiQuery.getAppUserCal(params).then(res => { _.apiQuery.getAppUserCal(params).then(res => {
this.setData({ this.setData({
isShowMain:true, isShowMain: true,
userCal:res.data, userCal: res.data,
levelSt:res.data.levelSt, levelSt: res.data.levelSt,
}) })
if(res.data.deallist.length>0){ if (res.data.deallist.length > 0) {
let deallist = res.data.deallist let deallist = res.data.deallist
if(res.data.deallist.length%2==1){ if (res.data.deallist.length % 2 == 1) {
deallist.push({}) deallist.push({})
} }
this.setData({ this.setData({
deallist:deallist, deallist: deallist,
}) })
} }
@@ -381,12 +386,12 @@ Page({
}, },
//数据分析-客户数据 //数据分析-客户数据
getAppStatisticsHcust(){ getAppStatisticsHcust() {
this.setData({ this.setData({
showPieChart:false, showPieChart: false,
}) })
let params = {}; let params = {};
if(this.data.biz_id){ if (this.data.biz_id) {
params['biz_id'] = this.data.biz_id; params['biz_id'] = this.data.biz_id;
} }
_.apiQuery.getAppStatisticsHcust(params).then(res => { _.apiQuery.getAppStatisticsHcust(params).then(res => {
@@ -396,32 +401,32 @@ Page({
formatter: '\n{b|{b}}\n{c|{c}}\n{per|{d}%} ', formatter: '\n{b|{b}}\n{c|{c}}\n{per|{d}%} ',
rich: { rich: {
b: { b: {
color: '#4C5058', color: '#4C5058',
fontSize: 10, fontSize: 10,
lineHeight:15, lineHeight: 15,
align:'left', align: 'left',
}, },
c: { c: {
color: '#4C5058', color: '#4C5058',
fontSize: 10, fontSize: 10,
lineHeight:15, lineHeight: 15,
align:'left', align: 'left',
}, },
per: { per: {
color: '#4C5058', color: '#4C5058',
fontSize: 10, fontSize: 10,
lineHeight:15, lineHeight: 15,
align:'left', align: 'left',
}, },
} }
} }
this.setData({ this.setData({
cust_total:res.data.total, cust_total: res.data.total,
cust_cont_total:res.data.cont_total, cust_cont_total: res.data.cont_total,
cust_top_total:res.data.top_total, cust_top_total: res.data.top_total,
showPieChart:true, showPieChart: true,
['ecPie.onInit']:pieChart, ['ecPie.onInit']: pieChart,
}) })
wx.stopPullDownRefresh() wx.stopPullDownRefresh()
@@ -430,21 +435,21 @@ Page({
}, },
//数据分析-订单数据 //数据分析-订单数据
getAppStatisticsHorder(){ getAppStatisticsHorder() {
this.setData({ this.setData({
showBarChart:false, showBarChart: false,
}) })
let params = {}; let params = {};
if(this.data.biz_id){ if (this.data.biz_id) {
params['biz_id'] = this.data.biz_id; params['biz_id'] = this.data.biz_id;
} }
_.apiQuery.getAppStatisticsHorder(params).then(res => { _.apiQuery.getAppStatisticsHorder(params).then(res => {
barChartData = res.data.stat_data barChartData = res.data.stat_data
this.setData({ this.setData({
order_total:res.data.total, order_total: res.data.total,
showBarChart:true, showBarChart: true,
['ecBar.onInit']:barChart, ['ecBar.onInit']: barChart,
}) })
wx.stopPullDownRefresh() wx.stopPullDownRefresh()
@@ -454,7 +459,7 @@ Page({
//推送链接 //推送链接
pushLink(e) { pushLink(e) {
if(e.currentTarget.dataset.url){ if (e.currentTarget.dataset.url) {
_.$router.openUrlScheme(e.currentTarget.dataset.url) _.$router.openUrlScheme(e.currentTarget.dataset.url)
} }
}, },
@@ -467,25 +472,25 @@ Page({
}, },
//不再提示 //不再提示
checkNotice(e){ checkNotice(e) {
this.setData({ this.setData({
stopNotice:!this.data.stopNotice, stopNotice: !this.data.stopNotice,
}) })
}, },
//关闭通知 //关闭通知
closeNotice(){ closeNotice() {
if(this.data.stopNotice){ if (this.data.stopNotice) {
app.setStorage('stopNotice', 'true') app.setStorage('stopNotice', 'true')
} }
this.setData({ this.setData({
isShowNotice:false, isShowNotice: false,
}) })
}, },
//公众号关注组件 //公众号关注组件
officialaccount(e){ officialaccount(e) {
if(e.detail.status == 0&&!app.getStorageByKey("stopNotice")&&!this.data.isShowReport){ if (e.detail.status == 0 && !app.getStorageByKey("stopNotice") && !this.data.isShowReport) {
// this.setData({ // this.setData({
// isShowNotice:true, // isShowNotice:true,
// }) // })
@@ -493,20 +498,20 @@ Page({
}, },
//显示隐藏调拨盘点弹窗 //显示隐藏调拨盘点弹窗
optShowReport(e){ optShowReport(e) {
this.setData({ this.setData({
isShowReport:!this.data.isShowReport, isShowReport: !this.data.isShowReport,
}) })
}, },
//显示隐藏库存预警弹窗 //显示隐藏库存预警弹窗
optShowGoods(e){ optShowGoods(e) {
this.setData({ this.setData({
isShowGoods:!this.data.isShowGoods, isShowGoods: !this.data.isShowGoods,
}) })
}, },
//开发中 //开发中
development(){ development() {
wx.showToast({ wx.showToast({
title: '暂无数据', title: '暂无数据',
icon: 'none', icon: 'none',
@@ -517,64 +522,64 @@ Page({
//调拨盘点轮播点 //调拨盘点轮播点
bannerChange: function (e) { bannerChange: function (e) {
this.setData({ this.setData({
banneractive:e.detail.current, banneractive: e.detail.current,
}); });
}, },
//banner轮播点 //banner轮播点
bannerChange2: function (e) { bannerChange2: function (e) {
this.setData({ this.setData({
banneractive2:e.detail.current, banneractive2: e.detail.current,
}); });
}, },
//库存预警轮播点 //库存预警轮播点
bannerChange3: function (e) { bannerChange3: function (e) {
this.setData({ this.setData({
banneractive3:e.detail.current, banneractive3: e.detail.current,
}); });
}, },
//关闭版本提示 //关闭版本提示
closeVersionInfo(){ closeVersionInfo() {
this.setData({ this.setData({
isShowVersionInfo:false, isShowVersionInfo: false,
}) })
app.setStorage('appversion',this.data.versionInfo.number) app.setStorage('appversion', this.data.versionInfo.number)
}, },
//切换tab //切换tab
changeTab(e){ changeTab(e) {
this.setData({ this.setData({
levelStIndex:e.currentTarget.dataset.index, levelStIndex: e.currentTarget.dataset.index,
}) })
}, },
//0924 //0924
changeScoreRoleTab(e){ changeScoreRoleTab(e) {
this.setData({ this.setData({
score_role_cur:parseInt(e.currentTarget.dataset.index) score_role_cur: parseInt(e.currentTarget.dataset.index)
}) })
this.getScore() this.getScore()
}, },
//加载最新运营分 //加载最新运营分
getScore(){ getScore() {
let params = {}; let params = {};
if(this.data.score_role_cur){ if (this.data.score_role_cur) {
params['type'] = 1; params['type'] = 1;
} }
_.apiQuery.getAppScore(params).then(res => { _.apiQuery.getAppScore(params).then(res => {
this.setData({ this.setData({
scoreData:res.data, scoreData: res.data,
score_trend:res.data.score_trend ?? 1 score_trend: res.data.score_trend ?? 1
}) })
}) })
}, },
//页面相关事件处理函数--监听用户下拉动作 //页面相关事件处理函数--监听用户下拉动作
onPullDownRefresh: function () { onPullDownRefresh: function () {
this.setData({ this.setData({
remindTab:[], remindTab: [],
remindMsg:[], remindMsg: [],
isShowReport:false,//是否显示调拨盘点弹框 isShowReport: false, //是否显示调拨盘点弹框
isShowGoods:false, isShowGoods: false,
}); });
this.getAppUserCal() this.getAppUserCal()
this.getAppStatisticsHcust() this.getAppStatisticsHcust()
@@ -593,49 +598,58 @@ function getPieOption() {
trigger: 'axis', trigger: 'axis',
}, },
legend: { legend: {
top: 'bottom', top: 'bottom',
orient: 'horizontal', orient: 'horizontal',
textStyle:{ textStyle: {
fontSize:9, fontSize: 9,
} }
}, },
series: [ series: [{
{ type: 'pie',
type: 'pie', top: '0',
top: '0', radius: ['30%', '48%'],
radius: ['30%', '48%'], data: [{
data: [ value: 1048,
{value: 1048, name: '未见潜客'}, name: '未见潜客'
{value: 735, name: '到店潜客'},
{value: 580, name: '订单客户'},
{value: 484, name: '战败客户'},
],
label: {
formatter: '\n{b|{b}}\n{c|{c}}\n{per|{d}%} ',
rich: {
b: {
color: '#4C5058',
fontSize: 10,
lineHeight:15,
align:'left',
},
c: {
color: '#4C5058',
fontSize: 10,
lineHeight:15,
align:'left',
},
per: {
color: '#4C5058',
fontSize: 10,
lineHeight:15,
align:'left',
},
}
}, },
} {
] value: 735,
name: '到店潜客'
},
{
value: 580,
name: '订单客户'
},
{
value: 484,
name: '战败客户'
},
],
label: {
formatter: '\n{b|{b}}\n{c|{c}}\n{per|{d}%} ',
rich: {
b: {
color: '#4C5058',
fontSize: 10,
lineHeight: 15,
align: 'left',
},
c: {
color: '#4C5058',
fontSize: 10,
lineHeight: 15,
align: 'left',
},
per: {
color: '#4C5058',
fontSize: 10,
lineHeight: 15,
align: 'left',
},
}
},
}]
}; };
} }
@@ -660,24 +674,22 @@ function getBarOption() {
}, },
yAxis: { yAxis: {
type: 'category', type: 'category',
data: ['恭喜提车', '保险上牌', '已开发票','车辆确认','配车准备','申请退款','办理按揭','已交定金','已签合同',], data: ['恭喜提车', '保险上牌', '已开发票', '车辆确认', '配车准备', '申请退款', '办理按揭', '已交定金', '已签合同', ],
}, },
series: [ series: [{
{ type: 'bar',
type: 'bar', itemStyle: {
itemStyle: { color: '#2e3246',
color:'#2e3246', borderRadius: [0, 20, 20, 0],
borderRadius: [0, 20, 20, 0],
},
barWidth:'15',
data: [33, 23, 29,18, 23, 29,18, 23, 29,],
label: {
show: true,
position: 'right',
formatter: '{@[n]}',
valueAnimation: true
}
}, },
] barWidth: '15',
data: [33, 23, 29, 18, 23, 29, 18, 23, 29, ],
label: {
show: true,
position: 'right',
formatter: '{@[n]}',
valueAnimation: true
}
}, ]
}; };
} }