|
@@ -86,9 +86,12 @@
|
|
},
|
|
},
|
|
dataList: [],
|
|
dataList: [],
|
|
searchForm: {
|
|
searchForm: {
|
|
- reportNo: ''
|
|
|
|
|
|
+ reportNo: '',
|
|
|
|
+ projectId: '',
|
|
|
|
+ achiveId: ''
|
|
},
|
|
},
|
|
- projectId: ''
|
|
|
|
|
|
+ projectId: '',
|
|
|
|
+ achiveId: ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
projectReportArchiveService: null,
|
|
projectReportArchiveService: null,
|
|
@@ -98,8 +101,14 @@
|
|
components: {
|
|
components: {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- init (projectId) {
|
|
|
|
|
|
+ init (projectId, achiveId) {
|
|
this.projectId = projectId
|
|
this.projectId = projectId
|
|
|
|
+ if (this.commonJS.isNotEmpty(achiveId)) {
|
|
|
|
+ this.achiveId = achiveId
|
|
|
|
+ } else {
|
|
|
|
+ this.achiveId = ''
|
|
|
|
+ this.searchForm.achiveId = ''
|
|
|
|
+ }
|
|
this.visible = true
|
|
this.visible = true
|
|
this.list()
|
|
this.list()
|
|
},
|
|
},
|
|
@@ -127,6 +136,9 @@
|
|
this.loading = true
|
|
this.loading = true
|
|
if (this.commonJS.isNotEmpty(this.projectId)) {
|
|
if (this.commonJS.isNotEmpty(this.projectId)) {
|
|
this.searchForm.projectId = this.projectId
|
|
this.searchForm.projectId = this.projectId
|
|
|
|
+ if (this.commonJS.isNotEmpty(this.achiveId)) {
|
|
|
|
+ this.searchForm.achiveId = this.achiveId
|
|
|
|
+ }
|
|
this.projectReportArchiveService.reportList({
|
|
this.projectReportArchiveService.reportList({
|
|
'current': this.tablePage.currentPage,
|
|
'current': this.tablePage.currentPage,
|
|
'size': this.tablePage.pageSize,
|
|
'size': this.tablePage.pageSize,
|
|
@@ -154,6 +166,7 @@
|
|
this.list()
|
|
this.list()
|
|
},
|
|
},
|
|
close () {
|
|
close () {
|
|
|
|
+ this.searchForm.achiveId = ''
|
|
this.$refs.searchForm.resetFields()
|
|
this.$refs.searchForm.resetFields()
|
|
this.visible = false
|
|
this.visible = false
|
|
}
|
|
}
|