| | |
| | | <el-table-column prop="remark" label="备注" min-width="150" show-overflow-tooltip /> |
| | | <el-table-column label="操作" align="center" fixed="right" min-width="100" show-overflow-tooltip> |
| | | <template v-slot="scope"> |
| | | <el-button type="text" v-permissions="['business:platformbooks:detail']" |
| | | <el-button v-if="scope.row.status == 6" type="text" v-permissions="['business:platformbooks:detail']" |
| | | @click="handleAuth(scope.row)">离园授权</el-button> |
| | | <span v-else>-</span> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | this.$prompt('备注', '离园授权', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | }).then(({ remark }) => { |
| | | platformPowerLevel({ jobId: row.id, remark }).then(res => { |
| | | }).then(({ value }) => { |
| | | platformPowerLevel({ jobId: row.id, remark: value }).then(res => { |
| | | Message.success('离园授权成功') |
| | | this.getList() |
| | | }) |