Browse Source

开发地图设计器配置

master
wangxiang 3 years ago
parent
commit
09f9545c4d
  1. 8
      src/components/AMap/src/amap.data.ts
  2. 1
      src/components/AMap/src/components/MapPointModal.vue

8
src/components/AMap/src/amap.data.ts

@ -107,7 +107,7 @@ export const formTaskColumns: BasicColumn[] = [
export const formMutualTaskColumns: BasicColumn[] = [ export const formMutualTaskColumns: BasicColumn[] = [
{ {
title: '下级医院', title: '起始预设点',
dataIndex: 'smallHospitalId', dataIndex: 'smallHospitalId',
editRow: true, editRow: true,
editRule: true, editRule: true,
@ -130,7 +130,7 @@ export const formMutualTaskColumns: BasicColumn[] = [
} }
}, },
{ {
title: '上级医院', title: '目的地预设点',
dataIndex: 'largeHospitalId', dataIndex: 'largeHospitalId',
editRow: true, editRow: true,
editRule: true, editRule: true,
@ -175,7 +175,7 @@ export const formMutualTaskSettingColumns: BasicColumn[] = [
dataIndex: 'userId' dataIndex: 'userId'
}, },
{ {
title: '预设点1', title: '起始预设点',
dataIndex: 'smallHospitalId', dataIndex: 'smallHospitalId',
editRow: true, editRow: true,
editRule: true, editRule: true,
@ -198,7 +198,7 @@ export const formMutualTaskSettingColumns: BasicColumn[] = [
} }
}, },
{ {
title: '预设点2', title: '目的地预设点',
dataIndex: 'largeHospitalId', dataIndex: 'largeHospitalId',
editRow: true, editRow: true,
editRule: true, editRule: true,

1
src/components/AMap/src/components/MapPointModal.vue

@ -3,7 +3,6 @@
import { BasicModal, ModalProps, useModalInner } from '/@/components/Modal'; import { BasicModal, ModalProps, useModalInner } from '/@/components/Modal';
import { Form, Select, Row, Col } from 'ant-design-vue'; import { Form, Select, Row, Col } from 'ant-design-vue';
import { AMapDesigner } from '/@/components/AMap'; import { AMapDesigner } from '/@/components/AMap';
import { formMapDataSettingsColumns } from '/@/components/AMap/src/amap.data';
import Sortable from 'sortablejs'; import Sortable from 'sortablejs';
import { VxeGridProps } from 'vxe-table'; import { VxeGridProps } from 'vxe-table';

Loading…
Cancel
Save