| | |
| | | getDictionary |
| | | } from '@/api/system/dict' |
| | | |
| | | import { |
| | | getList as getHouseholdList, |
| | | getDetatils as getHouseholdDetail |
| | | } from "@/api/userHouse/list/houseHold" |
| | | // import { |
| | | // getList as getHouseholdList, |
| | | // getDetatils as getHouseholdDetail |
| | | // } from "@/api/userHouse/list/houseHold" |
| | | |
| | | import { |
| | | getUserlnfoByDistrictlds |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | getuserInfoByDistrictId() { |
| | | getUserlnfoByDistrictlds(this.discussion.articleRange).then(res => { |
| | | const column = this.findObject(this.option.column, "userIds") |
| | | column.dicData = res.data.data |
| | | }) |
| | | }, |
| | | getUserList() { |
| | | let dicUrl = `/api/blade-household/household/selectHouseholdList?searchKey={{key}}&limit=20` |
| | | const column = this.findObject(this.option.column, "userIds") |
| | |
| | | row.articleId = this.articleId |
| | | row.eventType = 1 |
| | | row.userIds = JSON.stringify(row.userIds) |
| | | if (row.appointUser == 0) { |
| | | row.userIds = '' |
| | | } |
| | | addPd(row).then( |
| | | () => { |
| | | this.onLoad(this.discussion) |
| | |
| | | articleId: row.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) { |
| | | if (this.disCussFrom && this.disCussFrom.userIds) { |
| | | this.disCussFrom.userIds = JSON.parse(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 |
| | | // }) |
| | | getUserlnfoByDistrictlds(row.articleRange).then(res => { |
| | | console.log(res); |
| | | const column = this.findObject(this.option.column, "userIds") |
| | | column.dicData = res.data.data |
| | | }) |
| | | } |
| | | this.getuserInfoByDistrictId() |
| | | }) |
| | | } |
| | | } |