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
max_line_length = 100
[*.{yml,yaml,json}]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false

View File

@ -562,4 +562,10 @@
:deep(.ant-descriptions-item-label) {
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>
<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" />
<BasicTable @register="registerTable">
<template #toolbar>
@ -138,7 +138,7 @@ const [registerTable] = useTable({
pagination: false,
rowKey: (record: any) => record.code,
actionColumn: {
width: 180,
width: 140,
title: '操作',
dataIndex: 'action',
fixed: undefined,

View File

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