From b7dcb89468603152415374c788df3a96744c69a2 Mon Sep 17 00:00:00 2001 From: yanfeiyong <2060201549@qq.com> Date: Thu, 17 Apr 2025 10:52:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E4=B8=9A=E6=A0=87=E7=AD=BE=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ProjectDetails/Models.vue | 2 +- .../components/ProjectDetails/Others.vue | 4 +- src/views/components/analysis/daiban.vue | 2 +- src/views/components/analysis/map2.vue | 284 ------------------ src/views/components/analysis/projectList.vue | 2 +- src/views/components/qiyexinxi/qiyexinxi.vue | 2 +- .../components/zhengwuxinxi/zhengwuxinxi.vue | 2 +- src/views/manage-info/index.vue | 4 +- src/views/orientedtwo/bqspan/index.vue | 46 ++- src/views/tool/1.vue | 47 --- 10 files changed, 45 insertions(+), 350 deletions(-) delete mode 100644 src/views/components/analysis/map2.vue delete mode 100644 src/views/tool/1.vue diff --git a/src/views/components/ProjectDetails/Models.vue b/src/views/components/ProjectDetails/Models.vue index 02c1c29..eed25bc 100644 --- a/src/views/components/ProjectDetails/Models.vue +++ b/src/views/components/ProjectDetails/Models.vue @@ -93,7 +93,7 @@ export default { wysmxInfo: { immediate: true, handler(newVal) { - console.log('接收到的 wysmxInfo 数据:', newVal); + // console.log('接收到的 wysmxInfo 数据:', newVal); this.form = newVal.map(item => ({ // id: item.id, xmId: item.xmId, diff --git a/src/views/components/ProjectDetails/Others.vue b/src/views/components/ProjectDetails/Others.vue index 853907a..968d957 100644 --- a/src/views/components/ProjectDetails/Others.vue +++ b/src/views/components/ProjectDetails/Others.vue @@ -87,7 +87,7 @@ export default { } }, created() { - console.log('anotherInfo 内容:', this.anotherInfo); + // console.log('anotherInfo 内容:', this.anotherInfo); }, data() { return { @@ -213,7 +213,7 @@ export default { try { // 打印检查 xmId - console.log('当前项目ID:', this.xmId); + // console.log('当前项目ID:', this.xmId); // 准备请求数据 const requestData = { diff --git a/src/views/components/analysis/daiban.vue b/src/views/components/analysis/daiban.vue index 59fb4d9..57466c1 100644 --- a/src/views/components/analysis/daiban.vue +++ b/src/views/components/analysis/daiban.vue @@ -94,7 +94,7 @@ export default { endTime: this.queryParams.dateRange ? this.queryParams.dateRange[1] : undefined }; - console.log('【查询参数】', params); // 打印查询参数 + // console.log('【查询参数】', params); getBasicInformationPage(params).then((response) => { this.postList = response.data.records; diff --git a/src/views/components/analysis/map2.vue b/src/views/components/analysis/map2.vue deleted file mode 100644 index 0319feb..0000000 --- a/src/views/components/analysis/map2.vue +++ /dev/null @@ -1,284 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/views/components/analysis/projectList.vue b/src/views/components/analysis/projectList.vue index 09f1cf2..2d455ae 100644 --- a/src/views/components/analysis/projectList.vue +++ b/src/views/components/analysis/projectList.vue @@ -119,7 +119,7 @@ export default { endTime: this.queryParams.dateRange ? this.queryParams.dateRange[1] : undefined }; - console.log('【查询参数】', params); // 打印查询参数 + // console.log('【查询参数】', params); getBasicInformationPage(params).then((response) => { this.postList = response.data.records; diff --git a/src/views/components/qiyexinxi/qiyexinxi.vue b/src/views/components/qiyexinxi/qiyexinxi.vue index baee13d..fc2a323 100644 --- a/src/views/components/qiyexinxi/qiyexinxi.vue +++ b/src/views/components/qiyexinxi/qiyexinxi.vue @@ -194,7 +194,7 @@ export default { endTime: this.queryParams.dateRange ? this.queryParams.dateRange[1] : undefined }; - console.log('【查询参数】', params); // 打印查询参数 + // console.log('【查询参数】', params); getBasicInformationPage(params).then((response) => { this.postList = response.data.records; diff --git a/src/views/components/zhengwuxinxi/zhengwuxinxi.vue b/src/views/components/zhengwuxinxi/zhengwuxinxi.vue index 0bdc0a8..5909147 100644 --- a/src/views/components/zhengwuxinxi/zhengwuxinxi.vue +++ b/src/views/components/zhengwuxinxi/zhengwuxinxi.vue @@ -223,7 +223,7 @@ export default { endTime: this.formatMonth(this.queryParams.endTime) }; - console.log('发送前的查询参数:', JSON.stringify(params, null, 2)); + // console.log('发送前的查询参数:', JSON.stringify(params, null, 2)); getBasicInformationPage(params).then((response) => { console.log('API响应:', response); diff --git a/src/views/manage-info/index.vue b/src/views/manage-info/index.vue index 919bce5..acb8d37 100644 --- a/src/views/manage-info/index.vue +++ b/src/views/manage-info/index.vue @@ -291,7 +291,7 @@ export default { tempBasicInformation(tempData) .then(response => { this.$message.success('暂存成功'); - console.log('暂存数据:', response); + // console.log('暂存数据:', response); }) .catch(error => { this.$message.error('暂存失败'); @@ -308,7 +308,7 @@ export default { const response = await getqyBasicInformationPage(params); return response.data.total || 0; // 返回总数,默认为0 } catch (error) { - console.error('获取企业总数失败:', error); + // console.error('获取企业总数失败:', error); return 0; } }, diff --git a/src/views/orientedtwo/bqspan/index.vue b/src/views/orientedtwo/bqspan/index.vue index 00522f2..cdbb64b 100644 --- a/src/views/orientedtwo/bqspan/index.vue +++ b/src/views/orientedtwo/bqspan/index.vue @@ -69,15 +69,15 @@ - + - + {{ detailData.name }} - + {{ detailData.tyshxydm }} @@ -85,12 +85,12 @@ - + {{ detailData.bqdm }} - + {{ detailData.state }} @@ -98,12 +98,38 @@ - + {{ detailData.yhlx }} - + + {{ detailData.bqzs }} + + + + + + + + {{ detailData.bqzt }} + + + + + {{ detailData.bqzs }} + + + + + + + + {{ detailData.bqzt }} + + + + {{ detailData.bqzs }} @@ -111,12 +137,12 @@ - + {{ detailData.bqzt }} - + {{ detailData.bqzs }} @@ -173,7 +199,7 @@ export default { tyshxydm: '123456789012345678', bqdm: 'DEFAULT', state: '有效', - yhlx: '默认用户类型', + yhlx: '企业用户', bqzs: '默认标签注释', bqzt: '默认标签状态' } diff --git a/src/views/tool/1.vue b/src/views/tool/1.vue deleted file mode 100644 index 5c4a541..0000000 --- a/src/views/tool/1.vue +++ /dev/null @@ -1,47 +0,0 @@ -upload: { - open: false, - isUploading: false, - headers: { Authorization: "Bearer " + getToken() }, - url: process.env.VUE_APP_BASE_API + "/gysl/ml/importMl" - } - - /** 导出按钮操作 */ - handleExport() { - console.log('【导出参数】', JSON.stringify(this.queryParams, null, 2)); - this.$modal.confirm('确认导出所有数据?').then(() => { - return exportCatalog(this.queryParams); - }).then(response => { - this.download(response.msg); - }).catch(error => { - console.error('导出失败:', error); - }); - }, - - /** 导入按钮操作 */ - handleImport() { - this.upload.open = true; - }, - - /** 下载模板操作 */ - importTemplate() { - this.download("/gysl/ml/importTemplate", {}, `目录导入模板_${new Date().getTime()}.xlsx`); - }, - - // 文件上传中处理 - handleFileUploadProgress(event, file, fileList) { - this.upload.isUploading = true; - }, - - // 文件上传成功处理 - handleFileSuccess(response, file, fileList) { - this.upload.open = false; - this.upload.isUploading = false; - this.$refs.upload.clearFiles(); - this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true }); - this.getList(); - }, - - // 提交上传文件 - submitFileForm() { - this.$refs.upload.submit(); - } \ No newline at end of file