-
+
- {{ format(item.sendTime, 'dd') }}
+ {{ format(item.sendTime, "dd") }}
- {{ format(item.sendTime, 'yyyy-MM') }}
+ {{ format(item.sendTime, "yyyy-MM") }}
@@ -150,29 +185,25 @@ function getMore() {
{{ item.titile }}
-
- 审批节点:{{ item.tag.nodeName }}
-
+
审批节点:{{ item.tag.nodeName }}
审批状态:{{ item.tag.states }}
{{ item.tag.sendUserName }}
- {{ format(item.sendTime, 'yyyy-MM-dd HH:mm:ss') }}
+ {{ format(item.sendTime, "yyyy-MM-dd HH:mm:ss") }}
{{ item.userName }}
- {{ format(item.sendTime, 'yyyy-MM-dd HH:mm:ss') }}
+ {{ format(item.sendTime, "yyyy-MM-dd HH:mm:ss") }}
-
- 查看
-
+
查看
- 查看更多
![]()
+ 查看更多
@@ -185,15 +216,15 @@ function getMore() {
flex: 1;
flex-direction: column;
box-sizing: border-box;
- background: #FFF;
+ background: #fff;
border-radius: 3px;
height: calc(100vh - 88px);
position: relative;
- .header{
+ .header {
padding: 24px;
- &-title{
+ &-title {
font-size: 20px;
font-family: PingFang SC, PingFang SC-Medium;
font-weight: 600;
@@ -201,7 +232,7 @@ function getMore() {
line-height: 28px;
}
- .clear{
+ .clear {
font-size: 14px;
font-family: PingFang SC, PingFang SC-Regular;
color: #666666;
@@ -210,7 +241,7 @@ function getMore() {
display: flex;
align-items: center;
- .icon-clear{
+ .icon-clear {
width: 16px;
height: 16px;
margin-right: 6px;
@@ -218,20 +249,20 @@ function getMore() {
}
}
- .content{
+ .content {
display: flex;
- .slider{
- .icon{
+ .slider {
+ .icon {
width: 17px;
height: 17px;
}
- .icon-arrow{
+ .icon-arrow {
width: 14px;
height: 14px;
}
- .item{
+ .item {
width: 200px;
height: 44px;
position: relative;
@@ -240,32 +271,32 @@ function getMore() {
align-items: center;
justify-content: space-between;
cursor: pointer;
- &-active{
- background: rgba(80,122,253,.1);
+ &-active {
+ background: rgba(80, 122, 253, 0.1);
}
}
- .item-left{
+ .item-left {
align-items: center;
}
- .text{
+ .text {
font-size: 14px;
font-family: PingFang SC, PingFang SC-Medium;
font-weight: 600;
color: #333333;
margin-left: 12px;
- &-active{
- color: #507AFD;
+ &-active {
+ color: #507afd;
}
}
- .icon-arrow{
+ .icon-arrow {
width: 14px;
height: 14px;
}
- .line{
+ .line {
position: absolute;
width: 3px;
height: 44px;
@@ -275,7 +306,7 @@ function getMore() {
}
}
- .list{
+ .list {
margin-left: 24px;
flex: 1;
overflow-y: auto;
@@ -284,7 +315,7 @@ function getMore() {
height: calc(100vh - 88px - 76px);
padding-right: 24px;
- .more{
+ .more {
display: flex;
align-items: center;
justify-content: center;
@@ -298,14 +329,14 @@ function getMore() {
background: #fff;
cursor: pointer;
- .icon-more{
+ .icon-more {
width: 14px;
height: 14px;
margin-left: 6px;
}
}
- .item{
+ .item {
display: flex;
align-items: center;
justify-content: space-between;
@@ -313,16 +344,16 @@ function getMore() {
padding: 16px 0 8px 25px;
border-bottom: 1px solid #eeeeee;
- &-disabled{
+ &-disabled {
opacity: 0.5;
}
}
- .pt0{
+ .pt0 {
padding-top: 0;
}
- .num{
+ .num {
font-size: 32px;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC-Medium;
font-weight: 600;
@@ -332,7 +363,7 @@ function getMore() {
position: relative;
}
- .date{
+ .date {
font-size: 12px;
font-family: PingFang SC, PingFang SC-Regular;
text-align: left;
@@ -340,7 +371,7 @@ function getMore() {
line-height: 17px;
}
- .point{
+ .point {
position: absolute;
right: -2px;
top: 5px;
@@ -350,7 +381,7 @@ function getMore() {
background: #ff4e4f;
}
- .left{
+ .left {
width: 80px;
height: 64px;
border-right: 1px solid #e8e8e8;
@@ -360,18 +391,18 @@ function getMore() {
justify-content: center;
}
- .middle{
+ .middle {
flex: 1;
padding-left: 20px;
}
- .status{
+ .status {
display: flex;
align-items: center;
// margin-top: 8px;
}
- .tag{
+ .tag {
padding: 0 8px;
height: 24px;
border-radius: 2px;
@@ -384,22 +415,22 @@ function getMore() {
align-items: center;
}
- .tag-blue{
- background: rgba(80,122,253,0.10);
+ .tag-blue {
+ background: rgba(80, 122, 253, 0.1);
color: #507afd;
}
- .tag-red{
+ .tag-red {
color: #ff4e4f;
- background: rgba(255,78,79,0.10);
+ background: rgba(255, 78, 79, 0.1);
}
- .tag-green{
- color: #3EE199;
- background: rgba(62,225,153,0.10);
+ .tag-green {
+ color: #3ee199;
+ background: rgba(62, 225, 153, 0.1);
}
- .title{
+ .title {
font-size: 16px;
font-family: PingFang SC, PingFang SC-Medium;
font-weight: 600;
@@ -408,7 +439,7 @@ function getMore() {
line-height: 25px;
}
- .subtitle{
+ .subtitle {
font-size: 12px;
font-family: PingFang SC, PingFang SC-Regular;
text-align: left;
@@ -417,11 +448,11 @@ function getMore() {
// margin-top: 8px;
}
- .name{
+ .name {
margin-right: 16px;
}
- .look{
+ .look {
font-size: 14px;
font-family: PingFang SC, PingFang SC-Regular;
text-align: left;
@@ -430,7 +461,6 @@ function getMore() {
cursor: pointer;
}
}
-
}
}
From 6eb9a6e4c91ec7a55e86aeb56e1b6ffcdd010953 Mon Sep 17 00:00:00 2001
From: liushilong <2224574157@qq.com>
Date: Fri, 29 Mar 2024 17:06:36 +0800
Subject: [PATCH 3/5] =?UTF-8?q?fix:=20=E6=89=93=E5=BC=80=E9=AB=98=E7=BA=A7?=
=?UTF-8?q?=E7=AD=9B=E9=80=89=E5=88=97=E8=A1=A8=E5=90=8E=EF=BC=8C=E5=A7=8B?=
=?UTF-8?q?=E7=BB=88=E5=A4=84=E4=BA=8ELoading=E7=8A=B6=E6=80=81bug?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/final/comp/FilterModal.vue | 4 ++--
src/views/home/aside/comp/modals/FilterModal.vue | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/final/comp/FilterModal.vue b/src/views/final/comp/FilterModal.vue
index 7923eaa..e1f1ebf 100644
--- a/src/views/final/comp/FilterModal.vue
+++ b/src/views/final/comp/FilterModal.vue
@@ -119,8 +119,8 @@ async function query(page: number, pageSize: number) {
search_searchname: { value: keyword.value, op: "like", type: "string" },
};
const result = await getConditionList({ pageNo: page, pageSize }, searchParam, 1);
- const { data, pageCount,total } = result;
- total.value = total;
+ const { data, pageCount,total:totalCount } = result;
+ total.value = totalCount;
tableData.value = data;
pagination.page = page;
pagination.pageCount = pageCount;
diff --git a/src/views/home/aside/comp/modals/FilterModal.vue b/src/views/home/aside/comp/modals/FilterModal.vue
index 5bb7cf9..aa1924f 100644
--- a/src/views/home/aside/comp/modals/FilterModal.vue
+++ b/src/views/home/aside/comp/modals/FilterModal.vue
@@ -111,10 +111,10 @@ async function query(page: number, pageSize: number) {
search_searchname: { value: keyword.value, op: "like", type: "string" },
};
const result = await getConditionList({ pageNo: page, pageSize }, searchParam, 0);
- const { data, pageCount, total } = result;
+ const { data, pageCount, total:totalCount } = result;
tableData.value = data;
pagination.page = page;
- total.value = total;
+ total.value = totalCount;
pagination.pageCount = pageCount;
loading.value = false;
}
From 38aa8118c66d2f1552dcf7db28b25bfe82895da1 Mon Sep 17 00:00:00 2001
From: liushilong <2224574157@qq.com>
Date: Fri, 29 Mar 2024 17:39:26 +0800
Subject: [PATCH 4/5] =?UTF-8?q?feat:=20=E5=AF=B9=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=BF=9B=E8=A1=8C=E5=8B=BE=E9=80=89=E5=90=8E?=
=?UTF-8?q?=EF=BC=8C=E7=95=8C=E9=9D=A2=E7=9A=84=E7=8A=B6=E6=80=81=E5=88=87?=
=?UTF-8?q?=E6=8D=A2=E4=B8=8ERP=E8=A6=81=E6=B1=82=E4=B8=8D=E7=AC=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/final/comp/FilterModal.vue | 38 +++++++++++++++++--
.../home/aside/comp/modals/FilterModal.vue | 16 +++++++-
2 files changed, 49 insertions(+), 5 deletions(-)
diff --git a/src/views/final/comp/FilterModal.vue b/src/views/final/comp/FilterModal.vue
index e1f1ebf..b2b4278 100644
--- a/src/views/final/comp/FilterModal.vue
+++ b/src/views/final/comp/FilterModal.vue
@@ -8,6 +8,7 @@ import {
reactive,
ref,
unref,
+ computed,
} from "vue";
import { NDataTable } from "naive-ui";
import type { DataTableColumns, DataTableRowKey } from "naive-ui";
@@ -26,6 +27,7 @@ const emit = defineEmits<{
}>();
const show = ref(false);
+const checkedRowKeys = ref([]);
const cardStyle = {
width: "800px",
@@ -109,7 +111,7 @@ const pagination = reactive({
},
],
showQuickJumper: true,
- prefix:()=>`共 ${total.value} 条数据`
+ prefix: () => `共 ${total.value} 条数据`,
});
const tableData = ref
>([]);
const keyword = ref("");
@@ -119,7 +121,7 @@ async function query(page: number, pageSize: number) {
search_searchname: { value: keyword.value, op: "like", type: "string" },
};
const result = await getConditionList({ pageNo: page, pageSize }, searchParam, 1);
- const { data, pageCount,total:totalCount } = result;
+ const { data, pageCount, total: totalCount } = result;
total.value = totalCount;
tableData.value = data;
pagination.page = page;
@@ -283,6 +285,10 @@ const inputHandler = debounce((word) => {
keyword.value = word;
query(1, 5);
}, 300);
+
+const showSearch = computed(() => {
+ return selectionIds.value.length > 0;
+});
@@ -307,7 +313,7 @@ const inputHandler = debounce((word) => {
基本信息
-