| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="visitCompanyName" label="组织" min-width="100px"></el-table-column> |
| | | <el-table-column prop="optTime" label="操作时间" min-width="100px"></el-table-column> |
| | | <el-table-column prop="creatorName" label="操作人" min-width="100px"></el-table-column> |
| | | <el-table-column prop="optRemark" label="操作信息" min-width="300px"></el-table-column> |
| | | <el-table-column |
| | | v-if="containPermissions(['business:member:update', 'business:member:delete'])" |
| | | label="操作" |
| | |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import { findAllList } from '@/api/system/common' |
| | | import { updateRemoveStatusById } from '@/api/business/block' |
| | | import { updateRemoveBlackById } from '@/api/business/block' |
| | | export default { |
| | | name: 'blackmailPersonnel', |
| | | extends: BaseTable, |
| | |
| | | thaws () { |
| | | if (this.tableData.selectedRows.length === 0) return this.$message.warning('至少选择一项内容') |
| | | const ids = this.tableData.selectedRows.map(item => { |
| | | return { id: item.id } |
| | | return item.id |
| | | }) |
| | | updateRemoveStatusById(ids) |
| | | updateRemoveBlackById(ids.join(',')) |
| | | .then(res => { |
| | | this.$message.success('操作成功') |
| | | this.search() |
| | |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | updateRemoveStatusById([{ id: ids }]) |
| | | updateRemoveBlackById(ids) |
| | | .then(res => { |
| | | this.$message.success('操作成功') |
| | | this.search() |