From c49d36d54850d6f708ceac8115b31336763ce74f Mon Sep 17 00:00:00 2001 From: TiaStars Date: Mon, 12 Aug 2024 16:21:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=81=87=E6=95=B0=E6=8D=AE=E5=81=9A=E7=9C=9F?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E3=80=81=E6=94=BF=E5=8A=A1=E7=AB=AF=E3=80=81?= =?UTF-8?q?=E4=BC=81=E4=B8=9A=E7=AB=AF=E5=85=B3=E4=BA=8E=E8=B5=84=E9=87=91?= =?UTF-8?q?=E6=8B=A8=E4=BB=98=E6=95=B0=E6=8D=AE=E5=AF=B9=E6=8E=A5=E3=80=81?= =?UTF-8?q?=E8=84=B1=E6=95=8F=E6=95=B0=E6=8D=AE=E5=BA=93=E7=9A=84=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=A1=B5=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 8 +- .env.production | 5 +- package.json | 2 +- src/api/jin_ji_hu/zijinbiao/index.js | 42 +++ src/assets/styles/public.scss | 42 ++- src/views/dataCloudMap/index.vue | 12 +- .../home/components/echartsPage/index.vue | 52 +-- src/views/home/index.vue | 166 ++++----- .../enterpriseDirectory/index.vue | 4 + .../projectInfo/components/tabThree/index.vue | 62 +++- src/views/project/projectInfo/index.vue | 2 +- .../components/brandPublicity/index.vue | 12 +- .../capitalAppropriateAnalyse/index.vue | 350 ++++++++++-------- .../components/capitalConditionTOP5/index.vue | 76 ++-- .../components/emphasisProject/index.vue | 44 ++- .../components/featureProject/index.vue | 33 +- src/views/workbench/components/index.js | 2 +- .../components/promoteProject/index.vue | 43 ++- src/views/workbench/index.vue | 17 +- vue.config.js | 6 +- 20 files changed, 601 insertions(+), 379 deletions(-) create mode 100644 src/api/jin_ji_hu/zijinbiao/index.js diff --git a/.env.development b/.env.development index d6ca00d..db91e13 100644 --- a/.env.development +++ b/.env.development @@ -5,8 +5,12 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统 ENV = 'development' # 金鸡湖现代服务业品牌管理系统/开发环境 -# VUE_APP_BASE_API = 'http://192.168.0.111:9040' -VUE_APP_BASE_API = 'http://39.101.188.84:9040' +VUE_APP_BASE_API = 'http://192.168.0.110:9031' +# 测试环境数据库 +# VUE_APP_BASE_API = 'http://39.101.188.84:9040' +# 脱敏三方测试用数据库 +# VUE_APP_BASE_API = 'http://39.101.188.84:9031' +# 正式环境数据库 # VUE_APP_BASE_API = 'https://idp.sipac.gov.cn/api' # 路由懒加载 diff --git a/.env.production b/.env.production index b1a6f2b..4401bfc 100644 --- a/.env.production +++ b/.env.production @@ -6,7 +6,10 @@ ENV = 'production' # 金鸡湖现代服务业品牌管理系统/生产环境 # VUE_APP_BASE_API = '/prod-api' +# 测试环境数据库 VUE_APP_BASE_API = 'http://39.101.188.84:9040' +# 脱敏三方测试用数据库 +# VUE_APP_BASE_API = 'http://39.101.188.84:9031' # VUE_APP_BASE_API = 'http://192.114.0.197/api' - +# 正式环境数据库 # VUE_APP_BASE_API = 'https://idp.sipac.gov.cn/api' diff --git a/package.json b/package.json index bb08b34..3f40792 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202408091105", + "version": "1.0.202408121511", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/api/jin_ji_hu/zijinbiao/index.js b/src/api/jin_ji_hu/zijinbiao/index.js new file mode 100644 index 0000000..aa0e080 --- /dev/null +++ b/src/api/jin_ji_hu/zijinbiao/index.js @@ -0,0 +1,42 @@ +import request from "@/utils/request" + +// 查询项目库详情下的资金情况 +export function jProjectFund(id) { + return request({ + url: "/jjh/jProjectFund/" + id, + method: "get", + }) +} + +// 企业端首页-->往年专项资金申报 +export function usualFund() { + return request({ + url: "/jjh/jProjectFund/usualFund" , + method: "get", + }) +} + +// 企业端首页--> 荣誉资质 关联项目进展 type:1;企业荣誉资质 type:2;关联项目进展 +export function enterpriseProject(params) { + return request({ + url: "/jjh/jProjectFund/enterpriseProject" , + method: "get", + params + }) +} + +// 政务端工作台-->拨付资金企业申请情况TOP5 +export function appropriationTop5() { + return request({ + url: "/jjh/jProjectFund/appropriationTop5" , + method: "get", + }) +} + +// 政务端工作台-->资金引导拨付情况统计 +export function fundStatistics() { + return request({ + url: "/jjh/jProjectFund/fundStatistics" , + method: "get", + }) +} \ No newline at end of file diff --git a/src/assets/styles/public.scss b/src/assets/styles/public.scss index 0aa7e2c..5818c82 100644 --- a/src/assets/styles/public.scss +++ b/src/assets/styles/public.scss @@ -1882,6 +1882,7 @@ font-style: normal; text-decoration-line: underline; text-transform: none; + cursor: pointer; } } .promoteProject-bottom { @@ -1971,6 +1972,7 @@ font-style: normal; text-decoration-line: underline; text-transform: none; + cursor: pointer; } } .promoteProject-bottom { @@ -2285,6 +2287,7 @@ font-style: normal; text-decoration-line: underline; text-transform: none; + cursor: pointer; } } .promoteProject-bottom { @@ -2397,10 +2400,13 @@ flex: 1; // width: 50%; overflow-y: scroll; - display: grid; - grid-template-columns: 1fr; - row-gap: 10px; + // display: grid; + // grid-template-columns: 1fr; + // row-gap: 10px; + display: flex; + flex-direction: column; .table-items { + margin-bottom: 10px; padding: 15px 15px; text-align: left; background-color: #fff; @@ -2414,6 +2420,7 @@ font-style: normal; text-decoration-line: underline; text-transform: none; + cursor: pointer; } .project-type,.declare-time,.appropriate { display: flex; @@ -2443,24 +2450,34 @@ } } } + .right-tables-Two { + flex: 1; + } } // 企业荣誉资质 .two-tables { - display: grid; - grid-template-columns: 1fr; - row-gap: 10px; + // display: grid; + // grid-template-columns: 1fr; + // row-gap: 10px; margin-top: 10px; + display: flex; + flex-direction: column; overflow-y: scroll; .table-items { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; + margin-bottom: 10px; background-color: #fff; .two-left { font-family: AlibabaPuHuiTiM; font-size: 16px; color: #1890FF; + font-style: normal; + text-decoration-line: underline; + text-transform: none; + cursor: pointer; } .two-right { display: flex; @@ -2479,6 +2496,12 @@ // 往年专项资金申报 section { margin-top: 10px; + .el-table--border { + border: 1px solid #dfe6ec; + } + .el-table::after { + width: 0; + } .el-table { th { font-family: AlibabaPuHuiTiM; @@ -2499,6 +2522,10 @@ font-family: AlibabaPuHuiTiR; font-size: 14px; color: #1890FF; + font-style: normal; + text-decoration-line: underline; + text-transform: none; + cursor: pointer; } } } @@ -2544,6 +2571,8 @@ font-style: normal; text-decoration-line: underline; text-transform: none; + cursor: pointer; + display: flex; } } .promoteProject-bottom { @@ -2555,6 +2584,7 @@ font-family: AlibabaPuHuiTiR; font-size: 14px; color: #666666; + display: flex; .span-two { font-family: AlibabaPuHuiTiM; } diff --git a/src/views/dataCloudMap/index.vue b/src/views/dataCloudMap/index.vue index 40503f5..d3a7d70 100644 --- a/src/views/dataCloudMap/index.vue +++ b/src/views/dataCloudMap/index.vue @@ -107,7 +107,7 @@
规上企业数量:
-
{{ item.qyCount }}
+
{{ item.qyCount ? item.qyCount : '-' }}
@@ -117,7 +117,7 @@
规上企业营收:
-
{{ item.allRevenue }}
+
{{ item.allRevenue ? item.allRevenue : '-' }}
亿
@@ -127,7 +127,7 @@
全口径增加值:
-
{{ item.addValue }}
+
{{ item.addValue ? item.addValue : '-' }}
亿
@@ -142,7 +142,7 @@
企业数量:
-
{{ AllData.qyCount }}
+
{{ AllData.qyCount ? AllData.qyCount : '-' }}
@@ -154,7 +154,7 @@
税收贡献:
-
{{ AllData.allRevenue }}
+
{{ AllData.allRevenue ? AllData.allRevenue : '-' }}
亿 { - return "{a|" +params.value+"}{b|" + "%}"; + let data = params.data; + if(params.value == 0) { + data.labelLine.show = false + data.label.show = false + data.emphasis.label.show = false + } else { + return "{a|" +params.value+"}{b|" + "%}"; + } }, rich: { a: { fontFamily: "DINCondensed", fontWeight: 'bold', fontSize: 18, - padding: [-15, 0, 0, 0], + padding: [-17, 0, 0, 0], }, b: { fontFamily: "AlibabaPuHuiTiR", fontSize: 12, fontWeight: 500, - padding: [-15, 0, 0, 0], + padding: [-17, 0, 0, 0], }, }, }, - labelLine: { - show: true, - length: 15, - length2: 20, - }, }, { name: "阴影圈", @@ -132,7 +137,6 @@ export default { }, methods:{ cancalDebounce(){ - console.log("走了吗"); window.onresize = this.myChartHome.resize(); }, initEchart(){ diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 897614c..c3c8d7c 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -10,29 +10,30 @@
- 往年资金拨付完成比例(5%) + 往年资金拨付完成比例(100%)
-
-
-
【项目名称】
+
+
+
【{{item.projectName}}】
项目类别: 自主品牌先进技术研究院
- 申报时间: - 2023-04-01 + 拨付时间: + {{ parseTime(item.appropriationTime, '{y}-{m}-{d}') }}
拨付金额(亿元): - 50 + {{item.fundAmount}}
+
@@ -40,15 +41,16 @@ 企业荣誉资质(5个)
-
-
-
xxxxx项目
+
+
+
项目类别: - 自主品牌先进技术研究院 +
+ @@ -59,15 +61,19 @@
- + + + - + @@ -78,24 +84,27 @@ 关联项目进展(3个)
-
+
- 【{{ item.projectName }}】 +
- 所属企业: - {{ item.enterprice }} + 项目类别: +
申报时间: - {{ item.time }} + {{ parseTime(item.createTime, '{y}-{m}-{d}') }}
-
{{item.type == 1 ? '复审中' : item.type == 2 ? '评审通过' : item.type == 3 ? '复审不通过' : ''}}
+
+ {{item.status == 0 ? '待填报' : item.status == 1 ? '初审中' : item.status == 2 ? '复审中' : item.status == 3 ? '终审中' : item.status == 6 ? '已填报' : item.status == 7 ? '复审不通过' : item.status == 8 ? '初审不通过' : item.status == 9 ? '终审不通过' : item.status == 10 ? '初审驳回' : ''}} +
+ @@ -155,9 +164,10 @@
-
+ +
@@ -178,9 +188,10 @@
{{ item.status == 0 ? "去填报" : item.status == 10 ? "去修改" : "去查看"}}
-
+ +
@@ -201,13 +212,15 @@ diff --git a/src/views/project/projectInfo/index.vue b/src/views/project/projectInfo/index.vue index 417f98a..2b29f39 100644 --- a/src/views/project/projectInfo/index.vue +++ b/src/views/project/projectInfo/index.vue @@ -28,7 +28,7 @@
- +
diff --git a/src/views/workbench/components/brandPublicity/index.vue b/src/views/workbench/components/brandPublicity/index.vue index b3d7110..9838126 100644 --- a/src/views/workbench/components/brandPublicity/index.vue +++ b/src/views/workbench/components/brandPublicity/index.vue @@ -24,27 +24,27 @@ export default { return { tableData:[ { - projectName:"产业活动名称", + projectName:"活动1", enterprice:"国家级", time:"2023-02-11", },{ - projectName:"产业活动名称", + projectName:"活动2", enterprice:"国家级", time:"2023-02-11", },{ - projectName:"产业活动名称", + projectName:"活动3", enterprice:"省级", time:"2023-02-11", },{ - projectName:"产业活动名称", + projectName:"活动4", enterprice:"省级", time:"2023-02-11", },{ - projectName:"产业活动名称", + projectName:"活动5", enterprice:"省级", time:"2023-02-11", },{ - projectName:"产业活动名称", + projectName:"活动6", enterprice:"省级", time:"2023-02-11", }, diff --git a/src/views/workbench/components/capitalAppropriateAnalyse/index.vue b/src/views/workbench/components/capitalAppropriateAnalyse/index.vue index c304b11..ce0bb7e 100644 --- a/src/views/workbench/components/capitalAppropriateAnalyse/index.vue +++ b/src/views/workbench/components/capitalAppropriateAnalyse/index.vue @@ -3,6 +3,7 @@
diff --git a/src/views/workbench/components/index.js b/src/views/workbench/components/index.js index ffaa954..b719cf7 100644 --- a/src/views/workbench/components/index.js +++ b/src/views/workbench/components/index.js @@ -9,7 +9,7 @@ export { default as echartDataFive } from './TopEchart' // 重点及特色项目 export { default as TableOne } from './emphasisProject' // 资金引导情况分析 -export { default as TableTwo } from './capitalCondition' +// export { default as TableTwo } from './capitalCondition' // 拨付资金企业申请情况TOP5 export { default as TableThree } from './capitalConditionTOP5' // 促进产业项目情况 diff --git a/src/views/workbench/components/promoteProject/index.vue b/src/views/workbench/components/promoteProject/index.vue index 7436d90..6e8ff94 100644 --- a/src/views/workbench/components/promoteProject/index.vue +++ b/src/views/workbench/components/promoteProject/index.vue @@ -3,7 +3,7 @@
- 【{{ item.projectName }}】 + 【{{ item.projectName }}】
@@ -25,30 +25,43 @@ export default { return { tableData:[ { - projectName:"项目名称", - enterprice:"苏州众汇聚合信息科技有限公司", - time:"2024-04-01", - type:1, + projectName:"自主品牌先进技术研究院", + enterprice:"博世********有限公司", + time:"2024-07-08", + id: 1505, + type:2, },{ - projectName:"项目名称", - enterprice:"苏州众汇聚合信息科技有限公司", - time:"2024-04-01", + projectName:"自主品牌先进技术研究院", + enterprice:"博世********有限公司", + time:"2024-07-08", + id: 1505, type:2, },{ - projectName:"项目名称", - enterprice:"苏州众汇聚合信息科技有限公司", - time:"2024-04-01", - type:3, + projectName:"自主品牌先进技术研究院", + enterprice:"博世********有限公司", + time:"2024-07-08", + id: 1505, + type:2, },{ - projectName:"项目名称", + projectName:"自主品牌先进技术研究院", enterprice:"苏州众汇聚合信息科技有限公司", - time:"2024-04-01", - type:3, + time:"2024-07-08", + id: 1505, + type:2, }, ] } }, methods:{ + ProjectInfo(item){ + // if(item.projectName == "区级总部" || item.projectName == "市级服务业领军") { + + // } + this.$router.push({ + name: 'projectInfo', + query: { userId: Number(item.id) } + }) + }, }, } diff --git a/src/views/workbench/index.vue b/src/views/workbench/index.vue index 66efd50..c7f6c60 100644 --- a/src/views/workbench/index.vue +++ b/src/views/workbench/index.vue @@ -114,9 +114,10 @@
-
+ +
@@ -137,9 +138,10 @@
去审批
-
+ +
@@ -277,7 +279,7 @@ 【统计数据截至:2024-01】 -
查看更多数据>>
+
@@ -332,8 +334,9 @@ import { selectAll, workSearch } from "@/api/jin_ji_hu/home" import { chiefAll, changeIsRead } from "@/api/jin_ji_hu/intelligentReminder" import homeIndex from "@/views/home/index.vue" import echartData from '@/views/dataCloudMap/components/echartData.vue' +// TableTwo, import { echartDataTwo, echartDataThree, - TableOne, TableTwo, TableThree, TableFour, echartDataFour, + TableOne, TableThree, TableFour, echartDataFour, echartDataFive, TableFive, TableSix, TableSeven, TableEight, zhinengtixing, daibanrenwu } from "./components" @@ -346,7 +349,7 @@ export default { echartDataTwo, echartDataThree, TableOne, - TableTwo, + // TableTwo, TableThree, TableFour, echartDataFour, diff --git a/vue.config.js b/vue.config.js index a7a80de..bfac8bd 100644 --- a/vue.config.js +++ b/vue.config.js @@ -18,8 +18,12 @@ module.exports = { // 部署生产环境和开发环境下的URL。 // 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上 // 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。 - // demo/JinJiHu + // 测试环境部署地址 publicPath: process.env.NODE_ENV === "production" ? "/demo/JinJiHu" : "/", + // 第三方测试脱敏部署地址 + // publicPath: process.env.NODE_ENV === "production" ? "/demo/JinJiHuTest" : "/", + // 正式环境部署地址 + // publicPath: process.env.NODE_ENV === "production" ? "./" : "/", // 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist) outputDir: "dist", // 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)