From be6e307ba006e23c41fe0edec63bb831e11b8c1d Mon Sep 17 00:00:00 2001 From: gexinzhineng/gxzn27 <1348660141@qq.com> Date: Tue, 14 Mar 2023 13:10:31 +0800 Subject: [PATCH] =?UTF-8?q?id=E6=98=BE=E7=A4=BA=E4=B8=BA=E5=BA=8F=E5=8F=B7?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/bpm/form/form.data.ts | 2 +- src/views/infra/apiAccessLog/apiAccessLog.data.ts | 2 +- src/views/infra/apiErrorLog/apiErrorLog.data.ts | 2 +- src/views/infra/fileConfig/fileConfig.data.ts | 2 +- src/views/system/sms/smsLog/index.vue | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/bpm/form/form.data.ts b/src/views/bpm/form/form.data.ts index d367da13..43c93dd7 100644 --- a/src/views/bpm/form/form.data.ts +++ b/src/views/bpm/form/form.data.ts @@ -10,7 +10,7 @@ export const rules = reactive({ // CrudSchema const crudSchemas = reactive<VxeCrudSchema>({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '表单编号', action: true, columns: [ diff --git a/src/views/infra/apiAccessLog/apiAccessLog.data.ts b/src/views/infra/apiAccessLog/apiAccessLog.data.ts index 927e2330..b2d9786d 100644 --- a/src/views/infra/apiAccessLog/apiAccessLog.data.ts +++ b/src/views/infra/apiAccessLog/apiAccessLog.data.ts @@ -3,7 +3,7 @@ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' // CrudSchema const crudSchemas = reactive<VxeCrudSchema>({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '日志编号', action: true, actionWidth: '80px', diff --git a/src/views/infra/apiErrorLog/apiErrorLog.data.ts b/src/views/infra/apiErrorLog/apiErrorLog.data.ts index 6471f64d..a539c167 100644 --- a/src/views/infra/apiErrorLog/apiErrorLog.data.ts +++ b/src/views/infra/apiErrorLog/apiErrorLog.data.ts @@ -3,7 +3,7 @@ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' // CrudSchema const crudSchemas = reactive<VxeCrudSchema>({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '日志编号', action: true, actionWidth: '300', diff --git a/src/views/infra/fileConfig/fileConfig.data.ts b/src/views/infra/fileConfig/fileConfig.data.ts index d0f64869..ae351cfa 100644 --- a/src/views/infra/fileConfig/fileConfig.data.ts +++ b/src/views/infra/fileConfig/fileConfig.data.ts @@ -23,7 +23,7 @@ export const rules = reactive({ // CrudSchema const crudSchemas = reactive<VxeCrudSchema>({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '配置编号', action: true, actionWidth: '400px', diff --git a/src/views/system/sms/smsLog/index.vue b/src/views/system/sms/smsLog/index.vue index 7099e1a8..334da2ad 100644 --- a/src/views/system/sms/smsLog/index.vue +++ b/src/views/system/sms/smsLog/index.vue @@ -44,7 +44,7 @@ const [registerTable, { exportList }] = useXTable({ // 弹窗相关的变量 const dialogVisible = ref(false) // 是否显示弹出层 -const dialogTitle = ref('详情') // 弹出层标题 +const dialogTitle = ref(t('action.detail')) // 弹出层标题 const actionType = ref('') // 操作按钮的类型 // ========== 详情相关 ========== const detailData = ref() // 详情 Ref