fengxu vor 2 Jahren
Ursprung
Commit
f7972b4af8
4 geänderte Dateien mit 627 neuen und 264 gelöschten Zeilen
  1. 88 18
      cokingCoal/humanResources.html
  2. 3 1
      cokingCoal/js/dataA.js
  3. 434 223
      cokingCoal/js/humanResources.js
  4. 102 22
      cokingCoal/styles/humanResources.css

+ 88 - 18
cokingCoal/humanResources.html

@@ -121,13 +121,14 @@
                         <div class="main_item">
                             <dv-scroll-board :config="configMark" style="width: 100%; height: 100%" />
                         </div>
-                        <div class="main_item"></div>
+                        <div class="main_item">
+                            <div class="echarts_dom" ref="vita"></div>
+                        </div>
                     </div>
                 </div>
             </div>
             <div class="page_main_center">
-                <img class="page_main_center_image"
-                    src="./images/humanResources/true.png" alt="">
+                <img class="page_main_center_image" src="./images/humanResources/true.png" alt="">
                 <div class="center_top flex_sp">
                     <div class="center_top_item flex" v-for="(item, index) in mainList" :key="index">
                         <div class="center_top_image">
@@ -149,32 +150,61 @@
                     </div>
 
                 </div>
+                <div class="fireworks" style="right: 20%; top: 23%; animation-delay: -0.4s;"></div>
+                <div class="fireworks" style="left: 5%; top: 23%; animation-delay: -1.7s;"></div>
+                <div class="fireworks" style="left: 5%; top: 23%; animation-delay: -1.7s;"></div>
+                <div class="fireworks" style="left: 5%; top: 23%; animation-delay: -1.7s;"></div>
+                <div class="fireworks" style="left: 5%; top: 23%; animation-delay: -1.7s;"></div>
+                <div class="fireworks" style="left: 5%; top: 23%; animation-delay: -1.7s;"></div>
+                <div class="fireworks" style="right: 0%; top: 15%; animation-delay: -3.1s;"></div>
+                <div class="fireworks" style="right: 35%; top: 23%; animation-delay: -2.1s;"></div>
+                <div class="fireworks" style="left: 30%; top: 19%; animation-delay: -2.7s;"></div>
+                <div class="fireworks" style="right: 35%; top: 13%; animation-delay: -2.2s;"></div>
+                <div class="fireworks" style="left: 25%; top: 25%; animation-delay: -2.6s;"></div>
+                <div class="fireworks" style="right: 10%; top: 23%; animation-delay: -2.1s;"></div>
+                <!-- <div class="page_main_center_svg">
+                    <svg width="100%" height="100%" class="svg_box">
+                        <defs>
+                            <linearGradient id="gradient-test">
+                                <stop offset="0%" stop-color="#a96cfa" />
+                                <stop offset="100%" stop-color="#00F4FF" />
+                            </linearGradient>
+                        </defs>
+                        <circle cx="350" cy="350" r="340" stroke-width="20px" stroke="url(#gradient-test)" fill="none"
+                            opacity="1">
+                            <animateTransform attributeName="transform" repeatCount="indefinite" type="rotate"
+                                from="0 350 350" to="360 350 350" dur="3" />
+                        </circle>
+                    </svg>
+                </div> -->
+
             </div>
             <div class="page_main_right flex_column">
                 <div class="right_top">
                     <div class="title">Ⅲ.资格审查</div>
                     <div class="main flex_sp">
-                        <div class="main_item flex_column" style="background: none;overflow: hidden;padding-bottom: 15px;">
+                        <div class="main_item flex_column"
+                            style="background: none;overflow: hidden;padding-bottom: 15px;">
                             <div class="main_item_btn flex">
                                 <div class="btn_on">当前数</div>
                                 <div class="btn_off">累计数</div>
                             </div>
-                            <div class="main_item_main_bg" >
+                            <div class="main_item_main_bg">
                                 <div class="bg_cyc left flex_column">
                                     <div class="bg_cyc_text">100 <span>人</span> </div>
-                                    <div >总人数</div>
+                                    <div>总人数</div>
                                 </div>
                                 <div class="bg_cyc right flex_column">
                                     <div class="bg_cyc_text">60 人</div>
-                                    <div >通过人数</div>
+                                    <div>通过人数</div>
                                 </div>
                                 <img src="./images/humanResources/examination.png" alt="">
