| | |
| | | value: 'id', |
| | | }, |
| | | dicData: [], |
| | | formatter: (row) => { |
| | | console.log(row, 1212213) |
| | | return row.name |
| | | }, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | }, |
| | | |
| | | watch: { |
| | | "disCussFrom.userIds": { |
| | | handler (val) { |
| | | if (val) { |
| | | |
| | | getPersonPublicSelect({ |
| | | id: val |
| | | }).then(res => { |
| | | const column = this.findObject(this.option.column, "userIds") |
| | | column.dicData = res.data.data |
| | | }) |
| | | |
| | | } |
| | | } |
| | | }, |
| | | 'disCussFrom.appointUser': { |
| | | handler (newData) { |
| | | const column = this.findObject(this.option.column, "userIds") |
| | |
| | | const data = res.data.data |
| | | this.page.total = data.total |
| | | this.disCussFrom = data.records[0] |
| | | this.loading = false |
| | | |
| | | getPersonPublicSelect({ |
| | | id: this.disCussFrom.userIds |
| | | }).then(res => { |
| | | const column = this.findObject(this.option.column, "userIds") |
| | | column.dicData = res.data.data |
| | | |
| | | this.loading = false |
| | | }) |
| | | }) |
| | | } |
| | | } |