From 68ebf8f3117c1f54fe3202894dc37dd2dc1053d5 Mon Sep 17 00:00:00 2001
From: lizijiee <562949697@qq.com>
Date: Mon, 1 Apr 2024 23:31:14 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E5=8F=B3=E4=BE=A7?=
=?UTF-8?q?=E5=9B=BE=E7=89=87=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../worksheet/components/PictureInfo.vue | 183 ++++++++++++++++++
src/views/worksheet/content/Content.vue | 38 +---
2 files changed, 187 insertions(+), 34 deletions(-)
create mode 100644 src/views/worksheet/components/PictureInfo.vue
diff --git a/src/views/worksheet/components/PictureInfo.vue b/src/views/worksheet/components/PictureInfo.vue
new file mode 100644
index 0000000..a312527
--- /dev/null
+++ b/src/views/worksheet/components/PictureInfo.vue
@@ -0,0 +1,183 @@
+
+
+
+
+
+ 任务ID:{{ taskDetailInfo.taskname }}
+
+
+
+ 图片大小
+ {{ taskDetailInfo?.pictureInfo?.imgSize && (taskDetailInfo.pictureInfo.imgSize / 1000).toFixed(2) }}KB
+
+
+ 图片格式
+ {{ taskDetailInfo?.pictureInfo?.imgFormat }}
+
+
+ 图片尺寸
+ {{ taskDetailInfo?.pictureInfo?.imgMeasure }}
+
+
+ 色彩空间
+ {{ taskDetailInfo?.pictureInfo?.imgSpace }}
+
+
+ 提报人
+ {{ taskDetailInfo?.upname || "-" }}
+
+
+ 创建时间
+ {{ taskDetailInfo?.pictureInfo?.createTime }}
+
+
+ 提报时间
+ {{ taskDetailInfo?.submitDateTimestamp && format(taskDetailInfo.submitDateTimestamp, 'yyyy-MM-dd HH:mm:ss') || '-' }}
+
+
+ {{ fieldMap[key] }}
+ {{ value }}
+
+
+
+
+
+
diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue
index 825192f..aa732d6 100644
--- a/src/views/worksheet/content/Content.vue
+++ b/src/views/worksheet/content/Content.vue
@@ -4,7 +4,6 @@ import {
getPictureSimilarityList, getTaskDetailInfo
} from "@/api/work/work";
import NotPassed from '@/components/Approval/NotPassed.vue';
-import { fieldMap } from "@/config/workorder";
import { TASK_STATUS_OBJ } from '@/enums/index';
import { useWorkOrder } from "@/store/modules/workOrder";
import { isEmpty } from "@/utils";
@@ -17,6 +16,7 @@ import imagesloaded from "imagesloaded";
import { clone, debounce, pickBy } from "lodash-es";
import { useDialog, useMessage } from "naive-ui";
import { computed, onUnmounted, onUpdated, reactive, ref, unref, watch } from "vue";
+import PictureInfo from "../components/PictureInfo.vue";
import ConfrimModal from "../modal/ConfrimModal.vue";
import type { ApprovalParam, SimilarityPictureSortParam } from "/#/api";
@@ -486,18 +486,10 @@ function reloadList() {
-
+
待审批
已审批
{{
@@ -549,7 +541,8 @@ function reloadList() {
{{ propertys[key] }}
-
+ -->
+
@@ -669,29 +662,6 @@ function reloadList() {
}
}
- .right {
- display: flex;
- align-items: center;
-
- .btn {
- width: 118px;
- height: 36px;
- background: linear-gradient(135deg, #5b85f8, #3c6cf0);
- border-radius: 17px;
- box-shadow: 0px 2px 6px 0px rgba(116, 153, 253, 0.3);
- display: flex;
- align-items: center;
- justify-content: center;
- color: #fff;
- cursor: pointer;
- }
-
- .batch {
- display: flex;
- align-items: center;
- }
- }
-
.font {
font-size: 20px;
font-family: PingFang SC, PingFang SC-Medium;