From 7c2e4d7e149170ebe6127f5079bce59ed815ed89 Mon Sep 17 00:00:00 2001
From: ljx <15723110242@139.com>
Date: Fri, 29 Aug 2025 14:58:31 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 2 +-
src/api/bidding/appointment/index.ts | 2 +-
src/views/contract/division/index.vue | 12 +++++-------
src/views/contract/limitPrice/index.vue | 13 ++++++-------
src/views/tender/bidd/index.vue | 12 +++++-------
5 files changed, 18 insertions(+), 23 deletions(-)
diff --git a/.env.development b/.env.development
index 1db4544..c0501b7 100644
--- a/.env.development
+++ b/.env.development
@@ -6,7 +6,7 @@ VITE_APP_ENV = 'development'
# 开发环境
# 李陈杰 209
-VITE_APP_BASE_API = 'http://192.168.110.180:8899'
+VITE_APP_BASE_API = 'http://192.168.110.158:8899'
# 曾涛
# VITE_APP_BASE_API = 'http://192.168.110.180:8899'
# 罗成
diff --git a/src/api/bidding/appointment/index.ts b/src/api/bidding/appointment/index.ts
index 8f58106..4db7a6e 100644
--- a/src/api/bidding/appointment/index.ts
+++ b/src/api/bidding/appointment/index.ts
@@ -21,7 +21,7 @@ export const AddbiddingUser = (data) => {
data
});
};
-// 新增招投标人员
+// 查询招投标人员
export const biddingUserList = (projectId) => {
return request({
url: '/bidding/biddingUser/list',
diff --git a/src/views/contract/division/index.vue b/src/views/contract/division/index.vue
index 3f80b55..0bca716 100644
--- a/src/views/contract/division/index.vue
+++ b/src/views/contract/division/index.vue
@@ -96,10 +96,7 @@
- 一键展开
-
-
- 一键收起
+ {{ isExpandAll ? '一键收起' : '一键展开' }}
@@ -413,11 +410,12 @@ const changeSheet = () => {
getTreeList();
};
-const toggleExpandAll = (isExpand: boolean) => {
+const toggleExpandAll = () => {
+ isExpandAll.value = !isExpandAll.value;
+ console.log(isExpandAll.value);
treeData.value.forEach((row) => {
- treeTableRef.value.toggleRowExpansion(row, isExpand);
+ treeTableRef.value.toggleRowExpansion(row, isExpandAll.value);
});
- isExpandAll.value = isExpand;
};
//打开获取表数据
const getTreeList = async () => {
diff --git a/src/views/contract/limitPrice/index.vue b/src/views/contract/limitPrice/index.vue
index c38b70b..e10bd99 100644
--- a/src/views/contract/limitPrice/index.vue
+++ b/src/views/contract/limitPrice/index.vue
@@ -14,11 +14,9 @@
- 一键展开
-
-
- 一键收起
+ {{ isExpandAll ? '一键收起' : '一键展开' }}
+
{
};
const tableRef = ref();
-const toggleExpandAll = (isExpand: boolean) => {
+const toggleExpandAll = () => {
+ isExpandAll.value = !isExpandAll.value;
+ console.log(isExpandAll.value);
tableData.value.forEach((row) => {
- tableRef.value.toggleRowExpansion(row, isExpand);
+ tableRef.value.toggleRowExpansion(row, isExpandAll.value);
});
- isExpandAll.value = isExpand;
};
//导入
const importExcel = (options: any): any => {
diff --git a/src/views/tender/bidd/index.vue b/src/views/tender/bidd/index.vue
index 27afe21..3c3972b 100644
--- a/src/views/tender/bidd/index.vue
+++ b/src/views/tender/bidd/index.vue
@@ -17,10 +17,7 @@
- 一键展开
-
-
- 一键收起
+ {{ isExpandAll ? '一键收起' : '一键展开' }}
@@ -163,11 +160,12 @@ const changeSheet = (val: any) => {
getTableData();
};
//展开树
-const toggleExpandAll = (isExpand: boolean) => {
+const toggleExpandAll = () => {
+ isExpandAll.value = !isExpandAll.value;
+ console.log(isExpandAll.value);
tableData.value.forEach((row) => {
- tableRef.value.toggleRowExpansion(row, isExpand);
+ tableRef.value.toggleRowExpansion(row, isExpandAll.value);
});
- isExpandAll.value = isExpand;
};
//获取版本号