From dac20068cc4d30f61bde77387eeb156aa3aa95b3 Mon Sep 17 00:00:00 2001 From: gexinzhineng/gxzn27 <1348660141@qq.com> Date: Tue, 7 Mar 2023 16:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86=E4=B8=ADid?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=BA=8F=E5=8F=B7bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/errorCode/errorCode.data.ts | 2 +- src/views/system/loginlog/loginLog.data.ts | 2 +- src/views/system/notify/message/message.data.ts | 2 +- src/views/system/operatelog/operatelog.data.ts | 2 +- src/views/system/sensitiveWord/sensitiveWord.data.ts | 2 +- src/views/system/sms/smsChannel/sms.channel.data.ts | 2 +- src/views/system/sms/smsLog/sms.log.data.ts | 2 +- src/views/system/sms/smsTemplate/sms.template.data.ts | 2 +- src/views/system/tenant/tenant.data.ts | 2 +- src/views/system/tenantPackage/tenantPackage.data.ts | 2 +- src/views/system/user/user.data.ts | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/views/system/errorCode/errorCode.data.ts b/src/views/system/errorCode/errorCode.data.ts index 36f5e4c5..4736068b 100644 --- a/src/views/system/errorCode/errorCode.data.ts +++ b/src/views/system/errorCode/errorCode.data.ts @@ -11,7 +11,7 @@ export const rules = reactive({ // 新增 + 修改 const crudSchemas = reactive({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '编号', action: true, columns: [ diff --git a/src/views/system/loginlog/loginLog.data.ts b/src/views/system/loginlog/loginLog.data.ts index 75988e43..c0a51fbe 100644 --- a/src/views/system/loginlog/loginLog.data.ts +++ b/src/views/system/loginlog/loginLog.data.ts @@ -3,7 +3,7 @@ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' // CrudSchema const crudSchemas = reactive({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '日志编号', action: true, actionWidth: '100px', diff --git a/src/views/system/notify/message/message.data.ts b/src/views/system/notify/message/message.data.ts index ff5eb315..665311d2 100644 --- a/src/views/system/notify/message/message.data.ts +++ b/src/views/system/notify/message/message.data.ts @@ -4,7 +4,7 @@ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' const crudSchemas = reactive({ primaryKey: 'id', // 默认的主键ID primaryTitle: '编号', // 默认显示的值 - primaryType: 'seq', // 默认为seq,序号模式 + primaryType: 'id', // 默认为seq,序号模式 action: true, actionWidth: '200', // 3个按钮默认200,如有删减对应增减即可 columns: [ diff --git a/src/views/system/operatelog/operatelog.data.ts b/src/views/system/operatelog/operatelog.data.ts index e0f0578b..f8b4ef90 100644 --- a/src/views/system/operatelog/operatelog.data.ts +++ b/src/views/system/operatelog/operatelog.data.ts @@ -4,7 +4,7 @@ const { t } = useI18n() // 国际化 const crudSchemas = reactive({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '日志编号', action: true, actionWidth: '80px', diff --git a/src/views/system/sensitiveWord/sensitiveWord.data.ts b/src/views/system/sensitiveWord/sensitiveWord.data.ts index 79c90e6c..d21bb94c 100644 --- a/src/views/system/sensitiveWord/sensitiveWord.data.ts +++ b/src/views/system/sensitiveWord/sensitiveWord.data.ts @@ -10,7 +10,7 @@ export const rules = reactive({ // CrudSchema const crudSchemas = reactive({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '敏感词编号', action: true, columns: [ diff --git a/src/views/system/sms/smsChannel/sms.channel.data.ts b/src/views/system/sms/smsChannel/sms.channel.data.ts index cc014469..d3a807ed 100644 --- a/src/views/system/sms/smsChannel/sms.channel.data.ts +++ b/src/views/system/sms/smsChannel/sms.channel.data.ts @@ -12,7 +12,7 @@ export const rules = reactive({ // CrudSchema const crudSchemas = reactive({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '渠道编号', action: true, columns: [ diff --git a/src/views/system/sms/smsLog/sms.log.data.ts b/src/views/system/sms/smsLog/sms.log.data.ts index 501a5a2b..4610ee62 100644 --- a/src/views/system/sms/smsLog/sms.log.data.ts +++ b/src/views/system/sms/smsLog/sms.log.data.ts @@ -4,7 +4,7 @@ const { t } = useI18n() // 国际化 // CrudSchema const crudSchemas = reactive({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '日志编号', action: true, columns: [ diff --git a/src/views/system/sms/smsTemplate/sms.template.data.ts b/src/views/system/sms/smsTemplate/sms.template.data.ts index 2fb46fda..514a503a 100644 --- a/src/views/system/sms/smsTemplate/sms.template.data.ts +++ b/src/views/system/sms/smsTemplate/sms.template.data.ts @@ -15,7 +15,7 @@ export const rules = reactive({ // CrudSchema const crudSchemas = reactive({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '模板编号', action: true, actionWidth: '280', diff --git a/src/views/system/tenant/tenant.data.ts b/src/views/system/tenant/tenant.data.ts index 110bfbb3..2aab1b90 100644 --- a/src/views/system/tenant/tenant.data.ts +++ b/src/views/system/tenant/tenant.data.ts @@ -53,7 +53,7 @@ export const rules = reactive({ const crudSchemas = reactive({ primaryKey: 'id', primaryTitle: '租户编号', - primaryType: 'seq', + primaryType: 'id', action: true, columns: [ { diff --git a/src/views/system/tenantPackage/tenantPackage.data.ts b/src/views/system/tenantPackage/tenantPackage.data.ts index de06c2cb..47db56d4 100644 --- a/src/views/system/tenantPackage/tenantPackage.data.ts +++ b/src/views/system/tenantPackage/tenantPackage.data.ts @@ -14,7 +14,7 @@ export const rules = reactive({ // CrudSchema const crudSchemas = reactive({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '套餐编号', action: true, columns: [ diff --git a/src/views/system/user/user.data.ts b/src/views/system/user/user.data.ts index bd93873b..94b1d436 100644 --- a/src/views/system/user/user.data.ts +++ b/src/views/system/user/user.data.ts @@ -28,7 +28,7 @@ export const rules = reactive({ // crudSchemas const crudSchemas = reactive({ primaryKey: 'id', - primaryType: 'seq', + primaryType: 'id', primaryTitle: '用户编号', action: true, actionWidth: '200px',