系统管理中id显示序号bug
This commit is contained in:
parent
cab8c9ad15
commit
dac20068cc
@ -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'
|
|||||||
// 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'
|
|||||||
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() // 国际化
|
|||||||
|
|
||||||
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({
|
|||||||
// 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({
|
|||||||
// 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() // 国际化
|
|||||||
// 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({
|
|||||||
// 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({
|
|||||||
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({
|
|||||||
// 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({
|
|||||||
// 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',
|
||||||
|
Loading…
Reference in New Issue
Block a user