<!DOCTYPE html>
<html lang="en">

<head>
  <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="./styles/element-ui@2.15.9.css" />
  <link rel="stylesheet" href="./styles/normalize.css" />
  <link rel="stylesheet" href="./styles/index5.css" />
  <!-- 引入js -->
  <script src="./libs/vue@2.7.10.js"></script>
  <!-- <script src="https://unpkg.com/@jiaminghi/data-view/dist/datav.min.vue.js"></script> -->
  <script src="./libs/echarts.min.js"></script>
  <script src="./libs/datav.min.js"></script>
  <script src="./libs/element-ui@2.15.9.js"></script>
  <script src="./libs/axios.min.js"></script>
  <script src="./libs/lodash.min.js"></script>
  <script src="./js/request.js"></script>
  <script src="./js/data.js"></script>
  <script src="./js/zhb.js"></script>
  <script src="./js/li.js"></script>
  <script src="./js/fjx.js"></script>
  <script src="./libs/echarts-tooltip-carousel.js"></script>
</head>

<body>
  <div id="app" v-cloak @click="showTipClose">
    <header class="my-header">
      <span>国有资本数智化平台人力资源系统</span>
      <span class="right">{{time}}</span>
    </header>
    <div class="main">
      <div class="left">
        <dv-border-box-8 :dur="10" style="flex: 1;">
          <div class="my-panel">
            <div class="panel-title flex-between ">
              <span class="text">定机构</span>
              <div>
                <span class="tip-window" @click.stop="handleShowTip(0,'focus')">关注重点</span>
                <span class="tip-window" @click.stop="handleShowTip(0,'analysis')">智能分析</span>
              </div>
            </div>
            <div class="content flex">
              <!-- <div ref="echartL1" style="flex: 1;height: 100%;"></div> -->
              <div ref="echartL2" style="flex: 1;height: 100%;"></div>
            </div>
          </div>
        </dv-border-box-8>
        <dv-border-box-8 :dur="11" style="flex: 1;">
          <div class="my-panel">
            <div class="panel-title flex-between">
              <span class="text">定职数11111</span>
              <div>
                <span class="tip-window" @click.stop="handleShowTip(1,'focus')">关注重点</span>
                <span class="tip-window" @click.stop="handleShowTip(1,'analysis')">智能分析</span>
              </div>
            </div>
            <div class="content flex">
              <!-- <div ref="echartL3" style="flex: 1;height: 100%;"></div> -->
              <div style="flex: 1;height: 100%; position: relative;">
                <div ref="echartL4" style="height: 100%; width: 100%;"></div>
                <div class="icon" @click.stop="handleShowTip2(0)">?</div>
              </div>
            </div>
          </div>
        </dv-border-box-8>
        <dv-border-box-8 :dur="12" style="flex: 1;">
          <div class="my-panel">
            <div class="panel-title flex-between">
              <span class="text">定员额</span>
              <div>
                <span class="tip-window" @click.stop="handleShowTip(2,'focus')">关注重点</span>
                <span class="tip-window" @click.stop="handleShowTip(2,'analysis')">智能分析</span>
              </div>
            </div>
            <div class="content">
              <!-- <div ref="echartL5" style="flex: 0 0 49.9%;height: 50%;"></div> -->
              <!-- <div ref="echartL6" style="flex: 0 0 49.9%;height: 50%;"></div> -->
              <!-- <div ref="echartL7" style="flex: 0 0 49.9%;height: 50%;"></div> -->
              <div ref="echartL8" style="height: 100%;"></div>
            </div>
          </div>
        </dv-border-box-8>
      </div>
      <div class="center">
        <div class="top" v-if="centerData">
          <div class="box">
            <img src="./images/center-top1.png" />
            <div>
              <p>架构数</p>
              <p><i style="color: #45DAD1">{{numFormat(centerData.info.value1)}}</i></p>
            </div>
          </div>
          <div class="box">
            <img src="./images/center-top2.png" />
            <div>
              <p>岗位数</p>
              <p><i style="color: #8BA2FF">{{numFormat(centerData.info.value2)}}</i></p>
            </div>
          </div>
          <div class="box">
            <img src="./images/center-top3.png" />
            <div>
              <p>总人数</p>
              <p><i style="color: #69C0FF">{{numFormat(centerData.info.value3)}}</i></p>
            </div>
          </div>
        </div>
        <dv-border-box-8 :dur="10">
          <div class="my-panel" v-if="centerData">
            <div class="panel-title">
              <span class="text">六定改革成效</span>
            </div>
            <div class="content flex" style="padding: 10px;">
              <div class="box-center">
                <div class="t">
                  <p>{{centerData.changeInfo[0].value1}}<span>%</span></p>
                  <p>总部机构压缩率</p>
                </div>
                <div class="flex">
                  <div>
                    <p style="color:#FBE139">{{centerData.changeInfo[0].value2}}</p>
                    <p>改革前总部机构平均数</p>
                  </div>
                  <div>
                    <p style="color:#17AC76">{{centerData.changeInfo[0].value3}}</p>
                    <p>改革后总部机构平均数
                    </p>
                  </div>
                </div>
              </div>
              <div class="box-center">
                <div class="t">
                  <p>{{centerData.changeInfo[1].value1}}<span>%</span></p>
                  <p>中层管理人数压缩率</p>
                </div>
                <div class="flex">
                  <div>
                    <p style="color:#FBE139">{{numFormat(centerData.changeInfo[1].value2)}}</p>
                    <p>改革前中层管理人数</p>
                  </div>
                  <div>
                    <p style="color:#17AC76">{{numFormat(centerData.changeInfo[1].value3)}}</p>
                    <p>改革后中层管理人数</p>
                  </div>
                </div>
              </div>
              <div class="box-center">
                <div>
                  <p>{{centerData.changeInfo[2].value1}}<span>%</span></p>
                  <p>在册职工压缩率</p>
                </div>
                <div class="flex">
                  <div>
                    <p style="color:#FBE139">{{numFormat(centerData.changeInfo[2].value2)}}</p>
                    <p>改革前在册职工数</p>
                  </div>
                  <div>
                    <p style="color:#17AC76">{{centerData.changeInfo[2].value3}}<span>万</span></p>
                    <p>在册职工压缩数</p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </dv-border-box-8>
        <dv-border-box-8 :dur="10">
          <div class="my-panel">
            <div class="panel-title flex-between">
              <span class="text">核心指标监测</span>
              <div>
                <span class="tip-window" @click.stop="handleShowTip(3,'focus')">关注重点</span>
                <span class="tip-window" @click.stop="handleShowTip(3,'analysis')">智能分析</span>
              </div>


            </div>
            <div class="content flex">
              <div style="flex: 1;height: 100%; position: relative;">
                <div ref="echartC1" style="flex: 1;height: 100%;"></div>
                <div class="icon" @click.stop="handleShowTip2(1)">?</div>
              </div>
              <div ref="echartC2" style="flex: 1;height: 100%;"></div>
            </div>
          </div>
        </dv-border-box-8>
        <dv-border-box-8 :dur="10">
          <div class="my-panel">
            <div class="panel-title">
              <span class="text">分析预警中心</span>
            </div>
            <div class="content yujing">
              <div class="flex1">
                <p class="s-title main-color">工作台分析</p>
                <dv-scroll-board :config="storageRecordConfig" class="content" />
              </div>
              <div class="flex1">
                <p class="s-title main-color">数据库预警</p>
                <dv-scroll-board :config="storageRecordConfig2" class="content" />
              </div>
            </div>
          </div>
        </dv-border-box-8>

      </div>
      <div class="right">
        <dv-border-box-8 :dur="10" style="flex: 1">
          <div class="my-panel">
            <div class="panel-title flex-between">
              <span class="text">定机制</span>
              <div>
                <span class="tip-window" @click.stop="handleShowTip(4,'focus')">关注重点</span>
                <span class="tip-window" @click.stop="handleShowTip(4,'analysis')">智能分析</span>
              </div>

            </div>
            <div class="content">
              <!-- <div ref="echartR1" style="flex: 0 0 49.9%;height: 50%;"></div> -->
              <!-- <div ref="echartR2" style="flex: 0 0 49.9%;height: 50%;"></div> -->
              <!-- <div ref="echartR3" style="flex: 0 0 49.9%;height: 50%;"></div> -->
              <div ref="echartR4" style="width:100;height: 100%;"></div>
            </div>
          </div>
        </dv-border-box-8>
        <dv-border-box-8 :dur="11" style="flex: 1">
          <div class="my-panel">
            <div class="panel-title flex-between">
              <span class="text">定薪酬</span>
              <div>
                <span class="tip-window" @click.stop="handleShowTip(5,'focus')">关注重点</span>
                <span class="tip-window" @click.stop="handleShowTip(5,'analysis')">智能分析</span>
              </div>

            </div>
            <div class="content flex">
              <div ref="echartR5" style="flex: 1;height: 100%;"></div>
              <!-- <div ref="echartR6" style="flex: 1;height: 100%;"></div> -->
            </div>
          </div>
        </dv-border-box-8>
        <dv-border-box-8 :dur="12" style="flex: 1">
          <div class="my-panel">
            <div class="panel-title flex-between">
              <span class="text">定任期</span>
              <div>
                <span class="tip-window" @click.stop="handleShowTip(6,'focus')">关注重点</span>
                <span class="tip-window" @click.stop="handleShowTip(6,'analysis')">智能分析</span>
              </div>
            </div>
            <div class="content flex">
              <div ref="echartR7" style="flex: 1;height: 100%;"></div>
              <!-- <div ref="echartR8" style="flex: 1;height: 100%;"></div> -->
            </div>
          </div>
        </dv-border-box-8>
      </div>
    </div>
    <div class="footer">
      <a class="item" v-for="(item,index) in companyList" :key="index" @click="handleGoPage(item.link)"><img
          :src="`./images/logos/logo${index+1}.png`"></img> {{item.name}}</a>
    </div>

    <div class="tip" @click="showTip = false" v-if="showTip && tipNum != 3">
      <div class="tip-box">
        <div class="tip-content">
          <div class="btm10" v-for="(item,index) in tipData[tipNum]" :key="index"> {{item}}</div>
        </div>
      </div>
    </div>
    <!-- 问号弹窗 -->
    <div class="tip" @click="showTip2 = false" v-if="showTip2">
      <div class="tip-box" style="left:calc( 50% + 1300px )">
        <div class="tip-content">
          <div class="btm10" v-for="(item,index) in tipData2[tipNum]" :key="index"> {{item}}</div>
        </div>
      </div>
    </div>
    <!-- 核心指标监测专属 -->
    <div class="tip" @click="showTip = false" v-if="showTip && tipNum == 3">
      <div class="tip-box" style="left:calc( 50% + 1300px )">
        <div class="tip-content">
          <div class="btm10" v-for="(item,index) in tipData[tipNum]" :key="index"> {{item}}</div>
        </div>
      </div>
    </div>
  </div>


  <script src="./js/index5.js"></script>
</body>

</html>