zjk
2026-06-21 89be26b1f031315c1aa8b78c28f1214fa2568b12
fix: 修改bug
4个文件已修改
24 ■■■■■ 已修改文件
locales/zh_CN.json 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/custom/OperationLogModal.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/evaluationTag/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/userContent/whitelistManagement/whitelist/index.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
locales/zh_CN.json
@@ -436,7 +436,7 @@
      "userNamePlaceholder": "请输入",
      "userPhonePlaceholder": "请输入用户电话",
      "rolePlaceholder": "请选择",
      "accountStatusPlaceholder": "请选择账号状态"
      "accountStatusPlaceholder": "请选择"
    },
    "table": {
      "index": "序号",
src/components/custom/OperationLogModal.vue
@@ -21,6 +21,7 @@
interface QueryPayload {
  businessType?: number
  operatorName?: string
  operationName?: string
  operationType?: number
  startTime?: string
  endTime?: string
@@ -132,6 +133,8 @@
  return hit?.type
})
const isWhitelistOperationLog = computed(() => resolvedBusinessType.value === 44)
const operationTypeLabelMap = computed(() => {
  return (props.operationTypeOptions || []).reduce<Record<string, string>>((result, item) => {
    result[String(item.value)] = String(item.label ?? item.value)
@@ -198,8 +201,13 @@
    pageNum,
    pageSize,
  }
  if (filterModel.value.operatorName.trim())
    payload.operatorName = filterModel.value.operatorName.trim()
  if (filterModel.value.operatorName.trim()) {
    const operatorName = filterModel.value.operatorName.trim()
    if (isWhitelistOperationLog.value)
      payload.operationName = operatorName
    else
      payload.operatorName = operatorName
  }
  if (filterModel.value.operationType !== null)
    payload.operationType = filterModel.value.operationType
  if (filterModel.value.operationTime) {
src/views/system/evaluationTag/index.vue
@@ -83,7 +83,7 @@
})
const statusOptions = [
  { label: '启用中', value: 1 },
  { label: '启用', value: 1 },
  { label: '停用', value: 0 },
]
src/views/userContent/whitelistManagement/whitelist/index.vue
@@ -738,8 +738,8 @@
// 将日志弹窗内部的筛选/分页参数转换为当前业务接口要求的字段结构。
async function requestWhitelistOperationLogList(payload: any) {
  const params = {
    operatorName: payload.operatorName || '',
    operatorType: payload.operatorType,
    operationName: payload.operationName || '',
    operationType: payload.operationType,
    startTime: payload.startTime || '',
    endTime: payload.endTime || '',
    pageNum: payload.pageNum,
@@ -759,8 +759,8 @@
// 导出不需要分页参数,因此这里只保留筛选条件。
async function requestWhitelistOperationLogExport(payload: any) {
  const params = {
    operatorName: payload.operatorName || '',
    operatorType: payload.operatorType,
    operationName: payload.operationName || '',
    operationType: payload.operationType,
    startTime: payload.startTime || '',
    endTime: payload.endTime || '',
  }