diff --git a/package.json b/package.json index d79edd6..c139ea9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202407310924", + "version": "1.0.202408010854", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/api/jin_ji_hu/ServiceDevelopment/index.js b/src/api/jin_ji_hu/ServiceDevelopment/index.js new file mode 100644 index 0000000..905664d --- /dev/null +++ b/src/api/jin_ji_hu/ServiceDevelopment/index.js @@ -0,0 +1,19 @@ +import request from "@/utils/request" + +// 查询模板指标自定义选择 +export function templateMetrics(params) { + return request({ + url: "/jjh/templateMetrics/templateMetrics", + method: "get", + params + }) +} + +// 新增服务业发展报告 +export function templateMetricsAdd(data){ + return request({ + url: "/jjh/templateMetrics", + method: "post", + data + }) +} \ No newline at end of file diff --git a/src/assets/styles/font.css b/src/assets/styles/font.css index c99a132..43f6371 100644 --- a/src/assets/styles/font.css +++ b/src/assets/styles/font.css @@ -41,4 +41,8 @@ @font-face { font-family: "ArialB"; src: url("./font/Arial-BoldMT.otf"); +} +@font-face { + font-family: "ArialM"; + src: url("./font/ArialMT.otf"); } \ No newline at end of file diff --git a/src/assets/styles/font/ArialMT.otf b/src/assets/styles/font/ArialMT.otf new file mode 100644 index 0000000..343e2b3 Binary files /dev/null and b/src/assets/styles/font/ArialMT.otf differ diff --git a/src/assets/styles/public.scss b/src/assets/styles/public.scss index 2228289..4d19a4f 100644 --- a/src/assets/styles/public.scss +++ b/src/assets/styles/public.scss @@ -1,5 +1,15 @@ @import "@/assets/styles/utils.scss"; + +// 富文本编译器样式 +.el-form-item__content { + .w-e-text-container { + .w-e-text-placeholder { + top: 10px; + } + } +} + // 面包屑样式 .my-L-breadcrumb { // height: 55px; @@ -1839,6 +1849,15 @@ color: #fff; font-family: AlibabaPuHuiTiM; } + .orange { + background-color: #ff8929; + } + .green { + background-color: #5cbc69; + } + .red { + background-color: #ff6349; + } .promoteProject-top { .span-one { font-family: AlibabaPuHuiTiM; @@ -2199,9 +2218,257 @@ .home-main-left { background-color: #fff; border-radius: 10px; - // margin-right: 20px; margin-right: 10px; + padding: 10px 20px; height: 100%; + display: flex; + flex-direction: column; + .enterprise-header { + display: flex; + align-items: center; + margin-bottom: 10px; + .dataCloudMap-birght { + width: 6px; + height: 18px; + background: #0086FF; + box-shadow: 3px 0 3px 0px #0086FF; + border-radius: 5px 5px 5px 5px; + } + .enterprise-header-title { + font-family: AlibabaPuHuiTiB; + margin: 0 10px; + font-weight: bold; + font-size: 18px; + color: #333333; + } + } + .home-enterprise-top,.home-enterprise-bottom { + // flex: 1; + margin-bottom: 10px; + height: 50%; + height: calc((100% - 45px) / 2); + display: flex; + .capital-proportion,.capital-declare { + margin-right: 10px; + } + .capital-proportion,.enterprise-honor,.capital-declare,.relevancy-project { + width: 100%; + background-color: #F5F8FA; + height: 100%; + padding: 20px 20px 10px; + border-radius: 10px; + display: flex; + flex-direction: column; + .box-header { + display: flex; + align-items: center; + .garden { + width: 10px; + height: 10px; + border-radius: 50%; + background-color: #0086FF; + margin-right: 10px; + } + .box-header-title { + font-family: AlibabaPuHuiTiB; + font-size: 16px; + color: #383838; + } + } + // 往年资金拨付完成比例 + .capital-echart-table { + flex: 1; + margin-top: 10px; + display: flex; + .left-echart { + flex: 1; + // width: 45%; + height: 100%; + #echartsHome { + height: 100%; + width: 100%; + } + } + .right-tables { + flex: 1; + // width: 50%; + overflow-y: scroll; + display: grid; + grid-template-columns: 1fr; + row-gap: 10px; + .table-items { + padding: 15px 15px; + text-align: left; + background-color: #fff; + display: grid; + grid-template-columns: 1fr; + row-gap: 10px; + .project-name { + font-family: AlibabaPuHuiTiM; + font-size: 16px; + color: #1890FF; + font-style: normal; + text-decoration-line: underline; + text-transform: none; + } + .project-type,.declare-time,.appropriate { + display: flex; + align-items: center; + font-size: 16px; + color: #666666; + // flex-wrap: nowrap; + .left-title { + // flex: 1; + margin-right: 5px; + font-family: AlibabaPuHuiTiR; + .left-unit { + font-size: 12px; + } + } + .right-value { + font-family: AlibabaPuHuiTiM; + width: 65%; + text-overflow: ellipsis; + overflow: hidden; + word-break: break-all; + white-space: nowrap; + } + .right-number { + font-family: ArialB; + } + } + } + } + } + // 企业荣誉资质 + .two-tables { + flex: 1; + display: grid; + grid-template-columns: 1fr; + row-gap: 10px; + margin-top: 10px; + .table-items { + display: flex; + align-items: center; + justify-content: space-between; + padding: 10px 20px; + background-color: #fff; + overflow-y: scroll; + .two-left { + font-family: AlibabaPuHuiTiM; + font-size: 16px; + color: #1890FF; + } + .two-right { + display: flex; + align-items: center; + font-size: 14px; + color: #666666; + .right-left { + font-family: AlibabaPuHuiTiR; + } + .right-span { + font-family: AlibabaPuHuiTiM; + } + } + } + } + // 往年专项资金申报 + section { + margin-top: 10px; + .el-table { + th { + font-family: AlibabaPuHuiTiM; + font-size: 14px; + color: #333333; + } + td { + font-family: AlibabaPuHuiTiR; + font-size: 14px; + color: #666666; + } + .project-trace-table-number { + font-family: ArialM; + font-size: 14px; + color: #666666; + } + .project-trace-table { + font-family: AlibabaPuHuiTiR; + font-size: 14px; + color: #1890FF; + } + } + } + // 关联项目进展 + .promoteProject-box-wai-box { + margin-top: 10px; + overflow-y: auto; + display: grid; + grid-template-columns: 1fr; + row-gap: 15px; + .promoteProject-box-div { + background: #FFFFFF; + padding: 14px; + position: relative; + .promoteProject-position { + position: absolute; + top: 0; + right: 0; + padding: 5px 0; + width: 20%; + border-radius: 0px 0px 0px 20px; + background-color: #ff8929; + display: flex; + align-items: center; + justify-content: center; + color: #fff; + font-family: AlibabaPuHuiTiM; + } + .orange { + background-color: #ff8929; + } + .green { + background-color: #5cbc69; + } + .red { + background-color: #ff6349; + } + .promoteProject-top { + .span-one { + font-family: AlibabaPuHuiTiM; + font-size: 16px; + color: #1890FF; + font-style: normal; + text-decoration-line: underline; + text-transform: none; + } + } + .promoteProject-bottom { + margin-top: 16px; + display: flex; + justify-content: space-between; + width: 85%; + .promoteProject-bottom-left { + font-family: AlibabaPuHuiTiR; + font-size: 14px; + color: #666666; + .span-two { + font-family: AlibabaPuHuiTiM; + } + } + .promoteProject-bottom-right { + font-family: AlibabaPuHuiTiR; + font-size: 14px; + color: #666666; + .span-three { + font-family: ArialB; + } + } + } + } + } + } + } } .home-main-right { height: 100%; @@ -2337,6 +2604,9 @@ border-radius: 10px; margin-right: 10px; padding: 10px 20px; + .main-right { + height: 100%; + } .right-header { display: flex; justify-content: space-between; @@ -2368,6 +2638,7 @@ } } .right-main { + overflow-y: scroll; .main-items { display: flex; align-items: center; @@ -3678,28 +3949,47 @@ .yewufazhanbox-right { background: #fff; border-radius: 10px; - padding: 20px; + padding: 10px 20px; - .yewufazhan-title { - padding-left: 15px; - position: relative; - font-family: AlibabaPuHuiTiB; - font-size: 16px; - color: #383838; - text-align: left; - font-weight: 600; + .yewufazhanbox-header-box { + display: flex; + align-items: center; + justify-content: space-between; margin-bottom: 20px; + .yewufazhan-title { + padding-left: 15px; + position: relative; + font-family: AlibabaPuHuiTiB; + font-size: 16px; + color: #383838; + text-align: left; + font-weight: 600; + + &:before { + content: ''; + position: absolute; + left: 0px; + top: 50%; + transform: translate(0, -50%); + width: 9px; + height: 9px; + background-color: #0086FF; + border-radius: 50%; + } + } + .el-button--default:hover { + background-color: oklab(0.65 -0.06 -0.18); + border-color: #1890FF; + color: #FFFEFE; + } - &:before { - content: ''; - position: absolute; - left: 0px; - top: 50%; - transform: translate(0, -50%); - width: 9px; - height: 9px; - background-color: #0086FF; - border-radius: 50%; + .el-button--default { + border-color: #1890FF; + font-family: PingFang-SC; + font-size: 14px; + font-weight: bold; + color: #0086FF; + padding: 10px 100px; } } @@ -3719,6 +4009,38 @@ .dialog-from-item { text-align: right; + + .el-button--primary.is-active, + .el-button--primary:active { + background: oklab(0.7 -0.3 -0.4); + border-color: #1890FF; + color: #FFFEFE; + } + + .el-button--primary { + background: #1890FF; + border-color: #1890FF; + color: #FFFEFE; + } + + .el-button--primary:focus, + .el-button--primary:hover { + background: oklab(0.7 -0.3 -0.4); + border-color: #1890FF; + color: #FFFEFE; + } + + .el-button--default:hover, + .el-button--primary:hover { + background-color: oklab(0.65 -0.06 -0.18); + border-color: #1890FF; + color: #FFFEFE; + } + + .el-button--default { + border-color: #1890FF; + color: #000000; + } } } @@ -3726,9 +4048,32 @@ width: 25%; position: relative; + .yewufazhan-title-right { + padding-left: 15px; + position: relative; + font-family: AlibabaPuHuiTiB; + font-size: 16px; + color: #383838; + text-align: left; + font-weight: 600; + line-height: 40px; + + &:before { + content: ''; + position: absolute; + left: 0px; + top: 50%; + transform: translate(0, -50%); + width: 9px; + height: 9px; + background-color: #0086FF; + border-radius: 50%; + } + } + .yewufazhanbox-right-from { position: absolute; - top: 13px; + top: 10px; right: 20px; span { @@ -3747,8 +4092,8 @@ height: 95%; overflow: auto; .yewufazhanbox-charu { - cursor:pointer; font-family: AlibabaPuHuiTiR; + padding: 0; font-size: 14px; color: #1890FF; font-style: normal; diff --git a/src/views/ServiceAndDevelopment/index.vue b/src/views/ServiceAndDevelopment/index.vue index e2ae59d..d6791db 100644 --- a/src/views/ServiceAndDevelopment/index.vue +++ b/src/views/ServiceAndDevelopment/index.vue @@ -1,27 +1,30 @@ + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 737670e..92ab743 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,12 +1,107 @@