diff --git a/src/assets/imgs/icon/icon_revenue_contract.png b/src/assets/imgs/icon/icon_revenue_contract.png new file mode 100644 index 0000000..a85edc3 Binary files /dev/null and b/src/assets/imgs/icon/icon_revenue_contract.png differ diff --git a/src/components/company/SelectContacts.vue b/src/components/company/SelectContacts.vue index 9eed82c..3f056ab 100644 --- a/src/components/company/SelectContacts.vue +++ b/src/components/company/SelectContacts.vue @@ -42,7 +42,7 @@ export default { } }, // 编辑时回显的数据, 需要id,name两个字段 - initfContacts: { + initContacts: { type: Object, required: false, default: () => { @@ -78,7 +78,7 @@ export default { /** * 编辑联系人变化 */ - initfContacts: { + initContacts: { handler() { this.isFirstOpen = true }, @@ -96,8 +96,8 @@ export default { } getContactsByCompany(params).then(res => { this.contactsList = res.result - if (this.initfContacts && this.initfContacts.hasOwnProperty('id')) { - this.contactsList.push(this.initfContacts) + if (this.initContacts && this.initContacts.hasOwnProperty('id')) { + this.contactsList.push(this.initContacts) } }) } @@ -121,9 +121,9 @@ export default { ); }, handleDropdownOpen() { - if (this.isFirstOpen && this.initfContacts && this.initfContacts.hasOwnProperty('id')) { + if (this.isFirstOpen && this.initContacts && this.initContacts.hasOwnProperty('id')) { this.contactsList.forEach((item, index) => { - if (item.id === this.initfContacts.id) { + if (item.id === this.initContacts.id) { this.$emit('change', undefined) this.contactsList.splice(index, 1) } diff --git a/vue.config.js b/vue.config.js index e5f50f4..2452067 100644 --- a/vue.config.js +++ b/vue.config.js @@ -88,7 +88,7 @@ module.exports = { },*/ '/jero-boot': { // '' - target: 'http://10.0.1.17:8080', //请求本地 jero-boot后台项目 + target: 'http://localhost:8080', //请求本地 jero-boot后台项目 ws: false, changeOrigin: true },