From 4eea9f79d77059a990057b834e004b12b38cf113 Mon Sep 17 00:00:00 2001
From: liushilong <2224574157@qq.com>
Date: Wed, 17 Apr 2024 10:26:54 +0800
Subject: [PATCH 1/9] =?UTF-8?q?feat:=20=E5=B7=A6=E4=BE=A7=E9=AB=98?=
=?UTF-8?q?=E7=BA=A7=E7=AD=9B=E9=80=89=E6=A8=A1=E5=9D=97=E8=B7=9D=E7=A6=BB?=
=?UTF-8?q?=E5=B7=A6=E4=BE=A7=E6=A8=A1=E5=9D=97=E8=BE=B9=E6=A1=8616?=
=?UTF-8?q?=E5=83=8F=E7=B4=A0=EF=BC=8C=E8=B7=9D=E7=A6=BB=E5=BA=95=E9=83=A8?=
=?UTF-8?q?16px=EF=BC=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/App.vue b/src/App.vue
index 7abf926..2671796 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -90,7 +90,7 @@ const getThemeOverrides = computed(() => {
// transform: rotate(-90deg) !important;
// }
.n-scrollbar-content {
- padding: 0 7.97px 0 4px;
+ padding: 0 7.97px 16 16px;
}
.n-form-item .n-form-item-label {
font-size: 14px !important;
From 91480ef28ed281b4a2fbebeb14745fe17ebd9e29 Mon Sep 17 00:00:00 2001
From: liushilong <2224574157@qq.com>
Date: Wed, 17 Apr 2024 10:30:42 +0800
Subject: [PATCH 2/9] =?UTF-8?q?feat:=20=E9=A1=B6=E9=83=A8=E5=BD=93?=
=?UTF-8?q?=E5=89=8D=E4=BD=8D=E7=BD=AE=E5=9B=BE=E6=A0=87=E5=BA=94=E4=B8=8E?=
=?UTF-8?q?=E4=B8=8B=E6=96=B9=E9=AB=98=E7=BA=A7=E7=AD=9B=E9=80=89=E5=9B=BE?=
=?UTF-8?q?=E6=A0=87=E5=AF=B9=E9=BD=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/layout/components/Header/index.vue | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/layout/components/Header/index.vue b/src/layout/components/Header/index.vue
index 6b0b8b9..d637dac 100644
--- a/src/layout/components/Header/index.vue
+++ b/src/layout/components/Header/index.vue
@@ -1,6 +1,15 @@
@@ -58,13 +58,13 @@ configStore.$subscribe(() => {
- 正在查重中
+ 正在查重中
@@ -74,10 +74,22 @@ configStore.$subscribe(() => {
From 3b772d2ad8340e97a2de70d833805207ec3a547a Mon Sep 17 00:00:00 2001
From: liushilong <2224574157@qq.com>
Date: Wed, 17 Apr 2024 16:04:37 +0800
Subject: [PATCH 5/9] =?UTF-8?q?feat:=20=E7=9B=B8=E4=BC=BC=E5=BA=A6?=
=?UTF-8?q?=E9=98=88=E5=80=BC=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 2 +-
src/views/home/content/modal/QueryRepeatedTasksModal.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 2671796..31b05e2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -96,7 +96,7 @@ const getThemeOverrides = computed(() => {
font-size: 14px !important;
color: #333333 !important;
}
-.n-slider-dots > .n-slider-dot:nth-child(2) {
+.n-slider-dots > .n-slider-dot {
display: none !important;
}
.n-collapse-item-arrow i svg {
diff --git a/src/views/home/content/modal/QueryRepeatedTasksModal.vue b/src/views/home/content/modal/QueryRepeatedTasksModal.vue
index 5dfaa45..4dc1718 100644
--- a/src/views/home/content/modal/QueryRepeatedTasksModal.vue
+++ b/src/views/home/content/modal/QueryRepeatedTasksModal.vue
@@ -6,7 +6,7 @@ const emit = defineEmits<{
(e: 'closeCallback', value: any)
}>()
-const show = ref(true)
+const show = ref(false)
const stys = {
'width': '424px',
From f30d1960e58a2f5a70651babc26ad743ebde4bb1 Mon Sep 17 00:00:00 2001
From: liushilong <2224574157@qq.com>
Date: Wed, 17 Apr 2024 16:37:33 +0800
Subject: [PATCH 6/9] =?UTF-8?q?feat:=20=E5=89=8D=E7=BD=AE=E7=AC=A6?=
=?UTF-8?q?=E5=8F=B7=E4=B8=8E=E6=98=9F=E5=8F=B7=E4=B8=8E=E6=96=87=E5=AD=97?=
=?UTF-8?q?=E7=AD=89=E9=AB=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 3 ++
src/views/home/aside/comp/AdvanceFilter.vue | 32 ++++++++++-----------
2 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 31b05e2..a68093d 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -103,4 +103,7 @@ const getThemeOverrides = computed(() => {
width: 14px !important;
height: 14px !important;
}
+.v-binder-follower-content {
+ left: -60px;
+}
diff --git a/src/views/home/aside/comp/AdvanceFilter.vue b/src/views/home/aside/comp/AdvanceFilter.vue
index 4a53379..a3ba853 100644
--- a/src/views/home/aside/comp/AdvanceFilter.vue
+++ b/src/views/home/aside/comp/AdvanceFilter.vue
@@ -200,8 +200,7 @@ function favoriteHandler(event: MouseEvent, item: any) {
data.value.forEach((v, index) => {
if (v.id == id)
sort(v.id, 0)
- else
- sort(v.id, index + 1)
+ else sort(v.id, index + 1)
})
inputHandler(ruleForm.keyword)
@@ -216,8 +215,7 @@ const rules = {
validator(_rule, value) {
if (value.length >= 2)
return true
- else
- return new Error('搜索关键字最少为两个')
+ else return new Error('搜索关键字最少为两个')
},
},
],
@@ -332,7 +330,7 @@ defineExpose({
>
@@ -340,20 +338,21 @@ defineExpose({
v-if="item.favorite && !item.isDefaultFilter"
name="favorite-fill"
color="#fd9b0a"
- width="13"
- height="12"
+ size="18"
style="margin-right: 3px"
@click="unFavoriteHandler($event, item)"
/>
-
+
-
+
-
+
From 1e74d0ac8068f320366a82d9f22e688db9a84bfa Mon Sep 17 00:00:00 2001
From: liushilong <2224574157@qq.com>
Date: Wed, 17 Apr 2024 20:02:28 +0800
Subject: [PATCH 7/9] =?UTF-8?q?feat:=20=E8=B7=9D=E9=A1=B6=E9=83=A8180px?=
=?UTF-8?q?=EF=BC=8C=E5=B7=A6=E5=8F=B3=E5=B1=85=E4=B8=AD=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/home/aside/comp/modals/NewFilterModal.vue | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/views/home/aside/comp/modals/NewFilterModal.vue b/src/views/home/aside/comp/modals/NewFilterModal.vue
index 4b589cb..2bcb5d2 100644
--- a/src/views/home/aside/comp/modals/NewFilterModal.vue
+++ b/src/views/home/aside/comp/modals/NewFilterModal.vue
@@ -337,9 +337,9 @@ defineExpose({
@@ -522,6 +522,7 @@ defineExpose({
font-weight: bold;
position: relative;
background: #f8f8f8;
+ height: 24px;
&:before {
background-color: #1980ff;
@@ -555,4 +556,8 @@ defineExpose({
color: #666666;
font-weight: 500;
}
+::v-deep(.n-form-item .n-form-item-feedback-wrapper .n-form-item-feedback) {
+ height: 24px;
+ line-height: 24px;
+}
From e0a4bc292a04905d4097558608056506abd47a17 Mon Sep 17 00:00:00 2001
From: liushilong <2224574157@qq.com>
Date: Wed, 17 Apr 2024 22:27:45 +0800
Subject: [PATCH 8/9] =?UTF-8?q?feat:=20=E6=A0=B7=E5=BC=8F=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/DataHeader/index.vue | 245 +++++++----
src/components/RichEditor/Quill.vue | 50 +--
src/components/Search/Search.vue | 132 +++---
src/layout/components/Header/QuillModal.vue | 22 +-
.../components/Header/ShortcutModal.vue | 131 +++---
src/layout/components/Header/UserSettings.vue | 86 ++--
src/views/home/aside/comp/AdvanceFilter.vue | 223 +++++-----
.../home/aside/comp/modals/FilterModal.vue | 402 +++++++++---------
src/views/home/content/Content.vue | 245 ++++++-----
src/views/task/aside/TaskList.vue | 142 +++----
10 files changed, 915 insertions(+), 763 deletions(-)
diff --git a/src/components/DataHeader/index.vue b/src/components/DataHeader/index.vue
index 5c58b41..da586cc 100644
--- a/src/components/DataHeader/index.vue
+++ b/src/components/DataHeader/index.vue
@@ -1,29 +1,68 @@
-
@@ -167,10 +174,11 @@ onMounted(() => {
diff --git a/src/views/task/aside/TaskList.vue b/src/views/task/aside/TaskList.vue
index 024f8d4..9575e57 100644
--- a/src/views/task/aside/TaskList.vue
+++ b/src/views/task/aside/TaskList.vue
@@ -1,101 +1,101 @@
From b43e9beb2ec59dc59e00cea447eae0c3b2f56347 Mon Sep 17 00:00:00 2001
From: liushilong <2224574157@qq.com>
Date: Wed, 17 Apr 2024 22:40:30 +0800
Subject: [PATCH 9/9] =?UTF-8?q?feat:=20=E8=A7=A3=E5=86=B3=E5=86=B2?=
=?UTF-8?q?=E7=AA=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/RichEditor/Quill.vue | 46 +-
src/components/Search/Search.vue | 96 +--
src/views/final/comp/FilterModal.vue | 2 +-
src/views/home/aside/comp/AdvanceFilter.vue | 214 +++----
.../home/aside/comp/modals/FilterModal.vue | 53 +-
src/views/home/content/Content.vue | 604 +++++++++---------
6 files changed, 508 insertions(+), 507 deletions(-)
diff --git a/src/components/RichEditor/Quill.vue b/src/components/RichEditor/Quill.vue
index 5d95d23..a972f17 100644
--- a/src/components/RichEditor/Quill.vue
+++ b/src/components/RichEditor/Quill.vue
@@ -1,48 +1,48 @@
diff --git a/src/components/Search/Search.vue b/src/components/Search/Search.vue
index 9059140..82e526a 100644
--- a/src/components/Search/Search.vue
+++ b/src/components/Search/Search.vue
@@ -1,99 +1,99 @@
diff --git a/src/views/final/comp/FilterModal.vue b/src/views/final/comp/FilterModal.vue
index 0ee4b3a..4d1a3bf 100644
--- a/src/views/final/comp/FilterModal.vue
+++ b/src/views/final/comp/FilterModal.vue
@@ -199,7 +199,7 @@ function editSelection(id = '') {
}
function deleteSelection(id = '') {
- if (selectionIds.value.length === 0) {
+ if (id) {
deleteCondition({ ids: id }).then(() => {
query(pagination.page, pagination.pageSize)
})
diff --git a/src/views/home/aside/comp/AdvanceFilter.vue b/src/views/home/aside/comp/AdvanceFilter.vue
index 8550376..4ab9e8d 100644
--- a/src/views/home/aside/comp/AdvanceFilter.vue
+++ b/src/views/home/aside/comp/AdvanceFilter.vue
@@ -1,14 +1,14 @@
diff --git a/src/views/home/aside/comp/modals/FilterModal.vue b/src/views/home/aside/comp/modals/FilterModal.vue
index 4b0bdd8..def760f 100644
--- a/src/views/home/aside/comp/modals/FilterModal.vue
+++ b/src/views/home/aside/comp/modals/FilterModal.vue
@@ -40,8 +40,8 @@ const $message = window.$message
const show = ref(false)
const cardStyle = {
- "width": '808px',
- "height": '840px',
+ 'width': '808px',
+ 'height': '840px',
'--n-padding-bottom': '10px',
'--n-padding-left': '10px',
}
@@ -202,24 +202,37 @@ function handleCheck(rowKeys: DataTableRowKey[]) {
}
function select(key: number, id: string) {
- switch (key) {
- case 1:
- editSelection(id)
- break
- case 2:
- const modalInst = modal.create({
- title: '确认提示',
- content: '确认删除该条过滤条件吗?',
- positiveText: '确定',
- negativeText: '取消',
- preset: 'dialog',
- onPositiveClick: () => deleteSelection(id),
- onNegativeClick: () => modalInst.destroy(),
- })
- break
- default:
- break
+ if (key == 1) {
+ editSelection(id)
}
+ else {
+ const modalInst = modal.create({
+ title: '确认提示',
+ content: '确认删除该条过滤条件吗?',
+ positiveText: '确定',
+ negativeText: '取消',
+ preset: 'dialog',
+ onPositiveClick: () => deleteSelection(id),
+ onNegativeClick: () => modalInst.destroy(),
+ })
+ }
+ // switch (key) {
+ // case 1:
+ // break;
+ // case 2:
+ // const modalInst = modal.create({
+ // title: "确认提示",
+ // content: "确认删除该条过滤条件吗?",
+ // positiveText: "确定",
+ // negativeText: "取消",
+ // preset: "dialog",
+ // onPositiveClick: () => deleteSelection(id),
+ // onNegativeClick: () => modalInst.destroy(),
+ // });
+ // break;
+ // default:
+ // break;
+ // }
}
function editSelection(id) {
@@ -238,7 +251,7 @@ function editSelection(id) {
}
function deleteSelection(id = '') {
- if (selectionIds.value.length === 0) {
+ if (id) {
deleteCondition({ ids: id }).then(() => {
query(pagination.page, pagination.pageSize)
})
diff --git a/src/views/home/content/Content.vue b/src/views/home/content/Content.vue
index 75ba253..b6fa49e 100644
--- a/src/views/home/content/Content.vue
+++ b/src/views/home/content/Content.vue
@@ -1,14 +1,15 @@