diff --git a/src/views/searchList/SearchList.vue b/src/views/searchList/SearchList.vue
index 59fc21b..121542f 100644
--- a/src/views/searchList/SearchList.vue
+++ b/src/views/searchList/SearchList.vue
@@ -34,7 +34,7 @@
{{item.id}}
-
{{item.name}}
+
{{item.name}}
{{item.className}}
{{item.lmss}}
@@ -209,7 +209,14 @@ export default {
let arrts = []
res.data.data.list.forEach((item, index) => {
// console.log(item)
- let srtAs = { id: item.id, name: item.name, className: item.cname, lmss: item.classify }
+ let srtAs = {
+ id: item.id,
+ name: item.name,
+ className: item.cname,
+ lmss: item.classify,
+ classify_id: item.classify_id,
+ f: item.f, type: item.type
+ }
arrts.push(srtAs)
})
this.searchData = arrts
@@ -267,7 +274,20 @@ export default {
currentChange(ev) {
this.pageConfiguration.nowPage = ev
this.getSearchData(this.pageConfiguration.nowPage)
- }
+ },
+ // 跳转至查询页面
+ jumpSearch(listCount) {
+ console.log(listCount)
+ this.$router.push(
+ {
+ path: '/datasweb',
+ query: {
+ type: listCount.type === '1' ? listCount.f : 'area',
+ defaultLeftId: listCount.classify_id
+ }
+ }
+ )
+ },
},
computed: {
// 计算字符串
@@ -426,6 +446,9 @@ export default {
flex-direction: row;
justify-content: flex-start;
align-items: center;
+ & > div:nth-child(2) {
+ cursor: pointer;
+ }
& > div {
width: 25%;
height: 4.375rem;