-                                
+
                             </div>
-                            <div class="main_item_text">通过率  60%</div>
+                            <div class="main_item_text">通过率 60%</div>
                         </div>
-                        <div class="main_item flex_column" style="background: none;">
-                            <div class="main_item_box flex_sp" v-for="(item,index) in 5" :key="index">
+                        <div class="main_item flex_sp" style="background: none;">
+                            <!-- <div class="main_item_box flex_sp" v-for="(item,index) in 5" :key="index">
                                 <div class="main_item_2 flex">
                                     <el-progress type="circle" :define-back-color="'#0093E9'" :width="80" :percentage="25"></el-progress>
                                 </div>
@@ -185,6 +215,50 @@
                                     </div>
                                     <el-progress :percentage="50" :stroke-width="26" :text-color="'#fff'"></el-progress>
                                 </div>
+                            </div> -->
+                            <div class="main_item_left flex_column">
+                                <div class="main_item_left_item" ref="c1"></div>
+                                <div class="main_item_left_item" ref="c2"></div>
+                                <div class="main_item_left_item" ref="c3"></div>
+                                <div class="main_item_left_item" ref="c4"></div>
+                                <div class="main_item_left_item" ref="c5"></div>
+                            </div>
+                            <div class="main_item_right flex_column">
+                                <div class="right_item">
+                                    <div class="right_item_tit">
+                                        <div class="icon_tit"></div>
+                                        <div class="tit_text">信息不完整</div>
+                                    </div>
+                                    <div class="echarts_dom_else" ref="rightOne"></div>
+                                </div>
+                                <div class="right_item">
+                                    <div class="right_item_tit">
+                                        <div class="icon_tit"></div>
+                                        <div class="tit_text">信息有误</div>
+                                    </div>
+                                    <div class="echarts_dom_else" ref="rightTwo"></div>
+                                </div>
+                                <div class="right_item">
+                                    <div class="right_item_tit">
+                                        <div class="icon_tit"></div>
+                                        <div class="tit_text">任职条件不符</div>
+                                    </div>
+                                    <div class="echarts_dom_else" ref="rightThree"></div>
+                                </div>
+                                <div class="right_item">
+                                    <div class="right_item_tit">
+                                        <div class="icon_tit"></div>
+                                        <div class="tit_text">出勤不足</div>
+                                    </div>
+                                    <div class="echarts_dom_else" ref="rightFour"></div>
+                                </div>
+                                <div class="right_item">
+                                    <div class="right_item_tit">
+                                        <div class="icon_tit"></div>
+                                        <div class="tit_text">工作年限不符</div>
+                                    </div>
+                                    <div class="echarts_dom_else" ref="rightFive"></div>
+                                </div>
                             </div>
                         </div>
                     </div>
@@ -244,13 +318,9 @@
         <div class="page_btm">
             <div class="echarts_dom" ref="pageBtm"></div>
         </div>
-        <!-- <div class="fireworks" style="right: 30%; top: 13%; animation-delay: -0.4s;"></div> -->
-        <!-- <div class="fireworks" style="right: 3%; top: 33%; animation-delay: -0.4s;"></div> -->
-        <!-- <div class="fireworks" style="left: 32%; top: 33%; animation-delay: -1.7s;"></div>
-        <div class="fireworks_line" style="left: 32%; top: 33%;">
-            <span class="line"></span>
-        </div> -->
-        <!-- <div class="fireworks" style="right: 45%; top: 8%; animation-delay: -3.1s;"></div> -->
+
+
+
     </div>
     <script src="./js/humanResources.js"></script>
 </body>

+ 3 - 1
cokingCoal/js/dataA.js

@@ -259,4 +259,6 @@ let employmentList = [
   ["14","陈英","男","142752********0101","杜儿坪矿"],
   ["15","陈英","男","142752********0101","杜儿坪矿"],
   ["16","陈英","男","142752********0101","杜儿坪矿"],
-]
+]
+
+

+ 434 - 223
cokingCoal/js/humanResources.js

