From 30c05a935d0d241b18a620e406f874e560a37572 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Mon, 15 Aug 2022 09:54:36 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93?= =?UTF-8?q?=E5=B7=B2=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../collectionOfRegulatoryOpinions/index.vue | 2 +- .../components/countryCardRelease.vue | 30 ++++++++++++++++--- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/index.vue b/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/index.vue index 66551a844..da4f75e4f 100644 --- a/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/index.vue +++ b/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/index.vue @@ -75,7 +75,7 @@
-
+
{{$t('initiatingProcess')}}
diff --git a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/countryCardRelease.vue b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/countryCardRelease.vue index ba3d5fef4..367fa4314 100644 --- a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/countryCardRelease.vue +++ b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/countryCardRelease.vue @@ -19,10 +19,18 @@
{{$t('applicableMarket')}}
- + + + + {{ item.title}} + + +
@@ -150,6 +158,7 @@ deleteBatch: '/problemKnowledgeBase/countryCardManageReleaseEO/deleteBatch' }, userInfoQuery: {}, + applyMarketList: [], selectedRowKeys: [], columns: [ { @@ -177,10 +186,20 @@ mounted() { document.title = 'Country Card-' + this.$t('managePublishing') this.getList() + this.getApplyMarketList() this.userInfoQuery = this.userInfo() }, methods: { ...mapGetters(['userInfo']), + getApplyMarketList() { + getAction('/problemKnowledgeBase/countryCardManageReleaseEO/getApplyMarketList', { queryFlag: '1' }).then((res) => { + if (res.success) { + this.applyMarketList = res.result || [] + } else { + this.applyMarketList = [] + } + }) + }, searchQuery() { this.pageNo = 1 this.getList() @@ -200,6 +219,7 @@ this.getList() }, countryCardReleaseAddForm() { + this.getApplyMarketList() this.pageNo = 1 this.getList() }, @@ -256,6 +276,7 @@ _this.$message.success(_this.$t('OperationSuccessful')) _this.selectedRowKeys = [] _this.getList() + _this.getApplyMarketList() } else { _this.$message.warning(res.message) } @@ -317,6 +338,7 @@ if (res.success) { _this.$message.success(_this.$t('OperationSuccessful')) _this.getList() + _this.getApplyMarketList() } else { _this.$message.warning(res.message) } From 82a407dcebd679cfe1811b8e47b5231154afd5fc Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Mon, 15 Aug 2022 10:30:14 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93?= =?UTF-8?q?=E5=B7=B2=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/menu/SideMenu.vue | 11 ++++++++++- jero-web/src/components/search/index.vue | 6 +++--- jero-web/src/views/regulatoryEarlyWarning/index.vue | 4 ++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/jero-web/src/components/menu/SideMenu.vue b/jero-web/src/components/menu/SideMenu.vue index adc5a8c3f..72eab609e 100644 --- a/jero-web/src/components/menu/SideMenu.vue +++ b/jero-web/src/components/menu/SideMenu.vue @@ -69,7 +69,7 @@ methods: { onSelect(obj) { this.$emit('menuSelect', obj) - }, + } } } @@ -201,5 +201,14 @@ left: 0 !important; right: inherit !important; } + + + diff --git a/jero-web/src/components/search/index.vue b/jero-web/src/components/search/index.vue index d16d3dd57..5d0b4c20b 100644 --- a/jero-web/src/components/search/index.vue +++ b/jero-web/src/components/search/index.vue @@ -168,7 +168,7 @@ }, searchQueryList: { type: Array, - default: ()=>{ + default: () => { return [] } }, @@ -223,7 +223,7 @@ // 将半年的时间单位换算成毫秒 var halfYear = 365 / 2 * 24 * 3600 * 1000 // 半年前的时间(毫秒单位) - var pastResult = curDate - halfYear + var pastResult = curDate + halfYear // 日期函数,定义起点为半年前 var pastDate = new Date(pastResult) var pastYear = pastDate.getFullYear() @@ -235,7 +235,7 @@ if (pastDay >= 0 && pastDay <= 9) { pastDay = '0' + pastDay } - var endDate = pastYear + '-' + pastMonth + '-' + pastDay + var endDate = pastYear + '-' + pastMonth + '-' + (pastDay + 1) return endDate }, dateChange(item) { diff --git a/jero-web/src/views/regulatoryEarlyWarning/index.vue b/jero-web/src/views/regulatoryEarlyWarning/index.vue index 8dca555ed..a2d0ce102 100644 --- a/jero-web/src/views/regulatoryEarlyWarning/index.vue +++ b/jero-web/src/views/regulatoryEarlyWarning/index.vue @@ -244,7 +244,7 @@ // 将半年的时间单位换算成毫秒 var halfYear = 365 / 2 * 24 * 3600 * 1000 // 半年前的时间(毫秒单位) - var pastResult = curDate - halfYear + var pastResult = curDate + halfYear // 日期函数,定义起点为半年前 var pastDate = new Date(pastResult) var pastYear = pastDate.getFullYear() @@ -256,7 +256,7 @@ if (pastDay >= 0 && pastDay <= 9) { pastDay = '0' + pastDay } - var endDate = pastYear + '-' + pastMonth + '-' + pastDay + var endDate = pastYear + '-' + pastMonth + '-' + (pastDay + 1) return endDate }, pageOnChange(page) { From 20c6aeb8b5f47b645cbc02cccb7f55842cb5b377 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Mon, 15 Aug 2022 10:34:30 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93?= =?UTF-8?q?=E5=B7=B2=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/menu/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jero-web/src/components/menu/index.js b/jero-web/src/components/menu/index.js index 1b5f3c0fd..6255cfdd4 100644 --- a/jero-web/src/components/menu/index.js +++ b/jero-web/src/components/menu/index.js @@ -109,7 +109,7 @@ export default { props = { to: { path: menu.path } } } - const attrs = { href: menu.path, target: menu.meta.target } + const attrs = { href: menu.path, target: menu.meta.target , title:menu.meta.title } if (menu.children && menu.alwaysShow) { // 把有子菜单的 并且 父菜单是要隐藏子菜单的 @@ -162,7 +162,7 @@ export default { span slot = 'title' > { this.renderIcon(menu.meta.icon) } - < span > { menu.meta.title } < /span> + < span title={menu.meta.title}> { menu.meta.title } < /span> < /span> { itemArr