|
@@ -506,7 +506,8 @@
|
|
|
getAction('/ctop/project/responsibleListV2', {
|
|
|
userId: this.userInfo().id,
|
|
|
pageSize: this.ipagination.pageSize,
|
|
|
- pageNo: this.ipagination.current
|
|
|
+ pageNo: this.ipagination.current,
|
|
|
+ projectName: this.keyWord
|
|
|
}).then(res => {
|
|
|
if (res.code == 0) {
|
|
|
this.loading = false
|
|
@@ -524,7 +525,8 @@
|
|
|
getAction('/ctop/projectMember/participateListV2', {
|
|
|
userId: this.userInfo().id,
|
|
|
pageSize: this.ipagination.pageSize,
|
|
|
- pageNo: this.ipagination.current
|
|
|
+ pageNo: this.ipagination.current,
|
|
|
+ projectName: this.keyWord
|
|
|
}).then(res => {
|
|
|
if (res.code == 0) {
|
|
|
this.dataSource = res.result.records
|
|
@@ -670,12 +672,24 @@
|
|
|
},
|
|
|
searchReset() {
|
|
|
this.keyWord = ''
|
|
|
- this.dataSource = this.dataElse
|
|
|
+ // this.dataSource = this.dataElse
|
|
|
+ if (this.noTitleKey == 'participation') {
|
|
|
+ this.getParticipateList()
|
|
|
+ } else {
|
|
|
+ this.getResponsibleList()
|
|
|
+ }
|
|
|
},
|
|
|
searchQuery() {
|
|
|
- this.dataSource = this.dataElse.filter(item => {
|
|
|
- return item.projectName.toLowerCase().indexOf(this.keyWord.toLowerCase()) > -1
|
|
|
- })
|
|
|
+
|
|
|
+ if (this.noTitleKey == 'participation') {
|
|
|
+ this.getParticipateList()
|
|
|
+ } else {
|
|
|
+ this.getResponsibleList()
|
|
|
+ }
|
|
|
+
|
|
|
+ // this.dataSource = this.dataElse.filter(item => {
|
|
|
+ // return item.projectName.toLowerCase().indexOf(this.keyWord.toLowerCase()) > -1
|
|
|
+ // })
|
|
|
},
|
|
|
handleChange(value, options) {
|
|
|
// this.appId = value
|