成果部分修改
parent
a3b5ad4736
commit
7708585899
|
|
@ -15,22 +15,27 @@ export const columns = [
|
|||
{
|
||||
title: '任务名称',
|
||||
dataIndex: 'taskName',
|
||||
// width: 100,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: '飞手',
|
||||
dataIndex: 'flyer',
|
||||
width: 80,
|
||||
},
|
||||
{
|
||||
title: '图片数量',
|
||||
dataIndex: 'imageCount',
|
||||
// width: 100,
|
||||
width: 80,
|
||||
},
|
||||
{
|
||||
title: '任务时间',
|
||||
dataIndex: 'taskDate',
|
||||
// width: 100,
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
dataIndex: 'createTime',
|
||||
// width: 100,
|
||||
width: 130,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -78,7 +78,6 @@
|
|||
position: 'relative',
|
||||
bottom: `${10 + 25 * countLines(label, point)}px`,
|
||||
}"
|
||||
@mouseover="console.log(123)"
|
||||
>
|
||||
<a-popover>
|
||||
<template #content> {{ getNameByJxnanme(label) }} </template>
|
||||
|
|
@ -101,7 +100,6 @@
|
|||
import dayjs from 'dayjs';
|
||||
import { GeoTiffManagerLoadPage } from '@/api/demo/system';
|
||||
import { cloneDeep } from 'lodash-es';
|
||||
import { log } from 'vxe-table';
|
||||
|
||||
const emit = defineEmits(['handleNowValueChange']);
|
||||
|
||||
|
|
@ -224,7 +222,7 @@
|
|||
function countLines(str, point) {
|
||||
// 使用 \n 作为换行符
|
||||
// const lines = str.split('\n');
|
||||
console.log(227, topPoint.value);
|
||||
// console.log(227, topPoint.value);
|
||||
|
||||
let count = 0;
|
||||
for (let i = 0; i < topPoint.value.length; i++) {
|
||||
|
|
|
|||
|
|
@ -159,7 +159,6 @@
|
|||
pageIndex: 1,
|
||||
pageSize: 10000,
|
||||
}).then((res) => {
|
||||
console.log(135, res.items);
|
||||
// 初始化
|
||||
tableData3_tupian = [];
|
||||
treeData.value[2].children = [];
|
||||
|
|
@ -250,9 +249,9 @@
|
|||
let filter_hangfei: any = [];
|
||||
moveKey = null;
|
||||
|
||||
console.log(243, checkedKeys);
|
||||
console.log(243, checkedKeys_now);
|
||||
|
||||
if (checkedKeys && checkedKeys.length == 0) {
|
||||
if (!checkedKeys_now || checkedKeys_now.length == 0) {
|
||||
mapboxComponentRef.value.clearTaskLayer('GeoserverManagementRaster');
|
||||
mapboxComponentRef.value.clearTaskLayer('GeoTiffManagerRaster');
|
||||
mapboxComponentRef.value.clearTaskLayer('AchievementManageRaster');
|
||||
|
|
@ -283,9 +282,10 @@
|
|||
tableData2.forEach((data) => {
|
||||
if (checkedKey == data.id) {
|
||||
// 时间轴筛选数据
|
||||
// console.log(endTime, data);
|
||||
if (
|
||||
// dayjs(startTime).isBefore(data.createTime) &&
|
||||
dayjs(endTime).isAfter(data.createTime)
|
||||
dayjs(endTime).isAfter(dayjs(data.dateDir))
|
||||
) {
|
||||
filter_yingxiang.push(data);
|
||||
if (index == checkedKeys_move.length - 1) {
|
||||
|
|
@ -366,7 +366,7 @@
|
|||
}
|
||||
// 最后选中的有效项目,移动
|
||||
if (moveKey != null && !isTimeMove) {
|
||||
console.log(358, moveKey);
|
||||
// console.log(358, moveKey);
|
||||
if (moveKey.geometry) {
|
||||
let lngLat: any = moveKey.geometry.slice(6, -1);
|
||||
lngLat = lngLat.split(' ');
|
||||
|
|
@ -499,7 +499,7 @@
|
|||
|
||||
// 时间轴发生改变返回值
|
||||
function handleNowValueChange(value) {
|
||||
console.log(421, value);
|
||||
// console.log(421, value);
|
||||
startTime = dayjs(value[0]).startOf('year').format('YYYY-MM-DD HH:mm:ss');
|
||||
endTime = dayjs(value[1]).endOf('day').format('YYYY-MM-DD HH:mm:ss');
|
||||
isTimeMove = true;
|
||||
|
|
@ -587,7 +587,6 @@
|
|||
});
|
||||
nowImgs?.forEach((item, index) => {
|
||||
if (item.id == modalImage.value.id) {
|
||||
console.log(index);
|
||||
if (index != 0) {
|
||||
beforeImageVif.value = true;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue