fix: 1.接入ai_suggestion.

2. 接入合同起草功能。
This commit is contained in:
2025-12-05 00:04:45 +08:00
parent eca98fc540
commit 33f10896a0
29 changed files with 3184 additions and 981 deletions
+12 -3
View File
@@ -1361,9 +1361,18 @@ export default function RolePermissions() {
marginLeft: '8px',
padding: '2px 8px',
fontSize: '12px',
backgroundColor: selectedPermCount > 0 ? '#e6f7ed' : '#f5f5f5',
color: selectedPermCount > 0 ? '#52c41a' : '#666',
border: selectedPermCount > 0 ? '1px solid #b7eb8f' : '1px solid #d9d9d9',
backgroundColor:
selectedPermCount === permissions.length ? '#e6f7ed' : // 全部选中:绿色
selectedPermCount > 0 ? '#fff7e6' : // 部分选中:浅橙色
'#f5f5f5', // 未选中:灰色
color:
selectedPermCount === permissions.length ? '#52c41a' : // 全部选中:绿色
selectedPermCount > 0 ? '#fa8c16' : // 部分选中:橙色
'#666', // 未选中:灰色
border:
selectedPermCount === permissions.length ? '1px solid #b7eb8f' : // 全部选中:绿色
selectedPermCount > 0 ? '1px solid #ffd591' : // 部分选中:浅橙色
'1px solid #d9d9d9', // 未选中:灰色
borderRadius: '4px',
cursor: 'pointer',
display: 'inline-flex',