fix: 代码格式

This commit is contained in:
Captain.B 2021-05-24 21:19:01 +08:00 committed by 刘瑞斌
parent e8724aee16
commit a2c6c35afb
5 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;

View File

@ -282,7 +282,9 @@ export default {
})
},
groupType(idType) {
if (!idType) return;
if (!idType) {
return;
}
return idType.split("+")[1];
},
getResource(idType, index) {

View File

@ -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);

View File

@ -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);