diff --git a/src/components/navMenu/index.vue b/src/components/navMenu/index.vue index 61b9c3e8e..4cb288aeb 100644 --- a/src/components/navMenu/index.vue +++ b/src/components/navMenu/index.vue @@ -52,7 +52,7 @@ {{ children.title }} - +
{{children.title}}
@@ -84,6 +84,7 @@ name: 'NavMenu', data () { return { + standardTranslation: 0, defaultActive: null, // 当前激活菜单的 index navMenuList: [ // { @@ -558,6 +559,11 @@ } }, mounted () { + this.$http.get('/lawss/standardApplyFor/queryPendingApprovalCount', '', { _this:this }, res => { + if (res.ok) { + this.standardTranslation = res.data + } + }) }, methods: { handleSelect (key, keyPath) { diff --git a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/addModal.vue b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/addModal.vue index 10aad8617..6c24c6f2f 100644 --- a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/addModal.vue +++ b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/addModal.vue @@ -154,6 +154,9 @@ export default { } } }, + mounted () { + this.getDicTypeListCode() + }, methods: { getDicTypeListCode () { this.$http.get('/lawss/standardApplyFor/getStandTypeDropDownData', {}, { @@ -195,7 +198,7 @@ export default { this.selectStandType(this.StandardApplyForEO.standType, 'callBack') }) }, - selectStandType (value,tag) { + selectStandType (value, tag) { if (value === '') { this.standLbList = [] } @@ -206,7 +209,6 @@ export default { this.$nextTick(() => { this.standLbList = res.data if (tag !== 'callBack') { - console.log(1111) this.$set(this.StandardApplyForEO, 'standLb', null) } this.showLoading = false