From 01fb0a72b4680ffebb8d095ee7585c3dd2236a62 Mon Sep 17 00:00:00 2001 From: yanfeiyong <2060201549@qq.com> Date: Fri, 9 May 2025 10:57:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E7=9A=84=E4=B8=89?= =?UTF-8?q?=E5=BC=A0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 5 +- .../components/ProjectDetails/Months.vue | 5 +- src/views/components/analysis/chanyexfgl.vue | 2 +- src/views/components/analysis/ndwcqk.vue | 2 +- src/views/login_v1.vue | 335 ++++++++++++++++++ src/views/statistics/1.vue | 259 ++++++++++++++ src/views/statistics/2.vue | 295 +++++++++++++++ src/views/statistics/index.vue | 44 ++- 8 files changed, 937 insertions(+), 10 deletions(-) create mode 100644 src/views/login_v1.vue create mode 100644 src/views/statistics/1.vue create mode 100644 src/views/statistics/2.vue diff --git a/.env.production b/.env.production index 3cdcbb9..a5a8cc0 100644 --- a/.env.production +++ b/.env.production @@ -5,6 +5,9 @@ VUE_APP_TITLE = 苏州工业园区工业上楼管理系统 ENV = 'production' # 苏州工业园区工业上楼管理系统/生产环境 +# 个人环境 VUE_APP_BASE_API = '' +# 测试环境 # VUE_APP_BASE_API = 'http://39.101.188.84:7071' -# VUE_APP_BASE_API = '/api' +# 正式环境 +# VUE_APP_BASE_API = 'https://gysl.sipac.gov.cn/api' diff --git a/src/views/components/ProjectDetails/Months.vue b/src/views/components/ProjectDetails/Months.vue index 1376f45..4d32890 100644 --- a/src/views/components/ProjectDetails/Months.vue +++ b/src/views/components/ProjectDetails/Months.vue @@ -191,8 +191,7 @@ export default { if (valid) { const payload = { ...this.form, - xmId: this.xmId, // 来自 props 的项目ID - projectId: this.xmId, // 如果后端需要projectId也传相同值 + xmId: this.xmId, status: this.form.status }; @@ -201,7 +200,7 @@ export default { if (response.code === 200) { this.$message.success('新增成功'); this.dialogVisible = false; - this.getMonthInformationPage(); // 刷新列表 + this.getMonthInformationPage(); } else { this.$message.error(response.msg || '新增失败'); } diff --git a/src/views/components/analysis/chanyexfgl.vue b/src/views/components/analysis/chanyexfgl.vue index 1c61008..566e8ab 100644 --- a/src/views/components/analysis/chanyexfgl.vue +++ b/src/views/components/analysis/chanyexfgl.vue @@ -67,7 +67,7 @@ export default { \ No newline at end of file diff --git a/src/views/statistics/1.vue b/src/views/statistics/1.vue new file mode 100644 index 0000000..5393ec0 --- /dev/null +++ b/src/views/statistics/1.vue @@ -0,0 +1,259 @@ + + + + + + \ No newline at end of file diff --git a/src/views/statistics/2.vue b/src/views/statistics/2.vue new file mode 100644 index 0000000..8280fba --- /dev/null +++ b/src/views/statistics/2.vue @@ -0,0 +1,295 @@ + + + + + + \ No newline at end of file diff --git a/src/views/statistics/index.vue b/src/views/statistics/index.vue index 3bfe497..cd5a6e1 100644 --- a/src/views/statistics/index.vue +++ b/src/views/statistics/index.vue @@ -57,12 +57,36 @@ +
+
+ + 年度任务完成情况 +
+
+ + +
+
+ + + +
+
+
+ 储备项目统计分析 +
+
+ +
+
产业导向细分产业分析 +
+
@@ -79,6 +103,8 @@ import MapArea from '@/views/components/analysis/map.vue' import Cyeshuju from '@/views/components/analysis/chanyeshuju.vue' import Cydxml from '@/views/components/analysis/chanyedxml.vue' import Cydxxfgl from '@/views/components/analysis/chanyexfgl.vue' +import Cbxm from '@/views/components/analysis/chubeixm.vue' +import Ndwcqk from '@/views/components/analysis/ndwcqk.vue' import { investall, fungong } from '@/api/ManageApi/index' export default { @@ -91,7 +117,9 @@ export default { MapArea, Cyeshuju, Cydxml, - Cydxxfgl + Cydxxfgl, + Cbxm, + Ndwcqk }, data() { return { @@ -107,7 +135,7 @@ export default { methods: { handleYearChange(years) { this.years = years; - console.log("index.vue: handleYearChange called with years:", years); + console.log("index.vue: handleYearChange called with years:", years); }, async getData() { const response = await investall(); @@ -188,6 +216,16 @@ export default { height: 1.25rem; display: flex; align-items: center; + justify-content: space-between; + + .top { + width: auto; + display: flex; + margin-bottom: 10px; + font-size: 0.88rem; + color: gray!important; + justify-content: flex-end; + } } .relaitem { @@ -254,6 +292,4 @@ export default { .bgcicon { padding: 0 !important; } - - \ No newline at end of file