forked from github/dataease
feat(role):内置角色增加创建时间,并无法编辑 删除
This commit is contained in:
parent
440dd28fbb
commit
10c6ca4b98
@ -57,8 +57,8 @@ COMMIT;
|
||||
|
||||
|
||||
BEGIN;
|
||||
INSERT INTO `sys_role` VALUES (3, '管理员', 'www', NULL, NULL, NULL, 1619685033918);
|
||||
INSERT INTO `sys_role` VALUES (4, '普通员工', 'ceshi', NULL, NULL, NULL, 1619684053527);
|
||||
INSERT INTO `sys_role` VALUES (3, '管理员', 'www', NULL, NULL, REPLACE(unix_timestamp(current_timestamp(3)),'.',''), null);
|
||||
INSERT INTO `sys_role` VALUES (4, '普通员工', 'ceshi', NULL, NULL, REPLACE(unix_timestamp(current_timestamp(3)),'.',''), null);
|
||||
COMMIT;
|
||||
|
||||
|
||||
|
@ -266,7 +266,7 @@ export default {
|
||||
})
|
||||
},
|
||||
btnDisabled(row) {
|
||||
return !row.createTime
|
||||
return !row.updateTime
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user