diff --git a/public/development_address_config.js b/public/development_address_config.js index 6425b04..7ab924c 100644 --- a/public/development_address_config.js +++ b/public/development_address_config.js @@ -13,7 +13,7 @@ window._CONFIG["casPrefixUrl"] = "http://cas.example.org:8443/cas"; window._CONFIG["onlinePreviewDomainURL"] = "http://localhost:8012/onlinePreview"; // 会议管理报名二维码地址 -window._CONFIG['singUpQRCodeURL'] = 'http://localhost:3000/signUpEntrance' +window._CONFIG['singUpQRCodeURL'] = 'http://localhost:3000/signupentrance' // 签到二维码url window._CONFIG['signInUrl'] = '/meeting/payMeetingSituation/getSignInPage' diff --git a/public/production_address_config.js b/public/production_address_config.js index 297de6b..8749c66 100644 --- a/public/production_address_config.js +++ b/public/production_address_config.js @@ -12,5 +12,5 @@ window._CONFIG["casPrefixUrl"] = "http://cas.example.org:8443/cas"; window._CONFIG["onlinePreviewDomainURL"] = "http://10.10.10.46:8012/onlinePreview"; // 会议管理报名二维码地址 -window._CONFIG['singUpQRCodeURL'] = 'http://10.10.10.46:8055/signUpEntrance' +window._CONFIG['singUpQRCodeURL'] = 'http://10.10.10.46:8055/signupentrance' diff --git a/src/App.vue b/src/App.vue index 03a4ae8..bb0a332 100644 --- a/src/App.vue +++ b/src/App.vue @@ -18,8 +18,27 @@ window.addEventListener('message', function (event) { document.getElementsByClassName('tab-layout-tabs ant-tabs ant-tabs-top')[0].style.display = 'none' }, 1000) } - }) + +document.onkeydown = keyDown + +function keyDown(e) { + console.log(navigator.userAgent) + // 拦截backspace按钮,谷歌浏览器不需要拦截 + // 拦截仍然存在的问题:当input、textarea失去焦点后,仍然会后退页面 + if (e.keyCode === 8 && navigator.userAgent.indexOf('AppleWebKit') === -1 ) { + // 判断是不是在input或textarea触发backspace按钮事件 + if (window.event.srcElement.tagName.toUpperCase() === 'INPUT' || window.event.srcElement.tagName.toUpperCase() === 'TEXTAREA') { + // 判断输入框中是否还有值可删除 + if (window.event.srcElement.value.length === 1) { + // 拦截事件 + e.keyCode=0 + e.returnValue=false + } + } + } +} + export default { data() { return { diff --git a/src/api/api.js b/src/api/api.js index 052a94a..e7e640a 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/queryByIdMeeting', param) +const getContactsById = (param) => getAction('/company/payContactsManagement/queryByIdGetContract', param) // 加密获取key 与 iv const getKeyIv = (param) => getAction('/sys/getEncryptedString',param) diff --git a/src/components/ProjectDetailModal.vue b/src/components/ProjectDetailModal.vue index f94e6ac..6fc16fc 100644 --- a/src/components/ProjectDetailModal.vue +++ b/src/components/ProjectDetailModal.vue @@ -26,7 +26,7 @@ - + {{ basicInfo.chargeWay_dictText }} @@ -356,8 +356,6 @@ export default { } else { return '缴费方式' } - - } } } diff --git a/src/components/layouts/TabLayout.vue b/src/components/layouts/TabLayout.vue index 7be1037..e9c3b2e 100644 --- a/src/components/layouts/TabLayout.vue +++ b/src/components/layouts/TabLayout.vue @@ -4,6 +4,7 @@ state.user.system + }), + showMenu() { + return this.system !== 'member' } }, created() { diff --git a/src/components/page/GlobalLayout.vue b/src/components/page/GlobalLayout.vue index 7be2bc2..dfec8f8 100644 --- a/src/components/page/GlobalLayout.vue +++ b/src/components/page/GlobalLayout.vue @@ -1,6 +1,5 @@