fix: 代码格式
This commit is contained in:
parent
e8724aee16
commit
a2c6c35afb
|
@ -1,6 +1,5 @@
|
|||
package io.metersphere.base.mapper.ext;
|
||||
|
||||
import io.metersphere.base.domain.Group;
|
||||
import io.metersphere.controller.request.group.EditGroupRequest;
|
||||
import io.metersphere.dto.GroupDTO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package io.metersphere.base.mapper.ext;
|
||||
|
||||
import io.metersphere.base.domain.Group;
|
||||
import io.metersphere.base.domain.Role;
|
||||
import io.metersphere.base.domain.User;
|
||||
import io.metersphere.controller.request.member.QueryMemberRequest;
|
||||
import io.metersphere.controller.request.organization.QueryOrgMemberRequest;
|
||||
|
|
|
@ -282,7 +282,9 @@ export default {
|
|||
})
|
||||
},
|
||||
groupType(idType) {
|
||||
if (!idType) return;
|
||||
if (!idType) {
|
||||
return;
|
||||
}
|
||||
return idType.split("+")[1];
|
||||
},
|
||||
getResource(idType, index) {
|
||||
|
|
|
@ -404,12 +404,12 @@
|
|||
editMember(row) {
|
||||
this.dialogWsMemberUpdateVisible = true;
|
||||
this.memberForm = Object.assign({}, row);
|
||||
console.log(this.memberForm)
|
||||
// console.log(this.memberForm)
|
||||
let groupIds = this.memberForm.groups.map(r => r.id);
|
||||
this.result = this.$post('/user/group/list', {type: GROUP_WORKSPACE, resourceId: this.wsId}, response => {
|
||||
this.$set(this.memberForm, "allgroups", response.data);
|
||||
})
|
||||
console.log(this.memberForm)
|
||||
// console.log(this.memberForm)
|
||||
// 编辑时填充角色信息
|
||||
this.$set(this.memberForm, 'groupIds', groupIds);
|
||||
listenGoBack(this.handleClose);
|
||||
|
|
|
@ -117,7 +117,7 @@ export default {
|
|||
this.$refs.deleteConfirm.open(row);
|
||||
},
|
||||
copy(row) {
|
||||
console.log(row);
|
||||
// console.log(row);
|
||||
},
|
||||
setPermission(row) {
|
||||
this.$refs.editPermission.open(row);
|
||||
|
|
Loading…
Reference in New Issue