From f6ba5de2578c58a738f35b29a708c523ccb518ba Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 05 十二月 2024 09:20:07 +0800
Subject: [PATCH] 最新版本541200007

---
 admin/src/views/task/index.vue |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/admin/src/views/task/index.vue b/admin/src/views/task/index.vue
index 28e27df..97d8c7f 100644
--- a/admin/src/views/task/index.vue
+++ b/admin/src/views/task/index.vue
@@ -109,6 +109,7 @@
 import OperaVisitsDesWindow from '@/components/business/OperaVisitsDesWindow'
 import dayjs from 'dayjs'
 import {
+  getAppHeaderNav,
   taskCenterHeadPC,
   taskCenterPage,
   taskSignRead
@@ -165,12 +166,12 @@
       },
       pagination: {
         capacity: 10,
-        page: 1
+        page: 1,
+        total: 0,
       },
       loading: false,
       dataList: [],
       headData: {},
-      total: 0,
 
       cateList: [
         { name: '璁垮鐢宠', id: 0 },
@@ -196,7 +197,22 @@
       this[str] = false
       this.getTaskList()
     },
+    handleTest (row) {
+      getAppHeaderNav(5).then(res => {
+        if (res === undefined || res == null) {
+          return
+        }
+        const myWindow = window.open(res)
+        setTimeout(() => {
+          myWindow.postMessage('{"method":"goToApp","argument":' + row.param5 + '}', '*')
+        }, 3000)
+      })
+    },
     handleDetail (row) {
+      if (row.type === 7) {
+        this.handleTest(row);
+        return
+      }
       if (this.filters.queryType == 3) {
         taskSignRead({
           noticesId: row.id,
@@ -268,6 +284,7 @@
       }).then(res => {
         console.log('res', res)
         this.dataList = res.records || []
+        this.pagination.total = res.total || 0
         this.dataList.forEach(i => {
           i.param1 = JSON.parse(i.param1)
         })

--
Gitblit v1.9.3