From e6e3ff9166c219af461bad39edf0019db7c65315 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 29 十月 2025 15:05:36 +0800
Subject: [PATCH] 外购成品报检相关问题调整
---
src/views/index.vue | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/src/views/index.vue b/src/views/index.vue
index 84a4050..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 {
@@ -130,7 +136,6 @@
radius: ['40%', '60%'],
avoidLabelOverlap: false,
itemStyle: {
- borderRadius: 5,
borderColor: '#fff',
borderWidth: 2
},
@@ -195,7 +200,13 @@
methods: {
// 璺宠浆椤甸潰
goAddList(m) {
- this.$router.push(m.jumpPath)
+ 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
--
Gitblit v1.9.3