@@ -67,7 +67,7 @@ let app = new Vue({
                     }
                 },
                 {
-                    name: "资格审查",
+                    name: "录用公式",
                     flag: false,
                     src: "./images/humanResources/publicity.png",
                     style: {
@@ -238,7 +238,7 @@ let app = new Vue({
             ],
             employmentList1: {
                 waitTime: 5000,
-                header: ["序号", "姓名", "性别", "身份证号","拟录单位"],
+                header: ["序号", "姓名", "性别", "身份证号", "拟录单位"],
                 rowNum: 4,
                 headerHeight: 55,
                 columnWidth: [100, 100, 100, 280],
@@ -252,7 +252,7 @@ let app = new Vue({
             },
             employmentList2: {
                 waitTime: 5000,
-                header: ["序号", "姓名", "性别", "身份证号","拟录单位"],
+                header: ["序号", "姓名", "性别", "身份证号", "拟录单位"],
                 rowNum: 4,
                 headerHeight: 55,
                 columnWidth: [100, 100, 100, 280],
@@ -263,7 +263,8 @@ let app = new Vue({
                 oddRowBGC: "rgba(105, 193, 255, 0)",
                 evenRowBGC: "#69c1ff21",
                 hoverPause: false,
-            }
+            },
+            vitaEcharts: null
         }
     },
     created() {
@@ -283,20 +284,31 @@ let app = new Vue({
     mounted() {
         let that = this;
         this.$nextTick(() => {
+            let vita = this.$refs.vita
+            this.initVitaEcharts(vita)
+
             let pageBtm = this.$refs.pageBtm
-            this.initDownholeEcharts(pageBtm, { x: downhole.x, y: [downhole.y[0], downhole.y[2], downhole.y[3]] })
-            // let rightOne = this.$refs.rightOne
-            // this.initLineRight(rightOne)
-            // let c1 = this.$refs.c1
-            // this.initRightCycle(c1)
-            // let c2 = this.$refs.c2
-            // this.initRightCycle(c2)
-            // let c3 = this.$refs.c3
-            // this.initRightCycle(c3)
-            // let c4 = this.$refs.c4
-            // this.initRightCycle(c4)
-            // let c5 = this.$refs.c5
-            // this.initRightCycle(c5)
+            this.initDownholeEcharts(pageBtm, { x: mobilizeList.x, y1: mobilizeList.y3, y2: mobilizeList.y4, y3: mobilizeList.y5 })
+            let rightOne = this.$refs.rightOne
+            this.initLineRight(rightOne)
+            let rightTwo = this.$refs.rightTwo
+            this.initLineRight(rightTwo)
+            let rightThree = this.$refs.rightThree
+            this.initLineRight(rightThree)
+            let rightFour = this.$refs.rightFour
+            this.initLineRight(rightFour)
+            let rightFive = this.$refs.rightFive
+            this.initLineRight(rightFive)
+            let c1 = this.$refs.c1
+            this.initRightCycle(c1)
+            let c2 = this.$refs.c2
+            this.initRightCycle(c2)
+            let c3 = this.$refs.c3
+            this.initRightCycle(c3)
+            let c4 = this.$refs.c4
+            this.initRightCycle(c4)
+            let c5 = this.$refs.c5
+            this.initRightCycle(c5)
 
 
 
@@ -349,10 +361,6 @@ let app = new Vue({
                 left: "3%",
                 right: "1%"
             }
-            data.y.forEach(item => {
-                series.push()
-            });
-
 
             option = {
                 tooltip: {
@@ -445,7 +453,7 @@ let app = new Vue({
                             },
                         ]),
                     },
-                    data: data.y[0],
+                    data: data.y1,
                 }, {
                     type: 'bar',
                     name: "报名人数",
@@ -462,7 +470,7 @@ let app = new Vue({
                             },
                         ]),
                     },
-                    data: data.y[1],
+                    data: data.y2,
                 }, {
                     type: 'bar',
                     name: "录用人数",
@@ -479,7 +487,7 @@ let app = new Vue({
                             },
                         ]),
                     },
-                    data: data.y[2],
+                    data: data.y3,
                 }]
             };
             this.downhole.setOption(option);
@@ -490,212 +498,28 @@ let app = new Vue({
         },
         scrollChange(index) {
         },
-        initLineRight(el, data) {
-            let mychart = echarts.init(el);
-            var category = [{
-                name: "管控",
-                value: 2500
-            },
-            {
-                name: "集中式",
-                value: 8000
-            },
-            {
-                name: "纳管",
-                value: 3000
-            },
-            {
-                name: "纳管",
-                value: 3000
-            },
-            {
-                name: "纳管",
-                value: 3000
-            }
-            ]; // 类别
-            var total = 10000; // 数据总数
-            var datas = [];
-            category.forEach(value => {
-                datas.push(value.value);
-            });
-            option = {
-                xAxis: {
-                    max: total,
-                    splitLine: {
-                        show: false
-                    },
-                    axisLine: {
-                        show: false
-                    },
-                    axisLabel: {
-                        show: false
-                    },
-                    axisTick: {
-                        show: false
-                    }
-                },
-                grid: {
-                    left: 10,
-                    top: 20, // 设置条形图的边距
-                    right: 100,
-                    bottom: 20
-                },
-                yAxis: [{
-                    type: "category",
-                    inverse: false,
-                    data: category,
-                    axisLine: {
-                        show: false
-                    },
-                    axisTick: {
-                        show: false
-                    },
-                    axisLabel: {
-                        show: false
-                    }
-                }],
-                series: [{
-                    // 内
-                    type: "bar",
-                    barWidth: 18,
-
-                    legendHoverLink: false,
-                    silent: true,
-                    itemStyle: {
-                        normal: {
-                            color: {
-                                type: "linear",
-                                x: 0,
-                                y: 0,
-                                x2: 1,
-                                y2: 0,
-                                colorStops: [{
-                                    offset: 1,
-                                    color: '#00feff'
-                                },
-                                {
-                                    offset: 0.5,
-                                    color: '#027eff'
-                                },
-                                {
-                                    offset: 0,
-                                    color: '#0286ff'
-                                }
-                                ]
-                            }
-                        }
-                    },
-                    label: {
-                        normal: {
-                            show: true,
-                            position: [0, -35],
-                            formatter: "{b}",
-                            textStyle: {
-                                color: "#fff",
-                                fontSize: 30,
-                                fontWeight: "bolder",
-                            }
-                        }
-                    },
-                    data: category,
-                    z: 1,
-                    animationEasing: "elasticOut"
-                },
-                {
-                    // 分隔
-                    type: "pictorialBar",
-                    itemStyle: {
-                        normal: {
-                            color: "#061348"
-                        }
-                    },
-                    symbolRepeat: "fixed",
-                    symbolMargin: 12,
-                    symbol: "rect",
-                    symbolClip: true,
-                    symbolSize: [5, 21],
-                    symbolPosition: "start",
-                    symbolOffset: [1, -1],
-                    symbolBoundingData: this.total,
-                    data: category,
-                    z: 2,
-                    animationEasing: "elasticOut"
 
-                },
-                {
-                    // 外边框
-                    type: "pictorialBar",
-                    symbol: "rect",
-                    symbolBoundingData: total,
-                    itemStyle: {
-                        normal: {
-                            color: "none"
-                        }
-                    },
-                    label: {
-                        normal: {
-                            color: "#fff",
-                            fontSize: 30,
-                            position: [600, 20],
-                            distance: 0, // 向右偏移位置
-                            show: true
-                        }
-                    },
-                    data: datas,
-                    z: 0,
-                    animationEasing: "elasticOut"
-                },
-                {
-                    name: "外框",
-                    type: "bar",
-                    barGap: "-150%", // 设置外框粗细
-                    data: [total, total, total, total, total, total, total, total, total, total, total, total, total, total, total, total, total, total, total, total],
-                    barWidth: 35,
-                    itemStyle: {
-                        normal: {
-                            color: "transparent", // 填充色
-                            barBorderColor: "#1C4B8E", // 边框色
-                            barBorderWidth: 1, // 边框宽度
-                            // barBorderRadius: 0, //圆角半径
-                            label: {
-                                // 标签显示位置
-                                show: false,
-                                position: "top" // insideTop 或者横向的 insideLeft
-                            }
-                        }
-                    },
-                    z: 0
-                }
-                ]
-            };
-            mychart.setOption(option)
-        },
         initRightCycle(el, data) {
             var getvalue = [88];
 
             let chat = echarts.init(el)
 
             option = {
-                // title: {
-                //     text: getvalue + '分',
-                //     textStyle: {
-                //         color: '#28BCFE',
-                //         fontSize: 40
-                //     },
-                //     subtext: '综合得分',
-                //     subtextStyle: {
-                //         color: '#666666',
-                //         fontSize: 30
-                //     },
-                //     itemGap: 20,
-                //     left: 'center',
-                //     top: '43%'
-                // },
-                tooltip: {
-                    formatter: function (params) {
-                        return '<span style="color: #fff;">综合得分:' + getvalue + '分</span>';
-                    }
+                title: {
+                    text: getvalue + '%',
+                    textStyle: {
+                        color: '#fff',
+                        fontSize: 20
+                    },
+                    itemGap: 20,
+                    left: '55%',
+                    top: '38%'
                 },
+                // tooltip: {
+                //     formatter: function (params) {
+                //         return '<span style="color: #fff;">综合得分:' + getvalue + '分</span>';
+                //     }
+                // },
                 angleAxis: {
                     max: 100,
                     clockwise: true, // 逆时针
@@ -717,7 +541,7 @@ let app = new Vue({
                     },
                 },
                 polar: {
-                    center: ['50%', '50%'],
+                    center: ['70%', '50%'],
                     radius: ['60%', '75%'],
                     // radius: '100%' //图形大小
                 },
@@ -750,5 +574,392 @@ let app = new Vue({
 
             chat.setOption(option)
         },
+        initLineRight(el, data) {
+            let that = this;
+            let myChart = echarts.init(el);
+            let nameList = ["a"];
+            let valueList = [1287.5];
+            let total = 1363.88; // 数据总数
+            var category = nameList.map((item, index) => {
+                return {
+                    value: valueList[index],
+                    itemStyle: {
+                        color: new echarts.graphic.LinearGradient(
+                            1,
+                            0,
+                            0,
+                            1,
+                            [
+                                {
+                                    offset: 0,
+                                    color: "#40A9FF50",
+                                },
+                                {
+                                    offset: 1,
+                                    color: "#40A9FF",
+                                },
+                            ],
+                            false
+                        ),
+                    },
+                };
+            });
+            var totalList = [];
+            var totalBorderList = [];
+            nameList.map((item, index) => {
+                totalList.push({
+                    value: total,
+                    itemStyle: {
+                        color: "rgba(51, 147, 236, 0.29)",
+                    },
+                });
+                totalBorderList.push({
+                    value: total,
+                    itemStyle: {
+                        borderColor: "rgba(51, 147, 236, 0.29)",
+                        color: "transparent",
+                    },
+                });
+            });
+            var datas = [];
+            category.forEach((value) => {
+                datas.push(value.value);
+            });
+            option = {
+                // backgroundColor: 'rgb(231,238,249)',
+                xAxis: {
+                    max: total,
+                    splitLine: {
+                        show: false,
+                    },
+                    axisLine: {
+                        show: false,
+                    },
+                    axisLabel: {
+                        show: false,
+                    },
+                    axisTick: {
+                        show: false,
+                    },
+                },
+                grid: {
+                    left: "1%",
+                    top: 20, // 设置条形图的边距
+                    right: "20%",
+                    bottom: 20,
+                },
+                yAxis: [
+                    {
+                        type: "category",
+                        inverse: false,
+                        data: nameList,
+                        axisLine: {
+                            show: false,
+                        },
+                        axisTick: {
+                            show: false,
+                        },
+                        axisLabel: {
+                            show: false,
+                        },
+                    },
+                ],
+                series: [
+                    {
+                        // 内
+                        type: "bar",
+                        barWidth: 16,
+                        barGap: "20%",
+                        silent: true,
+                        // label: {
+                        //     normal: {
+                        //         formatter: (item) => {
+                        //             return `${item['name']}:${item['value']} `;
+                        //         },
+                        //         textStyle: {
+                        //             color: 'rgba(105, 120, 136, 1)',
+                        //             fontSize: 14,
+                        //         },
+                        //         position: [0, '-25px'],
+                        //         show: true,
+                        //     },
+                        // },
+                        data: category,
+                        z: 1,
+                        itemStyle: {
+                            normal: {
+                                color: new echarts.graphic.LinearGradient(
+                                    1,
+                                    0,
+                                    0,
+                                    1,
+                                    [
+                                        {
+                                            offset: 0,
+                                            color: "rgba(81, 193, 156, 1)",
+                                        },
+                                        {
+                                            offset: 1,
+                                            color: "rgba(234, 177, 100, 1)",
+                                        },
+                                    ],
+                                    false
+                                ),
+                            },
+                        },
+                        animationEasing: "elasticOut",
+                    },
+
+                    {
+                        // 分隔
+                        type: "pictorialBar",
+                        itemStyle: {
+                            normal: {
+                                color: "#143362",
+                            },
+                        },
+                        symbolRepeat: "fixed",
+                        symbolMargin: 8,
+                        symbol: "rect",
+                        symbolClip: false,
+                        symbolSize: [4, 20],
+                        symbolPosition: "start",
+                        symbolOffset: [0, -2],
+                        symbolBoundingData: total,
+                        data: [total, total, total, total],
+                        z: 2,
+                        animationEasing: "elasticOut",
+                    },
+                    {
+                        // label
+                        type: "pictorialBar",
+                        symbolBoundingData: total,
+                        itemStyle: {
+                            normal: {
+                                color: "none",
+                            },
+                        },
+                        label: {
+                            normal: {
+                                formatter: (params) => {
+                                    var text;
+                                    text = `${((params["data"] * 100) / total).toFixed(2)}个`;
+                                    return text;
+                                },
+                                textStyle: {
+                                    // 图列内容样式
+                                    fontSize: "30",
+                                    fontWeight: 800,
+                                },
+                                position: "right",
+                                offset: [0, -3],
+                                distance: 10, // 向右偏移位置
+                                show: true,
+                                color: "#FFF",
+                            },
+                        },
+                        data: datas,
+                        z: 0,
+                    },
+                    {
+                        name: "外框",
+                        type: "bar",
+                        barGap: "-130%", // 设置外框粗细
+                        data: totalBorderList,
+                        barWidth: 26,
+                        itemStyle: {
+                            normal: {
+                                // barBorderRadius: [5, 5, 5, 5],
+                                borderWidth: 1, // 边框宽度
+                                borderColor: "rgb(51, 147, 236)", // 边框色
+                                color: "rgb(231,238,249)",
+                            },
+                        },
+                        z: 0,
+                    },
+                ],
+            };
+
+            //轮播
+            // tools.loopShowTooltip(leftEcharts1, option, {
+            //   interval: 2000,
+            //   loopSeries: true,
+            // });
+            //注册
+            myChart.setOption(option);
+        },
+        initVitaEcharts(el, data) {
+            this.vitaEcharts = echarts.init(el)
+            option = {
+                tooltip: {
+                    show: true,
+                    trigger: 'axis',
+                    textStyle: {
+                        fontSize: 30,
+                        color: '#A3E2F4'
+                    },
+                    axisPointer: { // 坐标轴指示器,坐标轴触发有效
+                        type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
+                    },
+                    formatter: "{a} :  {c}份"
+                },
+                animation: true,
+                grid: {
+                    top: "7%",
+                    bottom: "8%",
+                    right: "2%"
+                },
+                xAxis: {
+                    data: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
+                    axisLine: {
+                        show: false //隐藏X轴轴线
+                    },
+                    axisTick: {
+                        show: false //隐藏X轴轴线
+                    },
+                    splitLine: {
+                        show: false,
+                        lineStyle: {
+                            color: "rgba(77, 128, 254, 0.2)",
+                            width: 2
+                        }
+                    },
+                    axisLabel: {
+                        show: true,
+                        interval: 0,
+                        fontSize: 24,
+                        textStyle: {
+                            color: "#fff" //X轴文字颜色
+                        }
+                    }
+                },
+                yAxis: [
+                    {
+                        type: "value",
+                        gridIndex: 0,
+                        min: 0,
+                        max: 100,
+                        interval: 25,
+                        // splitNumber: 4,
+                        splitLine: {
+                            show: false,
+                            lineStyle: {
+                                color: "rgba(77, 128, 254, 0.2)",
+                                width: 2
+                            }
+                        },
+                        axisTick: {
+                            show: false
+                        },
+                        axisLine: {
+                            show: false,
+                            lineStyle: {
+                                color: "rgba(77, 128, 254, 0.2)"
+                            }
+                        },
+                        axisLabel: {
+                            show: true,
+                            margin: 14,
+                            fontSize: 26,
+                            textStyle: {
+                                color: "#65D5FF"
+                            }
+                        }
+                    }
+                ],
+                series: [
+                    {
+                        name: "简历投递数",
+                        type: "bar",
+                        barWidth: 16,
+                        itemStyle: {
+                            normal: {
+                                color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+                                    {
+                                        offset: 1,
+                                        color: "#004E8E"
+                                    },
+                                    {
+                                        offset: 0,
+                                        color: "#40A9FF"
+                                    }
+                                ])
+                            }
+                        },
+                        data: [21, 43, 56, 32, 64, 21, 43, 56, 32, 64, 21, 43],
+                        z: 10,
+                        zlevel: 0
+                    },
+                    {
+                        // 分隔
+                        type: "pictorialBar",
+                        itemStyle: {
+                            normal: {
+                                color: "#0F375F"
+                            }
+                        },
+                        symbolRepeat: "fixed",
+                        symbolMargin: 6,
+                        symbol: "rect",
+                        symbolClip: true,
+                        symbolSize: [18, 2],
+                        symbolPosition: "start",
+                        symbolOffset: [1, 1],
+                        data: [21, 43, 56, 32, 64, 21, 43, 56, 32, 64, 21, 43],
+                        width: 2,
+                        z: 0,
+                        zlevel: 1
+                    },
+                    {
+                        name: "外框",
+                        type: "bar",
+                        barGap: "-110%", // 设置外框粗细
+                        data: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
+                        barWidth: 16,
+                        itemStyle: {
+                            normal: {
+                                color: "transparent", // 填充色
+                                // barBorderRadius: 0, //圆角半径
+                                label: {
+                                    // 标签显示位置
+                                    show: false,
+                                    position: "top" // insideTop 或者横向的 insideLeft
+                                }
+                            }
+                        },
+                        z: 0
+                    },
+                    {
+                        name: "背影",
+                        type: "line",
+                        smooth: true, //平滑曲线显示
+                        showAllSymbol: false, //显示所有图形。
+                        symbolSize: 0,
+                        lineStyle: {
+                            width: 0
+                        },
+                        areaStyle: {
+                            color: "rgba(0, 151, 251, 0.1)"
+                        },
+                        data: [21, 43, 56, 32, 64, 21, 43, 56, 32, 64, 21, 43],
+                        z: 5
+                    }
+                ],
+                dataZoom: [
+                    {
+                        type: "slider",
+                        show: false,
+                        xAxisIndex: [0],
+                        endValue: 12,
+                        startValue: 0
+                    }
+                ]
+            }
+            this.vitaEcharts.setOption(option)
+            tools.loopShowTooltip(this.vitaEcharts, option, {
+                nterval: 2000,
+                loopSeries: true,
+            });
+        },
     },
 })

+ 102 - 22
cokingCoal/styles/humanResources.css

@@ -147,7 +147,7 @@ img {
 .page_main_center .page_main_center_image {
     width: 90%;
     height: 110%;
-    transform: scale(1.0) translate(5.5%,6%);
+    transform: scale(1.0) translate(5.5%, 6%);
 }
 
 .center_top {
@@ -178,12 +178,13 @@ img {
     animation: remove 2s steps(60) infinite;
 }
 
-.center_main_item_icon{
+.center_main_item_icon {
     width: 110px;
     height: 110px;
     margin-bottom: 10px;
 }
-.center_main_item span{
+
+.center_main_item span {
     font-size: 30px;
     font-weight: 500;
     text-align: center;
@@ -301,12 +302,12 @@ img {
 }
 
 .btn_on {
-    width: 186px;
+    width: 250px;
     height: 100%;
     background: url("../images/humanResources/btn_on.png") no-repeat;
     background-size: 100% 100%;
     margin: 0 20px;
-    font-size: 18px;
+    font-size: 25px;
     font-family: Source Han Sans CN;
     font-weight: 500;
     color: #ECE278;
@@ -315,12 +316,12 @@ img {
 }
 
 .btn_off {
-    width: 186px;
+    width: 250px;
     height: 100%;
     background: url("../images/humanResources/btn_off.png") no-repeat;
     background-size: 100% 100%;
     margin: 0 20px;
-    font-size: 18px;
+    font-size: 25px;
     font-family: Source Han Sans CN;
     font-weight: 500;
     color: #47C0FF;
@@ -422,7 +423,7 @@ li {
 
 .main_item_title {
     width: 270px;
-    height: 70px;
+    height: 50px;
     background: url("../images/humanResources/btn_off.png") no-repeat;
     background-size: 100% 100%;
     font-size: 24px;
@@ -430,7 +431,7 @@ li {
     font-weight: 500;
     color: #FFFFFF;
     text-align: center;
-    line-height: 70px;
+    line-height: 50px;
     margin-top: -20px;
 }
 
@@ -484,16 +485,24 @@ li {
     position: absolute;
     width: 150px;
     height: 150px;
-    top: 20%;
-    left: calc(50% - 75px);
-    background: #04e5f5;
-    -webkit-mask: url('https://imgservices-1252317822.image.myqcloud.com/image/081320210201435/e9951400.png') no-repeat;
+    background: red;
+    -webkit-mask: url('https://imgservices-1252317822.image.myqcloud.com/image/081320210201435/e9951400.png')  no-repeat;
     -webkit-mask-size: auto 150px;
     transform: scale(2.65);
-    animation: fireworks 2s steps(24) infinite, random_color 1s infinite;
+    animation: fireworks 2s steps(24) infinite, random 8s steps(1) infinite,random_color 1s infinite;
+    /* animation: fireworks 2s steps(24) infinite; */
     /* display: none; */
 }
 
+.fireworkss{
+    position: absolute;
+    width: 150px;
+    height: 150px;
+    top: 10%;
+    right: 0%;
+    background: red;
+}
+
 
 .fireworks_line {
     position: absolute;
@@ -530,15 +539,15 @@ li {
 
 @keyframes random {
     25% {
-        transform: translate(200%, 50%) scale(0.8);
+        transform: translate(200%, 50%) scale(1);
     }
 
     50% {
-        transform: translate(80%, 80%) scale(1.2);
+        transform: translate(80%, 80%) scale(2.2);
     }
 
     75% {
-        transform: translate(20%, 60%) scale(1.65);
+        transform: translate(-20%, -60%) scale(1.65);
     }
 }
 
@@ -706,7 +715,7 @@ li {
     animation: leftRemove 2s steps(60) infinite;
 }
 
-@keyframes leftRemove{
+@keyframes leftRemove {
     0% {
         transform: translateY(0);
     }
@@ -728,7 +737,7 @@ li {
     }
 }
 
-@keyframes rightRemove{
+@keyframes rightRemove {
     0% {
         transform: translateY(0);
     }
@@ -768,17 +777,88 @@ li {
     font-size: 20px;
 }
 
-.bg_cyc_text{
+.bg_cyc_text {
     font-size: 30px;
     font-weight: bolder;
 }
 
-.bg_cyc_text span{
+.bg_cyc_text span {
     font-size: 20px;
     font-weight: normal;
 }
 
-.btm_item{
+.btm_item {
     width: calc(50% - 10px);
     height: 100%;
+}
+
+.main_item_left {
+    width: 20%;
+    height: 100%;
+}
+
+.main_item_right {
+    width: calc(80% - 10px);
+    height: 100%;
+}
+
+.right_item {
+    width: 100%;
+    height: 20%;
+    display: flex;
+    flex-direction: column;
+    justify-content: space-around;
+    align-items: flex-start;
+}
+
+.right_item_tit {
+    width: 100%;
+    height: 30%;
+    display: flex;
+    justify-content: flex-start;
+    align-items: center;
+}
+
+.icon_tit {
+    width: 5px;
+    height: 100%;
+    background: #40A9FF;
+    margin: 5px 10px 0;
+}
+
+.tit_text {
+    font-size: 28px;
+    font-family: Source Han Sans CN;
+    font-weight: bold;
+    color: #FFFFFF;
+}
+
+
+.echarts_dom_else {
+    width: 100%;
+    height: 70%;
+}
+
+.main_item_left_item{
+    width: 100%;
+    height: 20%;
+}
+
+.page_main_center_svg{
+    width: 700px;
+    height: 700px;
+    position: absolute;
+    bottom: -10%;
+    z-index: 0;
+    /* transform-origin: center bottom;
+    transform-style: preserve-3d; */
+}
+
+.svg_box {
+    transform-origin: center top;
+    transform: rotateX(80deg) scale(2.6);
+    text-align: center;
+    position: absolute;
+    left: 90%;
+    bottom: -10%;
 }