From a32100e31b93bc378b11ab93617a9c40b081ad70 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期三, 15 四月 2026 16:44:03 +0800
Subject: [PATCH] 移除核验部分+登录注册接口对接
---
src/views/main/appraisalPlan/index.vue | 37 ++++++++++++++++++++++++++++++-------
1 files changed, 30 insertions(+), 7 deletions(-)
diff --git a/src/views/main/appraisalPlan/index.vue b/src/views/main/appraisalPlan/index.vue
index b7f0a51..3c96cd2 100644
--- a/src/views/main/appraisalPlan/index.vue
+++ b/src/views/main/appraisalPlan/index.vue
@@ -227,10 +227,28 @@
computed: {
filterList() {
return this.planList.slice((this.filter.pageNo-1)*this.filter.pageSize, this.filter.pageNo*this.filter.pageSize)
+ },
+ query() {
+ return this.$route.query
+ }
+ },
+ watch: {
+ signupDialogVisible: {
+ handler: function(val) {
+ if (!val) {
+ this.$router.replace({ path: this.$route.path })
+ }
+ }
}
},
created() {
this.getPlanList()
+
+ },
+ mounted() {
+ if (this.query.signupDialogFlag == '1') {
+ this.signup({ id: this.query.appraisalId })
+ }
},
methods: {
getPlanList() {
@@ -331,13 +349,18 @@
}, 400)
},
signup(item) {
- if (this.userInfo.id) {
- this.signupDialogVisible = true
- this.currentPlan = item
- } else {
- this.loginDialogVisible = true
- this.$message.primary('璇峰厛鐧诲綍')
- }
+ this.signupDialogVisible = true
+ this.currentPlan = item
+ this.$router.replace({ path: this.$route.path, query: { appraisalId: item.id, signupDialogFlag: 1 } })
+ // if (this.userInfo.id) {
+ // this.signupDialogVisible = true
+ // this.currentPlan = item
+ // this.$router.replace({ path: this.$route.path, query: { appraisalId: item.id, signupDialogFlag: 1 } })
+ // }
+ // else {
+ // this.loginDialogVisible = true
+ // this.$message.primary('璇峰厛鐧诲綍')
+ // }
}
}
}
--
Gitblit v1.8.0