| | |
| | | // 请求数据 |
| | | async getData() { |
| | | this.loading = true |
| | | await getServiceOrderList({ |
| | | keyword: this.keyword, |
| | | keywordType: this.keywordType, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize, |
| | | sourceId: this.addConfig.id |
| | | }) |
| | | console.log(this.addConfig) |
| | | let params = {} |
| | | if (this.addConfig.keywordType === "服务合同") { |
| | | params = { |
| | | serviceContractId: this.addConfig.serviceContractId, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | } |
| | | } else { |
| | | params = { |
| | | keyword: this.keyword, |
| | | keywordType: this.keywordType, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | } |
| | | } |
| | | await getServiceOrderList(params) |
| | | .then((res) => { |
| | | console.log(res) |
| | | if (res.code === 200) { |
| | |
| | | }, |
| | | // 编辑 |
| | | handleClick(row) { |
| | | console.log(row) |
| | | this.editConfig.visible = true |
| | | this.editConfig.title = "编辑" |
| | | this.editConfig.infomation = { |