shuishen
2024-01-08 210c28f024e008cff8a3c89ea45a0910526a669d
src/views/article/components/discussionManageChild.vue
@@ -189,10 +189,6 @@
                        value: 'id',
                    },
                    dicData: [],
                    formatter: (row) => {
                        console.log(row, 1212213)
                        return row.name
                    },
                    rules: [
                        {
                            required: true,
@@ -235,20 +231,6 @@
    },
    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")
@@ -320,7 +302,15 @@
                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
                })
            })
        }
    }