|
|
|
@ -5,6 +5,7 @@ getTaskDetailPictureList,
|
|
|
|
|
setTF
|
|
|
|
|
} from "@/api/work/work";
|
|
|
|
|
import { fieldMap } from "@/config/workorder";
|
|
|
|
|
import { TASK_STATUS_OBJ } from '@/enums/index';
|
|
|
|
|
import { useWorkOrder } from "@/store/modules/workOrder";
|
|
|
|
|
import { isEmpty } from "@/utils";
|
|
|
|
|
import { formatToDateHMS } from "@/utils/dateUtil";
|
|
|
|
@ -133,7 +134,7 @@ function trueHandler() {
|
|
|
|
|
onPositiveClick: () => {
|
|
|
|
|
setTrue();
|
|
|
|
|
},
|
|
|
|
|
onNegativeClick: () => {},
|
|
|
|
|
onNegativeClick: () => { },
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -207,7 +208,7 @@ async function refreshHandler() {
|
|
|
|
|
|
|
|
|
|
useInfiniteScroll(
|
|
|
|
|
el as any,
|
|
|
|
|
() => {
|
|
|
|
|
() => {
|
|
|
|
|
loadMore();
|
|
|
|
|
},
|
|
|
|
|
{ distance: 10, canLoadMore: () => canloadMore }
|
|
|
|
@ -222,14 +223,14 @@ async function loadMore() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
async function featchList() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loading.value = true;
|
|
|
|
|
try {
|
|
|
|
|
taskpagination.pageNo += 1;
|
|
|
|
|
const { data, total, pageCount } = await getTaskDetailPictureList(
|
|
|
|
|
{ ...taskpagination, ...sortBy ,checkDuplicateId: workStore.activeId}
|
|
|
|
|
{ ...taskpagination, ...sortBy, checkDuplicateId: workStore.activeId }
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
totalCount.value = total;
|
|
|
|
|
canloadMore = pageCount >= taskpagination.pageNo && pageCount > 0;
|
|
|
|
|
|
|
|
|
@ -297,7 +298,7 @@ async function queryDetail(checkDuplicateId: any) {
|
|
|
|
|
refreshHandler();
|
|
|
|
|
}
|
|
|
|
|
async function handleSelect(item: any) {
|
|
|
|
|
taskDetailInfo.value = await getTaskDetailInfo( workStore.activeId);
|
|
|
|
|
taskDetailInfo.value = await getTaskDetailInfo(workStore.activeId);
|
|
|
|
|
|
|
|
|
|
const packageid = workStore.getActiveId;
|
|
|
|
|
|
|
|
|
@ -334,7 +335,7 @@ async function clearHandler() {
|
|
|
|
|
onPositiveClick: () => {
|
|
|
|
|
clearMark();
|
|
|
|
|
},
|
|
|
|
|
onNegativeClick: () => {},
|
|
|
|
|
onNegativeClick: () => { },
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -367,7 +368,7 @@ onUnmounted(() => {
|
|
|
|
|
|
|
|
|
|
function getPercent(pictureid: string) {
|
|
|
|
|
const { ocpictureid, pictureresult } = taskDetailInfo.value;
|
|
|
|
|
const index = ocpictureid ? ocpictureid.split(",").indexOf(String(pictureid)):'';
|
|
|
|
|
const index = ocpictureid ? ocpictureid.split(",").indexOf(String(pictureid)) : '';
|
|
|
|
|
const results = pictureresult ? pictureresult.split(",") : '';
|
|
|
|
|
const percent = results[index] || "0";
|
|
|
|
|
const val = Math.floor(Number.parseFloat(percent));
|
|
|
|
@ -418,12 +419,7 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
<SvgIcon style="margin-right: 6px" size="14" name="tf" />
|
|
|
|
|
辨别真假
|
|
|
|
|
</div>
|
|
|
|
|
<SvgIcon
|
|
|
|
|
style="cursor: pointer"
|
|
|
|
|
size="20"
|
|
|
|
|
name="immersion-model"
|
|
|
|
|
@click="immersionHandler"
|
|
|
|
|
/>
|
|
|
|
|
<SvgIcon style="cursor: pointer" size="20" name="immersion-model" @click="immersionHandler" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div v-show="showActions" class="batch">
|
|
|
|
@ -447,157 +443,116 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
<n-spin :show="loading">
|
|
|
|
|
<div ref="el" class="scroll">
|
|
|
|
|
<div class="wrapper-detail">
|
|
|
|
|
<div
|
|
|
|
|
class="left"
|
|
|
|
|
:style="{ 'background-image': `url(${taskDetailInfo?.imgurl})` }"
|
|
|
|
|
@click="showAction"
|
|
|
|
|
@mouseleave="leaveTaskHandler"
|
|
|
|
|
>
|
|
|
|
|
<!-- 左侧大图 图片信息 -->
|
|
|
|
|
<div class="left" :style="{ 'background-image': `url(${taskDetailInfo?.imgurl})` }" @click="showAction"
|
|
|
|
|
@mouseleave="leaveTaskHandler">
|
|
|
|
|
<!-- 真假标记 -->
|
|
|
|
|
<div class="mark">
|
|
|
|
|
<SvgIcon
|
|
|
|
|
v-show="taskDetailInfo?.iztrueorfalse === 0"
|
|
|
|
|
size="128"
|
|
|
|
|
name="jia"
|
|
|
|
|
/>
|
|
|
|
|
<SvgIcon v-show="taskDetailInfo?.iztrueorfalse === 0" size="128" name="jia" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="mark">
|
|
|
|
|
<SvgIcon
|
|
|
|
|
v-show="taskDetailInfo?.iztrueorfalse === 1"
|
|
|
|
|
size="128"
|
|
|
|
|
name="zhen"
|
|
|
|
|
/>
|
|
|
|
|
<SvgIcon v-show="taskDetailInfo?.iztrueorfalse === 1" size="128" name="zhen" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer-times">
|
|
|
|
|
<div class="time" style="margin-bottom: 4px;">
|
|
|
|
|
<SvgIcon color="#FFF" size="16" name="camera" />
|
|
|
|
|
<span class="time-value">{{ taskDetailInfo.createTime }} </span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="time">
|
|
|
|
|
<SvgIcon color="#FFF" size="16" name="save" />
|
|
|
|
|
<span class="time-value">{{ taskDetailInfo.createTime }} </span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="time">
|
|
|
|
|
<SvgIcon color="#FFF" size="16" name="time" />
|
|
|
|
|
<span>{{ taskDetailInfo.createTime }} </span>
|
|
|
|
|
<div class="status">
|
|
|
|
|
<img v-show="taskDetailInfo?.states === 3" class="img-status" src="@/assets/images/task/pass.png" alt="">
|
|
|
|
|
<img v-show="taskDetailInfo?.states === 5" class="img-status" src="@/assets/images/task/not_pass.png"
|
|
|
|
|
alt="">
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 右下信息 -->
|
|
|
|
|
<div class="info">
|
|
|
|
|
<n-grid x-gap="16" y-gap="0" :cols="12">
|
|
|
|
|
<!-- <n-gi span="4">
|
|
|
|
|
<span style="color: #8b8d8f">
|
|
|
|
|
<SvgIcon name="m1" />
|
|
|
|
|
<div class="info img-info">
|
|
|
|
|
<n-grid x-gap="12" y-gap="10" :cols="12">
|
|
|
|
|
<n-gi span="4" class="gi1">
|
|
|
|
|
<span>
|
|
|
|
|
<img class="icon-status" src="@/assets/images/task/status.png" alt="">
|
|
|
|
|
</span>
|
|
|
|
|
</n-gi>
|
|
|
|
|
<n-gi
|
|
|
|
|
span="8"
|
|
|
|
|
style="
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: left;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<span>{{ mark }}</span>
|
|
|
|
|
<span>图片标记</span>
|
|
|
|
|
</n-gi> -->
|
|
|
|
|
<n-gi span="4">
|
|
|
|
|
<span style="color: #8b8d8f">
|
|
|
|
|
<SvgIcon name="m2" />
|
|
|
|
|
<n-gi span="8" class="gi2">
|
|
|
|
|
<span class="value">{{ TASK_STATUS_OBJ[taskDetailInfo.states] }}</span>
|
|
|
|
|
<span class="label">审批状态</span>
|
|
|
|
|
</n-gi>
|
|
|
|
|
<n-gi span="4" class="gi1">
|
|
|
|
|
<span>
|
|
|
|
|
<img class="icon-status" src="@/assets/images/task/similarity.png" alt="">
|
|
|
|
|
</span>
|
|
|
|
|
</n-gi>
|
|
|
|
|
<n-gi
|
|
|
|
|
span="8"
|
|
|
|
|
style="
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: left;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<span>{{ totalCount }}</span>
|
|
|
|
|
<span>相似匹配</span>
|
|
|
|
|
<n-gi span="8" class="gi2">
|
|
|
|
|
<span class="value num">{{
|
|
|
|
|
totalCount
|
|
|
|
|
}}<span class="unit">张</span> </span>
|
|
|
|
|
<span class="label">相似匹配</span>
|
|
|
|
|
</n-gi>
|
|
|
|
|
</n-grid>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 右上点击大图 -->
|
|
|
|
|
<div class="preview" @click="previewHandler">
|
|
|
|
|
<SvgIcon size="30" name="zoom-out" />
|
|
|
|
|
<SvgIcon size="16" name="zoom-out" />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 预览大图组件 -->
|
|
|
|
|
<div style="display: none">
|
|
|
|
|
<n-image
|
|
|
|
|
ref="imageRef"
|
|
|
|
|
:img-props="{ onClick: hideDownload }"
|
|
|
|
|
:src="taskDetailInfo?.imgurl"
|
|
|
|
|
/>
|
|
|
|
|
<n-image ref="imageRef" :img-props="{ onClick: hideDownload }" :src="taskDetailInfo?.imgurl" />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 操作 -->
|
|
|
|
|
<div
|
|
|
|
|
v-show="overTask && overTask.id === taskDetailInfo.id"
|
|
|
|
|
class="action"
|
|
|
|
|
@click.stop="hideAction"
|
|
|
|
|
>
|
|
|
|
|
<div v-show="overTask && overTask.id === taskDetailInfo.id" class="action" @click.stop="hideAction">
|
|
|
|
|
<SvgIcon style="cursor: pointer" name="t1" @click.stop="trueHandler" />
|
|
|
|
|
<SvgIcon
|
|
|
|
|
style="cursor: pointer; margin-left: 30px"
|
|
|
|
|
name="t2"
|
|
|
|
|
@click.stop="falseHandler"
|
|
|
|
|
/>
|
|
|
|
|
<SvgIcon style="cursor: pointer; margin-left: 30px" name="t2" @click.stop="falseHandler" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 右侧任务 标题信息 -->
|
|
|
|
|
<div class="right">
|
|
|
|
|
<n-scrollbar style="max-height: 100%">
|
|
|
|
|
<span class="name">任务ID:{{taskDetailInfo.taskname}}</span>
|
|
|
|
|
<span class="task-name">任务ID:{{ taskDetailInfo.taskname }}</span>
|
|
|
|
|
<div class="tags">
|
|
|
|
|
<div class="tag tag-actived">重复图片</div>
|
|
|
|
|
<div class="tag">基线任务</div>
|
|
|
|
|
<div class="tag tag-approved">已审批</div>
|
|
|
|
|
<div class="tag tag-passed">通过</div>
|
|
|
|
|
</div>
|
|
|
|
|
<n-divider />
|
|
|
|
|
<n-divider class="divider-line" />
|
|
|
|
|
<div class="property">
|
|
|
|
|
<span class="property-name top" style=" color: #666666"
|
|
|
|
|
>图片大小
|
|
|
|
|
<span class="property-name top" style=" color: #666666">图片大小
|
|
|
|
|
</span>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px"
|
|
|
|
|
>{{ taskDetailInfo?.pictureInfo && (taskDetailInfo?.pictureInfo?.imgSize /1000).toFixed(2) }}KB</span
|
|
|
|
|
>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px">{{ taskDetailInfo?.pictureInfo &&
|
|
|
|
|
(taskDetailInfo?.pictureInfo?.imgSize / 1000).toFixed(2) }}KB</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="property">
|
|
|
|
|
<span class="property-name top" style=" color: #666666"
|
|
|
|
|
>图片格式
|
|
|
|
|
<span class="property-name top" style=" color: #666666">图片格式
|
|
|
|
|
</span>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px"
|
|
|
|
|
>{{ taskDetailInfo?.pictureInfo?.imgFormat }}</span
|
|
|
|
|
>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px">{{ taskDetailInfo?.pictureInfo?.imgFormat }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="property">
|
|
|
|
|
<span class="property-name top" style=" color: #666666"
|
|
|
|
|
>图片尺寸
|
|
|
|
|
<span class="property-name top" style=" color: #666666">图片尺寸
|
|
|
|
|
</span>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px"
|
|
|
|
|
>{{ taskDetailInfo?.pictureInfo?.imgMeasure }}</span
|
|
|
|
|
>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px">{{ taskDetailInfo?.pictureInfo?.imgMeasure }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="property">
|
|
|
|
|
<span class="property-name top" style=" color: #666666"
|
|
|
|
|
>色彩空间
|
|
|
|
|
<span class="property-name top" style=" color: #666666">色彩空间
|
|
|
|
|
</span>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px"
|
|
|
|
|
>{{ taskDetailInfo?.pictureInfo?.imgSpace }}</span
|
|
|
|
|
>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px">{{ taskDetailInfo?.pictureInfo?.imgSpace }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="property">
|
|
|
|
|
<span class="property-name top" style=" color: #666666"
|
|
|
|
|
>提报人
|
|
|
|
|
<span class="property-name top" style=" color: #666666">提报人
|
|
|
|
|
</span>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px"
|
|
|
|
|
>{{ taskDetailInfo?.pictureInfo?.source || "-" }}</span
|
|
|
|
|
>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px">{{ taskDetailInfo?.pictureInfo?.source || "-" }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="property">
|
|
|
|
|
<span class="property-name top" style=" color: #666666"
|
|
|
|
|
>创建时间
|
|
|
|
|
<span class="property-name top" style=" color: #666666">创建时间
|
|
|
|
|
</span>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px"
|
|
|
|
|
>{{ taskDetailInfo?.pictureInfo && format(taskDetailInfo?.pictureInfo?.createTime, 'yyyy-MM-dd HH:mm:ss')}}</span>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px">{{ taskDetailInfo?.pictureInfo &&
|
|
|
|
|
format(taskDetailInfo?.pictureInfo?.createTime, 'yyyy-MM-dd HH:mm:ss') }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="property">
|
|
|
|
|
<span class="property-name top" style=" color: #666666"
|
|
|
|
|
>提报时间
|
|
|
|
|
<span class="property-name top" style=" color: #666666">提报时间
|
|
|
|
|
</span>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px"
|
|
|
|
|
>{{ taskDetailInfo?.uploadTime && format(taskDetailInfo?.pictureInfo?.uploadTime, 'yyyy-MM-dd HH:mm:ss') || '-'}}</span>
|
|
|
|
|
<span style=" color: #333333; font-size: 16px">{{ taskDetailInfo?.uploadTime &&
|
|
|
|
|
format(taskDetailInfo?.pictureInfo?.uploadTime, 'yyyy-MM-dd HH:mm:ss') || '-' }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-for="key in Object.keys(propertys)" :key="key" class="property">
|
|
|
|
|
<span class="property-name">{{ fieldMap[key] }}</span>
|
|
|
|
@ -608,65 +563,57 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
</div>
|
|
|
|
|
<div style="display: flex; justify-content: space-between; padding: 12px 0px">
|
|
|
|
|
<div>
|
|
|
|
|
<span style="font-size: 21px; font-weight: bold">相似图片</span
|
|
|
|
|
><span>({{ totalCount }})</span>
|
|
|
|
|
<!-- <span style="font-size: 21px; font-weight: bold">任务包图片</span><span>({{ totalCount }})</span> -->
|
|
|
|
|
<span
|
|
|
|
|
style="font-size: 18px; font-weight: Medium;color: #333333;font-family: PingFang SC, PingFang SC-Medium;">任务包图片</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="display: flex; align-items: center">
|
|
|
|
|
<div style="cursor: pointer" @click="sortHandler('createdate')">
|
|
|
|
|
<span>按时间排序</span>
|
|
|
|
|
<span>时间排序</span>
|
|
|
|
|
<SvgIcon style="margin-left: 8px" name="sort" size="12" />
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
style="margin-left: 15px; cursor: pointer"
|
|
|
|
|
@click="sortHandler('similarityScore')"
|
|
|
|
|
>
|
|
|
|
|
<div style="margin-left: 15px; cursor: pointer" @click="sortHandler('similarityScore')">
|
|
|
|
|
<span>相似度排序</span>
|
|
|
|
|
<SvgIcon style="margin-left: 8px" name="sort" size="12" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="wrapper-list">
|
|
|
|
|
<div
|
|
|
|
|
v-for="(item, index) in listData"
|
|
|
|
|
:key="index"
|
|
|
|
|
:class="{ 'item-selected': item === selectTask }"
|
|
|
|
|
class="grid-item"
|
|
|
|
|
@click="handleSelect(item)"
|
|
|
|
|
@mouseover="overTaskHandelr(item)"
|
|
|
|
|
@mouseleave="leaveTaskHandler"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
class="img-wrapper"
|
|
|
|
|
:style="{ 'background-image': `url(${item.imgurl})` }"
|
|
|
|
|
/>
|
|
|
|
|
<div class="time">
|
|
|
|
|
<SvgIcon color="#FFF" size="16" name="time" />
|
|
|
|
|
<span>{{ formatToDateHMS(item.createdate || 0) }}</span>
|
|
|
|
|
<div v-for="(item, index) in listData" :key="index" :class="{ 'item-selected': item === selectTask }"
|
|
|
|
|
class="grid-item" @click="handleSelect(item)" @mouseover="overTaskHandelr(item)"
|
|
|
|
|
@mouseleave="leaveTaskHandler">
|
|
|
|
|
<div class="img-wrapper" :style="{ 'background-image': `url(${item.imgurl})` }" />
|
|
|
|
|
<div class="time-wrapper">
|
|
|
|
|
<div class="time">
|
|
|
|
|
<SvgIcon color="#FFF" size="16" name="camera" />
|
|
|
|
|
<span class="current-time">{{ item.photoDateTimestamp ? formatToDateHMS(item.photoDateTimestamp || 0) : ''
|
|
|
|
|
}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="time">
|
|
|
|
|
<SvgIcon color="#FFF" size="16" name="save" />
|
|
|
|
|
<span class="current-time">{{ item.submitDateTimestamp ? formatToDateHMS(item.submitDateTimestamp || 0) : ''
|
|
|
|
|
}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="check">
|
|
|
|
|
<n-checkbox
|
|
|
|
|
v-show="batch"
|
|
|
|
|
v-model:checked="item.checked"
|
|
|
|
|
@click.stop
|
|
|
|
|
@update:checked="onCheckChange($event, item)"
|
|
|
|
|
/>
|
|
|
|
|
<n-checkbox v-show="batch" v-model:checked="item.checked" @click.stop
|
|
|
|
|
@update:checked="onCheckChange($event, item)" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="percent">
|
|
|
|
|
<SvgIcon size="42" name="tag" />
|
|
|
|
|
<div class="val">
|
|
|
|
|
{{ item?.maxSimilarity && Number(item?.maxSimilarity).toFixed(0) }}%
|
|
|
|
|
{{ item?.maxSimilarity && Number(item?.maxSimilarity).toFixed(0) }}%
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="pass-status">
|
|
|
|
|
<SvgIcon name="pass-icon" style="width:52;height:24px"/>
|
|
|
|
|
</div> -->
|
|
|
|
|
<!-- <div class="pass-status">
|
|
|
|
|
<SvgIcon name="no-pass-icon" style="width:52;height:24px"/>
|
|
|
|
|
</div>-->
|
|
|
|
|
<!-- <div class="pass-status">
|
|
|
|
|
<SvgIcon name="repeat-icon" style="width:52;height:24px"/>
|
|
|
|
|
</div> -->
|
|
|
|
|
|
|
|
|
|
<div class="pass-status" v-if="item.historyStates === 1">
|
|
|
|
|
<SvgIcon name="repeat-icon" style="width:52;height:24px" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pass-status" v-else-if="item.historyStates === 2">
|
|
|
|
|
<SvgIcon name="pass-icon" style="width:52;height:24px" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pass-status" v-else-if="item.historyStates === 3">
|
|
|
|
|
<SvgIcon name="no-pass-icon" style="width:52;height:24px" />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="mark">
|
|
|
|
|
<SvgIcon name="jia" />
|
|
|
|
|
</div>
|
|
|
|
@ -752,20 +699,19 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.font {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #333333;
|
|
|
|
|
line-height: 25px;
|
|
|
|
|
margin-left: 12px;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
font-family: PingFang SC, PingFang SC-Medium;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #0d0b22;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-detail {
|
|
|
|
|
display: flex;
|
|
|
|
|
height: calc((100vh - 88px - 72px) / 2);
|
|
|
|
|
height: 350px;
|
|
|
|
|
|
|
|
|
|
.left {
|
|
|
|
|
flex: 1;
|
|
|
|
|
flex: 0.6;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
background-position: center;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
@ -774,13 +720,14 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
|
|
|
|
|
.preview {
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 3;
|
|
|
|
|
right: 10px;
|
|
|
|
|
top: 10px;
|
|
|
|
|
width: 50px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.6);
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
z-index: 3;
|
|
|
|
|
width: 30px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
background: rgba(255, 255, 255, 0.20);
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
backdrop-filter: blur(10px);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
@ -803,16 +750,40 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.info {
|
|
|
|
|
.status {
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 3;
|
|
|
|
|
right: 2%;
|
|
|
|
|
bottom: 2%;
|
|
|
|
|
width: 136px;
|
|
|
|
|
height: 60px;
|
|
|
|
|
opacity: 0.44;
|
|
|
|
|
background: rgba(216, 216, 216, 0.4);
|
|
|
|
|
border-radius: 7px;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
|
|
.img-status {
|
|
|
|
|
width: 133px;
|
|
|
|
|
height: 129px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer-times {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 80px;
|
|
|
|
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.71) 100%);
|
|
|
|
|
border-radius: 0px 8px 8px 0px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
padding-left: 17px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-weight: Medium;
|
|
|
|
|
|
|
|
|
|
.time {
|
|
|
|
|
color: white;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
line-height: 21px;
|
|
|
|
|
|
|
|
|
|
&-value {
|
|
|
|
|
margin-left: 7px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.action {
|
|
|
|
@ -826,27 +797,102 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
justify-content: center;
|
|
|
|
|
background-color: rgba(102, 102, 102, 0.5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.info {
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 3;
|
|
|
|
|
right: 2%;
|
|
|
|
|
bottom: 2%;
|
|
|
|
|
width: 136px;
|
|
|
|
|
height: 119px;
|
|
|
|
|
background: rgba(216, 216, 216, 0.4);
|
|
|
|
|
border-radius: 7px;
|
|
|
|
|
padding: 16px 0 0 23px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.img-info {
|
|
|
|
|
color: lime !important;
|
|
|
|
|
|
|
|
|
|
.icon-status {
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.label {
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
font-family: PingFang SC, PingFang SC-Medium;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.value {
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-family: PingFang SC, PingFang SC-Semibold;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.num {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-family: PingFang SC, PingFang SC-Semibold;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.unit {
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.right {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
background: #fafafa;
|
|
|
|
|
// flex: 1;
|
|
|
|
|
// display: flex;
|
|
|
|
|
// flex-direction: column;
|
|
|
|
|
// justify-content: space-between;
|
|
|
|
|
// // background: #fafafa;
|
|
|
|
|
|
|
|
|
|
// border-radius: 8px;
|
|
|
|
|
// margin-left: 20px;
|
|
|
|
|
// padding: 24px;
|
|
|
|
|
// width: 24vw;
|
|
|
|
|
flex: 0.5;
|
|
|
|
|
background: #f9f9f9;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
margin-left: 20px;
|
|
|
|
|
padding: 24px;
|
|
|
|
|
// background: lime;
|
|
|
|
|
|
|
|
|
|
.name {
|
|
|
|
|
font-size: 22px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
.task-name {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 100%;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
color: #0d0b22;
|
|
|
|
|
line-height: 25px;
|
|
|
|
|
font-family: PingFang SC, PingFang SC-Medium;
|
|
|
|
|
font-weight: Medium;
|
|
|
|
|
max-width: 445px;
|
|
|
|
|
/* 设置文本溢出时的样式为省略号 */
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
/* 隐藏超出容器的文本 */
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
/* 确保文本不换行 */
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ::v-deep(.n-divider:not(.n-divider--vertical)) {
|
|
|
|
|
|
|
|
|
|
::v-deep(.divider-line .n-divider__line) {
|
|
|
|
|
background-color: #e8e8e8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tags {
|
|
|
|
|
display: flex;
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
@ -860,26 +906,32 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
line-height: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tag-actived {
|
|
|
|
|
color: #fe9800;
|
|
|
|
|
border: 1px solid #fe9800;
|
|
|
|
|
.tag-passed {
|
|
|
|
|
color: #02C984;
|
|
|
|
|
border: 1px solid #02C984;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tag-approved {
|
|
|
|
|
color: #507afd;
|
|
|
|
|
border: 1px solid #507afd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.property {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.property-name {
|
|
|
|
|
width: 100px;
|
|
|
|
|
width: 56px;
|
|
|
|
|
text-align: right;
|
|
|
|
|
color: #999999;
|
|
|
|
|
position: relative;
|
|
|
|
|
margin-right: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.top {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
.top {}
|
|
|
|
|
|
|
|
|
|
.property-content {
|
|
|
|
|
flex: 1;
|
|
|
|
@ -916,6 +968,26 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.time-wrapper {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 58px;
|
|
|
|
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.71) 100%);
|
|
|
|
|
border-radius: 0px 8px 8px 0px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-weight: Medium;
|
|
|
|
|
padding-left: 12px;
|
|
|
|
|
color: white;
|
|
|
|
|
|
|
|
|
|
.time .current-time {
|
|
|
|
|
margin-left: 9px;
|
|
|
|
|
font-weight: Medium;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.check {
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 3;
|
|
|
|
@ -927,7 +999,7 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
position: absolute;
|
|
|
|
|
text-align: center;
|
|
|
|
|
z-index: 3;
|
|
|
|
|
right: 12px;
|
|
|
|
|
right: 17px;
|
|
|
|
|
top: 2px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
|
@ -949,11 +1021,13 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pass-status {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0px;
|
|
|
|
|
top: 14px;
|
|
|
|
|
top: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mark {
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 3;
|
|
|
|
@ -984,6 +1058,8 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
background-color: #666666;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -992,14 +1068,4 @@ function previewHandler(event: MouseEvent) {
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.time {
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 3;
|
|
|
|
|
left: 5%;
|
|
|
|
|
bottom: 5%;
|
|
|
|
|
color: #fff;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|