From 22fb409623371b1c90db7fd85ceef47f5976d8c7 Mon Sep 17 00:00:00 2001 From: xuesinan <1404152492@qq.com> Date: Mon, 9 May 2022 18:59:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BA=A4=E4=BB=98=E7=89=A92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/tall/center/Index.vue | 8 +- .../p-deliver-check-second.vue | 376 ++++++++++++++---- .../p-deliver-second-detail.vue | 121 +++++- .../p-deliver-upload-second.vue | 4 +- 4 files changed, 431 insertions(+), 78 deletions(-) diff --git a/src/components/tall/center/Index.vue b/src/components/tall/center/Index.vue index ee6ec23..38bdba1 100644 --- a/src/components/tall/center/Index.vue +++ b/src/components/tall/center/Index.vue @@ -36,9 +36,11 @@ const tasksHeight = ref(null); // 定期任务高度 watch(globals, () => { nextTick(() => { - clientHeight.value = `${document.documentElement.clientHeight}`; // 获取浏览器可视区域高度 - globalHeight.value = globalRef.value.$el.clientHeight; - tasksHeight.value = clientHeight.value - 48 - 44 - 36 - globalHeight.value; + setTimeout(() => { + clientHeight.value = `${document.documentElement.clientHeight}`; // 获取浏览器可视区域高度 + globalHeight.value = globalRef.value.$el.clientHeight; + tasksHeight.value = clientHeight.value - 48 - 44 - 36 - globalHeight.value; + }, 30); }); }); diff --git a/src/plugins/p-deliver-second/p-deliver-check-second.vue b/src/plugins/p-deliver-second/p-deliver-check-second.vue index ab3db6f..4de8493 100644 --- a/src/plugins/p-deliver-second/p-deliver-check-second.vue +++ b/src/plugins/p-deliver-second/p-deliver-check-second.vue @@ -1,122 +1,326 @@ @@ -125,4 +329,34 @@ function openMoreRecords() { width: 40px !important; height: 40px !important; } + +.word-btn { + right: 10px; + bottom: 10px; + width: 30px; + height: 30px; + line-height: 28px; +} + +.word-item { + border-bottom: 1px solid #e5e7eb; +} + +.time-box { + width: 120px; +} + +.time-box view { + height: 15px; + border-radius: 2px; + margin: 2px 0; +} + +.time-box .duration-value { + height: 15px; + line-height: 15px; + font-size: 12px; + top: 0; + left: 0; +} diff --git a/src/plugins/p-deliver-second/p-deliver-second-detail.vue b/src/plugins/p-deliver-second/p-deliver-second-detail.vue index b593199..6c25303 100644 --- a/src/plugins/p-deliver-second/p-deliver-second-detail.vue +++ b/src/plugins/p-deliver-second/p-deliver-second-detail.vue @@ -38,12 +38,71 @@
+ + +
历史记录
+ +
+
+ +
+
{{ deliverName }}
+
{{ dayjs(+item.submitTime).format('MM-DD HH:mm') }}
+
+ + +
+ {{ item.details[0] }} +
+ + +
审核人
+
+
+
+ {{ checkItem.checkerName }} +
+
+ {{ checkItem.remark }} +
+
+ {{ dayjs(+checkItem.checkTime).format('MM-DD HH:mm') }} +
+
+ +
+
+
+ 默认值:{{ initialDuration / 3600000 }}小时 +
+
+
+ 工作量时长:{{ item.duration / 3600000 }}小时 +
+
+
+ 确认工作:{{ checkItem.checkDuration / 3600000 }}小时 +
+
+ +
+
待审核
+
+
已通过
+
{{ checkItem.score }}
+
+
已驳回
+
+
+
+
@@ -51,7 +110,7 @@