From d0e2f9e0664203040bcbb059bf114071e69fa14d Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Thu, 13 Nov 2025 11:21:27 +0800 Subject: [PATCH] =?UTF-8?q?Affiliate=E5=A2=9E=E5=8A=A0=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E8=AE=BF=E9=97=AE=E6=95=B0=E9=87=8F=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AEcurrent=20project=E4=B8=8D?= =?UTF-8?q?=E4=BC=9A=E6=9B=B4=E6=96=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../affiliate/affiliateAudit/affiliateAudit.vue | 7 +++++++ src/views/HomeView/history.vue | 10 +++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue b/src/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue index 107d4934..24f1dff7 100644 --- a/src/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue +++ b/src/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue @@ -115,6 +115,13 @@ export default defineComponent({ width: 100, dataIndex: "status", key: "status", + },{ + title: 'Visits', + align: "center", + ellipsis: true, + width: 100, + dataIndex: "visits", + key: "visits", },{ title: 'Commission Percent', align: "center", diff --git a/src/views/HomeView/history.vue b/src/views/HomeView/history.vue index a5797d9b..c172b58e 100644 --- a/src/views/HomeView/history.vue +++ b/src/views/HomeView/history.vue @@ -452,7 +452,15 @@ export default defineComponent({ }, handleConfirmEdit({ data }) { // router.push(`/home?history=${data.id}`) - this.getHistoryList() + // if(data.id) + if(data.id === this.store.state.Workspace.probjects.id){ + let cachedRoutes = this.store.state.Workspace.cachedRoutes + for (let i = cachedRoutes.length - 1; i >= 0; i--) { + cachedRoutes.splice(i, 1); + } + this.store.commit('setProjectPath','') + } + // this.getHistoryList() }, retrieveHome(record: any) { // let num = true