diff --git a/src/assets/css/global.css b/src/assets/css/global.css index 2873669..6e1ce09 100644 --- a/src/assets/css/global.css +++ b/src/assets/css/global.css @@ -26,6 +26,12 @@ /* 表格行背景色样式 end */ +/* 点击树结构项的选中颜色 */ +.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content { + background-color: #409EFF; +} + + .publicfontsize{ font-size: 18px; } \ No newline at end of file diff --git a/src/components/customerOrg/ContactPerson.vue b/src/components/customerOrg/ContactPerson.vue index b8d33fa..b75653b 100644 --- a/src/components/customerOrg/ContactPerson.vue +++ b/src/components/customerOrg/ContactPerson.vue @@ -262,7 +262,11 @@ export default { this.customerOrg.contactMethodList.splice(index, 1); this.submit('form'); }).catch((err) => { - console.log(`deletapi:/api/app/contact-person/${this.personId}`,err); + if(err == 'cancel'){ + this.$message.info("已取消删除"); + }else{ + this.$message.error("操作失败,原因:" + err); + } }); }, @@ -297,7 +301,7 @@ export default { contactPersonId: this.personId, }); }); - return postapi("/api/app/contact-method/many", contactMethod); + if(contactMethod.length > 0) return postapi("/api/app/contact-method/many", contactMethod); }) .then((res) => { //console.log('api/app/contact-method/many') @@ -320,7 +324,7 @@ export default { contactPersonId: this.personId, }); }); - return postapi("/api/app/contact-method/many", contactMethod); + if(contactMethod.length > 0) return postapi("/api/app/contact-method/many", contactMethod); }) .then((res) => { //console.log('api/app/contact-method/many') diff --git a/src/components/customerOrg/customerOrgEdit.vue b/src/components/customerOrg/customerOrgEdit.vue index 4cf90c2..31e1147 100644 --- a/src/components/customerOrg/customerOrgEdit.vue +++ b/src/components/customerOrg/customerOrgEdit.vue @@ -1,15 +1,14 @@