12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064 |
- <template>
- <div class="pp">
- <!-- <img style="width:90%;" src="../../assets/report/home2.png" /> -->
- <div class="general_situation">
- <div class="number_people">
- <img
- style="width: 80px; position: absolute; right: 20px; top: 20px"
- src="../../assets/img/home/bg_p.png"
- alt=""
- />
- <div class="number_people_top">人数统计</div>
- <div class="number_people_yuan">
- <div class="out">
- <span :title="userInfo.orgName" class="yuan_name">{{
- userInfo.orgName
- }}</span>
- <span class="yuan_people">{{ peopleData["总人数"] }}人</span>
- </div>
- </div>
- </div>
- <div class="plan">
- <div class="plan_inner">
- <span class="plan_top">近期测评</span>
- <div class="table_header">
- <div class="detail">计划名称</div>
- <div class="detail">创建时间</div>
- <div class="detail">结束时间</div>
- <div class="detail">状态</div>
- </div>
- <div class="table_a">
- <div v-if="tableData.length == 0">
- <div style="text-align: center; margin-top: 10px">暂无数据</div>
- </div>
- <div v-else>
- <div
- class="table_body"
- v-for="(item, index) in tableData"
- :key="item.id"
- :style="{ backgroundColor: index % 2 == 0 ? '#ffffff' : '#F8F8F8' }"
- >
- <!-- <div :style="{backgroundColor:index ==0?'':'s'}">
-
- </div> -->
- <div class="detail" :title="item.planName">{{ item.planName }}</div>
- <div class="detail">{{ item.createTime }}</div>
- <div class="detail">{{ item.planEndTime }}</div>
- <!-- item.planStatus -->
- <div class="detail">
- <!-- {{ planStatusFun(item) }} -->
- <div
- style="display: flex; justify-content: center; align-items: center"
- v-if="item.planStatus == '3'"
- >
- <img
- style="width: 16px"
- src="../../assets/img/home/isCom.png"
- alt=""
- />
- <div style="color: #333333">已完成</div>
- </div>
- <div
- style="display: flex; justify-content: center; align-items: center"
- v-if="item.planStatus == '2'"
- >
- <img
- style="width: 16px"
- src="../../assets/img/home/isRun.png"
- alt=""
- />
- <div style="color: #f6cb00">进行中</div>
- </div>
- <div
- style="display: flex; justify-content: center; align-items: center"
- v-if="item.planStatus == '1'"
- >
- <img
- style="width: 16px"
- src="../../assets/img/home/isNo.png"
- alt=""
- />
- <div style="color: #d52121">未开始</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="recently">
- <!-- <div class="recently_bottom_font">
- 最近测试结果: {{ planData.planName }} <span
- style="cursor: pointer; color: #00bf78"
- @click="queryDetail"
- >查看详情</span
- >
- </div> -->
- <div class="block_left">
- <div class="block_ren">
- <div class="re">最近测评结果</div>
- <!-- 当没有测试计划是则不显示 -->
- <div class="detail" v-show="planData.hasOwnProperty('planName')">
- <img
- @click="queryDetail"
- style="width: 80px; cursor: pointer"
- src="../../assets//img/home/detail.png"
- alt=""
- />
- </div>
- </div>
- <div style="width: 100%">
- <div class="block_table">
- <div class="block_detail">计划名称</div>
- <div class="block_detail">测试人数</div>
- <div class="block_detail">测试时间</div>
- </div>
- <div class="block_body">
- <div
- v-if="planData.hasOwnProperty('planName')"
- style="display: flex; padding-left: 20px; padding-right: 20px; flex: 1"
- >
- <!-- <div style='width:20px'></div> -->
- <div class="block_detail">
- <!-- {{ planData.planName }} -->
- <span class="plan_dp" :title="planData.planName">
- {{ planData.planName }}</span
- >
- </div>
- <div class="block_detail">
- <span class="plan_dp" :title="planData.userNum">
- {{ planData.userNum }}</span
- >
- </div>
- <div class="block_detail">
- <span class="plan_dp" :title="planData.createTime">
- {{ planData.createTime }}</span
- >
- </div>
- </div>
- <div v-else style="width: 100%; text-align: center; margin-top: 10px">
- <div>暂无数据</div>
- </div>
- </div>
- </div>
- <div
- v-if="planData.hasOwnProperty('planName')"
- class="echarts_style"
- ref="echarts_zhu"
- ></div>
- <div
- v-else
- style="
- display: flex;
- align-items: center;
- justify-content: center;
- height: 100%;
- "
- >
- <span style="text-align: center">暂无数据</span>
- </div>
- </div>
- <div class="block_right">
- <div class="right_zu">
- <div class="cpqs">
- 测评趋势<span style="font-size: 16px; margin-left: 10px"
- >(近期10次测试趋势图)</span
- >
- </div>
- <div v-if="planData.hasOwnProperty('planName')" class="block_lei" ref="echarts_lei"></div>
- <div
- v-else
- style="
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100%;
- "
- >
- 暂无数据
- </div>
- </div>
- </div>
- </div>
- <PlanReport ref="register" />
- </div>
- </template>
- <script>
- import { oSessionStorage } from "../../utils/utils";
- import * as echarts from "echarts";
- import PieChart from "@/components/PieChart";
- import PlanReport from "@/components/PlanReport";
- export default {
- components: {
- PieChart,
- PlanReport,
- },
- data() {
- return {
- tableData: [],
- pageSize: 10,
- pageNum: 1,
- userInfo: {},
- echarts_zhu: "",
- option: {},
- echarts_lei: "",
- option_lei: {},
- //获取总人数字段
- //返回的总人数字段
- peopleData: {},
- //返回的最新的计划字段
- planData: {},
- planId: "",
- //组织下已选的专业
- profession: "",
- //组织下专业
- professionOptions: [],
- //各个维度平均分的数组
- avgData: [],
- options1: [],
- options2: [],
- options3: [],
- options4: [],
- options5: [],
- options6: [],
- abnormalNum: 0,
- };
- },
- mounted() {
- this.userInfo = JSON.parse(oSessionStorage.getItem("userInfo"));
- //查询最新人数统计
- this.queryAllPeople();
- //查询最新计划
- this.findNewPlan();
- //查询最近计划
- this.searchList();
- this.option = {
- title: {
- text: "",
- },
- tooltip: {
- trigger: "axis",
- axisPointer: {
- type: "shadow",
- // shadowStyle:{
- // color:'rgba(0,0,0,0.5)',
- // shadowBlur: 10,
- // shadowOffsetX:0,
- // shadowOffsetY:'0'
- // }
- },
- formatter: function (params) {
- var relVal = '';
- let na = params[0].name;
- for (var i = 0, l = params.length; i < l; i++) {
- relVal +=
-
- params[i].marker +
- na +
- " : " +
- params[i].value +
- "%";
- }
- return relVal;
- },
- // formatter: "{b} : {c} % ",
-
- // formatter: function (params,trigger) {
- // return '{a} <br/>{b} : {c} <br/>百分比 : {d}%'
- // },
- },
- legend: {},
- grid: {
- left: "3%",
- right: "4%",
- bottom: "3%",
- containLabel: true,
- },
- xAxis: {
- type: "category",
- data: [],
- // axisLabel: {
- // width: 40, //设置内容宽度
- // // overflow:'break',
- // overflow: "truncate",
- // },
- // axisLabel: {
- // formatter: function (params) {
- // return "中等分值";
- // },
- // },
- },
- dataZoom: {
- type: "inside", //放大缩小x轴数值
- },
- yAxis: {
- max: 100,
- type: "value",
- boundaryGap: [0, 0.01],
- minInterval: 1,
- },
- series: [
- {
- type: "bar",
- data: [],
- barWidth: "15", //修改柱状图的宽度
- itemStyle: {
- color: new echarts.graphic.LinearGradient(
- //前四个参数用于配置渐变色的起止位置,这四个参数依次对应 右下左上 四个方位。也就是从右边开始顺时针方向。
- //通过修改前4个参数,可以实现不同的渐变方向
- /*第五个参数则是一个数组,用于配置颜色的渐变过程。
- 每项为一个对象,包含offset和color两个参数
- */
- 0,
- 0,
- 0,
- 1,
- [
- {
- //代表渐变色从正上方开始
- offset: 0, //offset范围是0~1,用于表示位置,0是指0%处的颜色
- color: "#644BFD",
- }, //柱图渐变色
- {
- offset: 1, //指100%处的颜色
- color: "#00F6E3",
- },
- ]
- ),
- borderWidth: 2,
- // borderColor: "#2EE053",
- barBorderRadius: [10, 10, 10, 10], //修改柱状图圆角
- },
- label: {
- show: true,
- position: "top",
- color: "#006FFF",
- formatter: function (params) {
- return parseInt(params.value) + "%";
- },
- },
- },
- ],
- };
- // echarts.init(this.echarts_zhu).setOption(this.option);
- this.option_lei = {
- title: {
- text: "",
- },
- // tooltip: {
- // trigger: "axis",
- // },
- tooltip: {
- trigger: "axis",
- axisPointer: {
- type: "shadow",
- },
- // formatter: '{b} : {c} % '
- // formatter: function (params,trigger) {
- formatter: function (params) {
- var relVal = params[0].name;
- for (var i = 0, l = params.length; i < l; i++) {
- relVal +=
- "<br/>" +
- params[i].marker +
- params[i].seriesName +
- " : " +
- params[i].value +
- "%";
- }
- return relVal;
- },
- // return '{a} <br/>{b} : {c} <br/>百分比 : {d}%'
- // },
- },
- legend: {
- data: ["焦虑", "抑郁", "压力", "精神障碍", "心理健康"],
- },
- grid: {
- left: "3%",
- right: "4%",
- bottom: "3%",
- containLabel: true,
- },
- toolbox: {
- feature: {
- // saveAsImage: {},
- },
- },
- xAxis: {
- type: "category",
- boundaryGap: false,
- data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
- axisLabel: {
- interval: 0,
- // rotate:'-90',
- formatter: function (value) {
-
- // return ''
- // return value
- return value.substring(0, 4) + "...";
- },
- },
- },
- yAxis: {
- max: 100,
- type: "value",
- },
- series: [
- {
- name: "焦虑",
- type: "line",
- data: [],
- },
- {
- name: "抑郁",
- type: "line",
- data: [],
- },
- {
- name: "压力",
- type: "line",
- data: [],
- },
- {
- name: "精神障碍",
- type: "line",
- data: [],
- },
- {
- name: "心理健康",
- type: "line",
- data: [],
- },
- ],
- };
- this.queryDetailScore();
- },
- methods: {
- queryDetail() {
- this.$refs.register.open(this.planData);
- },
- //根据组织编号查询总人数
- queryAllPeople() {
- let url = `/user/countUserByOrgNo?orgNo=${this.userInfo.orgNo}`;
- this.$http.get(url, {}, (res) => {
- if (res && res.code == 200) {
- this.peopleData = res.data;
- // this.tableData = res.data.content;
- // this.total = res.data.totalElements;
- } else {
- // this.$toast.fail(res.msg);
- this.$message.error(res.msg);
- }
- });
- },
- searchList() {
- let url = `/plan/findListByPage?pageSize=${this.pageSize}&pageNum=${this.pageNum}&orgNo=${this.userInfo.orgNo}`;
- this.$http.get(url, {}, (res) => {
- if (res && res.code == 200) {
- this.tableData = res.data.content;
- // this.total = res.data.totalElements;
- } else {
- // this.$toast.fail(res.msg);
- this.$message.error(res.msg);
- }
- });
- },
- //查询最新结束的计划
- findNewPlan() {
- let url = `/plan/findNewCompletedPlan?orgNo=${this.userInfo.orgNo}`;
- this.$http.get(url, {}, (res) => {
- if (res && res.code == 200) {
- if (res.data != null) {
- this.planId = res.data.id;
- let list = Object.entries(res.data);
- //开始过滤
- let list1 = list.filter(([key, val]) => {
- return (
- key == "planName" ||
- key == "planOrgName" ||
- key == "createTime" ||
- key == "userNum" ||
- key == "id"
- );
- });
- let list2 = Object.fromEntries(list1);
- this.planData = list2;
- //调用各个专业不同总分人数
- // this.isScore();
- // this.getPlanDimNun();
- this.isFin();
- }
- } else {
- // this.$toast.fail(res.msg);
- this.$message.error(res.msg);
- }
- });
- },
- //查询统计端的--心理健康异常的人员
- isAbnormal() {
- //调用接口返回信息
- let url = `/planUser/countCompletedUserHighRisk?planId=${this.planId}`;
- this.$http.get(url, {}, (res) => {
- if (res.code == 200) {
- // this.unComplete = res.data[0];
- // this.completeNum = res.data[1];
- this.abnormalNum = res.data;
- this.getPlanDimNun();
- }
- });
- },
- //管理端统计完成情况
- isFin() {
- //调用接口返回信息
- let url = `/plan/countComplete?planId=${this.planId}`;
- this.$http.get(url, {}, (res) => {
- if (res.code == 200) {
- this.unComplete = res.data[0];
- this.completeNum = res.data[1];
- this.isAbnormal();
- }
- });
- },
- //查询各个维度占比
- getPlanDimNun() {
- this.$http.get(
- `userRecordScore/countNumByPlanDim?planId=${this.planId}`,
- {},
- (res) => {
- let dimensionList = res.data;
- let nameList = [];
- nameList.push("心理健康");
- nameList.push("抑郁");
- nameList.push("压力");
- nameList.push("焦虑");
- nameList.push("精神障碍");
- let scoreList = [];
- scoreList.push(this.completeNum==0?0:
- parseInt(((this.completeNum - this.abnormalNum) / this.completeNum) * 100)
- );
- scoreList.push(this.completeNum==0?0:parseInt((dimensionList[1]["抑郁"] / this.completeNum) * 100));
- scoreList.push(this.completeNum==0?0:parseInt((dimensionList[2]["压力"] / this.completeNum) * 100));
- scoreList.push(this.completeNum==0?0:parseInt((dimensionList[0]["焦虑"] / this.completeNum) * 100));
- scoreList.push(
- parseInt(this.completeNum==0?0:(dimensionList[3]["精神障碍"] / this.completeNum) * 100)
- );
- this.echarts_zhu = this.$refs.echarts_zhu;
- this.option.xAxis.data = nameList;
- this.option.series[0].data = scoreList;
- let myChart1 = echarts.init(this.echarts_zhu);
- myChart1.setOption(this.option);
- }
- );
- },
- //各个专业不同总分人数
- isScore() {
- let url = `/plan/countTotalNumber?planId=${this.planId}`;
- this.$http.get(url, {}, (res) => {
- if (res.code == 200) {
- let nameList = [];
- let scoreList = [];
- for (const item in res.data) {
- //
- nameList.push(item);
- scoreList.push(res.data[item]);
- }
- // nameList= ["中等", "高等", "低等", "多喝", "大"]
- // console.log(nameList)
- this.echarts_zhu = this.$refs.echarts_zhu;
- this.option.xAxis.data = nameList;
- this.option.series[0].data = scoreList;
- let myChart1 = echarts.init(this.echarts_zhu);
- myChart1.setOption(this.option);
- }
- });
- },
- //获取子组织
- // getOrg() {
- // let url = `/org/findChildOrg?orgNo=${this.userInfo.orgNo}`;
- // this.$http.get(url, {}, (res) => {
- // if (res && res.code == 200) {
- // if (res.data.length > 0) {
- // let list = [];
- // for (let i = 0; i < res.data.length; i++) {
- // let obj = { value: "", label: "" };
- // obj.value = res.data[i].orgNo;
- // obj.label = res.data[i].orgName;
- // list.push(obj);
- // }
- // this.professionOptions = list;
- // this.profession = list[0].value;
- // //然后根据选择的这个选项、、查询具体数据
- // this.queryDetailScore(list[0].value);
- // }
- // } else {
- // // this.$toast.fail(res.msg);
- // this.$message.error(res.msg);
- // }
- // });
- // },
- //查看各个组织下各个维度的平均得分
- queryDetailScore() {
- let url = `/plan/countRecentPlanDetails`;
- this.$http.get(url, {}, (res) => {
- if (res.code == 200) {
- this.avgData = res.data;
- let scoreList = [
- {
- name: "焦虑",
- type: "line",
- stack: "Total",
- data: [],
- symbolSize: 6,
- lineStyle: {
- // type: "dashed",
- width: 3,
- },
- },
- {
- name: "抑郁",
- type: "line",
- data: [],
- symbolSize: 6,
- lineStyle: {
- // type: "dashed",
- width: 3,
- },
- },
- {
- name: "压力",
- type: "line",
- data: [],
- symbolSize: 6,
- lineStyle: {
- // type: "dashed",
- width: 3,
- },
- },
- {
- name: "精神障碍",
- type: "line",
- data: [],
- symbolSize: 6,
- lineStyle: {
- type: "dashed",
- width: 3,
- },
- },
- {
- name: "心理健康",
- type: "line",
- data: [],
- symbolSize: 6,
- lineStyle: {
- type: "dashed",
- width: 3,
- },
- },
- ];
- let nameList = [];
- if (res.data.length > 0) {
- //
- for (let i = 0; i < res.data.length; i++) {
- let k = Object.keys(res.data[i])[0];
- nameList.push(k);
- let subList = res.data[i][k];
- for (let j = 0; j < subList.length; j++) {
- //当前对象 例如 //{"焦虑":"1"}
- let currentObj = subList[j];
- //修改焦虑
- if (currentObj.hasOwnProperty("焦虑")) {
- //
- scoreList[0].data.push(currentObj["焦虑"]);
- }
- //修改抑郁
- if (currentObj.hasOwnProperty("抑郁")) {
- //
- scoreList[1].data.push(currentObj["抑郁"]);
- }
- //压力
- if (currentObj.hasOwnProperty("压力")) {
- //
- scoreList[2].data.push(currentObj["压力"]);
- }
- //精神障碍
- if (currentObj.hasOwnProperty("精神障碍")) {
- //
- scoreList[3].data.push(currentObj["精神障碍"]);
- }
- //心理健康
- if (currentObj.hasOwnProperty("心理健康")) {
- //
- scoreList[4].data.push(currentObj["心理健康"]);
- }
- }
- }
- }
- // {
- // name: "焦虑",
- // type: "line",
- // stack: "Total",
- // data: [132, 101, 134],
- // },
- //设置总共维度
- //测试计划---
- //修改option
- this.echarts_lei = this.$refs.echarts_lei;
- this.option_lei.xAxis.data = nameList;
- this.option_lei.series = scoreList;
- echarts.init(this.echarts_lei).setOption(this.option_lei);
- }
- });
- },
- //选择的专业改变后接着调用
- // professionChange(val) {
- // this.queryDetailScore(val);
- // },
- //状态---
- planStatusFun(val) {
- let planStatus = val.planStatus;
- if (planStatus == "1") {
- return "未开始";
- } else if (planStatus == "2") {
- return "进行中";
- } else if (planStatus == "3") {
- return "已完成";
- } else {
- return val.planStatus;
- }
- },
- },
- };
- </script>
- <style lang="less" scoped>
- .computer::-webkit-scrollbar {
- width: 6px;
- }
- .computer::-webkit-scrollbar-track {
- background: rgb(239, 239, 239);
- border-radius: 2px;
- }
- .computer::-webkit-scrollbar-thumb {
- background: #40a0ff49;
- border-radius: 10px;
- }
- .computer::-webkit-scrollbar-thumb:hover {
- background: #40a0ff;
- }
- .table_a::-webkit-scrollbar {
- width: 6px;
- }
- .table_a::-webkit-scrollbar-track {
- background: rgb(239, 239, 239);
- border-radius: 2px;
- }
- .table_a::-webkit-scrollbar-thumb {
- background: #afafaf49;
- border-radius: 10px;
- }
- .table_a::-webkit-scrollbar-thumb:hover {
- background: #b6b6b6;
- }
- .pp {
- display: flex;
- flex-direction: column;
- /* justify-content: center; */
- height: 100%;
- width: 100%;
- background-color: #f7f7f7;
- // background-color: aqua;
- .general_situation {
- height: 260px;
- width: 100%;
- display: flex;
- min-width: 980px;
- .number_people {
- position: relative;
- background: url(../../assets/img/home/bg.png) no-repeat;
- background-size: cover;
- border-radius: 20px;
- flex: 5;
- // background-color: #48d68e;
- display: flex;
- flex-direction: column;
- .number_people_top {
- margin-top: 20px;
- margin-left: 20px;
- color: #ffffff;
- font-size: 20px;
- letter-spacing: 3px;
- margin-bottom: 20px;
- font-weight: 700;
- }
- .number_people_yuan {
- display: flex;
- color: #ffffff;
- .out {
- border-radius: 20px;
- margin-left: 20px;
- // background-color: #7fe2b0;
- display: flex;
- flex-direction: column;
- .yuan_name {
- width: 80%;
- margin-left: 20px;
- margin-top: 10px;
- color: #ffffff;
- letter-spacing: 3px;
- font-size: 26px;
- // flex:1,;
- overflow: hidden;
- -webkit-line-clamp: 1;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- }
- .yuan_people {
- margin-left: 20px;
- margin-top: 10px;
- color: #ffffff;
- font-size: 60px;
- letter-spacing: 3px;
- }
- }
- .computer {
- max-height: 140px;
- // height: 140px;
- overflow-y: auto;
- flex: 1;
- display: flex;
- width: 100%;
- flex-wrap: wrap;
- justify-content: start;
- .computer_detail {
- width: 140px;
- // height: 20px;
- padding: 10px;
- }
- }
- }
- }
- .plan {
- display: flex;
- // height:30%;
- flex: 10;
- .plan_inner {
- padding: 20px;
- border-radius: 20px;
- margin-left: 20px;
- background-color: #ffffff;
- display: flex;
- width: 100%;
- flex-direction: column;
- .plan_top {
- font-size: 20px;
- letter-spacing: 3px;
- font-weight: 700;
- color: #000000;
- margin-bottom: 20px;
- }
- //表头
- .table_header {
- display: flex;
- // justify-content: space-around;
- background-color: #00bf78;
- border-radius: 20px;
- line-height: 40px;
- font-weight: 700;
- font-size: 18px;
- letter-spacing: 3px;
- color: #ffffff;
- .detail {
- flex: 1;
- text-align: center;
- }
- }
- .table_a {
- overflow-y: auto;
- .table_body {
- display: flex;
- // justify-content: space-around;
- line-height: 42px;
- .detail {
- display: inline-block;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- width: 100%;
- flex: 1;
- text-align: center;
- }
- }
- }
- }
- }
- }
- .recently {
- width: 100%;
- background-color: #f7f7f7;
- height: calc(100% - 260px);
- display: flex;
- flex-direction: row;
- align-items: center;
- margin-top: 20px;
- .block_left {
- // box-sizing: border-box;
- // padding:10px;
- border-radius: 20px;
- display: flex;
- // padding-left: 10px;
- flex-direction: column;
- // padding: 10px;
- flex: 5;
- background-color: #ffffff;
- height: 100%;
- width: 100%;
- align-items: center;
- // background-color: #ffffff;
- .block_ren {
- padding-top: 10px;
- // padding-right: 20px;
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- .re {
- letter-spacing: 3px;
- padding: 0 20px;
- color: #222222;
- font-weight: 700;
- font-size: 20px;
- }
- .detail {
- padding: 0 20px;
- }
- }
- .chart_wrap {
- flex: 1;
- // height: 450px;
- }
- .block_table {
- margin-top: 10px;
- margin-left: 20px;
- margin-right: 20px;
- background-color: #f8f8f8;
- border-radius: 20px;
- display: flex;
- .block_detail {
- font-weight: 700;
- padding: 10px;
- flex: 1;
- display: flex;
- justify-content: center;
- }
- }
- .block_body {
- width: 100%;
- display: flex;
- min-width: 0;
- .block_detail {
- background-color: #ffffff;
- text-align: center;
- line-height: 36px;
- display: flex;
- flex: 1;
- min-width: 0;
- overflow: hidden;
- .plan_dp {
- display: flex;
- width: 100%;
- // justify-content: center;
- text-align: center;
- // flex: 1;
- -webkit-line-clamp: 1;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- }
- }
- }
- .profession {
- font-weight: 700;
- }
- .echarts_style {
- width: 100%;
- flex: 1;
- // background-color: #000000;
- }
- }
- .block_right {
- // box-sizing: border-box;
- // background-color: #00bf78;
- flex: 10;
- // background-color: #d32d2d;
- height: 100%;
- display: flex;
- flex-direction: column;
- // background-color: #f7f7f7;
- .right_zu {
- border-radius: 20px;
- margin-left: 20px;
- background-color: #ffffff;
- flex: 10;
- // background-color: #d32d2d;
- height: 100%;
- display: flex;
- flex-direction: column;
- .cpqs {
- margin-top: 10px;
- margin-left: 20px;
- font-size: 20px;
- letter-spacing: 3px;
- font-weight: 700;
- }
- .block_lei {
- flex: 1;
- // background-color: #000000;
- margin-left: 20px;
- }
- }
- .block_avg {
- margin-left: 20px;
- font-weight: 700;
- }
- }
- }
- }
- </style>
|