|
@@ -896,7 +896,6 @@
|
|
|
let histogramAward = []
|
|
|
let histogramDeduct = []
|
|
|
for(let i in datas.list){
|
|
|
- console.log(datas.list[i].name)
|
|
|
let arr = {}//转结构
|
|
|
arr.type = "userName",
|
|
|
arr.id = datas.list[i].name
|
|
@@ -911,9 +910,6 @@
|
|
|
this.ManagerSAwardlList[4].val = datas.manager_count
|
|
|
this.ManagerSAwardlList[5].val = datas.pass_count
|
|
|
this.ManagerSAwardlList[6].val = datas.fail_count
|
|
|
- console.log(items)
|
|
|
- console.log(histogramAward)
|
|
|
- console.log(histogramDeduct)
|
|
|
// WWOpenData.prefetch({ histogramName }, (err, data) => {
|
|
|
// if (err) {
|
|
|
// console.log(err);
|
|
@@ -930,8 +926,6 @@
|
|
|
console.log(err);
|
|
|
}
|
|
|
var Name = data.items.map($0=>$0.data) // 这个就是转好的,直接丢到 echarts
|
|
|
- console.log(Name)
|
|
|
- console.log(data)
|
|
|
if (WWOpenData.initCanvas) {
|
|
|
WWOpenData.initCanvas()
|
|
|
}
|
|
@@ -1057,7 +1051,6 @@
|
|
|
let params = {}
|
|
|
let listslength = []
|
|
|
if(this.employeeRout){
|
|
|
- console.log(this.$store.getters.user_info.id)
|
|
|
params.employee_id = this.$store.getters.user_info.id;
|
|
|
}else{
|
|
|
params.dept_id = this.exclusiveMonthBranch
|
|
@@ -1588,8 +1581,6 @@
|
|
|
let pastdueTime = moment(create_time.toString().length==10?create_time*1000:create_time).format('YYYY-MM-DD')
|
|
|
let atpresentDate = moment().format('YYYY-MM-DD')
|
|
|
let date = moment(pastdueTime).diff(moment(atpresentDate),'days')
|
|
|
- // console.log(pastdueTime)
|
|
|
- // console.log(date)
|
|
|
// date = 25
|
|
|
if(date>=0 && date<=30){
|
|
|
this.pastdueDate = '您的积分软件即将到期,有效期至'+pastdueTime+',请及时续费以免影响使用'
|
|
@@ -1635,12 +1626,7 @@
|
|
|
this.currentTubiao = 'tubiaoEmployee'
|
|
|
}
|
|
|
if (localStorage.getItem('dept_tree')) {
|
|
|
- console.log(JSON.parse(localStorage.getItem('dept_tree')))
|
|
|
-
|
|
|
- console.log(JSON.parse(localStorage.getItem('dept_tree')).length)
|
|
|
this.dept_tree = this.getTreeData(JSON.parse(localStorage.getItem('dept_tree')))
|
|
|
- console.log(' this.dept_tree')
|
|
|
- console.log( this.dept_tree)
|
|
|
// this.dept_tree[0].name = `<WWOpenData type="departmentName" :openid="${this.dept_tree[0].name}"></WWOpenData>`
|
|
|
}else{
|
|
|
this.$store.dispatch('get_dept_tree').then((res) => {
|
|
@@ -1685,9 +1671,6 @@
|
|
|
{name:'领任务',image:'/static/images/task_hall.png',push:'/get_task'},
|
|
|
)
|
|
|
}
|
|
|
- // console.log('this.$refs.dept9999')
|
|
|
- // console.log(this.$refs.dept9999.firstChild.innerHTML)
|
|
|
- // console.log(this.$refs.dept9999.textContent)
|
|
|
console.log(WWOpenData)
|
|
|
if(JSON.parse(localStorage.getItem("Experience_data"))){
|
|
|
this.experience_data = JSON.parse(localStorage.getItem("Experience_data")).if//是否体验账号
|
|
@@ -1769,8 +1752,6 @@
|
|
|
})
|
|
|
// WWOpenData.bind(document.querySelector('ww-open-data'))
|
|
|
|
|
|
- console.log('this.$refs.dept1')
|
|
|
- console.log(this.$refs.dept1)
|
|
|
// this.qrcode()//生成二维码,可能无用
|
|
|
},
|
|
|
beforeDestroy(){//销毁滚动条事件
|