Commit e81b1753 by fengzhaoyu

权限

parent 79fcf48e
......@@ -123,6 +123,16 @@ export default {
},
onCancel () {}
})
} else if(!this.form.getFieldValue('roleName')) {
console.log(this.roleName,'this.roleName');
this.$confirm({
content: '请先填写角色名称',
onOk () {
// that.changeData(record, index)
},
onCancel () {}
})
} else {
if (this.type === 0) {
let data = {
......@@ -209,15 +219,13 @@ export default {
line-height: 22px;
margin:27px 0 18px 0;
}
input {
.ant-form-item /deep/ .ant-input {
height: 40px;
margin-left: 5px;
}
.addOrRights /deep/ .ant-form-item-label {
width: 9.5% !important;
}
input {
margin-left: 5px;
}
.permisson {
display: flex;
height: 500px;
......@@ -258,7 +266,7 @@ export default {
width: 100%;
font-size: 14px;
color: #cccccc;
min-height: 40px;
min-height: 39px;
line-height: 40px;
margin-left: 5px;
text-indent: 10px;
......
......@@ -163,10 +163,10 @@ export default {
})
this.roleList.push({
key: item.roleId,
roleName: item.roleName,
userHasRoles: userHasRoles,
roleDesc: item.roleDesc,
creatTime: item.createTime,
roleName: item.roleName || '---',
userHasRoles: userHasRoles || '---',
roleDesc: item.roleDesc || '---',
creatTime: item.createTime.replace('T', ' '),
action: { ddUserId: ddUserId, name: userHasRoles }
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment