| | |
| | | |
| | | // 人员移除-解冻 |
| | | export function updateRemoveStatusById (data) { |
| | | return request.post('/visitsAdmin/cloudService/business/member/updateRemoveStatusById', data, { |
| | | trim: true |
| | | }) |
| | | return request.get('/visitsAdmin/cloudService/business/member/batchRemoveFreeze?ids=' + data) |
| | | } |
| | | // 人员移除-黑名单 |
| | | export function updateRemoveBlackById (data) { |
| | | return request.get('/visitsAdmin/cloudService/business/member/batchRemoveBlock?ids=' + data) |
| | | } |
| | | |
| | | // 导出Excel |
| | |
| | | item.level = index + 1 |
| | | if (item.objIds && item.objIds.length > 0) { |
| | | item.objIds = item.objIds.map(i => i.id).join(',') |
| | | } else { |
| | | item.objIds = '' |
| | | } |
| | | }) |
| | | approveTemplSave({ |
| | |
| | | item.level = index + 1 |
| | | if (item.objIds && item.objIds.length > 0) { |
| | | item.objIds = item.objIds.map(i => i.id).join(',') |
| | | } else { |
| | | item.objIds = '' |
| | | } |
| | | }) |
| | | approveTemplSave({ |
| | |
| | | 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() |
| | |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" @click="thaw([{id: row.id}])" icon="el-icon-edit" v-permissions="['business:member:update']">解冻</el-button> |
| | | <el-button type="text" @click="thaw(row.id)" icon="el-icon-edit" v-permissions="['business:member:update']">解冻</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | thaws () { |
| | | if (this.tableData.selectedRows.length === 0) return this.$message.warning('至少选择一项内容') |
| | | const ids = this.tableData.selectedRows.map(item => { |
| | | return { id: item.id } |
| | | // return { id: item.id } |
| | | return item.id |
| | | }) |
| | | this.thaw(ids) |
| | | this.thaw(ids.join(',')) |
| | | }, |
| | | thaw (ids) { |
| | | this.$confirm('确定解冻此用户吗?', '提示', { |
| | |
| | | item.level = index + 1 |
| | | if (item.objIds && item.objIds.length > 0) { |
| | | item.objIds = item.objIds.map(i => i.id).join(',') |
| | | } else { |
| | | item.objIds = '' |
| | | } |
| | | }) |
| | | approveTemplSave({ |
| | |
| | | <template> |
| | | <div class="container"> |
| | | <view class="container"> |
| | | <!-- <video |
| | | src="https://vdept3.bdstatic.com/mda-nj7gwfue9kdnbtsh/sc/cae_h264/1665488517815949255/mda-nj7gwfue9kdnbtsh.mp4?v_from_s=hkapp-haokan-hbe&auth_key=1715141591-0-0-6dfdf4d4c3d94b60b9adeb53368a72f3&bcevod_channel=searchbox_feed&pd=1&cr=2&cd=0&pt=3&logid=0791905773&vid=13790089500387859718&klogid=0791905773&abtest=" |
| | | ></video> --> |
| | | <scroll-view scroll-y class="content"> |
| | | <div> |
| | | <div v-html="content"></div> |
| | | </div> |
| | | <div class="empty"></div> |
| | | <view> |
| | | <view v-html="content"></view> |
| | | </view> |
| | | <view class="empty"></view> |
| | | </scroll-view> |
| | | <div class="button" @click="toapply">已知晓,下一步({{ num }}秒)</div> |
| | | </div> |
| | | <view class="button" :class="{disable: num > 0}" @click="toapply"> |
| | | 已知晓,下一步 |
| | | <text v-if="num > 0">({{ num }}秒)</text> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | timer = setInterval(() => { |
| | | this.num-- |
| | | if (this.num === 0) { |
| | | this.toapply() |
| | | clearInterval(timer) |
| | | } |
| | | }, 1000) |
| | | }, |
| | |
| | | }) |
| | | }, |
| | | toapply() { |
| | | clearInterval(timer) |
| | | if(this.num > 0) return |
| | | if (this.answer === '0') { |
| | | uni.navigateTo({ |
| | | url: '/pages/userinfo/userinfo' |
| | |
| | | bottom: 30rpx; |
| | | left: 30rpx; |
| | | } |
| | | .disable{ |
| | | background-color: #cccccc; |
| | | } |
| | | } |
| | | </style> |