zouyu
2025-03-14 d3a5fbcc6516c77b32f54518a65e3238c3029d6d
src/views/CNAS/personnel/personnelInfo/Department/components/Communicate/index.vue
@@ -10,7 +10,7 @@
                </div>
            </template>
            <template v-slot:table>
                <limsTable :column="columnData" :height="'calc(100vh - 21em)'" :table-data="tableData"
                <limsTable :column="columnData" :height="'calc(100vh - 22em)'" :table-data="tableData"
                    :table-loading="loading" style="margin-top: 18px; padding: 0 15px;" :page="page"
                    @pagination="pagination"></limsTable>
            </template>
@@ -95,7 +95,7 @@
            tableData: [],
            page: {
                current: 1,
                pageSize: 20,
                size: 20,
                total: 0
            },
            loading: false
@@ -113,11 +113,11 @@
            const params = this.isDepartment ? {
                departLimsId: this.departId,
                current: this.page.current,
                size: this.page.pageSize
                size: this.page.size
            } : {
                userId: this.departId,
                current: this.page.current,
                size: this.page.pageSize
                size: this.page.size
            }
            const { code, data } = await personPersonCommunicationAbilityPage(params)
            if (code == 200) {
@@ -147,9 +147,7 @@
                cancelButtonText: '取消',
                type: 'warning'
            }).then(async () => {
                let formData = new FormData()
                formData.append('id', id)
                const { code } = await deletePersonCommunicationAbility(formData)
                const { code } = await deletePersonCommunicationAbility({ id })
                if (code == 200) {
                    this.$message({
                        type: 'success',