style(credit): 格式化代码并移除未使用的方法

- 移除了 CreditSearchToolbar 组件中的未使用 add 方法
- 格式化了多个信用模块中的组件标签换行
- 格式化了 Ant Design 图标导入语句的换行
- 为表格列添加了排序功能 (sorter: true)
- 格式化了 creditGqdj 模块中的长对象属性换行
- 格式化了 creditNearbyCompany 模块中的注释和表格配置
- 移除了重复的 sorter 属性配置
This commit is contained in:
2026-02-06 18:53:54 +08:00
parent 8d1d9d9de9
commit f01e3359ec
24 changed files with 158 additions and 113 deletions

View File

@@ -67,14 +67,20 @@
<!-- 导入弹窗 -->
<CreditFinalVersionImport v-model:visible="showImport" @done="reload" />
<!-- 历史导入弹窗 -->
<CreditFinalVersionHistoryImport v-model:visible="showImport2" @done="reload" />
<CreditFinalVersionHistoryImport
v-model:visible="showImport2"
@done="reload"
/>
</a-page-header>
</template>
<script lang="ts" setup>
import { createVNode, ref } from 'vue';
import { message, Modal } from 'ant-design-vue';
import { ExclamationCircleOutlined, CloudUploadOutlined } from '@ant-design/icons-vue';
import {
ExclamationCircleOutlined,
CloudUploadOutlined
} from '@ant-design/icons-vue';
import type { EleProTable } from 'ele-admin-pro';
import { toDateString } from 'ele-admin-pro';
import type {
@@ -243,8 +249,9 @@
width: 180,
align: 'center',
ellipsis: true,
sorter: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
}
// {
// title: '操作',
// key: 'action',