From 77f19175d67f1d8a41ec620384fc16529195f1eb Mon Sep 17 00:00:00 2001
From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com>
Date: Fri, 8 Aug 2025 14:54:22 +0800
Subject: [PATCH] =?UTF-8?q?=E6=80=BB=E5=8C=85=E5=B7=A5=E7=A8=8B=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E5=AE=8C=E5=96=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../project-manage/all-project/config.js | 9 +-
.../project-manage/all-project/index.vue | 185 ++++++++++++++----
2 files changed, 149 insertions(+), 45 deletions(-)
diff --git a/src/views/basic-manage/project-manage/all-project/config.js b/src/views/basic-manage/project-manage/all-project/config.js
index 0ab91d6..a633958 100644
--- a/src/views/basic-manage/project-manage/all-project/config.js
+++ b/src/views/basic-manage/project-manage/all-project/config.js
@@ -24,23 +24,26 @@ export const testTableList = [
projectName: '总工程名称',
level: '电压等级',
status: '在建',
- count: '专业工程数量',
+ count: '6',
},
{
projectName: '总工程名称2',
level: '电压等级',
status: '停工',
- count: '专业工程数量',
+ count: '5',
},
{
projectName: '总工程名称3',
level: '电压等级',
status: '筹建',
- count: '专业工程数量',
+ count: '10',
},
]
export const dialogConfig = {
outerVisible: false,
outerTitle: '',
+ outerWidth: '50%',
+ minHeight: '',
+ maxHeight: '',
}
diff --git a/src/views/basic-manage/project-manage/all-project/index.vue b/src/views/basic-manage/project-manage/all-project/index.vue
index 42126fc..ceaa8a4 100644
--- a/src/views/basic-manage/project-manage/all-project/index.vue
+++ b/src/views/basic-manage/project-manage/all-project/index.vue
@@ -32,6 +32,13 @@
+
+
+
+ {{ data.count }}
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -170,6 +227,34 @@ export default {
value: '330kV',
},
],
+
+ // 子项目(标段工程)概况
+ lotProjectList: [
+ {
+ lotProjectName: '子项目名称1',
+ professional: '专业',
+ branchCompany: '所属分公司1',
+ voltageLevel: '电压等级',
+ engineeringAddress: '工程地址',
+ engineeringStatus: '工程状态',
+ },
+ {
+ lotProjectName: '子项目名称2',
+ professional: '专业',
+ branchCompany: '所属分公司1',
+ voltageLevel: '电压等级',
+ engineeringAddress: '工程地址',
+ engineeringStatus: '工程状态',
+ },
+ {
+ lotProjectName: '子项目名称3',
+ professional: '专业',
+ branchCompany: '所属分公司',
+ voltageLevel: '电压等级',
+ engineeringAddress: '工程地址',
+ engineeringStatus: '工程状态',
+ },
+ ],
}
},
methods: {
@@ -182,6 +267,10 @@ export default {
onHandleAddOrEditAllProject(type, data) {
this.dialogConfig.outerTitle =
type === 1 ? '新增总工程' : '修改总工程'
+
+ this.dialogConfig.outerWidth = ''
+ this.dialogConfig.minHeight = ''
+ this.dialogConfig.maxHeight = ''
this.dialogConfig.outerVisible = true
},
@@ -225,9 +314,21 @@ export default {
})
},
+ // 查看标段工程数量
+ onHandleViewLotProject(data) {
+ console.log(data, '查看标段工程数量')
+ this.dialogConfig.outerTitle = '子项目(标段工程)概况'
+ this.dialogConfig.outerWidth = '80%'
+ this.dialogConfig.minHeight = '90vh'
+ this.dialogConfig.maxHeight = '90vh'
+ this.dialogConfig.outerVisible = true
+ },
+
// 关闭弹框
handleCloseDialogOuter() {
- this.$refs.addOrEditFormRef.resetFields()
+ if (this.dialogConfig.outerTitle !== '子项目(标段工程)概况') {
+ this.$refs.addOrEditFormRef.resetFields()
+ }
this.dialogConfig.outerVisible = false
},
},