@@ -145,6 +145,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -166,6 +230,7 @@
pageSize:10,
params:{type:'all',page:1,pagesize:10,beginTime:'',endTime:''},
tableData: [],
+ tableDataIDTotal: [],
totalPage:0,
totalNum:0,
pickerOptions: {
@@ -175,29 +240,6 @@
dynamic:7,
download_a:"",
downLoadSrc:'',
-
-
- //单个项目参数
- columns: [{title: '日期',key: 'date'},{title: '浏览量',key: 'view'},{title: '下载量',key: 'download'},{title: 'commit',key: 'commit'}],
- currentPage:1,
- pageSize1:10,
- paramsID:{type:'all' ,beginTime:'',endTime:'',openi:'false'},
- tableDataIDTotal: [],
- tableDataID: [],
- tableDataIDOpenI:[],
- tableDataContTop10:[],
- create_time_pro: '',
- dynamic_pro:7,
- pro_name:'',
- alias:'',
- pro_id:'',
- ownerName:'',
- radarOpenI:'',
- echartsOITd:'',
- echartsSelectData:'',
- option:'',
-
-
};
},
methods: {
@@ -437,13 +479,12 @@
this.$axios.get('../api/v1/projectboard/summary/period',{
params:this.params
}).then((res)=>{
-
- // this.recordBeginTime=res.data.recordBeginTime
- // this.lastUpdatedTime=res.data.lastUpdatedTime
- // this.tableData = res.data.pageRecords
- // this.totalPage=res.data.totalPage
- // this.totalNum = res.data.totalCount//this.totalPage*this.params.pagesize
- console.log("this.totalPage:"+this.totalPage)
+ this.recordBeginTime=res.data.recordBeginTime
+ this.lastUpdatedTime=res.data.creatTime
+ this.tableData = res.data.pageRecords
+ this.totalPage=res.data.totalPage
+ this.totalNum = res.data.totalCount//this.totalPage*this.params.pagesize
+ console.log("res.data:"+res.data)
})
},
@@ -977,7 +1018,8 @@
}
}
-
\ No newline at end of file