Commit be6e307b by gexinzhineng/gxzn27

id显示为序号bug

parent c6342142
...@@ -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: [
......
...@@ -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: '80px', actionWidth: '80px',
......
...@@ -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: '300', actionWidth: '300',
......
...@@ -23,7 +23,7 @@ export const rules = reactive({ ...@@ -23,7 +23,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: '400px', actionWidth: '400px',
......
...@@ -44,7 +44,7 @@ const [registerTable, { exportList }] = useXTable({ ...@@ -44,7 +44,7 @@ const [registerTable, { exportList }] = useXTable({
// 弹窗相关的变量 // 弹窗相关的变量
const dialogVisible = ref(false) // 是否显示弹出层 const dialogVisible = ref(false) // 是否显示弹出层
const dialogTitle = ref('详情') // 弹出层标题 const dialogTitle = ref(t('action.detail')) // 弹出层标题
const actionType = ref('') // 操作按钮的类型 const actionType = ref('') // 操作按钮的类型
// ========== 详情相关 ========== // ========== 详情相关 ==========
const detailData = ref() // 详情 Ref const detailData = ref() // 详情 Ref
......
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