From e5454b769d44a34af423bf87ac8a740bf8c20341 Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期二, 29 四月 2025 13:25:29 +0800 Subject: [PATCH] Merge branch 'dev' into dev_tides --- src/views/index.vue | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 26471bc..b9dcf90 100644 --- a/src/views/index.vue +++ b/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 { @@ -195,6 +201,12 @@ // 璺宠浆椤甸潰 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}` @@ -353,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 -- Gitblit v1.9.3