diff --git a/src/AppConfig.js b/src/AppConfig.js index b1bdf964..8e89543b 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -33,7 +33,6 @@ export function initAxiosInterceptors(props) { initOnlineOfflineListener(); // var proxy = "http://192.168.1.40:3000"; - // var proxy = "http://117.50.100.12:49999"; var proxy = "http://111.8.36.180:8000"; //响应前的设置 axios.interceptors.request.use( diff --git a/src/common/UrlTool.js b/src/common/UrlTool.js index ca1d1754..6bc7f2a4 100644 --- a/src/common/UrlTool.js +++ b/src/common/UrlTool.js @@ -6,15 +6,13 @@ const { Search } = Input; const $ = window.$; const isDev = window.location.port == 3007; const isdev2= window.location.hostname ==='www.educoder.net' -// export const TEST_HOST = "http://39.105.176.215:49999" -export const TEST_HOST = "http://117.50.100.12:49999"; +export const TEST_HOST = "http://111.8.36.180:8000"; export function getImageUrl(path) { // https://www.educoder.net // https://testbdweb.trustie.net - // const local = 'http://localhost:3000' + // const local = 'http://localhost:3000' // const local = 'http://39.105.176.215:49999'; - const local = 'http://117.50.100.12:49999'; - + const local = 'http://111.8.36.180:8000'; if (isDev) { return `${local}/${path}` } @@ -39,10 +37,7 @@ export function numFormat(num, digits){ } export function getImage(path) { - // https://www.educoder.net - // https://testbdweb.trustie.net - // const local = 'http://localhost:3000' - const local = 'http://39.105.176.215:49999'; + const local = 'http://111.8.36.180:8000'; if (path&&path.indexOf("http://") === -1) { if (isDev) { return `${local}/images/${path}` @@ -54,10 +49,7 @@ export function getImage(path) { } export function getTestImage(path) { - // https://www.educoder.net - // https://testbdweb.trustie.net - // const local = 'http://localhost:3000' - const local = 'http://117.50.100.12:49999'; + const local = 'http://111.8.36.180:8000'; if (path && path.indexOf("http://") === -1) { if (isDev) { return `${local}${path}` @@ -69,7 +61,7 @@ export function getTestImage(path) { } export function getLogoImageUrl(path) { - const local = 'http://117.50.100.12:49999'; + const local = 'http://111.8.36.180:8000'; if (isDev) { return `${local}/${path}` @@ -78,9 +70,6 @@ export function getLogoImageUrl(path) { } export function getcdnImageUrl(path) { - // https://www.educoder.net - // https://testbdweb.trustie.net - // const local = 'http://localhost:3000' const testlocal = 'https://testali-cdn.educoder.net' const local = 'https://ali-cdn.educoder.net' let firstStr = path.substr(0, 1); diff --git a/src/forge/Head/header.scss b/src/forge/Head/header.scss index 7878f20b..b6c8e221 100644 --- a/src/forge/Head/header.scss +++ b/src/forge/Head/header.scss @@ -135,6 +135,7 @@ // 右上角小铃铛单独样式 .notice-popover{ + z-index: 1000001; //popover小尖尖 .ant-popover-arrow{ display: none; @@ -184,7 +185,7 @@ .message-icon{ position: relative; .ant-scroll-number{ - right:12px; + // right:12px; padding: 0 0px; } } diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js index 9e4695bf..deca680c 100644 --- a/src/forge/Main/Detail.js +++ b/src/forge/Main/Detail.js @@ -551,7 +551,7 @@ class Detail extends Component { return (
{ window.open(httpUrl + '/busiAttachments/download/883') }}>专家注册表模板.xlsx
+{ window.open(httpUrl + '/busiAttachments/download/134') }}>专家注册表模板.xlsx
提示:只能在导入模版上增减数据,才能导入成功!