diff --git a/src/App.vue b/src/App.vue index bb0a332..7e34e80 100644 --- a/src/App.vue +++ b/src/App.vue @@ -23,7 +23,6 @@ window.addEventListener('message', function (event) { document.onkeydown = keyDown function keyDown(e) { - console.log(navigator.userAgent) // 拦截backspace按钮,谷歌浏览器不需要拦截 // 拦截仍然存在的问题:当input、textarea失去焦点后,仍然会后退页面 if (e.keyCode === 8 && navigator.userAgent.indexOf('AppleWebKit') === -1 ) { diff --git a/src/api/api.js b/src/api/api.js index e7e640a..052a94a 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -113,7 +113,7 @@ const getContactsByCompany = (params) => getAction('/company/payContactsManageme // 通过企业名称获取该企业下的联系人无权限接口 const getContactsByCompanyNoLimit = (params) => getAction('/company/payContactsManagement/queryByCompanyMeeting', params) // 通过联系人id获取联系人信息 -const getContactsById = (param) => getAction('/company/payContactsManagement/queryByIdGetContract', param) +const getContactsById = (param) => getAction('/company/payContactsManagement/queryByIdMeeting', param) // 加密获取key 与 iv const getKeyIv = (param) => getAction('/sys/getEncryptedString',param) diff --git a/src/components/company/SelectContacts.vue b/src/components/company/SelectContacts.vue index 1ef6603..606019b 100644 --- a/src/components/company/SelectContacts.vue +++ b/src/components/company/SelectContacts.vue @@ -161,7 +161,8 @@ export default { this.$refs.contactForm.disableSubmit = false return } - this.$message.warn('请先选择来款企业再为该企业新建联系人') + // 调用无权限的提示语修改 + this.$message.warn('请先选择企业再为该企业新建联系人') }, addContactsOk(id) { this.getContactsList().then(() => { diff --git a/src/components/tools/UserMenu.vue b/src/components/tools/UserMenu.vue index acf1ab9..88c0981 100644 --- a/src/components/tools/UserMenu.vue +++ b/src/components/tools/UserMenu.vue @@ -7,34 +7,34 @@ - - - - 个人中心 - - - - - - 账户设置 - - - - - 系统设置 - + + + + + + + + + + + + + + + + 密码修改 - - - 切换部门 - - - - 清理缓存 - + + + + + + + + - + + diff --git a/src/views/incomePayments/meetManage/OtherMeetingForm.vue b/src/views/incomePayments/meetManage/OtherMeetingForm.vue index e8eb932..b1b57a9 100644 --- a/src/views/incomePayments/meetManage/OtherMeetingForm.vue +++ b/src/views/incomePayments/meetManage/OtherMeetingForm.vue @@ -91,8 +91,8 @@ - - + @@ -233,7 +233,6 @@ export default { * 清空邮寄联系人 地址 邮编 * */ clearFormItem(){ - // 选择企业清空 姓名 手机号 this.form.resetFields(['postContactId','postContactAddress','postCode']) }, @@ -250,6 +249,9 @@ export default { * 选择联系人之后地址邮编复制 * */ changePost(val){ + if(val === undefined){ + this.clearFormItem() + } getContactsById({id:val}).then(res => { if(res.success){ this.setAddressVal(res.result) diff --git a/src/views/incomePayments/meetManage/SignUpInfoDetail.vue b/src/views/incomePayments/meetManage/SignUpInfoDetail.vue index 3f2558d..a9a8e72 100644 --- a/src/views/incomePayments/meetManage/SignUpInfoDetail.vue +++ b/src/views/incomePayments/meetManage/SignUpInfoDetail.vue @@ -5,12 +5,12 @@