From 40674acaa6169f46f98e532d9dc33919896e2328 Mon Sep 17 00:00:00 2001
From: zhihao <18915542763@163.com>
Date: Wed, 1 Jul 2026 13:45:05 +0800
Subject: [PATCH] =?UTF-8?q?czh-20260701-=E4=BF=AE=E5=A4=8D=E5=8D=8F?=
=?UTF-8?q?=E4=BD=9C=E8=80=85=E6=9D=83=E9=99=90=E7=9B=B8=E5=85=B3=E5=86=85?=
=?UTF-8?q?=E5=AE=B9=EF=BC=9B=E5=8E=BB=E9=99=A4=E5=B8=AE=E5=8A=A9=E4=B8=AD?=
=?UTF-8?q?=E5=BF=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../tasklist/components/PlanPreviewModal.vue | 15 +++++++++++++--
src/views/tasklist/components/TaskContent.vue | 18 +-----------------
src/views/tasklist/index.vue | 3 +++
3 files changed, 17 insertions(+), 19 deletions(-)
diff --git a/src/views/tasklist/components/PlanPreviewModal.vue b/src/views/tasklist/components/PlanPreviewModal.vue
index 2a2e088..891dda8 100644
--- a/src/views/tasklist/components/PlanPreviewModal.vue
+++ b/src/views/tasklist/components/PlanPreviewModal.vue
@@ -5,7 +5,7 @@
:footer="null"
:destroy-on-close="true"
wrap-class-name="plan-preview-modal"
- :body-style="{ maxHeight: '80vh', overflowY: 'auto', padding: '0 24px' }"
+ :body-style="{ height: '78vh', overflowY: 'auto', padding: '0 24px' }"
@cancel="emit('update:visible', false)"
>
@@ -30,7 +30,7 @@
>
{{ secretText }}
-
+
();
const emit = defineEmits<{
@@ -357,6 +358,7 @@ const pickerEpoch = ref(0);
const collaboratorModalRef = ref();
const collaboratorDisplayNames = computed(() => props.collaboratorNames || '');
+const isOwner = computed(() => props.myPermission === '1');
const collabCount = computed(() => {
if (!props.collaboratorNames) return 0;
return props.collaboratorNames.split(/[,,、]/).filter(Boolean).length;
@@ -824,6 +826,15 @@ function onGroupChange({ key }: { key: string }) { groupDimension.value = key as
border-color: #d0d0d0;
background: #fafafa;
}
+
+ &.disabled {
+ cursor: not-allowed;
+ opacity: 0.5;
+ &:hover {
+ border-color: #e8e8e8;
+ background: transparent;
+ }
+ }
}
.collab-btn {
diff --git a/src/views/tasklist/components/TaskContent.vue b/src/views/tasklist/components/TaskContent.vue
index af32848..1c4a4d1 100644
--- a/src/views/tasklist/components/TaskContent.vue
+++ b/src/views/tasklist/components/TaskContent.vue
@@ -19,11 +19,6 @@
@search="onSearch"
/>
-
-
-
-
-
@@ -838,15 +833,13 @@
:role="1"
@confirm="onUserSelectConfirm"
/>
-