Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
fe93ba3e
提交
fe93ba3e
编写于
10月 15, 2020
作者:
alex.zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
工作站菜单从后台动态获取
上级
96b23c5f
变更
3
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
597 行增加
和
495 行删除
+597
-495
env-config.js
src/utils-o/env-config.js
+6
-0
cmeApi.js
src/utils/cme/cmeApi.js
+16
-0
slidebar.vue
src/views/layout/slidebar.vue
+575
-495
未找到文件。
src/utils-o/env-config.js
浏览文件 @
fe93ba3e
...
...
@@ -34,6 +34,7 @@ export const envConfig = {
// reportUrl: 'https://uat-sc-report.yunqueyi.com/',
excelUrl
:
'https://uat-file.yunqueyi.com/File/template/portal/'
,
itemFileUrl
:
'http://pica-test-huabei2.oss-cn-beijing.aliyuncs.com/File/template/portal/'
,
msUrl
:
'https://dev-sc.yunqueyi.com/contents/'
,
},
dev
:
{
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
...
...
@@ -51,6 +52,7 @@ export const envConfig = {
reportUrl
:
'https://dev-sc-report.yunqueyi.com/'
,
excelUrl
:
'https://test-file.yunqueyi.com/File/template/portal/'
,
itemFileUrl
:
'http://pica-test-huabei2.oss-cn-beijing.aliyuncs.com/File/template/portal/'
,
msUrl
:
'https://dev-sc.yunqueyi.com/contents/'
,
},
test
:
{
baseUrl
:
'https://test1-sc.yunqueyi.com/'
,
...
...
@@ -68,6 +70,7 @@ export const envConfig = {
reportUrl
:
'https://test1-sc-report.yunqueyi.com/'
,
excelUrl
:
'https://test-file.yunqueyi.com/File/template/portal/'
,
itemFileUrl
:
'http://pica-test-huabei2.oss-cn-beijing.aliyuncs.com/File/template/portal/'
,
msUrl
:
'https://test1-sc.yunqueyi.com/contents/'
,
},
test2
:
{
baseUrl
:
'https://test2-work.yunqueyi.com/sc/'
,
...
...
@@ -84,6 +87,7 @@ export const envConfig = {
reportUrl
:
'https://test2-sc-report.yunqueyi.com/'
,
excelUrl
:
'https://test-file.yunqueyi.com/File/template/portal/'
,
itemFileUrl
:
'http://pica-test-huabei2.oss-cn-beijing.aliyuncs.com/File/template/portal/'
,
msUrl
:
'https://test2-sc.yunqueyi.com/contents/'
,
},
uat
:
{
baseUrl
:
'https://uat-sc.yunqueyi.com/'
,
...
...
@@ -101,6 +105,7 @@ export const envConfig = {
reportUrl
:
'https://uat-sc-report.yunqueyi.com/'
,
excelUrl
:
'https://test-file.yunqueyi.com/File/template/portal/'
,
itemFileUrl
:
'http://pica-test-huabei2.oss-cn-beijing.aliyuncs.com/File/template/portal/'
,
msUrl
:
'https://uat-sc.yunqueyi.com/contents/'
,
},
pro
:
{
baseUrl
:
'https://sc.yunqueyi.com/'
,
...
...
@@ -118,5 +123,6 @@ export const envConfig = {
reportUrl
:
'https://sc-report.yunqueyi.com/'
,
excelUrl
:
'https://file.yunqueyi.com/File/template/portal/'
,
itemFileUrl
:
'http://pica-test-huabei2.oss-cn-beijing.aliyuncs.com/File/template/portal/'
,
msUrl
:
'https://sc.yunqueyi.com/contents/'
,
}
}
src/utils/cme/cmeApi.js
浏览文件 @
fe93ba3e
...
...
@@ -15,6 +15,22 @@ export const getUserTypeReq = (type) => {
})
};
// 获取动态slideBar
export
const
getSlideData
=
(
req
)
=>
{
console
.
log
(
"getSlideData() : token = "
+
localStorage
.
getItem
(
'storageToken'
)
+
", device_ip ="
+
localStorage
.
getItem
(
"ipAddress"
)
+
", browser_ver = "
+
localStorage
.
getItem
(
"browser"
));
return
fetch
({
headers
,
url
:
getBaseUrl
(
`contents/login/menu/list`
),
method
:
'post'
,
data
:
req
,
// token: localStorage.getItem('storageToken'),
// system_type: 22,
// device_ip: localStorage.getItem("ipAddress"),
// browser_ver: localStorage.getItem("browser"),
})
};
export
const
getSelectListReq
=
(
type
)
=>
{
return
fetch
({
url
:
getBaseUrl
(
`cme/constants/list?code=
${
type
}
`
),
...
...
src/views/layout/slidebar.vue
浏览文件 @
fe93ba3e
此差异已折叠。
点击以展开。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录