系统管理中id显示序号bug

This commit is contained in:
gexinzhineng/gxzn27 2023-03-07 16:22:40 +08:00
parent cab8c9ad15
commit dac20068cc
11 changed files with 11 additions and 11 deletions

View File

@ -11,7 +11,7 @@ export const rules = reactive({
// 新增 + 修改 // 新增 + 修改
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '编号', primaryTitle: '编号',
action: true, action: true,
columns: [ columns: [

View File

@ -3,7 +3,7 @@ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
// CrudSchema // CrudSchema
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '日志编号', primaryTitle: '日志编号',
action: true, action: true,
actionWidth: '100px', actionWidth: '100px',

View File

@ -4,7 +4,7 @@ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', // 默认的主键ID primaryKey: 'id', // 默认的主键ID
primaryTitle: '编号', // 默认显示的值 primaryTitle: '编号', // 默认显示的值
primaryType: 'seq', // 默认为seq序号模式 primaryType: 'id', // 默认为seq序号模式
action: true, action: true,
actionWidth: '200', // 3个按钮默认200如有删减对应增减即可 actionWidth: '200', // 3个按钮默认200如有删减对应增减即可
columns: [ columns: [

View File

@ -4,7 +4,7 @@ const { t } = useI18n() // 国际化
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '日志编号', primaryTitle: '日志编号',
action: true, action: true,
actionWidth: '80px', actionWidth: '80px',

View File

@ -10,7 +10,7 @@ export const rules = reactive({
// CrudSchema // CrudSchema
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '敏感词编号', primaryTitle: '敏感词编号',
action: true, action: true,
columns: [ columns: [

View File

@ -12,7 +12,7 @@ export const rules = reactive({
// CrudSchema // CrudSchema
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '渠道编号', primaryTitle: '渠道编号',
action: true, action: true,
columns: [ columns: [

View File

@ -4,7 +4,7 @@ const { t } = useI18n() // 国际化
// CrudSchema // CrudSchema
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '日志编号', primaryTitle: '日志编号',
action: true, action: true,
columns: [ columns: [

View File

@ -15,7 +15,7 @@ export const rules = reactive({
// CrudSchema // CrudSchema
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '模板编号', primaryTitle: '模板编号',
action: true, action: true,
actionWidth: '280', actionWidth: '280',

View File

@ -53,7 +53,7 @@ export const rules = reactive({
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryTitle: '租户编号', primaryTitle: '租户编号',
primaryType: 'seq', primaryType: 'id',
action: true, action: true,
columns: [ columns: [
{ {

View File

@ -14,7 +14,7 @@ export const rules = reactive({
// CrudSchema // CrudSchema
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '套餐编号', primaryTitle: '套餐编号',
action: true, action: true,
columns: [ columns: [

View File

@ -28,7 +28,7 @@ export const rules = reactive({
// crudSchemas // crudSchemas
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '用户编号', primaryTitle: '用户编号',
action: true, action: true,
actionWidth: '200px', actionWidth: '200px',