diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 0e9a838b7..4a5b94f9d 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -1267,6 +1267,9 @@ export default { }, watch: {}, methods: { + FormatDate(date){ + return moment(date).format('YYYY-MM-DD'); + }, // 将文本状态的id与name对应 setMap(data){ data.forEach(item => { @@ -2703,8 +2706,8 @@ export default { location.half = half location.showAll = false }) - this.$http.get('sarSarAccessInfo/sar-sar-access-info/selectProTimeInfoByStandId', { - standId: this.$route.params.id + this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list', { + id: this.$route.params.id }, { _this: this }, res => { @@ -2721,7 +2724,6 @@ export default { } }) this.dynamicFormField = displayLocation - console.log(this.dynamicFormField) }) sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation)) this.loading = false diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 80c28f02a..cd2dcfac0 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -2679,10 +2679,11 @@ export default { }, // 树节点鼠标移入移出 mouseenter(data){ - console.log(data) - this.$set(data, 'show', true) - if(data.parentId !== null){ - this.$set(data, 'showDel', true) + if(data.menuName !== '我的收藏'){ + this.$set(data, 'show', true) + if(data.parentId !== null){ + this.$set(data, 'showDel', true) + } } }, mouseleave(data){ @@ -2690,6 +2691,7 @@ export default { this.$set(data, 'showDel', false) }, treeClick (treeNode) { + console.log(treeNode) this.selectSarMenu = treeNode this.standCommonlySearch.menuId = treeNode.id this.sarStandardsSearch.menuId = treeNode.id // 将当前二级菜单的id传回后台做标准的条件查询 @@ -3431,8 +3433,9 @@ export default { formData.nowOrder = this.nowOrder formData.nowOrderBy = this.nowOrderBy // formData.orderBy = this.orderBy + console.log(this.selectSarMenu.id) // 处理我的收藏和个性化标签传参 - if (this.selectSarMenu.id === 'wdsc') { + if (this.selectSarMenu.menuName === '我的收藏') { formData.menuId = undefined formData.labelMenuId = undefined formData.collectMenuId = 'wdsc' @@ -3472,6 +3475,7 @@ export default { } } this.stahndinfoList = res.data.list + console.log(this.stahndinfoList) this.total = res.data.count if ((this.stahndinfoList.length === 0 || this.stahndinfoList === []) && this.sarStandardsSearch.page !== 1) { this.pageChange(1) diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index 131840831..ff9af285b 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -2217,10 +2217,11 @@ export default { }, // 树节点鼠标移入移出 mouseenter(data){ - console.log(data) - this.$set(data, 'show', true) - if(data.parentId !== null){ - this.$set(data, 'showDel', true) + if(data.menuName !== '我的收藏'){ + this.$set(data, 'show', true) + if(data.parentId !== null){ + this.$set(data, 'showDel', true) + } } }, mouseleave(data){ @@ -2878,7 +2879,7 @@ export default { formData.nowOrderBy = this.nowOrder ? this.orderBy : '' formData.nowOrder = this.nowOrder // 处理我的收藏和个性化标签传参 - if (this.selectSarMenu.id === 'wdsc') { + if (this.selectSarMenu.menuName === '我的收藏') { formData.menuId = undefined formData.labelMenuId = undefined formData.collectMenuId = 'wdsc'