fix: 独立出积分变更权限
This commit is contained in:
parent
413a3b118a
commit
97a91a39e2
|
|
@ -95,7 +95,7 @@
|
|||
type="text"
|
||||
icon="el-icon-s-operation"
|
||||
@click="handleEditScore(scope.row)"
|
||||
v-hasPermi="['system:dept:chargeRefund']"
|
||||
v-hasPermi="['system:dept:editScore']"
|
||||
>积分更正</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
|
|
|
|||
|
|
@ -198,9 +198,9 @@ public class SysDeptController extends BaseController
|
|||
|
||||
/**
|
||||
* 部门积分更正:更新部门积分余额并记流水(无订单)。
|
||||
* 需具备 {@code system:dept:chargeRefund},且目标部门须通过数据权限校验。
|
||||
* 需具备 {@code system:dept:editScore},且目标部门须通过数据权限校验。
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:dept:chargeRefund')")
|
||||
@PreAuthorize("@ss.hasPermi('system:dept:editScore')")
|
||||
@Log(title = "部门管理", businessType = BusinessType.UPDATE)
|
||||
@PostMapping("/edit-score")
|
||||
public AjaxResult editScore(@Validated @RequestBody DeptPointsCorrectionRequest request)
|
||||
|
|
|
|||
Loading…
Reference in New Issue