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
提交
206c9858
提交
206c9858
编写于
3月 22, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
baseUrl
上级
bad63d05
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
25 行增加
和
25 行删除
+25
-25
env-config.js
src/utils/env-config.js
+2
-2
add-manager.vue
src/views/education/add-manager.vue
+15
-15
item-manager.vue
src/views/education/item-manager.vue
+5
-5
item-role.vue
src/views/system/item-role.vue
+2
-2
role.vue
src/views/system/role.vue
+1
-1
未找到文件。
src/utils/env-config.js
浏览文件 @
206c9858
...
...
@@ -9,7 +9,7 @@ export const envConfig = {
// baseUrl: 'https://test1-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"
,
qiniuResourceUrl
:
"https://test1-videos.yunqueyi.com"
,
qiniuImgUrl
:
"https://test1-file.yunqueyi.com"
,
...
...
@@ -18,7 +18,7 @@ export const envConfig = {
yuequeyiIndexUrl
:
'https://dev-saas.yunqueyi.com/pica_index.html'
},
dev
:
{
baseUrl
:
'https://dev-sc.yunqueyi.com/
portal/
'
,
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
qiniuFileUrl
:
"https://dev-sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuResourceUrl
:
"https://test1-videos.yunqueyi.com"
,
qiniuImgUrl
:
"https://test1-file.yunqueyi.com"
,
...
...
src/views/education/add-manager.vue
浏览文件 @
206c9858
...
...
@@ -765,7 +765,7 @@ export default {
let
req
=
{};
let
projectId
=
vm
.
getUrlSearch
(
window
.
location
.
href
,
"projectId"
);
if
(
projectId
!=
null
&&
projectId
!=
""
)
{
vm
.
GET
(
"portalInfo/getProjectInfo/"
+
projectId
,
req
).
then
(
res
=>
{
vm
.
GET
(
"portal
/portal
Info/getProjectInfo/"
+
projectId
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
&&
res
.
data
.
projectData
!=
null
)
{
let
editData
=
res
.
data
;
this
.
setEditData
(
editData
);
...
...
@@ -837,7 +837,7 @@ export default {
attachmentPDFModel
:
JSON
.
stringify
(
attachmentPDFModel
)
};
//console.log(postData);
vm
.
POST
(
"portalInfo/insertOrUpdate"
,
postData
).
then
(
res
=>
{
vm
.
POST
(
"portal
/portal
Info/insertOrUpdate"
,
postData
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
console
.
log
(
res
);
this
.
active
++
;
...
...
@@ -853,7 +853,7 @@ export default {
//查询组件证书信息
getComponentInfo
()
{
let
param
=
{};
vm
.
GET
(
"portalInfo/getComponentInfo"
,
param
).
then
(
res
=>
{
vm
.
GET
(
"portal
/portal
Info/getComponentInfo"
,
param
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
//console.log(res);
let
componentList
=
res
.
data
.
componentList
;
...
...
@@ -886,7 +886,7 @@ export default {
type
:
type
,
status
:
this
.
projectStatus
};
vm
.
POST
(
"portalInfo/componentDraft"
,
param
).
then
(
res
=>
{
vm
.
POST
(
"portal
/portal
Info/componentDraft"
,
param
).
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
code
==
"000000"
)
{
//notify
...
...
@@ -955,7 +955,7 @@ export default {
if
(
req
.
setKindOfPeople
==
2
||
req
.
setKindOfPeople
==
3
)
{
req
.
scopeOfPeople
=
this
.
getScopePeople
(
req
.
setKindOfPeople
);
}
vm
.
POST
(
"scope"
,
req
).
then
(
res
=>
{
vm
.
POST
(
"
portal/
scope"
,
req
).
then
(
res
=>
{
//暂存范围
console
.
log
(
res
);
vm
.
$message
({
...
...
@@ -995,7 +995,7 @@ export default {
let
param
=
{
projectName
:
this
.
formData
.
projectName
};
vm
.
GET
(
"portalInfo/checkProjectName"
,
param
).
then
(
res
=>
{
vm
.
GET
(
"portal
/portal
Info/checkProjectName"
,
param
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
//移动到第二页 选择范围
this
.
insertOrUpdate
(
"add"
);
...
...
@@ -1048,7 +1048,7 @@ export default {
if
(
req
.
setKindOfPeople
==
2
||
req
.
setKindOfPeople
==
3
)
{
req
.
scopeOfPeople
=
this
.
getScopePeople
(
req
.
setKindOfPeople
);
}
vm
.
POST
(
"scope"
,
req
).
then
(
res
=>
{
vm
.
POST
(
"
portal/
scope"
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
//移动到选择项目组件
console
.
log
(
res
);
...
...
@@ -1092,7 +1092,7 @@ export default {
if
(
req
.
setKindOfPeople
==
2
||
req
.
setKindOfPeople
==
3
)
{
req
.
scopeOfPeople
=
this
.
getScopePeople
(
req
.
setKindOfPeople
);
}
vm
.
POST
(
"scope"
,
req
).
then
(
res
=>
{
vm
.
POST
(
"
portal/
scope"
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
//移动到选择项目组件
console
.
log
(
res
);
...
...
@@ -1326,7 +1326,7 @@ export default {
projectId
:
this
.
projectId
};
openLoading
(
vm
);
vm
.
GET
(
"scope/v1/administrative"
,
req
).
then
(
res
=>
{
vm
.
GET
(
"
portal/
scope/v1/administrative"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
if
(
res
.
code
==
"000000"
)
{
//console.log(res.data);
...
...
@@ -1375,7 +1375,7 @@ export default {
let
req
=
{
id
:
data
.
id
};
vm
.
GET
(
"scope/v1/administrative/children"
,
req
).
then
(
res
=>
{
vm
.
GET
(
"
portal/
scope/v1/administrative/children"
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
let
administrative
=
res
.
data
.
administrative
;
console
.
log
(
administrative
);
...
...
@@ -1395,7 +1395,7 @@ export default {
//projectId: vm.getUrlSearch(window.location.href, "projectId"),
projectId
:
54
};
vm
.
GET
(
"scope/v1/administrative"
,
req
).
then
(
res
=>
{
vm
.
GET
(
"
portal/
scope/v1/administrative"
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
let
administrativeAll
=
res
.
data
.
administrativeAll
;
let
administrative
=
res
.
data
.
administrative
;
...
...
@@ -1409,7 +1409,7 @@ export default {
let
req
=
{
id
:
node
.
data
.
id
};
vm
.
GET
(
"scope/v1/administrative/children"
,
req
).
then
(
res
=>
{
vm
.
GET
(
"
portal/
scope/v1/administrative/children"
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
let
administrative
=
res
.
data
.
administrative
;
return
resolve
(
administrative
);
...
...
@@ -1706,7 +1706,7 @@ export default {
req
.
scope
=
this
.
getScope
(
"administrative"
);
}
openLoading
(
vm
);
vm
.
POST
(
"scope/v1/organization"
,
req
).
then
(
res
=>
{
vm
.
POST
(
"
portal/
scope/v1/organization"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
if
(
res
.
code
==
"000000"
)
{
//console.log(res.data);
...
...
@@ -1774,7 +1774,7 @@ export default {
let
req
=
{
projectId
:
this
.
projectId
};
vm
.
GET
(
"scope/v1/department"
,
req
).
then
(
res
=>
{
vm
.
GET
(
"
portal/
scope/v1/department"
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
this
.
tableDepartment
=
res
.
data
.
department
;
...
...
@@ -1869,7 +1869,7 @@ export default {
req
.
scopeOfDepartment
=
this
.
getScopeDepartment
();
}
openLoading
(
vm
);
vm
.
POST
(
"scope/v1/people"
,
req
).
then
(
res
=>
{
vm
.
POST
(
"
portal/
scope/v1/people"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
if
(
res
.
code
==
"000000"
)
{
console
.
log
(
res
);
...
...
src/views/education/item-manager.vue
浏览文件 @
206c9858
...
...
@@ -269,7 +269,7 @@ export default {
let
req
=
{};
req
=
this
.
formInline
;
openLoading
(
vm
);
vm
.
GET
(
"portalInfo/getProjectList"
,
req
).
then
(
res
=>
{
vm
.
GET
(
"portal
/portal
Info/getProjectList"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
if
(
res
.
code
==
"000000"
)
{
vm
.
tableData
=
res
.
data
.
data
;
...
...
@@ -321,7 +321,7 @@ export default {
portalProjectId
:
projectId
,
warnType
:
1
};
vm
.
GET
(
"portalCheck/remindPortalCheck"
,
req
).
then
(
res
=>
{
vm
.
GET
(
"portal
/portal
Check/remindPortalCheck"
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
console
.
log
(
res
);
vm
.
$message
.
info
(
res
.
message
);
...
...
@@ -344,7 +344,7 @@ export default {
portalProjectId
:
projectId
,
warnType
:
warnType
};
vm
.
GET
(
"portalCheck/remindPortalCheck"
,
req
).
then
(
res
=>
{
vm
.
GET
(
"portal
/portal
Check/remindPortalCheck"
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
console
.
log
(
res
);
vm
.
$message
.
info
(
res
.
message
);
...
...
@@ -355,7 +355,7 @@ export default {
projectId
:
projectId
,
changeStatus
:
type
};
vm
.
POST
(
"portalInfo/changeStatus"
,
req
).
then
(
res
=>
{
vm
.
POST
(
"portal
/portal
Info/changeStatus"
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
console
.
log
(
res
);
vm
.
$message
.
info
(
res
.
message
);
...
...
@@ -368,7 +368,7 @@ export default {
delItem
(
row
)
{
let
req
=
{};
console
.
log
(
row
);
vm
.
DELETE
(
"portalInfo/delete/"
+
row
.
id
,
req
).
then
(
res
=>
{
vm
.
DELETE
(
"portal
/portal
Info/delete/"
+
row
.
id
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
console
.
log
(
res
);
vm
.
$message
({
...
...
src/views/system/item-role.vue
浏览文件 @
206c9858
...
...
@@ -221,7 +221,7 @@ export default {
let
req
=
{};
req
=
this
.
formInline
;
openLoading
(
vm
);
vm
.
GET
(
"portalProjectOrRole/queryRoleList"
,
req
).
then
(
res
=>
{
vm
.
GET
(
"portal
/portal
ProjectOrRole/queryRoleList"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
if
(
res
.
code
==
"000000"
)
{
vm
.
tableData
=
res
.
data
.
projectRoleInfoModels
;
...
...
@@ -243,7 +243,7 @@ export default {
numL2
:
this
.
numL2
,
nowL
:
this
.
scopeRow
.
projeceRole
};
vm
.
GET
(
"portalProjectOrRole/roleLevelUpdate"
,
req
).
then
(
res
=>
{
vm
.
GET
(
"portal
/portal
ProjectOrRole/roleLevelUpdate"
,
req
).
then
(
res
=>
{
this
.
dialog
.
show
=
false
;
if
(
res
.
code
==
"000000"
)
{
console
.
log
(
res
);
...
...
src/views/system/role.vue
浏览文件 @
206c9858
...
...
@@ -142,7 +142,7 @@ export default {
//console.log(this.formInline);
req
=
this
.
formInline
;
openLoading
(
vm
);
vm
.
GET
(
"portalInfo/getProjectList"
,
req
).
then
(
res
=>
{
vm
.
GET
(
"portal
/portal
Info/getProjectList"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
if
(
res
.
code
==
"000000"
)
{
vm
.
tableData
=
res
.
data
.
data
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录