• 基于Echarts实现可视化数据大屏厅店营业效能分析


    前言

    🚀 基于 Echarts 实现可视化数据大屏响应式展示效果的源码,,基于html+css+javascript+echarts制作, 可以在此基础上重新开发。

    本项目中使用的是echarts图表库,ECharts 提供了常规的折线图、柱状图、散点图、饼图、K线图,用于统计的盒形图,用于地理数据可视化的地图、热力图、线图,用于关系数据可视化的关系图、treemap、旭日图,多维数据可视化的平行坐标,还有用于 BI 的漏斗图,仪表盘,并且支持图与图之间的混搭。


    ⚽精彩专栏推荐👇🏻👇🏻👇🏻

    【作者主页——🔥获取更多优质源码】

    【1000套 毕设项目精品实战案例】

    【 20套 VUE+Echarts 大数据可视化源码】

    【150套 HTML+ Echarts大数据可视化源码 】


    一、Echart是什么

    ECharts是一个使用 JavaScript 实现的开源可视化库,可以流畅的运行在 PC 和移动设备上,兼容当前绝大部分浏览器(IE8/9/10/11,Chrome,Firefox,Safari等),底层依赖矢量图形库 ZRender,提供直观,交互丰富,可高度个性化定制的数据可视化图表。

    二、ECharts入门教程

    5 分钟上手ECharts


    三、作品演示

    在这里插入图片描述


    四、代码实现

    1.HTML

    
    DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    
    <head>
        <title>厅店效能分析title>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1">
    
        <link rel="stylesheet" href="https://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.css">
        <link href="http://v.bootstrapmb.com/2020/3/xldj17548/static/js/pluginsPackage/swiper/swiper.min.css" rel="stylesheet" type="text/css">
        <link href="http://v.bootstrapmb.com/2020/3/xldj17548/static/css/style.css" rel="stylesheet" type="text/css">link>
        <link href="http://v.bootstrapmb.com/2020/3/xldj17548/static/css/office_efficiency_index.css" rel="stylesheet" type="text/css">link>
        <script type="text/javascript">
            //埋点全局变量
            var gDataGather = {
                systemCode: "dataanalysis",
                systemName: "CRM数据分析",
                moduleCode: "dataanalysis-m001",
                moduleName: "稳定运营",
                pageCode: "dataanalysis-m001-p0007",
                pageName: "厅店效能分析",
                param: "{}"
            }
        script>
    head>
    
    <body>
        <div class="container-fluid container-bg office-efficiency-index">
            <div class="row  office-header">
                <div class="col-sm-12 col-md-12 pd  title-info">厅店营业效能分析div>
                <div class="col-sm-5  col-md-5 pd analysis-info">XXXX-XXXXdiv>
                <div class="col-sm-7  col-md-7 pd analysis-filter">
                    <table style="width:100%;height:48px;">
                        <tr>
                            <td style="width:70%;text-align:right;">
                            td>
                            <td style="width:15%;text-align:right;padding-left:10px;color:#fff;font-size:14px;font-weight:bold;" id="td-data-date">
                                
                            td>
                            <td style="width:15%;">
                                <div class="cust-type-default right" type="2">政企div>
                                <div class="cust-type-default left active" type="1">公众div>
                            td>
                        tr>
                    table>
                div>
                
                <div id="select-group-channel-tablebar" class="select-group-channel-tablebar">
                    <div class="row">
                        <div class="col-sm-2  col-md-2 pd" style="color:#fff;height:40px;line-height:35px;margin-top:15px;text-align:right;width:110px;font-size:15px;">地域选择:div>
                        <div class="col-sm-4  col-md-4 pd" style="height:40px;margin-top:15px;">
                            <input type="text" id="selectCity" name="cityCode" class="form-control" style="width:150px;" />
                        div>
                        <div class="col-sm-2  col-md-2 pd" style="color:#fff;height:40px;line-height:35px;margin-top:15px;text-align:right;width:110px;font-size:15px;">区域选择:div>
                        <div class="col-sm-4  col-md-4 pd" style="height:40px;margin-top:15px;">
                            <input type="text" id="selectCounty" name="countyCode" class="form-control" style="width:150px;" />
                        div>
                    div>
                    <div class="row">
                        <div class="col-sm-2  col-md-2 pd" style="color:#fff;height:40px;line-height:35px;margin-top:15px;text-align:right;width:110px;font-size:15px;">渠道名称:div>
                        <div class="col-sm-6  col-md-6 pd" style="height:40px;margin-top:15px;">
                            <input type="text" id="channel_name" name="channelName" class="form-control" style="width:330px;" placeHolder="" />
                        div>
                        <div class="col-sm-4  col-md-4 pd" style="height:40px;margin-top:15px;text-align:center;">
                            <button type="button" class="btn btn-info btn-sm" style="height:35px;width:70px;margin-left:10px;background:#181C41;" onclick="doQueryChannelName();">查询button>
                            <button type="button" class="btn btn-info btn-sm" style="height:35px;width:70px;background:#282C55;" onclick="doRestChannelName();">重置button>
                        div>
                    div>
                div>
            div>
            <div class="row  office-header-content">
                <div class="col-sm-3 col-md-3 pd">
                    <div class="col-info">
                        <div class="title">门店基本信息div>
                        <div class="content base-info" id="base-info">
                            <table>
                                <tr>
                                    <td colspan="4">
                                        <div class="channel-name">XXXXdiv>
                                    td>
                                tr>
                                <tr>
                                    <td rowspan="2">
                                        <div id="integral_echart" class="integral-echart">div>
                                    td>
                                    <td>
                                        <div class="ding-dan-bg">div>
                                    td>
                                    <td>
                                        <div class="ke-liu-bg">div>
                                    td>
                                    <td>
                                        <div class="pai-dui-ji-bg">div>
                                    td>
                                tr>
                                <tr>
                                    <td>
                                        <div class="liang-shu-zhi" type="dingdanVal">--div>
                                    td>
                                    <td>
                                        <div class="liang-shu-zhi" type="custNumVal">--div>
                                    td>
                                    <td>
                                        <div class="liang-shu-zhi" type="lineUpVal">--div>
                                    td>
                                tr>
                                <tr class="td-shu-zhi">
                                    <td class="popval">全省前5%td>
                                    <td>订单量td>
                                    <td>当日客流td>
                                    <td>排队时长td>
                                tr>
                                <tr>
                                    <td>
                                        <div class="channel-star-level">门店星级div>
                                    td>
                                    <td colspan="3" class="chanenl-star">
                                        <img src="static/images/star1.png" style="width:21px;height:20px;" />
                                        <img src="static/images/star1.png" style="width:21px;height:20px;" />
                                        <img src="static/images/star1.png" style="width:21px;height:20px;" />
                                        <img src="static/images/star1.png" style="width:21px;height:20px;" />
                                        <img src="static/images/star1.png" style="width:21px;height:20px;" />
                                        <div class="channel-total-score">--分div>
                                    td>
                                tr>
                                <tr>
                                    <td class="label-name">台席健康度:td>
                                    <td class="label-value  device-score">
                                        <img src="static/images/star1.png" />
                                        <div class="score-val">1分div>
                                    td>
                                    <td class="label-name">受理速度:td>
                                    <td class="label-value avgtime">
                                        <img src="static/images/star1.png" />
                                        <div class="score-val">1分div>
                                    td>
                                tr>
                                <tr>
                                    <td class="label-name">违规行为:td>
                                    <td class="label-value weigui">
                                        <img src="static/images/star1.png" />
                                        <div class="score-val">1分div>
                                    td>
                                    <td class="label-name">营销评级:td>
                                    <td class="label-value yingxiao">
                                        <img src="static/images/star1.png" />
                                        <div class="score-val">1分div>
                                    td>
                                tr>
                                <tr>
                                    <td class="label-name">业务量:td>
                                    <td class="label-value yewuliang">
                                        <img src="static/images/star1.png" />
                                        <div class="score-val">1分div>
                                    td>
                                    <td>td>
                                    <td>td>
                                tr>
                            table>
                        div>
                    div>
                div>
                <div class="col-sm-6 col-md-6 pd">
                    <div class="col-info">
                        <div class="title">门店历史受理详情 div>
                        <div class="content" id="channel_handle_detail">div>
                    div>
                div>
                <div class="col-sm-3 col-md-3 pd">
                    <div class="col-info">
                        <div class="title">营业员受理详情div>
                        <div class="content staff-info" id="staff-info">
                        div>
                    div>
                div>
                <div class="col-sm-3 col-md-3 pd device-info-col">
                    <div class="col-info">
                        <div class="title">门店台席健康度div>
                        <div class="title-icon">
                            <div class="device-alarm"><svg class="icon" aria-hidden="true"><use xlink:href="#icongaojing2">use>svg><span type="grayGrade">0span>div>
                            <div class="device-alarm"><svg class="icon" aria-hidden="true"><use xlink:href="#icongaojing1">use>svg><span type="redGrade">0span>div>
                            <div class="device-alarm"><svg class="icon" aria-hidden="true"><use xlink:href="#icongaojing">use>svg><span type="greenGrade">0span>div>
                        div>
                        <div class="content deviceInfo" id="device-info">
                        div>
                    div>
                div>
                <div class="col-sm-5 col-md-5 pd time-step-col">
                    <div class="col-info">
                        <div class="title">耗时步骤分析div>
                        <div class="content" id="time-step-detial">div>
                    div>
                div>
                <div class="col-sm-4 col-md-4 pd business-type-time-col">
                    <div class="col-info">
                        <div class="title">业务类型耗时分析div>
                        <div class="content" id="business-type-time-detial">div>
                    div>
                div>
            div>
        div>
        
        <div id="query-page-data" style="display:none" onclick="loadPageData()" sa-gatherClick="true" elementCode="dataanalysis-m001-p0007-e00001" elementName="查询数据">div>
        <script src="https://libs.baidu.com/jquery/1.10.2/jquery.min.js">script>
        <script src="https://apps.bdimg.com/libs/bootstrap/3.3.4/js/bootstrap.min.js">script>
        <script src="http://v.bootstrapmb.com/2020/3/xldj17548/static/js/pluginsPackage/swiper/swiper.min.js" type="text/javascript" charset="utf-8">script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/echarts/4.2.1/echarts.min.js">script>
        <script src="http://v.bootstrapmb.com/2020/3/xldj17548/static/js/office_efficiency_data.js" type="text/javascript" charset="utf-8">script>
        <script src="http://v.bootstrapmb.com/2020/3/xldj17548/static/js/office_efficiency_index.js" type="text/javascript" charset="utf-8">script>
    body>
    
    html>
    
    
    
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184
    • 185
    • 186
    • 187
    • 188
    • 189
    • 190
    • 191
    • 192
    • 193
    • 194
    • 195
    • 196
    • 197
    • 198
    • 199
    • 200
    • 201
    • 202
    • 203
    • 204
    • 205
    • 206
    • 207
    • 208
    • 209
    • 210
    • 211
    • 212
    • 213
    • 214
    • 215
    • 216
    • 217
    • 218

    2.CSS

    
    
    .scrolltext ol li {
        cursor: pointer;
        padding-left: 7px;
        width: 570px;
        height: 25px;
        font-size: 13px;
        line-height: 25px;
        border-bottom: 2px solid #fff;
    }
    
    .scrolltext ol li a {
        color: #6f746e;
        display: inline;
        width: 570px;
        white-space: nowrap;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        overflow: hidden;
    }
    
    .scrolltext ol li a:hover {
        color: #1990FF;
        text-decoration: none;
    }
    
    .scrolltext .part {
        width: 100%;
        padding-top: 20px;
    }
    
    .scrolltext .part span {
        margin-left: 26px;
        cursor: pointer;
    }
    
    /*自定义横向tab切效果*/
    
    .Shortcut {
        height: 2.8em;
    }
    
    .custom-nav-tabs {
        height: 40px;
        line-height: 40px;
        vertical-align: top;
        text-align: left;
        padding-left: 2em;
        font-family: MicrosoftYaHei;
        background: #FFFFFF;
        border: 1px solid #E8E8E8;
        box-shadow: 1px 1px 10px 0 rgba(235, 235, 235, 0.50);
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    
    .custom-nav-tabs li {
        float: left;
        margin-right: 10px;
        height: 38px;
        line-height: 38px;
        vertical-align: middle;
        padding: 0px 5px 0px 5px;
    }
    
    .custom-nav-tabs li.active {
        border-bottom: 3px solid #1990FF;
    }
    
    .custom-nav-tabs li:hover {
        border-bottom: 3px solid #1990FF;
    }
    
    .custom-nav-tabs li a {
        height: 30px;
        float: left;
        color: #666666;
        font-size: 13px;
        font-weight: bold;
        text-decoration: none;
    }
    
    .shortcutEntry {
        width: 50px;
        height: 50px;
        background: #29CB97;
        border-radius: 5px;
        margin: 0 auto;
        margin-bottom: 6px;
    }
    
    /*页面头部菜单导航样式*/
    
    .all-nav {
        position: absolute;
        left: 0;
        top: 0;
        height: 50px;
        width: 50px;
        color: #fff;
        cursor: default;
        text-align: center;
        border-right: 1px solid hsla(0, 0%, 100%, .15);
        transition: all .2s ease-in-out;
        cursor: pointer;
    }
    
    .all-nav img {
        margin-top: 11px;
    }
    
    .all-nav.active,
    .all-nav:hover {
        background: #3063E3;
    }
    
    .all-navbar-header {
        width: 25%;
        position: relative;
        left: 60px;
        height: 45px;
        vertical-align: middle;
    }
    
    .all-navbar-header svg {
        margin-top: 12px;
        float: left;
        width: 25px;
        height: 25px;
    }
    
    .all-navbar-header div {
        float: left;
        width: 180px;
        height: 25px;
        margin: 13px 0px 0px 5px;
        color: #FFFFFF;
        font-size: 15px;
        font-family: MicrosoftYaHei;
        letter-spacing: 1.66px;
    }
    
    /*菜单手风琴效果*/
    
    .accordionMenu {
        background: #333333;
        width: 200px;
        height: 100%;
        display: none;
        z-index: 999;
        position: absolute;
        top: 50px;
        left: -500px;
    }
    
    .accordionMenu .item_dl dt {
        height: 20px;
        display: block;
        padding: 10px;
        border-bottom: 1px solid #161616;
        cursor: pointer;
    }
    
    .accordionMenu .item_dl dt.expansion:hover {
        background: none;
    }
    
    .accordionMenu .item_dl dt svg {
        width: 16px;
        height: 16px;
        float: left;
        color: #fff;
        margin-top: 2px;
        opacity: 1;
    }
    
    .accordionMenu .item_dl dt .item_title {
        width: 120px;
        font-size: 14px;
        color: #fff;
        margin-left: 10px;
        margin-right: 10px;
        float: left;
        opacity: 1;
    }
    
    .accordionMenu .item_dl dt .arrowClass {
        float: left;
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: all 1s;
        transition: all 1s;
    }
    
    .accordionMenu .item_dl dt.active .arrowClass {
        -ms-transform: rotate(540deg);
        -moz-transform: rotate(540deg);
        -webkit-transform: rotate(540deg);
        -o-transform: rotate(540deg);
        transform: rotate(540deg);
        -webkit-transition: all 1.5s;
        transition: all 1.5s;
    }
    
    .accordionMenu .item_dd .menuSecond {
        background: #161616;
        min-height: 50px;
        height: 200px;
        overflow-y: auto;
        padding: 5px;
        display: none;
    }
    
    
    
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184
    • 185
    • 186
    • 187
    • 188
    • 189
    • 190
    • 191
    • 192
    • 193
    • 194
    • 195
    • 196
    • 197
    • 198
    • 199
    • 200
    • 201
    • 202
    • 203
    • 204
    • 205
    • 206
    • 207
    • 208
    • 209
    • 210
    • 211
    • 212
    • 213
    • 214
    • 215
    • 216
    • 217
    • 218
    • 219
    • 220

    五、更多干货

    1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “👍点赞” “✍️评论” “💙收藏” 一键三连哦!

    2.【👇🏻👇🏻👇🏻关注我| 获取更多源码 | 优质文章】 带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、Echarts大数据可视化, 等! 「一起探讨 web前端 ,Node ,Java 知识,互相学习」!

    3.以上内容技术相关问题😈欢迎一起交流学习👇🏻👇🏻👇🏻🔥

  • 相关阅读:
    html5学习笔记18-web存储、web sql、web worker
    SSM+冬奥会志愿者招募系统 毕业设计-附源码191621
    v-if和v-for的优先级是什么?
    绕不过的并发编程--synchronized原理
    宋仕强介绍说,金航标设在广西自治区鹿寨县的生产基地由金航标电子以前设在东莞塘厦的
    ElasticSearch集群搭建
    【C++】命名空间
    74道高级Java面试合集,java开发模式面试题
    重磅!!!监控分布式NVIDIA-GPU状态
    No.177# 蓝绿发布提效方案梳理
  • 原文地址:https://blog.csdn.net/bigwhiteshark/article/details/126344554