Merge branch 'test_dispaly' of https://git.code.tencent.com/lian-cbtc/jl-client into test_dispaly1
This commit is contained in:
commit
c3c29d6724
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user