table,已选中人员回显 重置
This commit is contained in:
@@ -218,7 +218,7 @@ export default {
|
||||
nowDate: "",
|
||||
calendarList: [],
|
||||
colData: {},
|
||||
detailType: '0',
|
||||
detailType: 0,
|
||||
timeType: "",
|
||||
departId: "",
|
||||
startTime: "",
|
||||
@@ -278,6 +278,8 @@ export default {
|
||||
this.end = "";
|
||||
this.departId = "";
|
||||
this.departmentId = "";
|
||||
this.getBrokenDate()
|
||||
this.filterShow = false;
|
||||
},
|
||||
|
||||
selectConfirm() {
|
||||
@@ -286,7 +288,7 @@ export default {
|
||||
this.start = this.startTime;
|
||||
this.end = this.endTime;
|
||||
} else {
|
||||
this.detailType = this.timeSelect;
|
||||
this.detailType = this.timeSelect || 0;
|
||||
}
|
||||
this.departId = this.departmentId
|
||||
this.getBrokenDate();
|
||||
@@ -563,7 +565,7 @@ export default {
|
||||
.then((res) => {
|
||||
if(res?.data) {
|
||||
let items = [], xData = [], yData = []
|
||||
res.data.map((item) => {
|
||||
res.data.forEach((item) => {
|
||||
const i = {type: 'departmentName', id: item.deptId, corpid: this.user.corpId}
|
||||
items.push(i)
|
||||
yData.push(item.taskCount)
|
||||
@@ -572,9 +574,10 @@ export default {
|
||||
this.initOpenData({canvas:true})
|
||||
|
||||
this.transCanvas(items).then((data) => {
|
||||
console.log(data.items,"data.items");
|
||||
// console.log(data.items,"data.items");
|
||||
data.items.map((a) => {
|
||||
xData.push(a.data)
|
||||
console.log( xData)
|
||||
})
|
||||
console.log(xData, yData, '111222');
|
||||
this.getColumnarEcharts(xData, yData)
|
||||
|
||||
Reference in New Issue
Block a user