-
-
@@ -249,6 +243,7 @@ export default {
this.getData();
this.getColData();
this.getNowDate();
+ // console.log(WWOpenData);
},
mounted() {
this.getBrokenEcharts1();
@@ -567,26 +562,28 @@ export default {
})
.then((res) => {
if(res?.data) {
- let data = [
- {taskCount: 4, deptId: "10"},
- {taskCount: 6, deptId: "13"},
- {taskCount: 24, deptId: "5"},
- {taskCount: 14, deptId: "22"},
- {taskCount: 12, deptId: "20"},
- {taskCount: 11, deptId: "15"}
- ]
+ // let data = [
+ // {taskCount: 4, deptId: "10"},
+ // {taskCount: 6, deptId: "13"},
+ // {taskCount: 24, deptId: "5"},
+ // {taskCount: 14, deptId: "22"},
+ // {taskCount: 12, deptId: "20"},
+ // {taskCount: 11, deptId: "15"}
+ // ]
let items = [], xData = [], yData = []
- // res.data.map((item) => {
- // var i = {type: 'departmentName', id: item.deptId, corpid: this.user.corpId}
- // items.push(i)
- // yData.push(item.taskCount)
- // })
- data.map((item) => {
+ res.data.map((item) => {
var i = {type: 'departmentName', id: item.deptId, corpid: this.user.corpId}
items.push(i)
xData.push(item.deptId)
yData.push(item.taskCount)
})
+ // data.map((item) => {
+ // var i = {type: 'departmentName', id: item.deptId, corpid: this.user.corpId}
+ // items.push(i)
+ // xData.push(item.deptId)
+ // yData.push(item.taskCount)
+ // })
+
// this.initOpenData({canvas:true})
// this.transCanvas(items).then((data) => {
// console.log(data,'data哈哈哈');