-
-
-
{{ formatToDateHMS(Number(item.photoDateTimestamp) || 0) }}
+
+
+
@@ -728,7 +752,7 @@ defineExpose({
}
&-m32 {
- margin-left: 19px;
+ // margin-left: 19px;
}
&-content {
@@ -778,17 +802,20 @@ defineExpose({
display: block;
height: 100%;
}
+ }
- &-img-fit {
- width: 100%;
- object-fit: cover;
- }
+ .img-fit {
+ width: 100%;
+ object-fit: cover;
+ overflow: hidden;
}
.img {
border-radius: 7px;
display: block;
- height: calc(100% - 25px);
+ // height: calc(100% - 25px);
+ height: 100%;
+ width: 100%;
}
.img-full {
@@ -804,8 +831,11 @@ defineExpose({
.grid-item {
width: 214px;
- padding: 16px;
+ // padding: 16px;
+ // width: 182px;
position: relative;
+ margin-bottom: 32px;
+ transition: 0.5s;
.check{
position: absolute;
@@ -851,4 +881,7 @@ defineExpose({
}
}
}
+::v-deep(.n-image img) {
+ width: 100%!important;
+}
From 9fa25d4614e798ac16be70aadfc81436654dd0c4 Mon Sep 17 00:00:00 2001
From: Dragon <>
Date: Tue, 2 Apr 2024 23:12:47 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E7=BB=88=E5=AE=A1=E5=AE=A1=E6=89=B9?=
=?UTF-8?q?=E4=B9=8B=E5=90=8E=E5=88=B7=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/modules/final.ts | 2 +-
src/views/final/comp/RepeatTaskTableModal.vue | 4 +
src/views/final/content/Content.vue | 4 +-
src/views/message/content/List.vue | 143 +++++++++---------
src/views/task/content/Content.vue | 2 +-
src/views/task/modal/BatchModal.vue | 2 +-
6 files changed, 84 insertions(+), 73 deletions(-)
diff --git a/src/router/modules/final.ts b/src/router/modules/final.ts
index 9ede89c..98a65a2 100644
--- a/src/router/modules/final.ts
+++ b/src/router/modules/final.ts
@@ -38,7 +38,7 @@ const routes: Array
= [
path: 'final-detail',
name: 'final-detail',
meta: {
- title: '任务终审详情',
+ title: '任务详情',
},
component: () => import('@/views/task/content/Content.vue'),
},
diff --git a/src/views/final/comp/RepeatTaskTableModal.vue b/src/views/final/comp/RepeatTaskTableModal.vue
index e0001cf..7adf491 100644
--- a/src/views/final/comp/RepeatTaskTableModal.vue
+++ b/src/views/final/comp/RepeatTaskTableModal.vue
@@ -68,6 +68,9 @@ const columns: DataTableColumns = [
ellipsis: {
tooltip: true,
},
+ render(row: any) {
+ return row.fromtaskname
+ },
},
{
title: '任务名称',
@@ -356,6 +359,7 @@ function showModal() {
function reload() {
selectionIds.value = []
checkedRowKeys.value = []
+ query(pagination.page, pagination.pageSize)
}
function goDetail(row) {
diff --git a/src/views/final/content/Content.vue b/src/views/final/content/Content.vue
index 6ac61ce..33e6ed6 100644
--- a/src/views/final/content/Content.vue
+++ b/src/views/final/content/Content.vue
@@ -278,7 +278,7 @@ async function formatColumns() {
'text-color': '#507AFD',
'onClick': () => goDetail(row),
},
- { default: () => row.id },
+ { default: () => row.fromtaskname },
)
},
}
@@ -471,7 +471,7 @@ async function query(page: number, pageSize: number, filterId?: any) {
sortorder: 'asc',
pageSize,
currPage: page,
- sortname: '',
+ sortname: 'states',
...params,
})
const { data, pageCount, totalCount } = result
diff --git a/src/views/message/content/List.vue b/src/views/message/content/List.vue
index 3c13e54..896181c 100644
--- a/src/views/message/content/List.vue
+++ b/src/views/message/content/List.vue
@@ -1,32 +1,32 @@
@@ -147,7 +150,7 @@ function getMore() {
class="icon"
:src="tab === item.value ? item.activeIcon : item.icon"
alt=""
- />
+ >
{{ item.name }}
@@ -156,7 +159,7 @@ function getMore() {
class="icon-arrow"
:src="tab === item.value ? iconArrowActive : iconArrow"
alt=""
- />
+ >
@@ -164,7 +167,7 @@ function getMore() {
@@ -185,7 +188,9 @@ function getMore() {
{{ item.titile }}
-
审批节点:{{ item.tag.nodeName }}
+
+ 审批节点:{{ item.tag.nodeName }}
+
审批状态:{{ item.tag.states }}
@@ -199,11 +204,13 @@ function getMore() {
{{ format(item.sendTime, "yyyy-MM-dd HH:mm:ss") }}