| | |
| | | }, |
| | | tableDataArray: { |
| | | handler(newval, oldval) { |
| | | this.keyWordFind=''; |
| | | this.WupinFindValue='' |
| | | this.tableData = newval; |
| | | this.searchResults = newval |
| | | this.doLayout() |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | if(_index==0){ |
| | | this.keyWordFind=record.field |
| | | } |
| | | }) |
| | | this.tableHeadFindDatas = newval; |
| | | this.WupinFindValue='' |
| | | }, |
| | | }, |
| | | total: { |
| | |
| | | }, |
| | | //输入回车搜索 |
| | | tableFindInp() { |
| | | if (this.WupinFindValue.trim() === '') { |
| | | /*if (this.WupinFindValue.trim() === '') { |
| | | this.$message.warning('输入值不能为空') |
| | | return; |
| | | } |
| | | }*/ |
| | | TableData({ |
| | | templateOid: this.templateOid, |
| | | codeClassifyOid: this.codeClassifyOid, |
| | |
| | | limit: this.page.pageSize, |
| | | [ 'conditionMap[' + this.keyWordFind + ']']: '*' + this.WupinFindValue + '*' |
| | | }).then(res => { |
| | | console.log(res) |
| | | this.tableData = res.data.data |
| | | }) |
| | | } |