| | |
| | | getDetatils as getHouseholdDetail |
| | | } from "@/api/userHouse/list/houseHold" |
| | | |
| | | |
| | | import { getUserlnfoByDistrictlds } from "@/api/system/user" |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | display: false, |
| | | label: "选择用户", |
| | | prop: "userIds", |
| | | type: 'select', |
| | | tags: true, |
| | | type: "tree", |
| | | multiple: true, |
| | | span: 12, |
| | | offset: 8, |
| | | remote: true, |
| | | hide: true, |
| | | row: true, |
| | | dicUrl: `/api/blade-system/user/getUserlnfoByDistrictlds?districtlds=`, |
| | | // dicUrl: `/api/blade-system/user/getUserlnfoByDistrictlds?districtlds={{}}`, |
| | | props: { |
| | | label: 'name', |
| | | value: 'id', |
| | |
| | | articleId: data.id |
| | | }) { |
| | | this.loading = true |
| | | getListPd(1, 10, Object.assign(params, this.query)).then(res => { |
| | | const data = res.data.data |
| | | this.page.total = data.total |
| | | this.disCussFrom = data.records[0] |
| | | if (this.disCussFrom.userIds) { |
| | | getPersonPublicSelect({ |
| | | id: this.disCussFrom.userIds |
| | | }).then(res => { |
| | | getUserlnfoByDistrictlds( data.articleRange).then(res=>{ |
| | | console.log(res); |
| | | const column = this.findObject(this.option.column, "userIds") |
| | | column.dicData = res.data.data |
| | | this.loading = false |
| | | }) |
| | | } |
| | | }) |
| | | |
| | | |
| | | |
| | | // getListPd(1, 10, Object.assign(params, this.query)).then(res => { |
| | | // const data = res.data.data |
| | | // this.page.total = data.total |
| | | // this.disCussFrom = data.records[0] |
| | | // if (this.disCussFrom.userIds) { |
| | | // getPersonPublicSelect({ |
| | | // id: this.disCussFrom.userIds |
| | | // }).then(res => { |
| | | // const column = this.findObject(this.option.column, "userIds") |
| | | // column.dicData = res.data.data |
| | | // this.loading = false |
| | | // }) |
| | | // } |
| | | // }) |
| | | } |
| | | } |
| | | } |