From 498fbe03d1fa812f607d9445c2fc533debc3b3ce Mon Sep 17 00:00:00 2001 From: haha Date: Tue, 9 Jan 2024 23:11:00 +0800 Subject: [PATCH] update code --- src/pages/index.vue | 8 ++++---- vue.config.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/index.vue b/src/pages/index.vue index 02f493a..e5d7205 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -790,12 +790,12 @@ export default { } else if (this.overview == 1) { this.projectCategoryWidth = 210; - this.overviewText = "项目总投资"; + this.overviewText = "项目总投资(万元)"; this.surveyUrlSb = 'images/survey_icon_2.png' } else { this.projectCategoryWidth = 210; - this.overviewText = "项目年投资"; + this.overviewText = "项目年投资(万元)"; this.surveyUrlSb = 'images/survey_icon_3.png' } let year = this.$dt(new Date()).$y; @@ -803,8 +803,8 @@ export default { let tmps = (d.data || []).map(it => { return { id: it.id, - name: it.projectName, - value: it.deptId / 10000.0 + name: it.projectName+(n>0?'(万元)':''), + value: it.deptId / 10000.0 } }); let sum = 0; diff --git a/vue.config.js b/vue.config.js index 01ca082..bd63956 100644 --- a/vue.config.js +++ b/vue.config.js @@ -37,8 +37,8 @@ module.exports = defineConfig({ } }, '/jhapi':{ - //target: `http://62.234.3.186/jhapi/`, - target: `http://127.0.0.1:8090/jhapi/`, + target: `http://62.234.3.186/jhapi/`, + //target: `http://127.0.0.1:8090/jhapi/`, changeOrigin: true, pathRewrite: { '^/jhapi':'/'