diff --git a/.env.development b/.env.development index 6f00b5a..dd6806d 100644 --- a/.env.development +++ b/.env.development @@ -10,5 +10,11 @@ VITE_OPEN = false # public path VITE_PUBLIC_PATH = / +# VITE_SCREEN = /api +VITE_SCREEN = /prod-api +# 访问服务器文件地址 +VITE_UPLOAD_IMG_URL = /dev-img-api # Cross-domain proxy, you can configure multiple -VITE_PROXY = [ ["/api", "http://127.0.0.1:3000" ] ] +VITE_PROXY = [ ["/prod-api", "http://192.168.110.10:8017" ],["/dev-img-api", "http://42.193.40.239:8017" ] ] +VITE_UPLOAD_URL = http://42.193.40.239:8888/ +# VITE_PROXY = [ ["/prod-api", "http://42.193.40.239:8017" ] ] diff --git a/.env.production b/.env.production index 74d1831..9533749 100644 --- a/.env.production +++ b/.env.production @@ -7,4 +7,11 @@ VITE_PUBLIC_PATH = / # 是否在打包时生成 sourcemap VITE_BUILD_SOURCEMAP = false # 是否在打包时删除 console 代码 -VITE_BUILD_DROP_CONSOLE = true \ No newline at end of file +VITE_BUILD_DROP_CONSOLE = true + +# VITE_SCREEN = /api +VITE_SCREEN = /prod-api +# 访问服务器文件地址 +VITE_UPLOAD_IMG_URL = /dev-img-api +# 服务器拼接地址 +VITE_UPLOAD_URL = https://city.sczysoft.com/dffile/ \ No newline at end of file diff --git a/public/json/daofu.json b/public/json/daofu.json index c6d5d9f..4ca797d 100644 --- a/public/json/daofu.json +++ b/public/json/daofu.json @@ -406,7 +406,11 @@ ] }, "properties": { - "name": "鲜水镇" + "name": "鲜水镇", + "center": [ + 101.119413, + 31.004894 + ] }, "id": "______.1" } diff --git a/src/api/account.ts b/src/api/account.ts new file mode 100644 index 0000000..2cef525 --- /dev/null +++ b/src/api/account.ts @@ -0,0 +1,39 @@ +import request from "../utils/request"; + +/** + *地区树形 + */ +export function areaTree() { + return request({ + url: `common/sysorg/areaTree`, + method: "GET", + }); +} + /** + *风险列表分页 + */ + export function riskTypeList() { + return request({ + url: `/admin/risk/riskTypeList`, + method: "GET", + }); +} +/** + *查询所有应急上报事件类型 + */ + export function emerEventType() { + return request({ + url: `/admin/emerEvent/emerEventType`, + method: "GET", + }); +} + +/** + *获取用户信息 + */ + export function sysUserInfo() { + return request({ + url: `/screen/index/getSysUserInfo`, + method: "GET", + }); +} \ No newline at end of file diff --git a/src/api/common.ts b/src/api/common.ts deleted file mode 100644 index dc8b3e1..0000000 --- a/src/api/common.ts +++ /dev/null @@ -1,8 +0,0 @@ -import request from "../utils/request"; - -export function test() { - return request({ - url: "", - method: "POST", - }); -} diff --git a/src/api/file.ts b/src/api/file.ts new file mode 100644 index 0000000..8b11ed6 --- /dev/null +++ b/src/api/file.ts @@ -0,0 +1,81 @@ +// import request from "@/utils/request"; +import {fileRequest} from "@/utils/request"; + +function getMethod(type: string) { + if (type.startsWith("/upload")) return "POST"; + else return "GET"; +} +// 获取文件 +/** + * + * @param userId 根据功能需求选择合适的ID + * @param fileType 文件类型 + * @param type 接口类型, 使用@utils 下面提供common中的ApiFile + * @returns Promis + */ +export function apiFile( + userId: string, + deleteId: string, + fileType: string, + type: string, + data: { OTCId: string } +) { + return fileRequest({ + url: type, + method: getMethod(type), + params: { + OTCId: userId, + OTCType: fileType, + deletedId: deleteId, + }, + data: data, + }); +} + +// 文件上传 +/** + * + * @param userId 当前登录操作人id + * @param uuid 文件生成uuid + * @param otcType 文件类型 + * @param data 文件流 + * @returns + */ +export function uploadFile( + userId: string, + uuid: string, + otcType: string, + data: object +) { + return fileRequest({ + url: "/common/upload/uploadFile", + method: "POST", + params: { + otcid: uuid, + otctype: otcType, + userId, + }, + data: data, + }); +} + /** + *文件查询 + */ + export function getFile(otcid:string,otctype:string) { + + return fileRequest({ + url: `/common/upload/getFile`, + method: "GET", + params:{ otcid,otctype } + }); +} + /** + *文件删除 + */ + export function delFile(documentId) { + return fileRequest({ + url: `/common/upload/delFile`, + method: "GET", + params:{ documentId } + }); +} diff --git a/src/api/homePage.ts b/src/api/homePage.ts index 9651dae..1e715fb 100644 --- a/src/api/homePage.ts +++ b/src/api/homePage.ts @@ -1,9 +1,102 @@ import request from "../utils/request"; -export function test(data: any) { +//基本信息统计 +export function personnelTypeStatistic() { return request({ - url: "", - method: "POST", - data: data + url: `/screen/index/personnelTypeStatistic`, + method: "GET", + }); +} +/** + * 工作开展情况 + */ + +//工作类型列表 +export function wkTypes(params) { + return request({ + url: `/screen/index/wkTypes`, + method: "GET", + params:params, + }); +} +//工作动态分类型开展情况-前五条 +export function workProgress(params) { + return request({ + url: `/screen/index/workProgress/${params.typeId}`, + method: "GET", + }); +} +/** + * 风险池 + */ + +//风险类型列表 +export function riskTypeList() { + return request({ + url: `/screen/index/riskTypeList`, + method: "GET", + }); +} +//风险列表分页 +export function riskPoolPage(params) { + return request({ + url: `/screen/index/riskPoolPage`, + method: "GET", + params:params, + }); +} +/** + * 应急指挥 + */ + +//应急队伍分页 +export function othteamPage(params) { + return request({ + url: `/screen/index/getOthteamPage`, + method: "GET", + params:params + }); +} +//应急仓库分页 +export function otheWareHousePage(params) { + return request({ + url: `/screen/index/getOtheWareHousePage`, + method: "GET", + params:params + }); +} +//应急通讯录体系 +export function performUserPage(params) { + return request({ + url: `/screen/index/performUserPage`, + method: "GET", + params:params + }); +} +//分页查看应急上报事件 +export function emerEventPage(params) { + return request({ + url: `/screen/index/emerEventPage`, + method: "GET", + params:params + }); +} +//值守人员 +export function dutyList(params) { + return request({ + url: `/screen/index/dutyList`, + method: "GET", + params:params + }); +} +/** + * 工作考核 + */ +//履职情况列表 +export function workPerformProgress(params) { + return request({ + url: `/screen/index/workPerformProgress`, + method: "GET", + params:params }); } diff --git a/src/api/map.ts b/src/api/map.ts new file mode 100644 index 0000000..a949486 --- /dev/null +++ b/src/api/map.ts @@ -0,0 +1,67 @@ +import request from "../utils/request"; + +/** + *地图信息:避难场所列表 + */ +export function emerShelterList(params) { + return request({ + url: `/screen/index/emerShelterList`, + method: "GET", + params:params + }); +} +/** + *地图信息:避难场所详情 + */ +export function emerShelterDetail(params) { + return request({ + url: `/screen/index/emerShelterDetail/${params.id}`, + method: "GET", + }); +} +/** + *地图信息:风险池列表 + */ +export function emerRiskPoolList(params) { + return request({ + url: `/screen/index/emerRiskPoolList`, + method: "GET", + params:params + }); +} +/** + *地图信息:风险池详情 + */ +export function emerRiskPoolDetail(params) { + return request({ + url: `/screen/index/emerRiskPoolDetail/${params.id}`, + method: "GET", + }); +} +/** + *地图信息:应急仓库列表 + */ +export function emerWareHouseList(params) { + return request({ + url: `/screen/index/emerWareHouseList`, + method: "GET", + params:params + }); +} +/** + *地图信息:应急仓库详情 + */ +export function emerWareHouseDetail(params) { + return request({ + url: `/screen/index/emerWareHouseDetail/${params.id}`, + method: "GET", + }); +} +// 地图信息:整体信息 +export function emerMapInfo(params) { + return request({ + url: `/screen/index/emerMapInfo`, + method: "GET", + params:params + }); +} \ No newline at end of file diff --git a/src/api/statistics.ts b/src/api/statistics.ts new file mode 100644 index 0000000..f5bb734 --- /dev/null +++ b/src/api/statistics.ts @@ -0,0 +1,123 @@ +import request from "../utils/request"; + +//查看户籍统计 +export function domicileStatistic() { + return request({ + url: `/screen/statistic/domicileStatistic`, + method: "GET", + }); +} +/** + * 预警分析 + */ + +//预警类型列表 +export function riskTypeList() { + return request({ + url: `/screen/index/riskTypeList`, + method: "GET", + }); +} +//预警分析列表分页 +export function riskPoolPage(params) { + return request({ + url: `/screen/index/riskPoolPage`, + method: "GET", + params:params, + }); +} +/** + * 应急指挥 + */ + +//应急队伍分页 +export function othteamPage(params) { + return request({ + url: `/screen/index/getOthteamPage`, + method: "GET", + params:params + }); +} +//应急仓库分页 +export function otheWareHousePage(params) { + return request({ + url: `/screen/index/getOtheWareHousePage`, + method: "GET", + params:params + }); +} +//应急通讯录体系 +export function performUserPage(params) { + return request({ + url: `/screen/index/performUserPage`, + method: "GET", + params:params + }); +} +//分页查看应急上报事件 +export function emerEventPage(params) { + return request({ + url: `/screen/index/emerEventPage`, + method: "GET", + params:params + }); +} +/** + * 工作开展情况 + */ +//最新工作管理信息 +export function latestWork(params) { + return request({ + url: `/screen/statistic/latestWork`, + method: "GET", + params:params, + }); +} +//工作类型分析 +export function workTypeStatistic(params) { + return request({ + url: `/screen/statistic/workTypeStatistic`, + method: "GET", + params:params, + }); +} +//村庄工作分析 +export function villageWorkStatistic(params) { + return request({ + url: `/screen/statistic/villageWorkStatistic`, + method: "GET", + params:params, + }); +} +//工作类型列表 +export function wkTypes(params) { + return request({ + url: `/screen/statistic/wkTypes`, + method: "GET", + params:params, + }); +} +//工作分类型统计分析 +export function workStatisticByType(params) { + return request({ + url: `/screen/statistic/workStatisticByType`, + method: "GET", + params:params, + }); +} +//风险池分类型统计 +export function rkStatByType(params) { + return request({ + url: `/screen/statistic/rkStatByType`, + method: "GET", + params:params, + }); +} +//应急数据统计 +export function emerStat(params) { + return request({ + url: `/screen/statistic/emerStat`, + method: "GET", + params:params, + }); +} \ No newline at end of file diff --git a/src/assets/images/home-page/left/none.png b/src/assets/images/home-page/left/none.png new file mode 100644 index 0000000..02b13ea Binary files /dev/null and b/src/assets/images/home-page/left/none.png differ diff --git a/src/components/global-register/BaseDialog/index.vue b/src/components/global-register/BaseDialog/index.vue new file mode 100644 index 0000000..00d2251 --- /dev/null +++ b/src/components/global-register/BaseDialog/index.vue @@ -0,0 +1,183 @@ + + + + + + + + + + + + {{ + titleName + }} + + + + + + + + + + + {{ footerkeep }} + {{ + footerclose + }} + + + + + + + + diff --git a/src/components/global-register/map/Mars3D.vue b/src/components/global-register/map/Mars3D.vue index bbdcf11..b8dd731 100644 --- a/src/components/global-register/map/Mars3D.vue +++ b/src/components/global-register/map/Mars3D.vue @@ -10,6 +10,16 @@ export default defineComponent({ diff --git a/src/components/global-register/title-c/index.vue b/src/components/global-register/title-c/index.vue index c6249bd..a52422d 100644 --- a/src/components/global-register/title-c/index.vue +++ b/src/components/global-register/title-c/index.vue @@ -49,13 +49,12 @@ const changeStatus = (e: Boolean) => { .title { flex: 1; - color: #ffffff; margin-left: 12px; - font-size: 16px; + font-size: 19px; line-height: 16px; font-family: Source Han Sans SC, Source Han Sans SC; - font-weight: 500; - color: #f3f9ff; + font-weight: 600; + color: #3be8ff; } .sw-tip { diff --git a/src/components/global-register/title-d/index.vue b/src/components/global-register/title-d/index.vue index 187ed7b..89fdfc8 100644 --- a/src/components/global-register/title-d/index.vue +++ b/src/components/global-register/title-d/index.vue @@ -40,7 +40,8 @@ const changeStatus = (e: Boolean) => { .title-bg { position: relative; overflow: hidden; - height: 36px; + // padding-top: 10px; + // padding-bottom: 10px; display: flex; flex-direction: row; align-items: center; diff --git a/src/store/user.ts b/src/store/user.ts new file mode 100644 index 0000000..2c5cefe --- /dev/null +++ b/src/store/user.ts @@ -0,0 +1,20 @@ +import { defineStore } from "pinia"; + +export const userUSerStore = defineStore({ + id: "user", + state: () => ({ + user_df: localStorage.user_df || '', + }), + getters: { + getUser_df(): number { + return this.user_df; + }, + }, + + actions: { + setUser_df(user_df: object ) { + // console.log(user_df,'user_df=====》'); + this.user_df = user_df ; + }, + }, +}); diff --git a/src/styles/element-plus.scss b/src/styles/element-plus.scss index 0cb3ead..f42ec43 100644 --- a/src/styles/element-plus.scss +++ b/src/styles/element-plus.scss @@ -1,46 +1,3 @@ -.el-dialog { - --el-dialog-background-color: linear-gradient(180deg, #003d60 0%, rgba(0, 118, 157, 0.8) 100%); - --el-dialog-bg-color: linear-gradient(180deg, #003d60 0%, rgba(0, 118, 157, 0.8) 100%) !important; - background-size: 100% 100%; - background-repeat: no-repeat; - display: flex; - flex-direction: column; - - .el-dialog__header { - margin-right: 0vw; - height: 50px; - line-height: 50px; - font-weight: bold; - padding: 0vw !important; - --el-text-color-primary: #fff; - --el-message-close-size: 0.8vw; - background: linear-gradient(90deg, rgba(1, 111, 174, 0.75) 0%, rgba(3, 181, 225, 0.45) 100%); - - .el-dialog__title { - padding: 0.5vw; - font-size: vw(30); - line-height: 0; - } - } - - .el-dialog__headerbtn .el-dialog__close { - color: white; - } - - .el-dialog__body { - padding: 0 !important; - - .custom-content { - display: flex; - flex-direction: column; - } - } - - .el-dialog__footer { - padding: 0 vw(42); - } -} - .el-table { color: #fff; --el-bg-color: transparent; @@ -293,10 +250,6 @@ table { margin: 1% 3%; } - .el-form-item__label { - color: #00ffff !important; - } - .inline-block { width: 94%; } @@ -333,10 +286,81 @@ table { } -.el-form-item__label { - color: black !important; -} + .el-input__inner { color: black !important; +} + + +.el-dialog { + --el-dialog-background-color: linear-gradient(180deg, #003d60 0%, rgba(0, 118, 157, 0.8) 100%); + --el-dialog-bg-color: linear-gradient(180deg, #003d60 0%, rgba(0, 118, 157, 0.8) 100%) !important; + background-size: 100% 100%; + background-repeat: no-repeat; + display: flex; + flex-direction: column; + + .el-dialog__header { + margin-right: 0vw; + height: 50px; + line-height: 50px; + font-weight: bold; + padding: 0vw !important; + --el-text-color-primary: #fff; + --el-message-close-size: 0.8vw; + background: linear-gradient(90deg, rgba(1, 111, 174, 0.75) 0%, rgba(3, 181, 225, 0.45) 100%); + + .el-dialog__title { + padding: 0.5vw; + font-size: vw(30); + line-height: 0; + } + } + + .el-dialog__headerbtn .el-dialog__close { + color: white; + } + + .el-dialog__body { + // padding: 0 !important; + + .custom-content { + display: flex; + flex-direction: column; + } + } + + .el-dialog__footer { + // padding: 0 vw(42); + text-align: center; + } + + .el-input__wrapper { + // background-color: red !important; + } + + .el-form-item__label { + width: 150px !important; + color: black !important; + font-size: 17px !important; + } + +} + +.center-form { + display: flow-root; + width: 100%; + margin: 0 auto; + + .el-form-item { + width: 44%; + float: left; + margin: 0 3%; + margin-bottom: 22px; + } + + .inline-block { + width: 94%; + } } \ No newline at end of file diff --git a/src/styles/variables.scss b/src/styles/variables.scss index d9f1e83..7f692d0 100644 --- a/src/styles/variables.scss +++ b/src/styles/variables.scss @@ -105,6 +105,13 @@ $sideWidth: 31%; border-radius: 0px 0px 10px 10px; } +.module_top_title_con { + display: flex; + flex-wrap: wrap; + // margin: 10px 0; + margin-bottom: 10px; +} + .module_top_title { cursor: pointer; // width: 64px; @@ -119,6 +126,7 @@ $sideWidth: 31%; border-radius: 3px; margin-left: 8px; padding: 0px 7px; + margin-top: 10px; } .module_menu_selected { @@ -135,6 +143,7 @@ $sideWidth: 31%; .weather_data_div { display: flex; + align-items: center; justify-content: space-between; flex: 1; } @@ -159,6 +168,9 @@ $sideWidth: 31%; } .weather_data_title { + display: flex; + align-items: center; + height: 30px; font-size: 16px; font-family: Source Han Sans SC, Source Han Sans SC; font-weight: 400; diff --git a/src/utils/color.ts b/src/utils/color.ts new file mode 100644 index 0000000..82731c5 --- /dev/null +++ b/src/utils/color.ts @@ -0,0 +1,10 @@ + +export function color(){ + var str = "#"; + var arr = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]; + for (var i = 0; i < 6; i++) { + var num = parseInt(Math.random() * 16); + str += arr[num]; + } + return str; +} \ No newline at end of file diff --git a/src/utils/common.ts b/src/utils/common.ts index b21109d..2dbdf76 100644 --- a/src/utils/common.ts +++ b/src/utils/common.ts @@ -8,4 +8,9 @@ const install = (app: App) => { ); }; +// 文件类型 +export enum FileType { + resumptionAcs = 'WorkFile', // 工作动态/履职附件 +} + export default install; diff --git a/src/utils/request.ts b/src/utils/request.ts index a0058ea..2bc3be6 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -3,11 +3,24 @@ import { getToken, removeToken } from "./auth"; axios.defaults.headers["content-type"] = "application/json;charset=utf-8"; + +// // 创建file服务器实例 +const fileService = axios.create({ + // 路由BaseUrl,防止跨域请求 + baseURL: import.meta.env.VITE_UPLOAD_IMG_URL, + // 超时时间 + timeout: 10000, +}); +configRequest(fileService); +export const fileRequest = fileService; + // 创建axios实例 const service = axios.create({ // 路由BaseUrl,防止跨域请求 - // baseURL: import.meta.env.VITE_PUBLIC_PATH, - baseURL: 'http://42.193.40.239:8017', + baseURL: import.meta.env.VITE_SCREEN, + // baseURL: 'http://42.193.40.239:8017', + // baseURL: 'http://192.168.110.10:8017', + // 超时时间 timeout: 20000, }); @@ -30,8 +43,11 @@ function configRequest(service: { // 配置请求前拦截器 service.interceptors.request.use( (config: { headers: { [x: string]: string } }) => { + const token = localStorage.getItem("token"); + config.headers["Satokenadmindf"] = token || ""; if (getToken()) { config.headers["userToken"] = getToken() || ""; + } return config; }, @@ -56,7 +72,7 @@ function configRequest(service: { return Promise.reject("error"); } else if (code == 28) { alert("登录状态已过期,请重新登录!"); - removeToken(); + // removeToken(); location.reload(); } else { return res.data; diff --git a/src/views/bottom-menu/index-1.vue b/src/views/bottom-menu/index-1.vue new file mode 100644 index 0000000..4db8b1a --- /dev/null +++ b/src/views/bottom-menu/index-1.vue @@ -0,0 +1,77 @@ + + + + + {{ item.name }} + + + + + + + diff --git a/src/views/bottom-menu/index.vue b/src/views/bottom-menu/index.vue index 4db8b1a..120c054 100644 --- a/src/views/bottom-menu/index.vue +++ b/src/views/bottom-menu/index.vue @@ -1,56 +1,85 @@ - - - {{ item.name }} + + + + + + + {{ scope.row.areaName }}-{{ scope.row.postName }} + + + + + + + + + + + diff --git a/src/views/data-statistics/left-side/components/domicile.vue b/src/views/data-statistics/left-side/components/domicile.vue index c0a7fb6..2ef2829 100644 --- a/src/views/data-statistics/left-side/components/domicile.vue +++ b/src/views/data-statistics/left-side/components/domicile.vue @@ -6,7 +6,7 @@ - 6980 + {{ population }} 人口总数 @@ -36,22 +36,11 @@ export default defineComponent({ @@ -188,7 +196,7 @@ onMounted(() => { display: flex; align-items: center; height: 27px; - width: 45%; + width: 80%; > div:nth-child(1) { width: 8px; height: 8px; @@ -208,6 +216,7 @@ onMounted(() => { margin-right: 5px; } > div:nth-child(4) { + width: 80px; font-size: 14px; font-family: Source Han Sans CN, Source Han Sans CN; font-weight: 500; diff --git a/src/views/home-page/right-side/components/portrait.vue b/src/views/data-statistics/left-side/components/portrait.vue similarity index 56% rename from src/views/home-page/right-side/components/portrait.vue rename to src/views/data-statistics/left-side/components/portrait.vue index 24c486e..00a2343 100644 --- a/src/views/home-page/right-side/components/portrait.vue +++ b/src/views/data-statistics/left-side/components/portrait.vue @@ -1,20 +1,22 @@ - + - + - - {{ item.title }} + + + {{ item.title }} + @@ -26,11 +28,23 @@ {{ index + 1 }} - {{ item.label }} + {{ item.chinaName }}-{{ item.postName }} + {{ item.orgName }} + + + {{ item.percentage }} + {{ item.completedNum }}/{{ item.totalNum }} - {{ item.value }}/50 - + + + @@ -43,15 +57,22 @@ export default defineComponent({ }); \ No newline at end of file diff --git a/src/views/data-statistics/right-side/dialog/emeMaterialsDetails.vue b/src/views/data-statistics/right-side/dialog/emeMaterialsDetails.vue new file mode 100644 index 0000000..3c31500 --- /dev/null +++ b/src/views/data-statistics/right-side/dialog/emeMaterialsDetails.vue @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/data-statistics/right-side/dialog/emeRanksDetails.vue b/src/views/data-statistics/right-side/dialog/emeRanksDetails.vue new file mode 100644 index 0000000..e7694e0 --- /dev/null +++ b/src/views/data-statistics/right-side/dialog/emeRanksDetails.vue @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/data-statistics/right-side/dialog/emeSystemDetails.vue b/src/views/data-statistics/right-side/dialog/emeSystemDetails.vue new file mode 100644 index 0000000..79a5de8 --- /dev/null +++ b/src/views/data-statistics/right-side/dialog/emeSystemDetails.vue @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/data-statistics/right-side/dialog/riskPoolDetails.vue b/src/views/data-statistics/right-side/dialog/riskPoolDetails.vue new file mode 100644 index 0000000..a70a952 --- /dev/null +++ b/src/views/data-statistics/right-side/dialog/riskPoolDetails.vue @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/data-statistics/right-side/index.vue b/src/views/data-statistics/right-side/index.vue index 689dc8b..65de87a 100644 --- a/src/views/data-statistics/right-side/index.vue +++ b/src/views/data-statistics/right-side/index.vue @@ -1,7 +1,7 @@ - - + + @@ -12,12 +12,13 @@ @@ -178,9 +166,19 @@ onMounted(() => { .con_option { width: 400px; display: flex; - flex-direction: column; + // flex-direction: column; flex-wrap: wrap; padding: 10px 0px; + + overflow: hidden; + max-height: 200px; + overflow-y: scroll; + > .con_option_term { + margin-right: 10px; + } +} +.con_option::-webkit-scrollbar { + display: none; } .con_option_term { display: flex; @@ -206,6 +204,7 @@ onMounted(() => { margin-right: 5px; } > div:nth-child(4) { + width: 50px; font-size: 14px; font-family: Source Han Sans CN, Source Han Sans CN; font-weight: 500; diff --git a/src/views/data-statistics/right-side/components/portrait.vue b/src/views/home-page/left-side/components/portrait.vue similarity index 51% rename from src/views/data-statistics/right-side/components/portrait.vue rename to src/views/home-page/left-side/components/portrait.vue index 24c486e..631ba5d 100644 --- a/src/views/data-statistics/right-side/components/portrait.vue +++ b/src/views/home-page/left-side/components/portrait.vue @@ -1,20 +1,22 @@ - + - + - - {{ item.title }} + + + {{ item.title }} + @@ -26,11 +28,26 @@ {{ index + 1 }} - {{ item.label }} + {{ item.chinaName }}-{{ item.postName }} + {{ item.orgName }} + {{ item.chinaName }}-{{ item.postName }} + + + {{ item.percentage }} + {{ item.completedNum }}/{{ item.totalNum }} - {{ item.value }}/50 - + + + @@ -43,23 +60,51 @@ export default defineComponent({ }); \ No newline at end of file diff --git a/src/views/home-page/left-side/index.vue b/src/views/home-page/left-side/index.vue index b70797d..2ec90e8 100644 --- a/src/views/home-page/left-side/index.vue +++ b/src/views/home-page/left-side/index.vue @@ -1,26 +1,26 @@ - - + + \ No newline at end of file diff --git a/src/views/home-page/right-side/dialog/emeMaterialsDetails.vue b/src/views/home-page/right-side/dialog/emeMaterialsDetails.vue new file mode 100644 index 0000000..3c31500 --- /dev/null +++ b/src/views/home-page/right-side/dialog/emeMaterialsDetails.vue @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/home-page/right-side/dialog/emeRanksDetails.vue b/src/views/home-page/right-side/dialog/emeRanksDetails.vue new file mode 100644 index 0000000..e7694e0 --- /dev/null +++ b/src/views/home-page/right-side/dialog/emeRanksDetails.vue @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/home-page/right-side/dialog/emeSystemDetails.vue b/src/views/home-page/right-side/dialog/emeSystemDetails.vue new file mode 100644 index 0000000..79a5de8 --- /dev/null +++ b/src/views/home-page/right-side/dialog/emeSystemDetails.vue @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/home-page/right-side/dialog/riskPoolDetails.vue b/src/views/home-page/right-side/dialog/riskPoolDetails.vue new file mode 100644 index 0000000..a70a952 --- /dev/null +++ b/src/views/home-page/right-side/dialog/riskPoolDetails.vue @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/home-page/right-side/index.vue b/src/views/home-page/right-side/index.vue index 5a9fb99..f801334 100644 --- a/src/views/home-page/right-side/index.vue +++ b/src/views/home-page/right-side/index.vue @@ -1,7 +1,7 @@ - - + + @@ -12,12 +12,13 @@