Commit 67b51d3b by qiyeqing

feat:新版首页

1 parent 01253d33
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ENV = 'development' ENV = 'development'
# 仟微管理系统/开发环境 # 仟微管理系统/开发环境
VUE_APP_BASE_API = 'http://119.45.28.29:8090' VUE_APP_BASE_API = 'http://demo.linkwechat.cn/api'
# VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc' # VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc'
# 开发环境IP # 开发环境IP
......
...@@ -199,17 +199,10 @@ export function arrData (data) { ...@@ -199,17 +199,10 @@ export function arrData (data) {
data.forEach((a,b)=>{ data.forEach((a,b)=>{
obj.arr1.push(a.newApplyCnt) obj.arr1.push(a.newApplyCnt)
obj.btm1.push(a.xtime) obj.btm1.push(a.xtime)
if(!!a.newMemberCnt){
obj.arr3.push(a.newMemberCnt) obj.arr3.push(a.newMemberCnt)
}else{
obj.arr3=[]
}
obj.arr2.push(a.newContactCnt) obj.arr2.push(a.newContactCnt)
obj.arr4.push(a.negativeFeedbackCnt) obj.arr4.push(a.negativeFeedbackCnt)
}) })
//newApplyCnt =>arr1
//newContactCnt =>arr2
//negativeFeedbackCnt =>arr4
console.log(obj) console.log(obj)
return obj return obj
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!