Merge branch 'test_dispaly' of https://git.code.tencent.com/lian-cbtc/jl-client into test_dispaly1

This commit is contained in:
fan 2023-01-13 10:36:49 +08:00
commit c3c29d6724

View File

@ -171,7 +171,8 @@ export default {
distributePackage(index, row) { distributePackage(index, row) {
if (this.packageId) { if (this.packageId) {
const accountId = row.id; const accountId = row.id;
const subjectType = row.type == '1' ? 'user' : 'org'; // const subjectType = row.type == '1' ? 'user' : 'org';
const subjectType = 'user'; //
setDistributeToSubject(this.packageId, subjectType, accountId).then(resp=> { setDistributeToSubject(this.packageId, subjectType, accountId).then(resp=> {
this.$message.success('权限分发给指定账户成功!'); this.$message.success('权限分发给指定账户成功!');
this.$emit('reloadTable'); this.$emit('reloadTable');