|
@@ -324,6 +324,8 @@ export default {
|
|
|
if (dataList.length > 0){
|
|
|
this.projectTile = dataList[0].data.stagename
|
|
|
this.sa_projstagemagid = dataList[0].data.sa_projstagemagid
|
|
|
+ this.projectParam.content.pageNumber = 1
|
|
|
+ this.projectParam.content.pageSize = 10
|
|
|
this.getProjectList()
|
|
|
}
|
|
|
|
|
@@ -351,13 +353,17 @@ export default {
|
|
|
dataList = res.data
|
|
|
this.sa_projstagemagid = dataList[0].sa_projstagemagid
|
|
|
this.projectTile = dataList[0].stagename
|
|
|
+ this.projectParam.content.pageNumber = 1
|
|
|
+ this.projectParam.content.pageSize = 10
|
|
|
this.getProjectList()
|
|
|
this.chartPie.changeData(res.data)
|
|
|
},
|
|
|
async getProjectList(){
|
|
|
- this.projectParam.content.type = this.dataParam.type
|
|
|
- this.projectParam.content.dataid = this.dataParam.dataid
|
|
|
- this.projectParam.content.dateType = this.dataParam.dateType
|
|
|
+ console.log(this.dataParam)
|
|
|
+ console.log(this.projectParam)
|
|
|
+ this.projectParam.content.type = this.dataParam.content.type
|
|
|
+ this.projectParam.content.dataid = this.dataParam.content.dataid
|
|
|
+ this.projectParam.content.dateType = this.dataParam.content.dateType
|
|
|
this.projectParam.content.sa_projstagemagid = this.sa_projstagemagid
|
|
|
const res = await this.$api.requested(this.projectParam)
|
|
|
this.projectList = res.data
|