整合通讯录组件渲染

This commit is contained in:
aixianling
2022-07-19 14:55:51 +08:00
parent bd410a9559
commit b5a0522fb9
14 changed files with 35 additions and 35 deletions

View File

@@ -139,7 +139,7 @@ export default {
this.$nextTick(() => {
this.loading = false
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
})
} else {
this.loading = false

View File

@@ -16,7 +16,7 @@
</div>
</div>
<el-calendar v-model="calendarDate">
<template
<template
slot="dateCell"
slot-scope="{date, data}" >
<div class="flex-date">
@@ -155,7 +155,7 @@
if(this.chooseMonth != month) { // 日历点击不同月
this.searchMonth = ''
}
}
this.chooseDay = date
@@ -168,11 +168,11 @@
this.chooseMonth = month
this.chooseYear = year
}
},
created() {
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
var year = this.calendarDate.getFullYear();
var month = this.calendarDate.getMonth() + 1;
var date = this.calendarDate.getDate()
@@ -196,7 +196,7 @@
if (res.code == 0) {
this.dateList = res.data
this.getTaskList(this.chooseDay)
}
}
})
},
getTaskList(day) {
@@ -221,7 +221,7 @@
this.setLineChart(xData, createData, 'createChart', ['#2891FF'])
this.setLineChart(xData, executeData, 'executeChart', ['#FFB865'])
this.setLineChart(xData, receiveData, 'receiveChart', ['#26D52B'])
}
}
})
},
setLineChart(xData, yData, id, colorList) {
@@ -266,9 +266,9 @@
if (res.code == 0) {
// this.dateList = res.data
// this.getTaskList(this.chooseDay)
this.setBarChart()
}
}
})
// var items = [{type: 'departmentName', id: '10', corpid: 'ww596787bb70f08288'}]
@@ -278,7 +278,7 @@
// }
// console.log(data)
// })
},
setBarChart() {
this.departBarChart = echarts.init(document.querySelector(`#departBarChart`))
@@ -340,7 +340,7 @@
}
]
};
// {
// tooltip: {
// trigger: 'axis',
@@ -553,16 +553,16 @@
}
}
}
}
#departBarChart{
width: 100%;
height: 300px;
}
}
::v-deep .el-calendar-table:not(.is-range) td.next,
::v-deep .el-calendar-table:not(.is-range) td.next,
::v-deep .el-calendar-table:not(.is-range) td.prev {
color: #ccc;
}
@@ -599,7 +599,7 @@
border-right: 1px solid #eee;
}
::v-deep .el-timeline-item__timestamp.is-top{
margin-bottom: 0;
margin-bottom: 0;
padding-top: 0;
}
::v-deep .el-timeline-item__node{