From c21f3c87338f1180b01bc20c7f68b31b8864a7b6 Mon Sep 17 00:00:00 2001 From: baoyu <102349094+Bytq@users.noreply.github.com> Date: Fri, 29 Mar 2024 11:43:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86/=E8=AF=91=E6=96=87=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=20=E5=BE=85=E5=8A=9E=E6=A0=87=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/navMenu/index.vue | 8 +++++++- .../components/addModal.vue | 6 ++++-- 2 files changed, 11 insertions(+), 3 deletions(-) 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