mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-01 02:38:44 +08:00 
			
		
		
		
	id显示为序号bug
This commit is contained in:
		| @@ -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' | |||||||
| // 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' | |||||||
| // 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({ | |||||||
| // 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({ | |||||||
|  |  | ||||||
| // 弹窗相关的变量 | // 弹窗相关的变量 | ||||||
| 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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 gexinzhineng/gxzn27
					gexinzhineng/gxzn27