ll
liukangdong
2025-03-11 6ea077ecfd9c3ed956570692600e7e55796c9bfe
screen/src/views/TaskEfficiency.vue
@@ -65,7 +65,7 @@
            <div class="list one-swiper">
              <div class="swiper-wrapper">
                <div class="line one-swiper-slide swiper-slide" v-for="item, i in dataList2" :key="i">
                  <div class="top" :class="{top3: i < 3}"><span v-if="i < 3">top</span>{{ i + 1 }}</div>
                  <div class="top" :class="{ top3: i < 3 }"><span v-if="i < 3">top</span>{{ i + 1 }}</div>
                  <div class="id_card">{{ item.platformName }}</div>
                  <div class="wrap">
                    <ChargeRate :rate="item.rate" />
@@ -99,7 +99,7 @@
              <div class="item">
                <div class="name">月台数量</div>
                <div v-if="data4.platformTotal || data4.platformTotal == 0" class="nums">
                  <div class="num" v-for="n, i in formatNum3(data4.platformTotal) " :key="i">{{ n }}</div>
                  <div class="num" v-for="n, i in formatNum3(data4.platformTotal)" :key="i">{{ n }}</div>
                </div>
              </div>
              <div class="item">
@@ -166,9 +166,9 @@
            <div class="modal_bg" v-if="showWorkModal" @click="closeModal"></div>
          </div>
          <div class="center_box_two">
            <div v-if="data4.videoIndexCodes && data4.videoIndexCodes.length > 0" class="videos">
            <!-- <div v-if="data4.videoIndexCodes && data4.videoIndexCodes.length > 0" class="videos">
              <Videos :href="data4.videoPluginUrl" :indexCodes="data4.videoIndexCodes" />
            </div>
            </div> -->
            <div class="list">
              <div class="line header">
                <div>月台名称</div>
@@ -704,12 +704,12 @@
    dataList2.value = result.map(item => {
      if (item.workTotalTime) {
        if (item.workTotalTime > 60) {
          item.workTotalTimeT = (item.workTotalTime / 60).toFixed(0) + '小时' + item.workTotalTime % 60 + '分钟'
          item.workTotalTimeT = Math.floor(item.workTotalTime / 60) + '小时' + item.workTotalTime % 60 + '分钟'
        } else {
          item.workTotalTimeT = item.workTotalTime + '分钟'
        }
      }
      item.rate = ((item.workTotalTime / count) * 30).toFixed(0)
      item.rate = Math.floor((item.workTotalTime / count) * 30)
      return item
    })
  })
@@ -812,7 +812,7 @@
const platformClick = (val) => {
  const index = pointList.findIndex(i => i.name == val.platformName)
  workModalParam.value = { ...val, ...pointList[index], index: pointList }
  if(workModalParam.value.workTime){
  if (workModalParam.value.workTime) {
    workModalParam.value.workTime = workModalParam.value.workTime.replaceAll('m', '分钟')
    workModalParam.value.workTime = workModalParam.value.workTime.replaceAll('h', '小时')
  }
@@ -1021,9 +1021,11 @@
            box-shadow: inset 0px 0px 3px 0px #01D9FE;
            margin-right: 10px;
          }
          .top3{
          .top3 {
            box-shadow: inset 0px 0px 3px 0px #FEAF01;
          }
          .one-swiper-slide {
            height: 40px !important;
          }
@@ -1041,11 +1043,14 @@
          .num {
            font-weight: 500;
            width: 82px;
            width: 88px;
            text-align: right;
            font-size: 13px;
            color: #DBEAEA;
            margin-left: 2px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
          .wrap {
@@ -1153,6 +1158,7 @@
        left: 850px;
        top: 60px;
        z-index: 99999999;
        .head {
          display: flex;
          justify-content: space-between;