Commit 03bf50d6 by 芋道源码 Committed by Gitee

!18 系统管理中id显示序号bug

Merge pull request !18 from 周建/master
parents 1c5be6ec dac20068
...@@ -11,7 +11,7 @@ export const rules = reactive({ ...@@ -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: [
......
...@@ -3,7 +3,7 @@ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' ...@@ -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',
......
...@@ -4,7 +4,7 @@ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' ...@@ -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: [
......
...@@ -4,7 +4,7 @@ const { t } = useI18n() // 国际化 ...@@ -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',
......
...@@ -10,7 +10,7 @@ export const rules = reactive({ ...@@ -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: [
......
...@@ -12,7 +12,7 @@ export const rules = reactive({ ...@@ -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: [
......
...@@ -4,7 +4,7 @@ const { t } = useI18n() // 国际化 ...@@ -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: [
......
...@@ -15,7 +15,7 @@ export const rules = reactive({ ...@@ -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',
......
...@@ -53,7 +53,7 @@ export const rules = reactive({ ...@@ -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: [
{ {
......
...@@ -14,7 +14,7 @@ export const rules = reactive({ ...@@ -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: [
......
...@@ -28,7 +28,7 @@ export const rules = reactive({ ...@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment