diff --git a/src/views/login/index.vue b/src/views/login/index.vue index b706614..76ad9a3 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -164,9 +164,7 @@ this.$message.success('登录成功') removeCurrentSys() this.$router.push({ path: '/' }) - console.log('++++++++++++++', this.$router) - }).catch((error) => { - this.$message.error(error) + }).catch(() => { this.loading = false if (this.showKaptcha) { this.$refs.kaptcha.refreshCode() diff --git a/src/views/login/index.vue b/src/views/login/index.vue index b706614..76ad9a3 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -164,9 +164,7 @@ this.$message.success('登录成功') removeCurrentSys() this.$router.push({ path: '/' }) - console.log('++++++++++++++', this.$router) - }).catch((error) => { - this.$message.error(error) + }).catch(() => { this.loading = false if (this.showKaptcha) { this.$refs.kaptcha.refreshCode() diff --git a/src/views/seo/components/searchMore.vue b/src/views/seo/components/searchMore.vue index b1abe5a..de3e519 100644 --- a/src/views/seo/components/searchMore.vue +++ b/src/views/seo/components/searchMore.vue @@ -77,7 +77,7 @@ v-for="item in caseBigTypeList" :key="'caseType_'+item.id" :label="item.typeName" - :value="item.id" + :value="item.typeCode" /> @@ -334,9 +334,15 @@ }, // 获取案卷小类 getCaseDetailType() { + let typeId = '' + this.caseBigTypeList.forEach(item => { + if (item.typeCode === this.listQuery.casetypeCode) { + typeId = item.id + } + }) const params = { eorc: this.listQuery.eorc, - typeId: this.listQuery.casetypeCode + typeId: typeId } getCaseDetailTypeList(params).then(response => { this.caseDetailTypeList = response.data