diff --git a/jero-web/src/views/phoneView/myCollection.vue b/jero-web/src/views/phoneView/myCollection.vue index fccacd66d..7360ff52e 100644 --- a/jero-web/src/views/phoneView/myCollection.vue +++ b/jero-web/src/views/phoneView/myCollection.vue @@ -172,9 +172,16 @@ } }) }, - - + recentBrowseAdd(browseType, id) { + let query = { + browseType: browseType, + browseDataId: id + } + postAction('/phone/recentBrowse/add', query).then((res) => { + }) + }, collectionClick(item) { + this.recentBrowseAdd('Document Library', item.documentId) this.$router.push({ path: '/phoneDocumentDetails', query: { @@ -183,6 +190,7 @@ }) }, problemKnowledgeBaseClick(item) { + this.recentBrowseAdd('Knowledge sharing', item.id) this.$router.push({ path: '/phoneProblemKnowledgeBase', query: { diff --git a/jero-web/src/views/phoneView/mySubscribe.vue b/jero-web/src/views/phoneView/mySubscribe.vue index 485227ab6..8a694d09c 100644 --- a/jero-web/src/views/phoneView/mySubscribe.vue +++ b/jero-web/src/views/phoneView/mySubscribe.vue @@ -88,14 +88,23 @@ } }) }, + recentBrowseAdd(browseType, id) { + let query = { + browseType: browseType, + browseDataId: id + } + postAction('/phone/recentBrowse/add', query).then((res) => { + }) + }, collectionClick(item) { + this.recentBrowseAdd('Document Library', item.documentId) this.$router.push({ path: '/phoneDocumentDetails', query: { id: item.documentId } }) - }, + } } } diff --git a/jero-web/src/views/phoneView/recentBrowsing.vue b/jero-web/src/views/phoneView/recentBrowsing.vue index 1dee741f1..30fe64857 100644 --- a/jero-web/src/views/phoneView/recentBrowsing.vue +++ b/jero-web/src/views/phoneView/recentBrowsing.vue @@ -8,18 +8,19 @@
-
+
- 测试类别 - - - 测试检验项目 + {{item.title || '--'}} + + +
- ISO 898-1-2013 + {{item.browseTypeName}}
@@ -31,14 +32,61 @@