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
提交
05fecb35
提交
05fecb35
编写于
10月 28, 2020
作者:
alex.zhang
浏览文件
操作
浏览文件
下载
差异文件
合并工作站动态menu代码
上级
23ed5d5a
e369ffc3
变更
5
展开全部
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
651 行增加
和
515 行删除
+651
-515
package-lock.json
package-lock.json
+34
-16
env-config.js
src/utils-o/env-config.js
+6
-0
fetch.js
src/utils-o/fetch.js
+1
-1
cmeApi.js
src/utils/cme/cmeApi.js
+16
-0
slidebar.vue
src/views/layout/slidebar.vue
+594
-498
未找到文件。
package-lock.json
浏览文件 @
05fecb35
...
@@ -2803,10 +2803,6 @@
...
@@ -2803,10 +2803,6 @@
"loader-utils"
:
"~0.2.5"
"loader-utils"
:
"~0.2.5"
}
}
},
},
"file-saver"
:
{
"version"
:
"github:eligrey/FileSaver.js#e865e37af9f9947ddcced76b549e27dc45c1cb2e"
,
"from"
:
"github:eligrey/FileSaver.js#1.3.8"
},
"filename-regex"
:
{
"filename-regex"
:
{
"version"
:
"2.0.1"
,
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz"
,
...
@@ -2961,7 +2957,8 @@
...
@@ -2961,7 +2957,8 @@
"ansi-regex"
:
{
"ansi-regex"
:
{
"version"
:
"2.1.1"
,
"version"
:
"2.1.1"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"aproba"
:
{
"aproba"
:
{
"version"
:
"1.2.0"
,
"version"
:
"1.2.0"
,
...
@@ -2982,12 +2979,14 @@
...
@@ -2982,12 +2979,14 @@
"balanced-match"
:
{
"balanced-match"
:
{
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"brace-expansion"
:
{
"brace-expansion"
:
{
"version"
:
"1.1.11"
,
"version"
:
"1.1.11"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"balanced-match"
:
"^1.0.0"
,
"balanced-match"
:
"^1.0.0"
,
"concat-map"
:
"0.0.1"
"concat-map"
:
"0.0.1"
...
@@ -3002,17 +3001,20 @@
...
@@ -3002,17 +3001,20 @@
"code-point-at"
:
{
"code-point-at"
:
{
"version"
:
"1.1.0"
,
"version"
:
"1.1.0"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"concat-map"
:
{
"concat-map"
:
{
"version"
:
"0.0.1"
,
"version"
:
"0.0.1"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"console-control-strings"
:
{
"console-control-strings"
:
{
"version"
:
"1.1.0"
,
"version"
:
"1.1.0"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"core-util-is"
:
{
"core-util-is"
:
{
"version"
:
"1.0.2"
,
"version"
:
"1.0.2"
,
...
@@ -3129,7 +3131,8 @@
...
@@ -3129,7 +3131,8 @@
"inherits"
:
{
"inherits"
:
{
"version"
:
"2.0.3"
,
"version"
:
"2.0.3"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"ini"
:
{
"ini"
:
{
"version"
:
"1.3.5"
,
"version"
:
"1.3.5"
,
...
@@ -3141,6 +3144,7 @@
...
@@ -3141,6 +3144,7 @@
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"number-is-nan"
:
"^1.0.0"
"number-is-nan"
:
"^1.0.0"
}
}
...
@@ -3155,6 +3159,7 @@
...
@@ -3155,6 +3159,7 @@
"version"
:
"3.0.4"
,
"version"
:
"3.0.4"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"brace-expansion"
:
"^1.1.7"
"brace-expansion"
:
"^1.1.7"
}
}
...
@@ -3162,12 +3167,14 @@
...
@@ -3162,12 +3167,14 @@
"minimist"
:
{
"minimist"
:
{
"version"
:
"0.0.8"
,
"version"
:
"0.0.8"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"minipass"
:
{
"minipass"
:
{
"version"
:
"2.2.4"
,
"version"
:
"2.2.4"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"safe-buffer"
:
"^5.1.1"
,
"safe-buffer"
:
"^5.1.1"
,
"yallist"
:
"^3.0.0"
"yallist"
:
"^3.0.0"
...
@@ -3186,6 +3193,7 @@
...
@@ -3186,6 +3193,7 @@
"version"
:
"0.5.1"
,
"version"
:
"0.5.1"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"minimist"
:
"0.0.8"
"minimist"
:
"0.0.8"
}
}
...
@@ -3266,7 +3274,8 @@
...
@@ -3266,7 +3274,8 @@
"number-is-nan"
:
{
"number-is-nan"
:
{
"version"
:
"1.0.1"
,
"version"
:
"1.0.1"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"object-assign"
:
{
"object-assign"
:
{
"version"
:
"4.1.1"
,
"version"
:
"4.1.1"
,
...
@@ -3278,6 +3287,7 @@
...
@@ -3278,6 +3287,7 @@
"version"
:
"1.4.0"
,
"version"
:
"1.4.0"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"wrappy"
:
"1"
"wrappy"
:
"1"
}
}
...
@@ -3363,7 +3373,8 @@
...
@@ -3363,7 +3373,8 @@
"safe-buffer"
:
{
"safe-buffer"
:
{
"version"
:
"5.1.1"
,
"version"
:
"5.1.1"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"safer-buffer"
:
{
"safer-buffer"
:
{
"version"
:
"2.1.2"
,
"version"
:
"2.1.2"
,
...
@@ -3399,6 +3410,7 @@
...
@@ -3399,6 +3410,7 @@
"version"
:
"1.0.2"
,
"version"
:
"1.0.2"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"code-point-at"
:
"^1.0.0"
,
"code-point-at"
:
"^1.0.0"
,
"is-fullwidth-code-point"
:
"^1.0.0"
,
"is-fullwidth-code-point"
:
"^1.0.0"
,
...
@@ -3418,6 +3430,7 @@
...
@@ -3418,6 +3430,7 @@
"version"
:
"3.0.1"
,
"version"
:
"3.0.1"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"ansi-regex"
:
"^2.0.0"
"ansi-regex"
:
"^2.0.0"
}
}
...
@@ -3461,12 +3474,14 @@
...
@@ -3461,12 +3474,14 @@
"wrappy"
:
{
"wrappy"
:
{
"version"
:
"1.0.2"
,
"version"
:
"1.0.2"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"yallist"
:
{
"yallist"
:
{
"version"
:
"3.0.2"
,
"version"
:
"3.0.2"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
}
}
}
}
},
},
...
@@ -4448,7 +4463,6 @@
...
@@ -4448,7 +4463,6 @@
"integrity"
:
"sha512-J9X76xnncMw+wIqb15HeWfPMqPwYxSpPY8yWPJ7rAZN/ZDzFkjCSZObryCyUe8zbrVRNiuCnIeQteCzMn7GnWw=="
,
"integrity"
:
"sha512-J9X76xnncMw+wIqb15HeWfPMqPwYxSpPY8yWPJ7rAZN/ZDzFkjCSZObryCyUe8zbrVRNiuCnIeQteCzMn7GnWw=="
,
"requires"
:
{
"requires"
:
{
"canvg"
:
"1.5.3"
,
"canvg"
:
"1.5.3"
,
"file-saver"
:
"github:eligrey/FileSaver.js#e865e37af9f9947ddcced76b549e27dc45c1cb2e"
,
"html2canvas"
:
"1.0.0-alpha.12"
,
"html2canvas"
:
"1.0.0-alpha.12"
,
"omggif"
:
"1.0.7"
,
"omggif"
:
"1.0.7"
,
"promise-polyfill"
:
"8.1.0"
,
"promise-polyfill"
:
"8.1.0"
,
...
@@ -4468,6 +4482,10 @@
...
@@ -4468,6 +4482,10 @@
"base64-arraybuffer"
:
"^0.1.5"
"base64-arraybuffer"
:
"^0.1.5"
}
}
},
},
"file-saver"
:
{
"version"
:
"github:eligrey/FileSaver.js#e865e37af9f9947ddcced76b549e27dc45c1cb2e"
,
"from"
:
"github:eligrey/FileSaver.js#e865e37af9f9947ddcced76b549e27dc45c1cb2e"
},
"html2canvas"
:
{
"html2canvas"
:
{
"version"
:
"1.0.0-alpha.12"
,
"version"
:
"1.0.0-alpha.12"
,
"resolved"
:
"https://registry.npmjs.org/html2canvas/-/html2canvas-1.0.0-alpha.12.tgz"
,
"resolved"
:
"https://registry.npmjs.org/html2canvas/-/html2canvas-1.0.0-alpha.12.tgz"
,
...
...
src/utils-o/env-config.js
浏览文件 @
05fecb35
...
@@ -34,6 +34,7 @@ export const envConfig = {
...
@@ -34,6 +34,7 @@ export const envConfig = {
// reportUrl: 'https://uat-sc-report.yunqueyi.com/',
// reportUrl: 'https://uat-sc-report.yunqueyi.com/',
excelUrl
:
'https://uat-file.yunqueyi.com/File/template/portal/'
,
excelUrl
:
'https://uat-file.yunqueyi.com/File/template/portal/'
,
itemFileUrl
:
'http://pica-test-huabei2.oss-cn-beijing.aliyuncs.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
:
{
dev
:
{
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
...
@@ -51,6 +52,7 @@ export const envConfig = {
...
@@ -51,6 +52,7 @@ export const envConfig = {
reportUrl
:
'https://dev-sc-report.yunqueyi.com/'
,
reportUrl
:
'https://dev-sc-report.yunqueyi.com/'
,
excelUrl
:
'https://test-file.yunqueyi.com/File/template/portal/'
,
excelUrl
:
'https://test-file.yunqueyi.com/File/template/portal/'
,
itemFileUrl
:
'http://pica-test-huabei2.oss-cn-beijing.aliyuncs.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
:
{
test
:
{
baseUrl
:
'https://test1-sc.yunqueyi.com/'
,
baseUrl
:
'https://test1-sc.yunqueyi.com/'
,
...
@@ -68,6 +70,7 @@ export const envConfig = {
...
@@ -68,6 +70,7 @@ export const envConfig = {
reportUrl
:
'https://test1-sc-report.yunqueyi.com/'
,
reportUrl
:
'https://test1-sc-report.yunqueyi.com/'
,
excelUrl
:
'https://test-file.yunqueyi.com/File/template/portal/'
,
excelUrl
:
'https://test-file.yunqueyi.com/File/template/portal/'
,
itemFileUrl
:
'http://pica-test-huabei2.oss-cn-beijing.aliyuncs.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
:
{
test2
:
{
baseUrl
:
'https://test2-work.yunqueyi.com/sc/'
,
baseUrl
:
'https://test2-work.yunqueyi.com/sc/'
,
...
@@ -84,6 +87,7 @@ export const envConfig = {
...
@@ -84,6 +87,7 @@ export const envConfig = {
reportUrl
:
'https://test2-sc-report.yunqueyi.com/'
,
reportUrl
:
'https://test2-sc-report.yunqueyi.com/'
,
excelUrl
:
'https://test-file.yunqueyi.com/File/template/portal/'
,
excelUrl
:
'https://test-file.yunqueyi.com/File/template/portal/'
,
itemFileUrl
:
'http://pica-test-huabei2.oss-cn-beijing.aliyuncs.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
:
{
uat
:
{
baseUrl
:
'https://uat-sc.yunqueyi.com/'
,
baseUrl
:
'https://uat-sc.yunqueyi.com/'
,
...
@@ -101,6 +105,7 @@ export const envConfig = {
...
@@ -101,6 +105,7 @@ export const envConfig = {
reportUrl
:
'https://uat-sc-report.yunqueyi.com/'
,
reportUrl
:
'https://uat-sc-report.yunqueyi.com/'
,
excelUrl
:
'https://test-file.yunqueyi.com/File/template/portal/'
,
excelUrl
:
'https://test-file.yunqueyi.com/File/template/portal/'
,
itemFileUrl
:
'http://pica-test-huabei2.oss-cn-beijing.aliyuncs.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
:
{
pro
:
{
baseUrl
:
'https://sc.yunqueyi.com/'
,
baseUrl
:
'https://sc.yunqueyi.com/'
,
...
@@ -118,5 +123,6 @@ export const envConfig = {
...
@@ -118,5 +123,6 @@ export const envConfig = {
reportUrl
:
'https://sc-report.yunqueyi.com/'
,
reportUrl
:
'https://sc-report.yunqueyi.com/'
,
excelUrl
:
'https://file.yunqueyi.com/File/template/portal/'
,
excelUrl
:
'https://file.yunqueyi.com/File/template/portal/'
,
itemFileUrl
:
'http://pica-test-huabei2.oss-cn-beijing.aliyuncs.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-o/fetch.js
浏览文件 @
05fecb35
...
@@ -56,7 +56,7 @@ service.interceptors.request.use(config => {
...
@@ -56,7 +56,7 @@ service.interceptors.request.use(config => {
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
// config.headers['token'] = 'BFD804F3A3194FBBBE113962222839F6';
// config.headers['token'] = 'BFD804F3A3194FBBBE113962222839F6';
// config.headers['token'] = 'F8209898391C40A0B8DBC1ED9E157291';
// config.headers['token'] = 'F8209898391C40A0B8DBC1ED9E157291';
config
.
headers
[
'token'
]
=
'
F64D5633857D4E16B3C2CCE5E48B0D1E
'
;
config
.
headers
[
'token'
]
=
'
AAAA3AA4233E45CCBE5CABD476C9D6F8
'
;
}
else
{
}
else
{
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
}
}
...
...
src/utils/cme/cmeApi.js
浏览文件 @
05fecb35
...
@@ -15,6 +15,22 @@ export const getUserTypeReq = (type) => {
...
@@ -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
)
=>
{
export
const
getSelectListReq
=
(
type
)
=>
{
return
fetch
({
return
fetch
({
url
:
getBaseUrl
(
`cme/constants/list?code=
${
type
}
`
),
url
:
getBaseUrl
(
`cme/constants/list?code=
${
type
}
`
),
...
...
src/views/layout/slidebar.vue
浏览文件 @
05fecb35
此差异已折叠。
点击以展开。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录