| | |
| | | :total="total" |
| | | :page.sync="queryParams.page" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getList" |
| | | @pagination="radiotjproposalChange" |
| | | /> |
| | | </div> |
| | | </div> |
| | |
| | | watch: { |
| | | cusobj(val, newVla) { |
| | | // console.log(val,newVla,1111) |
| | | this.fList= val |
| | | this.fList = val; |
| | | this.queryParams.sex = val.sex; |
| | | this.queryParams.isZj = val.isZj; |
| | | if (this.queryParams.sex) { |
| | |
| | | this.getAllList(); |
| | | }, |
| | | handleSelectionChange(selection) { |
| | | // if (selection.length > 1) { |
| | | // this.$refs.elTable.clearSelection(); // 清空所有选择 |
| | | // this.$refs.elTable.toggleRowSelection(selection.pop()); // 设置选择项 |
| | | // } |
| | | // if (selection.length > 1) { |
| | | // this.$refs.elTable.clearSelection(); // 清空所有选择 |
| | | // this.$refs.elTable.toggleRowSelection(selection.pop()); // 设置选择项 |
| | | // } |
| | | this.list = selection; |
| | | console.log( this.list) |
| | | console.log(this.list); |
| | | }, |
| | | radiotjproposalChange() { |
| | | if (this.tjproposal == "0") { |
| | | this.queryParams.isZj = this.fList.isZj; |
| | | this.queryParams.userId = null |
| | | this.getList(); |
| | | } else { |
| | | this.loading = true; |
| | |
| | | this.queryParams.userId = res.user.userId; |
| | | this.queryParams.isZj = null; |
| | | getCyTjAdviceKjbqBySex(this.queryParams).then((res) => { |
| | | this.dataList = res.data.records; |
| | | this.total = res.data.total; |
| | | if (res.data) { |
| | | this.dataList = res.data.records; |
| | | this.total = res.data.total; |
| | | |
| | | } else { |
| | | this.dataList =[] |
| | | this.total = 0 |
| | | this.$modal.msgError(res.msg); |
| | | } |
| | | this.loading = false; |
| | | }); |
| | | }); |