This commit is contained in:
njdaoyehu 2025-02-18 17:18:44 +08:00
parent f60b79ed0a
commit 270df3dafb
4 changed files with 10 additions and 10 deletions

View File

@ -8,10 +8,6 @@ indent_style=space
indent_size=2 indent_size=2
max_line_length = 100 max_line_length = 100
[*.{yml,yaml,json}]
indent_style = space
indent_size = 2
[*.md] [*.md]
trim_trailing_whitespace = false trim_trailing_whitespace = false

View File

@ -562,4 +562,10 @@
:deep(.ant-descriptions-item-label) { :deep(.ant-descriptions-item-label) {
width: 120px; width: 120px;
} }
:deep(.ant-spin-dot-item) {
background-color: #5ca0ff !important;
}
:deep(.ant-spin-text) {
color: #5ca0ff !important;
}

View File

@ -1,5 +1,5 @@
<template> <template>
<BasicDrawer v-bind="$attrs" @register="registerDrawer" showFooter :title="getTitle" width="980px" @ok="handleSubmit"> <BasicDrawer v-bind="$attrs" @register="registerDrawer" showFooter :title="getTitle" width="920px" @ok="handleSubmit">
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
<BasicTable @register="registerTable"> <BasicTable @register="registerTable">
<template #toolbar> <template #toolbar>
@ -138,7 +138,7 @@ const [registerTable] = useTable({
pagination: false, pagination: false,
rowKey: (record: any) => record.code, rowKey: (record: any) => record.code,
actionColumn: { actionColumn: {
width: 180, width: 140,
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
fixed: undefined, fixed: undefined,

View File

@ -8,9 +8,7 @@
<template #toolbar> <template #toolbar>
<a-button type="primary" @click="handleCreate" :icon="h(PlusOutlined)"> </a-button> <a-button type="primary" @click="handleCreate" :icon="h(PlusOutlined)"> </a-button>
<div style="width: 5px" /> <div style="width: 5px" />
<a-button type="default" :icon="h(EyeOutlined)" @click="handleOpenFileDialog(null)" <a-button type="default" :icon="h(EyeOutlined)" @click="handleOpenFileDialog(null)">OCR识别</a-button>
>OCR识别</a-button
>
<input <input
type="file" type="file"
ref="fileInput" ref="fileInput"
@ -96,7 +94,7 @@
:loading="isLoading" :loading="isLoading"
:absolute="false" :absolute="false"
tip="OCR识别中..." tip="OCR识别中..."
:size="SizeEnum.LARGElarge" :size="SizeEnum.LARGE"
theme="dark" theme="dark"
/> />
</div> </div>