Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
863bbf44
提交
863bbf44
编写于
3月 22, 2019
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ie兼容
上级
2cc2f991
变更
7
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
99 行增加
和
75 行删除
+99
-75
index.html
index.html
+2
-0
App.vue
src/App.vue
+2
-2
main.js
src/main.js
+1
-1
env-config.js
src/utils/env-config.js
+1
-1
index.js
src/utils/index.js
+2
-2
create-component.vue
src/views/education/create-component.vue
+90
-68
header.vue
src/views/layout/header.vue
+1
-1
未找到文件。
index.html
浏览文件 @
863bbf44
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
<html>
<html>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
content=
"云鹊医,云鹊健康,工作站,项目管理,教培项目,学情报告,随访管理,预约随访"
name=
"keywords"
>
<meta
content=
"云鹊医工作站用于管理人员的日常操作,支持提交内容审核、管理项目、管理随访计划等功能。"
name=
"description"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui"
>
<meta
name=
"screen-orientation"
content=
"portrait"
/>
<meta
name=
"screen-orientation"
content=
"portrait"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
...
...
src/App.vue
浏览文件 @
863bbf44
...
@@ -68,13 +68,13 @@ export default {
...
@@ -68,13 +68,13 @@ export default {
vm
.
$router
.
push
({
path
:
'home'
})
vm
.
$router
.
push
({
path
:
'home'
})
}
else
{
}
else
{
if
(
!
localStorage
.
getItem
(
'storageToken'
))
{
if
(
!
localStorage
.
getItem
(
'storageToken'
))
{
window
.
location
.
href
=
getLoginUrl
()
// 没有token返回登录页面
window
.
location
.
href
=
getLoginUrl
(
'?from=work&type=logout'
)
// 没有token返回登录页面
return
return
}
}
}
}
}
else
{
}
else
{
if
(
!
localStorage
.
getItem
(
'storageToken'
))
{
if
(
!
localStorage
.
getItem
(
'storageToken'
))
{
window
.
location
.
href
=
getLoginUrl
()
// 没有token返回登录页面
window
.
location
.
href
=
getLoginUrl
(
'?from=work&type=logout'
)
// 没有token返回登录页面
return
return
}
}
}
}
...
...
src/main.js
浏览文件 @
863bbf44
//
import "@babel/polyfill";
import
"@babel/polyfill"
;
import
Vue
from
'vue'
import
Vue
from
'vue'
import
VueRouter
from
'vue-router'
import
VueRouter
from
'vue-router'
import
routes
from
'./router/router'
import
routes
from
'./router/router'
...
...
src/utils/env-config.js
浏览文件 @
863bbf44
...
@@ -10,7 +10,7 @@ export const envConfig = {
...
@@ -10,7 +10,7 @@ export const envConfig = {
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// baseUrl: 'https://test1-sc.yunqueyi.com/',
//baseUrl: 'https://uat-sc.yunqueyi.com/',
//baseUrl: 'https://uat-sc.yunqueyi.com/',
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
qiniuFileUrl
:
"http
://localhost:10201
/contents/admin/qiniu/token1"
,
qiniuFileUrl
:
"http
s://dev-sc.yunqueyi.com
/contents/admin/qiniu/token1"
,
qiniuResourceUrl
:
"https://test1-videos.yunqueyi.com"
,
qiniuResourceUrl
:
"https://test1-videos.yunqueyi.com"
,
qiniuImgUrl
:
"https://test1-file.yunqueyi.com"
,
qiniuImgUrl
:
"https://test1-file.yunqueyi.com"
,
loginUrl
:
'https://dev-saas.yunqueyi.com/pica-login/work_station.html'
,
loginUrl
:
'https://dev-saas.yunqueyi.com/pica-login/work_station.html'
,
...
...
src/utils/index.js
浏览文件 @
863bbf44
...
@@ -152,8 +152,8 @@ export function getQiniuToken1() {
...
@@ -152,8 +152,8 @@ export function getQiniuToken1() {
}
}
// 登录URL
// 登录URL
export
function
getLoginUrl
()
{
export
function
getLoginUrl
(
param
)
{
return
getConfigByEnvType
(
'loginUrl'
)
return
getConfigByEnvType
(
'loginUrl'
)
+
param
}
}
export
function
getInnerLoginUrl
()
{
export
function
getInnerLoginUrl
()
{
return
getConfigByEnvType
(
'innerLoginUrl'
)
return
getConfigByEnvType
(
'innerLoginUrl'
)
...
...
src/views/education/create-component.vue
浏览文件 @
863bbf44
此差异已折叠。
点击以展开。
src/views/layout/header.vue
浏览文件 @
863bbf44
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
if
(
vm
.
idType
==
1
)
{
// 内部
if
(
vm
.
idType
==
1
)
{
// 内部
window
.
location
.
href
=
getInnerLoginUrl
()
window
.
location
.
href
=
getInnerLoginUrl
()
}
else
{
}
else
{
window
.
location
.
href
=
getLoginUrl
()
window
.
location
.
href
=
getLoginUrl
(
'?from=work&type=logout'
)
}
}
}
}
if
(
command
===
'forward'
)
{
if
(
command
===
'forward'
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录