From 36470560cbad2a898a90133a5f30be01ab46de8a Mon Sep 17 00:00:00 2001 From: ZhaoTongYao <531131322@qq.com> Date: Fri, 5 Feb 2021 11:15:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=97=A5=E5=BF=97=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 2 ++ src/views/modules/worklog/worklog.vue | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index f16d66a..559c79a 100644 --- a/public/index.html +++ b/public/index.html @@ -31,6 +31,8 @@ window.SITE_CONFIG['dynamicRoutes'] = [] // 动态路由列表 window.SITE_CONFIG['dynamicMenuRoutes'] = [] // 动态(菜单)路由列表 window.SITE_CONFIG['dynamicMenuRoutesHasAdded'] = false // 动态(菜单)路由是否已经添加的状态标示(用于判断是否需要重新拉取数据并进行动态添加操作) + + window.SITE_CONFIG['workLogURL'] = 'https://epdc-jinan-test.elinkservice.cn/plugin-wrf' //工作日志引用外链地址 diff --git a/src/views/modules/worklog/worklog.vue b/src/views/modules/worklog/worklog.vue index 3710175..4b17d8e 100644 --- a/src/views/modules/worklog/worklog.vue +++ b/src/views/modules/worklog/worklog.vue @@ -15,7 +15,7 @@ export default { created () { const _token = Cookies.get('token') || localStorage.getItem('token') const _customerId = Cookies.get('customerId') || localStorage.getItem('customerId') - this.url = `https://epdc-jinan-test.elinkservice.cn/plugin-wrf/#/NoteTaking?token=${_token}&customerId=${_customerId}` + this.url = `${window.SITE_CONFIG['workLogURL']}/#/NoteTaking?token=${_token}&customerId=${_customerId}` } }