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 1/3] =?UTF-8?q?Affiliate=E5=A2=9E=E5=8A=A0=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E8=AE=BF=E9=97=AE=E6=95=B0=E9=87=8F=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AEcurrent=20project?= =?UTF-8?q?=E4=B8=8D=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 From 8e17dc9942ba269bc95049189b38968761bb6648 Mon Sep 17 00:00:00 2001 From: zhangyh Date: Thu, 13 Nov 2025 11:38:02 +0800 Subject: [PATCH 2/3] =?UTF-8?q?style:=20promptInput=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/tools/poseTransfer/index.vue | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/component/home/tools/poseTransfer/index.vue b/src/component/home/tools/poseTransfer/index.vue index daef4f87..2f93be4d 100644 --- a/src/component/home/tools/poseTransfer/index.vue +++ b/src/component/home/tools/poseTransfer/index.vue @@ -65,8 +65,9 @@ -
- +
+
{{ $t('ProductImg.Prompt') }}
+
@@ -338,6 +339,7 @@ export default defineComponent({ data.isGenerate = true // data.remGenerateTime = setTimeout(()=>{ // },10000) + // const promptText = dataDom.promptInput.getFullText() let value = { poseId:data.selectPose, projectId:store.state.Workspace.probjects.id, @@ -785,11 +787,7 @@ export default defineComponent({ > .configuratioBox > .configuratio{ width: 100%; padding-bottom: 1rem; - > .title{ - // font-size: 2.6rem; - } > .content{ - // margin-top: 4rem; > .selectImg,> .poses{ display: flex; flex-direction: column; @@ -799,15 +797,12 @@ export default defineComponent({ margin-top: 2rem; display: flex; flex-wrap: nowrap; - // justify-content: space-between; width: 100%; overflow: hidden; overflow-x: auto; column-gap: 2.4rem; position: relative; > .item{ - // width: calc(100% / 2 - .5rem); - // height: 25rem; width: 12.7rem; height: 17.8rem; cursor: pointer; @@ -816,9 +811,6 @@ export default defineComponent({ justify-content: center; flex-shrink: 0; position: relative; - // &.active{ - // border: 2px solid; - // } :deep(.ant-checkbox-wrapper){ position: absolute; top: 2rem; @@ -934,8 +926,15 @@ export default defineComponent({ font-size: 1.6rem; } } + } + .prompt-input-container{ + margin-top: 4rem; + } + .title{ + font-size: 1.8rem; + color: #000; + margin-bottom: 1.4rem; } - > .poses{ margin-top: 3rem; } From 56c7a222cf5fba929f285f4ce29c93d5d2de9ed7 Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Thu, 13 Nov 2025 13:19:03 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=8F=96=E6=B6=88=E8=AE=A2=E9=98=85?= =?UTF-8?q?=E6=96=B0=E5=8A=A0=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/Account/frontPage.vue | 2 +- src/store/userHabit/userHabit.ts | 1 - src/store/workspace/workspace.ts | 4 ++++ src/tool/https.js | 1 + src/views/HomeMain.vue | 2 +- src/views/HomeView/history.vue | 6 +----- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/component/Account/frontPage.vue b/src/component/Account/frontPage.vue index c735153a..6f004078 100644 --- a/src/component/Account/frontPage.vue +++ b/src/component/Account/frontPage.vue @@ -6,7 +6,7 @@ diff --git a/src/store/userHabit/userHabit.ts b/src/store/userHabit/userHabit.ts index f6c51186..946d711a 100644 --- a/src/store/userHabit/userHabit.ts +++ b/src/store/userHabit/userHabit.ts @@ -266,7 +266,6 @@ const userHabit : Module = { // data.systemUser = 0 state.userDetail.affiliate = data.affiliate state.userDetail.systemUser = data.systemUser - // state.userDetail.systemUser = 3 // 身份列表1:可以使用aida系统,2:可以使用affiliate页面,3:系统管理员用户 state.userDetail.systemList = [] if(data.systemUser != 0)state.userDetail.systemList.push(1) diff --git a/src/store/workspace/workspace.ts b/src/store/workspace/workspace.ts index e74c9ecf..08e975d2 100644 --- a/src/store/workspace/workspace.ts +++ b/src/store/workspace/workspace.ts @@ -106,6 +106,10 @@ const Workspace: Module = { model: [] //模特 } }, + createProjectPath(state){ + state.projectPath = '' + state.cachedRoutes = [] + }, setProjectPath(state, path) { state.projectPath = path } diff --git a/src/tool/https.js b/src/tool/https.js index c74f825a..3d685414 100644 --- a/src/tool/https.js +++ b/src/tool/https.js @@ -117,6 +117,7 @@ axios.interceptors.response.use((res) =>{ message.warning('Please login and try again~') store.commit('createDetail') store.commit('createProbject') + store.commit('createProjectPath') setTimeout(()=>[ isLoginTime = false ],2000) diff --git a/src/views/HomeMain.vue b/src/views/HomeMain.vue index 1cdd34af..4f25e4e2 100644 --- a/src/views/HomeMain.vue +++ b/src/views/HomeMain.vue @@ -1232,7 +1232,7 @@ export default defineComponent({ this.$router.replace('/') this.store.commit('createDetail') this.store.commit('createProbject') - + this.store.commit('createProjectPath') // WriteCookie("token"); // window.location.reload() }, diff --git a/src/views/HomeView/history.vue b/src/views/HomeView/history.vue index c172b58e..9cecb1af 100644 --- a/src/views/HomeView/history.vue +++ b/src/views/HomeView/history.vue @@ -454,11 +454,7 @@ export default defineComponent({ // router.push(`/home?history=${data.id}`) // 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.store.commit('createProjectPath','') } // this.getHistoryList() },