| | |
| | | } |
| | | this.getData() |
| | | }, |
| | | mounted() { |
| | | console.log(this.addConfig, "这是啥") |
| | | }, |
| | | mounted() {}, |
| | | methods: { |
| | | setTable() { |
| | | this.tableList = { |
| | |
| | | sourceID: this.addConfig.id, |
| | | sourceType: sourceTyle, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | pageSize: this.pagerOptions.pageSize, |
| | | client_id: this.addConfig.client_id |
| | | } |
| | | } else { |
| | | params = { |
| | | keyword: this.keyword, |
| | | keywordType: this.keywordType, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | pageSize: this.pagerOptions.pageSize, |
| | | client_id: this.addConfig.client_id |
| | | } |
| | | } |
| | | await getReceiptList(params) |
| | | .then((res) => { |
| | | if (res.data.code === 200) { |
| | | const resList = res?.data?.data?.data ?? [] |
| | | if (res.code === 200) { |
| | | const resList = res?.data?.data ?? [] |
| | | if (resList.length > 0) { |
| | | const list = resList.map((item) => { |
| | | return { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.data.count |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |