Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-IM
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-admin-IM
提交
d3ef26c5
提交
d3ef26c5
编写于
3月 22, 2019
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改baseUrl
上级
bad63d05
变更
5
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
98 行增加
和
78 行删除
+98
-78
App.vue
src/App.vue
+1
-1
env-config.js
src/utils/env-config.js
+5
-5
create-component.vue
src/views/education/create-component.vue
+87
-67
item-component.vue
src/views/education/item-component.vue
+4
-4
home.vue
src/views/home.vue
+1
-1
未找到文件。
src/App.vue
浏览文件 @
d3ef26c5
...
@@ -92,7 +92,7 @@ export default {
...
@@ -92,7 +92,7 @@ export default {
req
=
{
req
=
{
token
:
token
token
:
token
}
}
vm
.
GET
(
'common/v1/role'
,
req
).
then
((
res
)
=>
{
vm
.
GET
(
'
portal/
common/v1/role'
,
req
).
then
((
res
)
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
vm
.
changeIdType
(
res
.
data
.
idType
)
vm
.
changeIdType
(
res
.
data
.
idType
)
vm
.
idType
=
res
.
data
.
idType
vm
.
idType
=
res
.
data
.
idType
...
...
src/utils/env-config.js
浏览文件 @
d3ef26c5
...
@@ -9,7 +9,7 @@ export const envConfig = {
...
@@ -9,7 +9,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/
portal/
'
,
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
qiniuFileUrl
:
"http://localhost:10201/contents/admin/qiniu/token1"
,
qiniuFileUrl
:
"http://localhost:10201/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"
,
...
@@ -18,7 +18,7 @@ export const envConfig = {
...
@@ -18,7 +18,7 @@ export const envConfig = {
yuequeyiIndexUrl
:
'https://dev-saas.yunqueyi.com/pica_index.html'
yuequeyiIndexUrl
:
'https://dev-saas.yunqueyi.com/pica_index.html'
},
},
dev
:
{
dev
:
{
baseUrl
:
'https://dev-sc.yunqueyi.com/
portal/
'
,
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
qiniuFileUrl
:
"https://dev-sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuFileUrl
:
"https://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"
,
...
@@ -27,7 +27,7 @@ export const envConfig = {
...
@@ -27,7 +27,7 @@ export const envConfig = {
yuequeyiIndexUrl
:
'https://dev-saas.yunqueyi.com/pica_index.html'
yuequeyiIndexUrl
:
'https://dev-saas.yunqueyi.com/pica_index.html'
},
},
test
:
{
test
:
{
baseUrl
:
'https://test1-sc.yunqueyi.com/
portal/
'
,
baseUrl
:
'https://test1-sc.yunqueyi.com/'
,
qiniuFileUrl
:
"https://test1-sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuFileUrl
:
"https://test1-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"
,
...
@@ -36,7 +36,7 @@ export const envConfig = {
...
@@ -36,7 +36,7 @@ export const envConfig = {
yuequeyiIndexUrl
:
'https://test1.yunqueyi.com/pica_index.html'
yuequeyiIndexUrl
:
'https://test1.yunqueyi.com/pica_index.html'
},
},
uat
:
{
uat
:
{
baseUrl
:
'https://uat-sc.yunqueyi.com/
portal/
'
,
baseUrl
:
'https://uat-sc.yunqueyi.com/'
,
qiniuFileUrl
:
"https://uat-sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuFileUrl
:
"https://uat-sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuResourceUrl
:
"https://videos.yunqueyi.com"
,
// 视频
qiniuResourceUrl
:
"https://videos.yunqueyi.com"
,
// 视频
qiniuImgUrl
:
"https://file.yunqueyi.com"
,
qiniuImgUrl
:
"https://file.yunqueyi.com"
,
...
@@ -45,7 +45,7 @@ export const envConfig = {
...
@@ -45,7 +45,7 @@ export const envConfig = {
yuequeyiIndexUrl
:
'https://uat.yunqueyi.com/pica_index.html'
yuequeyiIndexUrl
:
'https://uat.yunqueyi.com/pica_index.html'
},
},
pro
:
{
pro
:
{
baseUrl
:
'https://sc.yunqueyi.com/
portal/
'
,
baseUrl
:
'https://sc.yunqueyi.com/'
,
qiniuFileUrl
:
"https://sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuFileUrl
:
"https://sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuResourceUrl
:
"https://videos.yunqueyi.com"
,
qiniuResourceUrl
:
"https://videos.yunqueyi.com"
,
qiniuImgUrl
:
"https://file.yunqueyi.com"
,
qiniuImgUrl
:
"https://file.yunqueyi.com"
,
...
...
src/views/education/create-component.vue
浏览文件 @
d3ef26c5
此差异已折叠。
点击以展开。
src/views/education/item-component.vue
浏览文件 @
d3ef26c5
...
@@ -151,7 +151,7 @@ export default {
...
@@ -151,7 +151,7 @@ export default {
search
()
{
search
()
{
vm
.
searchParam
.
idType
=
vm
.
idType
vm
.
searchParam
.
idType
=
vm
.
idType
openLoading
(
vm
)
openLoading
(
vm
)
vm
.
GET
(
'portalComponent/queryPortalComponent'
,
vm
.
searchParam
).
then
((
res
)
=>
{
vm
.
GET
(
'portal
/portal
Component/queryPortalComponent'
,
vm
.
searchParam
).
then
((
res
)
=>
{
closeLoading
(
vm
)
closeLoading
(
vm
)
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
vm
.
tableData
=
res
.
data
.
queryList
vm
.
tableData
=
res
.
data
.
queryList
...
@@ -180,7 +180,7 @@ export default {
...
@@ -180,7 +180,7 @@ export default {
token
:
vm
.
_token
,
token
:
vm
.
_token
,
componentId
:
row
.
id
componentId
:
row
.
id
}
}
vm
.
GET
(
'portalComponent/componentEditRange'
,
req
).
then
((
res
)
=>
{
vm
.
GET
(
'portal
/portal
Component/componentEditRange'
,
req
).
then
((
res
)
=>
{
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
vm
.
$router
.
push
({
path
:
'create-component'
,
query
:
{
id
:
row
.
id
,
status
:
row
.
status
,
resultFlag
:
res
.
data
.
resultFlag
}})
vm
.
$router
.
push
({
path
:
'create-component'
,
query
:
{
id
:
row
.
id
,
status
:
row
.
status
,
resultFlag
:
res
.
data
.
resultFlag
}})
}
}
...
@@ -208,7 +208,7 @@ export default {
...
@@ -208,7 +208,7 @@ export default {
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
}).
then
(()
=>
{
}).
then
(()
=>
{
vm
.
GET
(
'portalComponent/disableOrStart'
,
req
).
then
((
res
)
=>
{
vm
.
GET
(
'portal
/portal
Component/disableOrStart'
,
req
).
then
((
res
)
=>
{
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
vm
.
$message
({
vm
.
$message
({
type
:
'success'
,
type
:
'success'
,
...
@@ -239,7 +239,7 @@ export default {
...
@@ -239,7 +239,7 @@ export default {
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
}).
then
(()
=>
{
}).
then
(()
=>
{
vm
.
GET
(
'portalComponent/deleteComponentById'
,{
id
:
row
.
id
}).
then
((
res
)
=>
{
vm
.
GET
(
'portal
/portal
Component/deleteComponentById'
,{
id
:
row
.
id
}).
then
((
res
)
=>
{
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
vm
.
$message
({
vm
.
$message
({
type
:
'success'
,
type
:
'success'
,
...
...
src/views/home.vue
浏览文件 @
d3ef26c5
...
@@ -83,7 +83,7 @@ export default {
...
@@ -83,7 +83,7 @@ export default {
},
},
// 获取系统消息数据
// 获取系统消息数据
getSystemData
()
{
getSystemData
()
{
vm
.
GET
(
'portalMessage/queryPortalMessageInfo'
,{
token
:
vm
.
_token
,
pageNo
:
1
,
pageSize
:
15
}).
then
((
res
)
=>
{
vm
.
GET
(
'portal
/portal
Message/queryPortalMessageInfo'
,{
token
:
vm
.
_token
,
pageNo
:
1
,
pageSize
:
15
}).
then
((
res
)
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
vm
.
messageList
=
res
.
data
.
portalMessageModels
vm
.
messageList
=
res
.
data
.
portalMessageModels
vm
.
count
=
res
.
data
.
count
vm
.
count
=
res
.
data
.
count
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录