refactor(ui): [UI8] 补齐全局异常卡片边距并统一剩余下拉表单样式
这个提交包含在:
@@ -188,7 +188,7 @@ export function UserManagementPage() {
|
||||
placeholder="搜索工号/姓名/手机号/邮箱"
|
||||
/>
|
||||
<select
|
||||
className="h-11 rounded-lg border border-zinc-300 bg-white px-3 py-2 text-sm"
|
||||
className="select-std w-auto"
|
||||
data-testid="users-status-filter"
|
||||
value={status}
|
||||
onChange={(e) => {
|
||||
@@ -197,8 +197,8 @@ export function UserManagementPage() {
|
||||
}}
|
||||
>
|
||||
<option value="">全部状态</option>
|
||||
<option value="active">active</option>
|
||||
<option value="archived">archived</option>
|
||||
<option value="active">生效中</option>
|
||||
<option value="archived">已停用</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -207,10 +207,10 @@ export function UserManagementPage() {
|
||||
<p className="text-sm text-red-600">
|
||||
{isApiError(listQuery.error)
|
||||
? `${listQuery.error.code}: ${mapApiErrorMessage(
|
||||
listQuery.error.code,
|
||||
listQuery.error.details,
|
||||
listQuery.error.message,
|
||||
)}`
|
||||
listQuery.error.code,
|
||||
listQuery.error.details,
|
||||
listQuery.error.message,
|
||||
)}`
|
||||
: "加载用户列表失败"}
|
||||
</p>
|
||||
) : null}
|
||||
|
||||
在新工单中引用
屏蔽一个用户