From b8444b728d8f3172ae5eb2dfb47464087cbb13de Mon Sep 17 00:00:00 2001 From: shen_yan_pu <1975145892@qq.com> Date: Thu, 29 Jul 2021 10:50:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86=E6=B8=85=E5=8D=95=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=96=B0=E5=A2=9E=E3=80=81=E7=BC=96=E8=BE=91=E9=A1=B5?= =?UTF-8?q?=E7=9A=84=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accessStandardsAndRegulations/pages/addEdit.vue | 2 +- .../accessStandardsAndRegulations/pages/otherAddEit.vue | 3 +-- .../accessStandardsAndRegulations/pages/projectAddEit.vue | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index e8a607477..2c860654c 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -1173,7 +1173,6 @@ export default { return items.id == item.id }) if(addList > -1){ - this.$message.warning('请勿添加重复数据') // this.$refs.accessTypeSelect.clearSelection() this.$refs.entryTable.clearSelection() this.$refs.searchTable.clearSelection() @@ -1184,6 +1183,7 @@ export default { this.$refs.searchTable.clearSelection() } }) + this.$message.warning('请勿添加重复数据') } else { this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)') } diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue index ebae46d8b..4a1bebbc0 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue @@ -1142,7 +1142,6 @@ export default { return items.id == item.id }) if(addList > -1){ - this.$message.warning('请勿添加重复数据') // this.$refs.accessTypeSelect.clearSelection() this.$refs.entryTable.clearSelection() this.$refs.searchTable.clearSelection() @@ -1153,6 +1152,7 @@ export default { this.$refs.searchTable.clearSelection() } }) + this.$message.warning('请勿添加重复数据') this.selectedAccInfoSearchList = [] this.$refs.entryTable.clearSelection() this.$refs.searchTable.clearSelection() @@ -1326,7 +1326,6 @@ export default { loading: 'loadData' }, res => { if (res.ok) { - this.$message.success('编辑成功') this.isNext = true this.$router.push({ name: 'AccessStandardsAndRegulations' diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue index a1baae20a..8adf94499 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue @@ -1141,7 +1141,6 @@ export default { return items.id == item.id }) if(addList > -1){ - this.$message.warning('请勿添加重复数据') // this.$refs.accessTypeSelect.clearSelection() this.$refs.entryTable.clearSelection() this.$refs.searchTable.clearSelection() @@ -1152,6 +1151,7 @@ export default { this.$refs.searchTable.clearSelection() } }) + this.$message.warning('请勿添加重复数据') this.selectedAccInfoSearchList = [] this.$refs.entryTable.clearSelection() this.$refs.searchTable.clearSelection() @@ -1325,7 +1325,6 @@ export default { loading: 'loadData' }, res => { if (res.ok) { - this.$message.success('编辑成功') this.isNext = true this.$router.push({ name: 'AccessStandardsAndRegulations'