Browse Source

🚑 交接点没有地图数据也能展示处理

master
wangxiang 3 years ago
parent
commit
815ce088fb
  1. 4
      src/components/AMap/src/amap.data.tsx
  2. 13
      src/components/AMap/src/components/MapPointModal.vue

4
src/components/AMap/src/amap.data.tsx

@ -1,9 +1,9 @@ @@ -1,9 +1,9 @@
import { BasicColumn } from '/@/components/Table';
import { listOrg } from '/@/api/platform/common/controller/org';
import { commonUpload } from '/@/api/platform/core/controller/upload';
import { h } from 'vue';
import { Tag } from 'ant-design-vue';
import { VxeTableDefines } from 'vxe-table/types/table';
import Icon from '/@/components/Icon/index';
/**
* @program: kicc-ui
@ -215,7 +215,7 @@ export const mapPointColumns: VxeTableDefines.ColumnOptions[] = [ @@ -215,7 +215,7 @@ export const mapPointColumns: VxeTableDefines.ColumnOptions[] = [
header ({ column }) {
return [
<vxe-tooltip content="按住后可以上下拖动排序!">
<i class="vxe-icon--question"/>
<Icon icon="fa6-solid:signature"/>
</vxe-tooltip>
];
}

13
src/components/AMap/src/components/MapPointModal.vue

@ -33,6 +33,7 @@ @@ -33,6 +33,7 @@
import { add, cloneDeep, concat } from 'lodash-es';
import { MapLogistic } from '/@/api/platform/common/entity/mapLogistic';
import { VxeTableDefines } from 'vxe-table/types/table';
import Icon from '/@/components/Icon/index';
/** 类型规范统一声明定义区域 */
interface WindowState {
@ -74,14 +75,14 @@ @@ -74,14 +75,14 @@
default({row}) {
return [
<span>
<i class="vxe-icon-lock-fill"/>
<Icon icon="fa6-solid:lock"/>
</span>
];
},
header({column}) {
return [
<vxe-tooltip content="此处数据只能展示不能操作!">
<i class="vxe-icon-info-circle-fill"/>
<Icon icon="fa6-solid:signature"/>
</vxe-tooltip>
];
}
@ -156,18 +157,18 @@ @@ -156,18 +157,18 @@
.rightTopLayout {
position: absolute;
top: 70%;
top: 0;
left: 50%;
right: 0;
bottom: 0;
bottom: 30%;
}
.rightBottomLayout {
position: absolute;
top: 0;
top: 70%;
left: 50%;
right: 0;
bottom: 30%;
bottom: 0;
}
}

Loading…
Cancel
Save