| | |
| | | </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> |
| | |
| | | tableData: [], |
| | | page: { |
| | | current: 1, |
| | | pageSize: 20, |
| | | size: 20, |
| | | total: 0 |
| | | }, |
| | | loading: false |
| | |
| | | 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) { |
| | |
| | | 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', |