From b900d70164bf93678131ca662063f8d95575e681 Mon Sep 17 00:00:00 2001 From: yanfeiyong <2060201549@qq.com> Date: Tue, 15 Apr 2025 14:11:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=B8=8D=E7=94=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ProjectDetails/buildings2.vue | 444 ------------------ .../ProjectDetails/companyenter2.vue | 266 ----------- .../ProjectDetails/ditubiaodian.vue | 137 ------ src/views/manage-info/index.vue | 12 +- src/views/models/badlist/index.vue | 2 +- 5 files changed, 7 insertions(+), 854 deletions(-) delete mode 100644 src/views/components/ProjectDetails/buildings2.vue delete mode 100644 src/views/components/ProjectDetails/companyenter2.vue delete mode 100644 src/views/components/ProjectDetails/ditubiaodian.vue diff --git a/src/views/components/ProjectDetails/buildings2.vue b/src/views/components/ProjectDetails/buildings2.vue deleted file mode 100644 index f13d6cd..0000000 --- a/src/views/components/ProjectDetails/buildings2.vue +++ /dev/null @@ -1,444 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/views/components/ProjectDetails/companyenter2.vue b/src/views/components/ProjectDetails/companyenter2.vue deleted file mode 100644 index 9dc9613..0000000 --- a/src/views/components/ProjectDetails/companyenter2.vue +++ /dev/null @@ -1,266 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/components/ProjectDetails/ditubiaodian.vue b/src/views/components/ProjectDetails/ditubiaodian.vue deleted file mode 100644 index 1b0c939..0000000 --- a/src/views/components/ProjectDetails/ditubiaodian.vue +++ /dev/null @@ -1,137 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/manage-info/index.vue b/src/views/manage-info/index.vue index c1e267c..6fd1688 100644 --- a/src/views/manage-info/index.vue +++ b/src/views/manage-info/index.vue @@ -287,7 +287,7 @@ export default { saveAll() { this.loading = true; const tempData = this.prepareSubmitData(); // 复用数据准备逻辑 - console.log('准备暂存的完整数据:', JSON.stringify(tempData, null, 2)); // 打印完整数据 + // console.log('准备暂存的完整数据:', JSON.stringify(tempData, null, 2)); // 打印完整数据 tempBasicInformation(tempData) .then(response => { this.$message.success('暂存成功'); @@ -316,7 +316,7 @@ export default { async submitAll() { this.loading = true; - // 校验 wysmxInformations 是否为空或包含 null + // 校验 wysmxInformations if (this.wysmxInformations.length === 0 || this.wysmxInformations.includes(null)) { this.$message.error('请填写模型管理信息'); this.loading = false; @@ -331,7 +331,7 @@ export default { return; } - // 校验 planInformation 的相关字段 + // 校验 planInformation const planRequiredFields = ['zydmj', 'rjl', 'zjzmj', 'jzds', 'zgjzcs', 'fhdj']; const planMissingFields = planRequiredFields.filter(field => !this.planInformation[field]); if (planMissingFields.length > 0) { @@ -340,7 +340,7 @@ export default { return; } - // 校验 basicInformation 的相关字段 + // 校验 basicInformation const basicRequiredFields = ['ssgnq', 'begainTime', 'endTime', 'xzfl', 'jsms']; const basicMissingFields = basicRequiredFields.filter(field => !this.basicInformation[field]); if (basicMissingFields.length > 0) { @@ -351,9 +351,9 @@ export default { - // 如果所有校验通过,则准备数据并提交 + // 准备数据并提交 const submitData = this.prepareSubmitData(); - console.log('准备提交的完整数据:', JSON.stringify(submitData, null, 2)); // 打印完整数据 + // console.log('准备提交的完整数据:', JSON.stringify(submitData, null, 2)); // 打印完整数据 fillBasicInformation(submitData) .then(response => { diff --git a/src/views/models/badlist/index.vue b/src/views/models/badlist/index.vue index 3ff8118..7641169 100644 --- a/src/views/models/badlist/index.vue +++ b/src/views/models/badlist/index.vue @@ -155,7 +155,7 @@ export default { getList() { this.loading = true; - // 确保只查询isFmqd=2的数据 + // 只查询isFmqd=2的数据 const params = { ...this.queryParams, isFmqd: 1