Crunchy
2025-04-29 e5454b769d44a34af423bf87ac8a740bf8c20341
src/views/index.vue
@@ -94,7 +94,13 @@
<script>
import ScrollPagination from '@/components/index/scroll-paging.vue'
import {calendarWorkByWeek, currentUserWorkHourCount, msgRoll, page} from "@/api/index/report";
import {
  calendarWorkByWeek,
  currentUserWorkHourCount,
  msgRoll,
  page,
  triggerModificationStatusToRead
} from "@/api/index/report";
import Echarts from "@/components/echarts/echarts.vue";
import {mapGetters} from "vuex";
export default {
@@ -116,7 +122,7 @@
      list:[],
      currentPage:1,
      pageSize: 8, // 一页7条
      total: null,
      total: 0,
      listLoading: true, // 组件loading的展示,默认为true
      finishLoding: false, // 加载完成,显示已经没有更多了
      timer:null,
@@ -130,7 +136,6 @@
          radius: ['40%', '60%'],
          avoidLabelOverlap: false,
          itemStyle: {
            borderRadius: 5,
            borderColor: '#fff',
            borderWidth: 2
          },
@@ -194,8 +199,14 @@
  },
  methods: {
    // 跳转页面
    goAddList() {
    goAddList(m) {
      this.$router.push({name: m.jumpPath, query: { activeName: m.jumpId }})
      this.changeStatus(m)
    },
    changeStatus (m) {
      triggerModificationStatusToRead({id: m.id}).then(res => {
        console.log(res.data)
      })
    },
    getList(){
      const key = `_${this.currentPage}`
@@ -354,7 +365,6 @@
        month: month,
      }
      currentUserWorkHourCount(params).then(res => {
        console.log(res)
        this.totalHour = res.data.totalHour
        this.materialPieSeries[0].data[0].value = res.data.subsidiaryHour
        this.materialPieSeries[0].data[1].value = res.data.yieldHour
@@ -429,22 +439,6 @@
  box-sizing: border-box;
}
.right-1{
  padding: 10px 10px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.right-1-item{
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.right-1-item .mun{
  margin-left: 6px;
  color: #0166E2;
@@ -474,28 +468,8 @@
>>>.el-calendar-table tr td:first-child{
  border-left: 0;
}
.control{
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0px 0 10px;
}
.control .el-button{
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #E8E8E8;
  background: #fff;
  padding: 0;
  color: #0166E2;
  font-size: 20px;
}
.list2-item{
  line-height: 22px;
  display: flex;
  margin-bottom: 12px;
  font-size: 14px;
.right-3 {
  height: 600px;
}
.right-3-tab{
  padding: 20px 20px 10px 20px;
@@ -519,7 +493,7 @@
.right-3-list{
  padding: 0 20px 20px 20px;
  box-sizing: border-box;
  height: 390px;
  height: 544px;
  overflow-y: auto;
}
.list3-item{
@@ -625,17 +599,6 @@
  padding: 8px 8px 16px;
  display: flex;
  flex-direction: column;
}
.search_thing {
  height: 50px;
  margin-bottom: 26px;
}
.search_label {
  width: 120px;
  font-size: 14px;
  text-align: left;
  margin-bottom: 10px;
}
>>>.el-calendar-day span{
  display: inline-block;