diff --git a/src/pages/phone/databaseSearch.vue b/src/pages/phone/databaseSearch.vue index 3db81c197..316bee80e 100644 --- a/src/pages/phone/databaseSearch.vue +++ b/src/pages/phone/databaseSearch.vue @@ -148,13 +148,23 @@ export default { this.$router.push('/phoneHome') }, jumpDetails(item){ - this.$router.push({ - name: 'domesticDetails', - query: { - id: item.id, - pageType: 'INLAND_STAND' - } - }) + if(item && item.indexType === 'stand' ){ + this.$router.push({ + name: 'domesticDetails', + query: { + id: item.id, + pageType: 'INLAND_STAND' + } + }) + }else if(item && item.indexType === 'FOREIGN'){ + this.$router.push({ + name: 'domesticDetails', + query: { + id: item.id, + pageType: 'FOREIGN_STAND' + } + }) + } }, }, mounted(){ diff --git a/src/pages/phone/domesticStand.vue b/src/pages/phone/domesticStand.vue index 0021f28aa..d52d97a44 100644 --- a/src/pages/phone/domesticStand.vue +++ b/src/pages/phone/domesticStand.vue @@ -21,7 +21,7 @@
加载中...
-
+
{{item.lawsNumber}}
{{item.standSort + '  ' + item.standNumber + '-' + item.standYear }}
@@ -123,6 +123,15 @@ export default { } }, methods:{ + jumpDetails(item){ + this.$router.push({ + name: 'domesticDetails', + query: { + id: item.id, + pageType: 'INLAND_STAND' + } + }) + }, scrool(){ this.scrolled = this.$refs.cardBox.scrollTop //获得可视区的高度 diff --git a/src/pages/phone/standDynamics.vue b/src/pages/phone/standDynamics.vue index 1536a3db2..595851b3a 100644 --- a/src/pages/phone/standDynamics.vue +++ b/src/pages/phone/standDynamics.vue @@ -11,7 +11,7 @@
加载中...
-
+
{{ item.standardName }}
@@ -74,6 +74,15 @@ export default { }; }, methods: { + jumpDetails(item){ + this.$router.push({ + name: 'domesticDetails', + query: { + id: item.id, + pageType: 'FOREIGN_STAND' + } + }) + }, //返回上一个页面 back() { this.$router.push("/phoneHome");