|
|
|
@ -1,10 +1,6 @@
|
|
|
|
<script lang="ts" setup>
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import { audit } from '@/api/task/task'
|
|
|
|
import { audit } from '@/api/task/task'
|
|
|
|
import {
|
|
|
|
import { getPictureSimilarityList, getTaskDetailInfo } from '@/api/work/work'
|
|
|
|
dubiousfileyd,
|
|
|
|
|
|
|
|
getPictureSimilarityList,
|
|
|
|
|
|
|
|
getTaskDetailInfo,
|
|
|
|
|
|
|
|
} from '@/api/work/work'
|
|
|
|
|
|
|
|
import NotPassed from '@/components/Approval/NotPassed.vue'
|
|
|
|
import NotPassed from '@/components/Approval/NotPassed.vue'
|
|
|
|
import { TASK_STATUS_OBJ } from '@/enums/index'
|
|
|
|
import { TASK_STATUS_OBJ } from '@/enums/index'
|
|
|
|
import { useWorkOrder } from '@/store/modules/workOrder'
|
|
|
|
import { useWorkOrder } from '@/store/modules/workOrder'
|
|
|
|
@ -17,7 +13,7 @@ import { format } from 'date-fns'
|
|
|
|
import imagesloaded from 'imagesloaded'
|
|
|
|
import imagesloaded from 'imagesloaded'
|
|
|
|
import { clone, cloneDeep, debounce, pickBy } from 'lodash-es'
|
|
|
|
import { clone, cloneDeep, debounce, pickBy } from 'lodash-es'
|
|
|
|
import { useDialog, useMessage } from 'naive-ui'
|
|
|
|
import { useDialog, useMessage } from 'naive-ui'
|
|
|
|
import { computed, onMounted, onUnmounted, onUpdated, reactive, ref, unref, watch } from 'vue'
|
|
|
|
import { computed, onUnmounted, onUpdated, reactive, ref, unref, watch } from 'vue'
|
|
|
|
import PictureInfo from '../components/PictureInfo.vue'
|
|
|
|
import PictureInfo from '../components/PictureInfo.vue'
|
|
|
|
import ConfrimModal from '../modal/ConfrimModal.vue'
|
|
|
|
import ConfrimModal from '../modal/ConfrimModal.vue'
|
|
|
|
import type { ApprovalParam, SimilarityPictureSortParam } from '/#/api'
|
|
|
|
import type { ApprovalParam, SimilarityPictureSortParam } from '/#/api'
|
|
|
|
@ -76,7 +72,6 @@ const isFullScreen = ref(false)
|
|
|
|
const notPassModalRef = ref(null)
|
|
|
|
const notPassModalRef = ref(null)
|
|
|
|
const mainImageModalRef = ref(null)
|
|
|
|
const mainImageModalRef = ref(null)
|
|
|
|
const wrapperListRef = ref<HTMLElement | undefined>(undefined)
|
|
|
|
const wrapperListRef = ref<HTMLElement | undefined>(undefined)
|
|
|
|
let canloadMore = true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let processItems: any[] = []
|
|
|
|
let processItems: any[] = []
|
|
|
|
|
|
|
|
|
|
|
|
@ -139,9 +134,12 @@ async function featchList() {
|
|
|
|
loading.value = true
|
|
|
|
loading.value = true
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
taskpagination.pageNo += 1
|
|
|
|
taskpagination.pageNo += 1
|
|
|
|
const { data, total, pageCount } = await getPictureSimilarityList(
|
|
|
|
const { data, total, pageCount } = await getPictureSimilarityList({
|
|
|
|
{ ...taskpagination, ...sortBy, checkDuplicateId: workStore.activeId, pictureId: taskDetailInfo.value.id },
|
|
|
|
...taskpagination,
|
|
|
|
)
|
|
|
|
...sortBy,
|
|
|
|
|
|
|
|
checkDuplicateId: workStore.activeId,
|
|
|
|
|
|
|
|
pictureId: taskDetailInfo.value.id,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
totalCount.value = total
|
|
|
|
totalCount.value = total
|
|
|
|
canloadMore = pageCount >= taskpagination.pageNo && pageCount > 0
|
|
|
|
canloadMore = pageCount >= taskpagination.pageNo && pageCount > 0
|
|
|
|
@ -383,7 +381,7 @@ function handleApproveMainImage(items?: any) {
|
|
|
|
else { message.error(res.message) }
|
|
|
|
else { message.error(res.message) }
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onNegativeClick: () => { },
|
|
|
|
onNegativeClick: () => {},
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function approvalHandler(items?: any) {
|
|
|
|
function approvalHandler(items?: any) {
|
|
|
|
@ -433,7 +431,7 @@ function approvalHandler(items?: any) {
|
|
|
|
onPositiveClick: () => {
|
|
|
|
onPositiveClick: () => {
|
|
|
|
doAudit(param)
|
|
|
|
doAudit(param)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onNegativeClick: () => { },
|
|
|
|
onNegativeClick: () => {},
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -494,8 +492,20 @@ defineExpose({
|
|
|
|
批量审批
|
|
|
|
批量审批
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="icon-wrap">
|
|
|
|
<div class="icon-wrap">
|
|
|
|
<SvgIcon v-if="isFullScreen" size="20" name="power-off" style="cursor: pointer;" @click="immersionHandler" />
|
|
|
|
<SvgIcon
|
|
|
|
<SvgIcon v-else size="20" name="immersion-model" style="cursor: pointer;" @click="immersionHandler" />
|
|
|
|
v-if="isFullScreen"
|
|
|
|
|
|
|
|
size="20"
|
|
|
|
|
|
|
|
name="power-off"
|
|
|
|
|
|
|
|
style="cursor: pointer"
|
|
|
|
|
|
|
|
@click="immersionHandler"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<SvgIcon
|
|
|
|
|
|
|
|
v-else
|
|
|
|
|
|
|
|
size="20"
|
|
|
|
|
|
|
|
name="immersion-model"
|
|
|
|
|
|
|
|
style="cursor: pointer"
|
|
|
|
|
|
|
|
@click="immersionHandler"
|
|
|
|
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
@ -522,22 +532,24 @@ defineExpose({
|
|
|
|
<div class="wrapper-detail">
|
|
|
|
<div class="wrapper-detail">
|
|
|
|
<!-- 左侧大图 图片信息 -->
|
|
|
|
<!-- 左侧大图 图片信息 -->
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class="left" :style="{ 'background-image': `url(${taskDetailInfo?.serverThumbnailUrl || taskDetailInfo?.imgurl})` }" @click="showAction"
|
|
|
|
class="left"
|
|
|
|
|
|
|
|
:style="{ 'background-image': `url(${taskDetailInfo?.imgurl})` }"
|
|
|
|
|
|
|
|
@click="showAction"
|
|
|
|
@mouseleave="leaveTaskHandler"
|
|
|
|
@mouseleave="leaveTaskHandler"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div class="footer-times">
|
|
|
|
<div class="footer-times">
|
|
|
|
<div class="time" style="margin-bottom: 4px;">
|
|
|
|
<div class="time" style="margin-bottom: 4px">
|
|
|
|
<SvgIcon color="#FFF" size="16" name="camera" />
|
|
|
|
<SvgIcon color="#FFF" size="16" name="camera" />
|
|
|
|
<span>{{ taskDetailInfo?.photoDateTimestamp }}</span>
|
|
|
|
<span class="time-value">{{ taskDetailInfo?.photoDateTimestamp }} </span>
|
|
|
|
<!-- <span class="time-value">{{ taskDetailInfo?.photoDateTimestamp ? format(
|
|
|
|
|
|
|
|
taskDetailInfo.photoDateTimestamp, 'yyyy-MM-dd HH:mm:ss') : '-' }} </span> -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="time">
|
|
|
|
<div class="time">
|
|
|
|
<SvgIcon color="#FFF" size="16" name="save" />
|
|
|
|
<SvgIcon color="#FFF" size="16" name="save" />
|
|
|
|
<span class="time-value">{{
|
|
|
|
<span class="time-value">{{
|
|
|
|
taskDetailInfo?.submitDateTimestamp ? format(taskDetailInfo?.submitDateTimestamp, 'yyyy-MM-dd HH:mm:ss')
|
|
|
|
taskDetailInfo?.submitDateTimestamp
|
|
|
|
: '-'
|
|
|
|
? format(taskDetailInfo?.submitDateTimestamp, "yyyy-MM-dd HH:mm:ss")
|
|
|
|
}} </span>
|
|
|
|
: "-"
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="status">
|
|
|
|
<div class="status">
|
|
|
|
@ -555,22 +567,31 @@ defineExpose({
|
|
|
|
<n-grid x-gap="12" y-gap="10" :cols="12">
|
|
|
|
<n-grid x-gap="12" y-gap="10" :cols="12">
|
|
|
|
<n-gi span="4" class="gi1">
|
|
|
|
<n-gi span="4" class="gi1">
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
<img class="icon-status" src="@/assets/images/task/status.png" alt="">
|
|
|
|
<img
|
|
|
|
|
|
|
|
class="icon-status"
|
|
|
|
|
|
|
|
src="@/assets/images/task/status.png"
|
|
|
|
|
|
|
|
alt=""
|
|
|
|
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</n-gi>
|
|
|
|
</n-gi>
|
|
|
|
<n-gi span="8" class="gi2">
|
|
|
|
<n-gi span="8" class="gi2">
|
|
|
|
<span class="value">{{ TASK_STATUS_OBJ[taskDetailInfo.historyStates] }}</span>
|
|
|
|
<span class="value">{{
|
|
|
|
|
|
|
|
TASK_STATUS_OBJ[taskDetailInfo.historyStates]
|
|
|
|
|
|
|
|
}}</span>
|
|
|
|
<span class="label">审批状态</span>
|
|
|
|
<span class="label">审批状态</span>
|
|
|
|
</n-gi>
|
|
|
|
</n-gi>
|
|
|
|
<n-gi span="4" class="gi1">
|
|
|
|
<n-gi span="4" class="gi1">
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
<img class="icon-status" src="@/assets/images/task/similarity.png" alt="">
|
|
|
|
<img
|
|
|
|
|
|
|
|
class="icon-status"
|
|
|
|
|
|
|
|
src="@/assets/images/task/similarity.png"
|
|
|
|
|
|
|
|
alt=""
|
|
|
|
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</n-gi>
|
|
|
|
</n-gi>
|
|
|
|
<n-gi span="8" class="gi2">
|
|
|
|
<n-gi span="8" class="gi2">
|
|
|
|
<span class="value num">{{
|
|
|
|
<span class="value num">{{ totalCount }}<span class="unit">张</span>
|
|
|
|
totalCount
|
|
|
|
</span>
|
|
|
|
}}<span class="unit">张</span> </span>
|
|
|
|
|
|
|
|
<span class="label">相似匹配</span>
|
|
|
|
<span class="label">相似匹配</span>
|
|
|
|
</n-gi>
|
|
|
|
</n-gi>
|
|
|
|
</n-grid>
|
|
|
|
</n-grid>
|
|
|
|
@ -581,7 +602,11 @@ defineExpose({
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 预览大图组件 -->
|
|
|
|
<!-- 预览大图组件 -->
|
|
|
|
<div style="display: none">
|
|
|
|
<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>
|
|
|
|
<!-- 操作 -->
|
|
|
|
<!-- 操作 -->
|
|
|
|
<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">
|
|
|
|
@ -589,77 +614,123 @@ defineExpose({
|
|
|
|
<SvgIcon v-if="[1].includes(taskDetailInfo.historyStates)" style="cursor: pointer; margin-left: 30px" name="t2" @click.stop="handleRejectMainImage" />
|
|
|
|
<SvgIcon v-if="[1].includes(taskDetailInfo.historyStates)" style="cursor: pointer; margin-left: 30px" name="t2" @click.stop="handleRejectMainImage" />
|
|
|
|
<SvgIcon v-if="[1, 2, 3].includes(taskDetailInfo.historyStates)" style="cursor: pointer; margin-left: 30px" name="t9" @click.stop="handleRejectdubiousfileyd" />
|
|
|
|
<SvgIcon v-if="[1, 2, 3].includes(taskDetailInfo.historyStates)" style="cursor: pointer; margin-left: 30px" name="t9" @click.stop="handleRejectdubiousfileyd" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<PictureInfo :task-detail-info="taskDetailInfo" />
|
|
|
|
<PictureInfo :task-detail-info="taskDetailInfo" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="display: flex; justify-content: space-between; padding: 12px 0px 3px 0">
|
|
|
|
<div
|
|
|
|
|
|
|
|
style="display: flex; justify-content: space-between; padding: 12px 0px 3px 0"
|
|
|
|
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
<span
|
|
|
|
style="font-size: 18px; font-weight: Medium;color: #333333;font-family: PingFang SC, PingFang SC-Medium;"
|
|
|
|
style="font-size: 18px; font-weight: Medium;color: #333333;font-family: PingFang SC, PingFang SC-Medium;"
|
|
|
|
>任务包图片</span>
|
|
|
|
>任务包图片</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="display: flex; align-items: center;font-size: 14px;margin-right: 25px;color:#323233">
|
|
|
|
<div
|
|
|
|
|
|
|
|
style="
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
margin-right: 25px;
|
|
|
|
|
|
|
|
color: #323233;
|
|
|
|
|
|
|
|
"
|
|
|
|
|
|
|
|
>
|
|
|
|
<div style="cursor: pointer" @click="sortHandler('createdate')">
|
|
|
|
<div style="cursor: pointer" @click="sortHandler('createdate')">
|
|
|
|
<span>时间排序</span>
|
|
|
|
<span>时间排序</span>
|
|
|
|
<SvgIcon v-show="selectedSortName !== 'createdate'" style="margin-left: 5px" name="sort" size="12" />
|
|
|
|
<SvgIcon
|
|
|
|
<SvgIcon v-show="selectedSortName === 'createdate'" style="margin-left: 5px" name="active-sort" size="12" />
|
|
|
|
v-show="selectedSortName !== 'createdate'"
|
|
|
|
|
|
|
|
style="margin-left: 5px"
|
|
|
|
|
|
|
|
name="sort"
|
|
|
|
|
|
|
|
size="12"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<SvgIcon
|
|
|
|
|
|
|
|
v-show="selectedSortName === 'createdate'"
|
|
|
|
|
|
|
|
style="margin-left: 5px"
|
|
|
|
|
|
|
|
name="active-sort"
|
|
|
|
|
|
|
|
size="12"
|
|
|
|
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="margin-left: 15px; cursor: pointer" @click="sortHandler('similarityScore')">
|
|
|
|
<div
|
|
|
|
|
|
|
|
style="margin-left: 15px; cursor: pointer"
|
|
|
|
|
|
|
|
@click="sortHandler('similarityScore')"
|
|
|
|
|
|
|
|
>
|
|
|
|
<span>相似度排序</span>
|
|
|
|
<span>相似度排序</span>
|
|
|
|
<SvgIcon v-show="selectedSortName !== 'similarityScore'" style="margin-left: 5px" name="sort" size="12" />
|
|
|
|
|
|
|
|
<SvgIcon
|
|
|
|
<SvgIcon
|
|
|
|
v-show="selectedSortName === 'similarityScore'" style="margin-left: 5px" name="active-sort"
|
|
|
|
v-show="selectedSortName !== 'similarityScore'"
|
|
|
|
|
|
|
|
style="margin-left: 5px"
|
|
|
|
|
|
|
|
name="sort"
|
|
|
|
|
|
|
|
size="12"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<SvgIcon
|
|
|
|
|
|
|
|
v-show="selectedSortName === 'similarityScore'"
|
|
|
|
|
|
|
|
style="margin-left: 5px"
|
|
|
|
|
|
|
|
name="active-sort"
|
|
|
|
size="12"
|
|
|
|
size="12"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div ref="wrapperListRef" class="wrapper-list">
|
|
|
|
<div class="wrapper-list">
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
v-for="(item, index) in listData" :key="index" :class="{ 'item-selected': item === selectTask }"
|
|
|
|
v-for="(item, index) in listData"
|
|
|
|
class="grid-item" @click="handleSelect(item)" @mouseover="overTaskHandelr(item)"
|
|
|
|
:key="index"
|
|
|
|
|
|
|
|
:class="{ 'item-selected': item === selectTask }"
|
|
|
|
|
|
|
|
class="grid-item"
|
|
|
|
|
|
|
|
@click="handleSelect(item)"
|
|
|
|
|
|
|
|
@mouseover="overTaskHandelr(item)"
|
|
|
|
@mouseleave="leaveTaskHandler"
|
|
|
|
@mouseleave="leaveTaskHandler"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div class="img-wrapper" :style="{ 'background-image': `url(${item.imgurl})` }" />
|
|
|
|
<div
|
|
|
|
|
|
|
|
class="img-wrapper"
|
|
|
|
|
|
|
|
:style="{ 'background-image': `url(${item.imgurl})` }"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<div class="time-wrapper">
|
|
|
|
<div class="time-wrapper">
|
|
|
|
<div class="time">
|
|
|
|
<div class="time">
|
|
|
|
<SvgIcon color="#FFF" size="16" name="camera" />
|
|
|
|
<SvgIcon color="#FFF" size="16" name="camera" />
|
|
|
|
<span class="current-time">{{ item.photoDateTimestamp ? formatToDateHMS(Number(item.photoDateTimestamp)
|
|
|
|
<span class="current-time">{{
|
|
|
|
|| 0) : '-'
|
|
|
|
item.photoDateTimestamp
|
|
|
|
|
|
|
|
? formatToDateHMS(Number(item.photoDateTimestamp) || 0)
|
|
|
|
|
|
|
|
: "-"
|
|
|
|
}}</span>
|
|
|
|
}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="time">
|
|
|
|
<div class="time">
|
|
|
|
<SvgIcon color="#FFF" size="16" name="save" />
|
|
|
|
<SvgIcon color="#FFF" size="16" name="save" />
|
|
|
|
<span class="current-time">{{ item.submitDateTimestamp ? formatToDateHMS(Number(item.submitDateTimestamp)
|
|
|
|
<span class="current-time">{{
|
|
|
|
|| 0) : '-'
|
|
|
|
item.submitDateTimestamp
|
|
|
|
|
|
|
|
? formatToDateHMS(Number(item.submitDateTimestamp) || 0)
|
|
|
|
|
|
|
|
: "-"
|
|
|
|
}}</span>
|
|
|
|
}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="check">
|
|
|
|
<div class="check">
|
|
|
|
<n-checkbox
|
|
|
|
<n-checkbox
|
|
|
|
v-show="batch && item.historyStates !== 2 && item.historyStates !== 3"
|
|
|
|
v-show="batch && item.historyStates !== 2 && item.historyStates !== 3"
|
|
|
|
v-model:checked="item.checked" @click.stop @update:checked="onCheckChange($event, item)"
|
|
|
|
v-model:checked="item.checked"
|
|
|
|
|
|
|
|
@click.stop
|
|
|
|
|
|
|
|
@update:checked="onCheckChange($event, item)"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="percent" :class="{ 'percent-red': item?.maxSimilarity >= 100 }">
|
|
|
|
<div class="percent" :class="{ 'percent-red': item?.maxSimilarity >= 100 }">
|
|
|
|
<SvgIcon size="42" :name="item.maxSimilarity == 100 ? 'error_tag' : 'tag'" />
|
|
|
|
<SvgIcon size="42" :name="item.maxSimilarity == 100 ? 'error_tag' : 'tag'" />
|
|
|
|
<div class="val">
|
|
|
|
<div class="val">
|
|
|
|
{{ `${item?.maxSimilarity && Number(item?.maxSimilarity).toFixed(0)}%` }}
|
|
|
|
{{ item?.maxSimilarity && Number(item?.maxSimilarity).toFixed(0)
|
|
|
|
<!-- {{ item?.maxSimilarity && Number(item?.maxSimilarity).toFixed(0) }}<span class="percent-unit">%</span> -->
|
|
|
|
}}<span class="percent-unit">%</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div v-if="item.historyStates === 2" class="pass-status">
|
|
|
|
<div v-if="item.historyStates === 2" class="pass-status">
|
|
|
|
<SvgIcon name="pass-icon" style="width:52;height:24px" />
|
|
|
|
<SvgIcon name="pass-icon" style="width: 52; height: 24px" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div v-else-if="item.historyStates === 3" class="pass-status">
|
|
|
|
<div v-else-if="item.historyStates === 3" class="pass-status">
|
|
|
|
<SvgIcon name="no-pass-icon" style="width:52;height:24px" />
|
|
|
|
<SvgIcon name="no-pass-icon" style="width: 52; height: 24px" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<SvgIcon v-if="[1, 2, 3].includes(taskDetailInfo.historyStates)" style="cursor: pointer; margin-left: 30px" name="t9" @click.stop="handleRejectdubiousfileyd" />
|
|
|
|
<SvgIcon v-if="[1, 2, 3].includes(taskDetailInfo.historyStates)" style="cursor: pointer; margin-left: 30px" name="t9" @click.stop="handleRejectdubiousfileyd" />
|
|
|
|
|
|
|
|
|
|
|
|
<div v-show="overTask && overTask.id === item.id" class="action">
|
|
|
|
<div v-show="overTask && overTask.id === item.id" class="action">
|
|
|
|
<SvgIcon style="cursor: pointer" name="t1" @click.stop="approvalHandler" />
|
|
|
|
<SvgIcon style="cursor: pointer" name="t1" @click.stop="approvalHandler" />
|
|
|
|
<SvgIcon style="cursor: pointer;margin-left: 40px;" name="t2" @click.stop="singleRejectHandler(item)" />
|
|
|
|
<SvgIcon
|
|
|
|
|
|
|
|
style="cursor: pointer; margin-left: 40px"
|
|
|
|
|
|
|
|
name="t2"
|
|
|
|
|
|
|
|
@click.stop="singleRejectHandler(item)"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<SvgIcon v-if="[1, 2, 3].includes(taskDetailInfo.historyStates)" style="cursor: pointer; margin-left: 30px" name="t9" @click.stop="handleRejectdubiousfileyd" />
|
|
|
|
<SvgIcon v-if="[1, 2, 3].includes(taskDetailInfo.historyStates)" style="cursor: pointer; margin-left: 30px" name="t9" @click.stop="handleRejectdubiousfileyd" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@ -678,6 +749,7 @@ defineExpose({
|
|
|
|
</n-back-top>
|
|
|
|
</n-back-top>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</n-spin>
|
|
|
|
</n-spin>
|
|
|
|
<ConfrimModal ref="confrimModalRef" @commit="reject" />
|
|
|
|
<ConfrimModal ref="confrimModalRef" @commit="reject" />
|
|
|
|
<NotPassed ref="notPassModalRef" @success="reloadList" />
|
|
|
|
<NotPassed ref="notPassModalRef" @success="reloadList" />
|
|
|
|
@ -796,7 +868,7 @@ defineExpose({
|
|
|
|
z-index: 3;
|
|
|
|
z-index: 3;
|
|
|
|
width: 30px;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
height: 30px;
|
|
|
|
background: rgba(255, 255, 255, 0.20);
|
|
|
|
background: rgba(255, 255, 255, 0.2);
|
|
|
|
border-radius: 6px;
|
|
|
|
border-radius: 6px;
|
|
|
|
backdrop-filter: blur(10px);
|
|
|
|
backdrop-filter: blur(10px);
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
@ -836,7 +908,11 @@ defineExpose({
|
|
|
|
.footer-times {
|
|
|
|
.footer-times {
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
height: 80px;
|
|
|
|
height: 80px;
|
|
|
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.71) 100%);
|
|
|
|
background: linear-gradient(
|
|
|
|
|
|
|
|
180deg,
|
|
|
|
|
|
|
|
rgba(0, 0, 0, 0.01),
|
|
|
|
|
|
|
|
rgba(0, 0, 0, 0.71) 100%
|
|
|
|
|
|
|
|
);
|
|
|
|
border-radius: 0px 8px 8px 0px;
|
|
|
|
border-radius: 0px 8px 8px 0px;
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
bottom: 0;
|
|
|
|
@ -888,7 +964,7 @@ defineExpose({
|
|
|
|
justify-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: 30px;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
height: 30px;
|
|
|
|
background: rgba(80, 122, 253, .1);
|
|
|
|
background: rgba(80, 122, 253, 0.1);
|
|
|
|
border-radius: 8px;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-left: 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
@ -927,7 +1003,6 @@ defineExpose({
|
|
|
|
.unit {
|
|
|
|
.unit {
|
|
|
|
font-size: 11px;
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -989,18 +1064,18 @@ defineExpose({
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tag-submited {
|
|
|
|
.tag-submited {
|
|
|
|
color: #507AFD;
|
|
|
|
color: #507afd;
|
|
|
|
border: 1px solid #507AFD;
|
|
|
|
border: 1px solid #507afd;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tag-submiting {
|
|
|
|
.tag-submiting {
|
|
|
|
color: #FFB800;
|
|
|
|
color: #ffb800;
|
|
|
|
border: 1px solid #FFB800;
|
|
|
|
border: 1px solid #ffb800;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tag-passed {
|
|
|
|
.tag-passed {
|
|
|
|
color: #02C984;
|
|
|
|
color: #02c984;
|
|
|
|
border: 1px solid #02C984;
|
|
|
|
border: 1px solid #02c984;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tag-not-passed {
|
|
|
|
.tag-not-passed {
|
|
|
|
@ -1028,7 +1103,8 @@ defineExpose({
|
|
|
|
margin-right: 32px;
|
|
|
|
margin-right: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.top {}
|
|
|
|
.top {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.property-content {
|
|
|
|
.property-content {
|
|
|
|
flex: 1;
|
|
|
|
flex: 1;
|
|
|
|
@ -1070,7 +1146,11 @@ defineExpose({
|
|
|
|
bottom: 9px;
|
|
|
|
bottom: 9px;
|
|
|
|
width: calc(100% - 11px);
|
|
|
|
width: calc(100% - 11px);
|
|
|
|
height: 58px;
|
|
|
|
height: 58px;
|
|
|
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.71) 100%);
|
|
|
|
background: linear-gradient(
|
|
|
|
|
|
|
|
180deg,
|
|
|
|
|
|
|
|
rgba(0, 0, 0, 0.01),
|
|
|
|
|
|
|
|
rgba(0, 0, 0, 0.71) 100%
|
|
|
|
|
|
|
|
);
|
|
|
|
border-radius: 8px;
|
|
|
|
border-radius: 8px;
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
@ -1170,7 +1250,10 @@ defineExpose({
|
|
|
|
justify-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
background-color: rgba(0, 0, 0, 0.48);
|
|
|
|
background-color: rgba(0, 0, 0, 0.48);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=======
|
|
|
|
|
|
|
|
>>>>>>> test
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|