diff --git a/apps/web-antd/src/views/property/inspectionManagement/inspectionPoint/index.vue b/apps/web-antd/src/views/property/inspectionManagement/inspectionPoint/index.vue
index 77621ef6..156f113a 100644
--- a/apps/web-antd/src/views/property/inspectionManagement/inspectionPoint/index.vue
+++ b/apps/web-antd/src/views/property/inspectionManagement/inspectionPoint/index.vue
@@ -1,13 +1,7 @@
@@ -129,12 +115,6 @@ function handleDownloadExcel() {
-
- {{ $t('pages.common.export') }}
-
[
{
component: 'Input',
fieldName: 'routeName',
- label: '路线名称',
+ label: '巡检路线名称',
},
];
@@ -15,12 +15,16 @@ export const querySchema: FormSchemaGetter = () => [
export const columns: VxeGridProps['columns'] = [
{ type: 'checkbox', width: 60 },
{
- title: '主键id',
- field: 'id',
+ title: '巡检路线名称',
+ field: 'routeName',
},
{
- title: '路线名称',
- field: 'routeName',
+ title: '创建时间',
+ field: 'createTime',
+ },
+ {
+ title: '排序',
+ field: 'sort',
},
{
title: '备注',
@@ -46,14 +50,20 @@ export const modalSchema: FormSchemaGetter = () => [
},
},
{
- label: '路线名称',
+ label: '巡检路线名称',
fieldName: 'routeName',
component: 'Input',
rules: 'required',
},
+ {
+ label: '排序',
+ fieldName: 'sort',
+ component: 'Input',
+ rules: 'required',
+ },
{
label: '备注',
fieldName: 'remark',
- component: 'Input',
+ component: 'Textarea',
},
];
diff --git a/apps/web-antd/src/views/property/inspectionManagement/inspectionRoute/index.vue b/apps/web-antd/src/views/property/inspectionManagement/inspectionRoute/index.vue
index 400e47f1..a6d4d94a 100644
--- a/apps/web-antd/src/views/property/inspectionManagement/inspectionRoute/index.vue
+++ b/apps/web-antd/src/views/property/inspectionManagement/inspectionRoute/index.vue
@@ -16,19 +16,17 @@ import {
} from '#/adapter/vxe-table';
import {
- inspectionRouteExport,
inspectionRouteList,
inspectionRouteRemove,
} from '#/api/property/inspectionManagement/inspectionRoute';
import type { InspectionRouteForm } from '#/api/property/inspectionManagement/inspectionRoute/model';
-import { commonDownloadExcel } from '#/utils/file/download';
import inspectionRouteModal from './inspectionRoute-modal.vue';
import { columns, querySchema } from './data';
const formOptions: VbenFormProps = {
commonConfig: {
- labelWidth: 80,
+ labelWidth: 90,
componentProps: {
allowClear: true,
},
@@ -116,12 +114,6 @@ function handleMultiDelete() {
},
});
}
-
-function handleDownloadExcel() {
- commonDownloadExcel(inspectionRouteExport, '巡检路线数据', tableApi.formApi.form.values, {
- fieldMappingTime: formOptions.fieldMappingTime,
- });
-}
@@ -129,12 +121,6 @@ function handleDownloadExcel() {
-
- {{ $t('pages.common.export') }}
-