diff --git a/test_client/src/views/crm/company.vue b/test_client/src/views/crm/company.vue index ab2415e..2fc62c7 100644 --- a/test_client/src/views/crm/company.vue +++ b/test_client/src/views/crm/company.vue @@ -212,12 +212,7 @@ export default { updateCompany(this.company.id, this.company).then(() => { this.getList(); this.dialogVisible = false; - this.$notify({ - title: "成功", - message: "编辑成功", - type: "success", - duration: 2000 - }); + this.$message.success('成功') }); } else { createCompany(this.company).then(res => { @@ -225,12 +220,7 @@ export default { // this.tableData.unshift(this.company) this.getList(); this.dialogVisible = false; - this.$notify({ - title: "成功", - message: "新增成功", - type: "success", - duration: 2000 - }); + this.$message.success('成功') }); } } else { diff --git a/test_client/src/views/crm/consumerrole.vue b/test_client/src/views/crm/consumerrole.vue index 02fcf2d..1942223 100644 --- a/test_client/src/views/crm/consumerrole.vue +++ b/test_client/src/views/crm/consumerrole.vue @@ -156,11 +156,7 @@ export default { const { description, name } = this.role this.dialogVisible = false - this.$notify({ - title: '成功', - dangerouslyUseHTMLString: true, - type: 'success' - }) + this.$message.success('成功') }, } } diff --git a/test_client/src/views/material/material.vue b/test_client/src/views/material/material.vue index 57f9665..25c27c0 100644 --- a/test_client/src/views/material/material.vue +++ b/test_client/src/views/material/material.vue @@ -43,10 +43,13 @@ {{ scope.row.name }} - + - + + + + @@ -96,6 +99,9 @@ + + +