Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-learning-report
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-learning-report
提交
112e3f31
提交
112e3f31
编写于
1月 10, 2022
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add arms
上级
f472d14d
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
15 行增加
和
5 行删除
+15
-5
.env.production
.env.production
+3
-0
.env.uat
.env.uat
+3
-0
index.html
public/index.html
+3
-0
chart-column-stack.vue
src/components/bussiness/charts/chart-column-stack.vue
+2
-0
vue-inject.js
src/plugins/vue-inject.js
+1
-0
index.vue
src/views/index.vue
+2
-3
prolist.vue
src/views/prolist.vue
+1
-2
未找到文件。
.env.production
浏览文件 @
112e3f31
...
@@ -33,3 +33,6 @@ VUE_APP_ARMS=''
...
@@ -33,3 +33,6 @@ VUE_APP_ARMS=''
VUE_APP_CACHE_CONTROL=1
VUE_APP_CACHE_CONTROL=1
VUE_APP_WEB_URL=https://phome.yunqueyi.com/lreport_ssr
VUE_APP_WEB_URL=https://phome.yunqueyi.com/lreport_ssr
#arms日志监控脚本
VUE_APP_ARMS=!(function(c,b,d,a){c[a]||(c[a]={});c[a].config={pid:"bj53rb58f5@3579bc50e0d05db",appType:"web",imgUrl:"https://arms-retcode.aliyuncs.com/r.png?",sendResource:true,enableLinkTrace:true,behavior:true,enableSPA:true,useFmp:true};with(b)with(body)with(insertBefore(createElement("script"),firstChild))setAttribute("crossorigin","",src=d)})(window,document,"https://retcode.alicdn.com/retcode/bl.js","__bl");
.env.uat
浏览文件 @
112e3f31
...
@@ -27,3 +27,6 @@ VUE_APP_BUCKET_NAME='pica-app-uat'
...
@@ -27,3 +27,6 @@ VUE_APP_BUCKET_NAME='pica-app-uat'
VUE_APP_CACHE_CONTROL=1
VUE_APP_CACHE_CONTROL=1
VUE_APP_WEB_URL=https://uat-phome.yunqueyi.com/lreport_ssr
VUE_APP_WEB_URL=https://uat-phome.yunqueyi.com/lreport_ssr
#arms日志监控脚本
VUE_APP_ARMS=!(function(c,b,d,a){c[a]||(c[a]={});c[a].config={pid:"bj53rb58f5@3579bc50e0d05db",appType:"web",imgUrl:"https://arms-retcode.aliyuncs.com/r.png?",sendResource:true,enableLinkTrace:true,behavior:true,enableSPA:true,useFmp:true};with(b)with(body)with(insertBefore(createElement("script"),firstChild))setAttribute("crossorigin","",src=d)})(window,document,"https://retcode.alicdn.com/retcode/bl.js","__bl");
public/index.html
浏览文件 @
112e3f31
...
@@ -13,6 +13,9 @@
...
@@ -13,6 +13,9 @@
<title><
%=
htmlWebpackPlugin
.
options
.
title
%
></title>
<title><
%=
htmlWebpackPlugin
.
options
.
title
%
></title>
</head>
</head>
<body>
<body>
<script>
<%=
process
.
env
.
VUE_APP_ARMS
%>
</script>
<noscript>
<noscript>
<strong>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
<strong>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
</noscript>
</noscript>
...
...
src/components/bussiness/charts/chart-column-stack.vue
浏览文件 @
112e3f31
...
@@ -136,6 +136,8 @@ export default {
...
@@ -136,6 +136,8 @@ export default {
},
},
// 绘制图表
// 绘制图表
drawColumn
()
{
drawColumn
()
{
console
.
log
(
'--this'
,
this
);
console
.
log
(
'--this.$echarts'
,
this
.
$echarts
);
const
chartColumn
=
this
.
$echarts
.
init
(
document
.
getElementById
(
this
.
id
));
const
chartColumn
=
this
.
$echarts
.
init
(
document
.
getElementById
(
this
.
id
));
const
options
=
{
const
options
=
{
color
:
[
color
:
[
...
...
src/plugins/vue-inject.js
浏览文件 @
112e3f31
...
@@ -4,5 +4,6 @@ import { Toast } from 'vant';
...
@@ -4,5 +4,6 @@ import { Toast } from 'vant';
const
echarts
=
window
.
echarts
;
const
echarts
=
window
.
echarts
;
Vue
.
use
(
Toast
);
Vue
.
use
(
Toast
);
console
.
log
(
'--echarts'
,
echarts
);
Vue
.
prototype
.
$echarts
=
echarts
;
Vue
.
prototype
.
$echarts
=
echarts
;
Vue
.
prototype
.
$rocNative
=
new
rocNative
();
Vue
.
prototype
.
$rocNative
=
new
rocNative
();
src/views/index.vue
浏览文件 @
112e3f31
...
@@ -325,7 +325,7 @@ export default {
...
@@ -325,7 +325,7 @@ export default {
studyRankList
:
[],
studyRankList
:
[],
costRankList
:
[],
costRankList
:
[],
projectId
:
''
,
projectId
:
''
,
token
:
''
,
token
:
'
626A0B2B4CE2410FB77E63E1CF3B3C91
'
,
isOrgStat
:
false
,
isOrgStat
:
false
,
// 区域选择通用接口参数
// 区域选择通用接口参数
queryParams
:
{
queryParams
:
{
...
@@ -416,7 +416,6 @@ export default {
...
@@ -416,7 +416,6 @@ export default {
}),
}),
},
},
created
()
{
created
()
{
console
.
log
(
'-this.$rocNative.isWeb'
,
this
.
$rocNative
.
isWeb
);
this
.
projectId
=
this
.
projectId
=
(
this
.
$route
&&
this
.
$route
.
query
&&
this
.
$route
.
query
.
projectId
)
||
''
;
(
this
.
$route
&&
this
.
$route
.
query
&&
this
.
$route
.
query
.
projectId
)
||
''
;
this
.
queryGDParams
.
projectId
=
this
.
projectId
;
this
.
queryGDParams
.
projectId
=
this
.
projectId
;
...
@@ -432,7 +431,7 @@ export default {
...
@@ -432,7 +431,7 @@ export default {
this
.
getUserInfo
();
this
.
getUserInfo
();
},
},
mounted
()
{
mounted
()
{
this
.
getProjectInfo
(
this
.
queryParams
);
//
this.getProjectInfo(this.queryParams);
window
.
addEventListener
(
window
.
addEventListener
(
'scroll'
,
'scroll'
,
...
...
src/views/prolist.vue
浏览文件 @
112e3f31
...
@@ -39,7 +39,7 @@ export default {
...
@@ -39,7 +39,7 @@ export default {
// if (this.$rocNative.isWeb) {
// if (this.$rocNative.isWeb) {
// cookies.set('conslToken', _this.token);
// cookies.set('conslToken', _this.token);
// _this.headerInfo.backMethod = '';
// _this.headerInfo.backMethod = '';
_this
.
getProjectList
();
//
_this.getProjectList();
// } else {
// } else {
//
//
// }
// }
...
@@ -60,7 +60,6 @@ export default {
...
@@ -60,7 +60,6 @@ export default {
getUserInfo
()
{
getUserInfo
()
{
this
.
$rocNative
.
getUserInfo
&&
this
.
$rocNative
.
getUserInfo
&&
this
.
$rocNative
.
getUserInfo
().
then
((
params
)
=>
{
this
.
$rocNative
.
getUserInfo
().
then
((
params
)
=>
{
console
.
log
(
'--this.getUserInfo'
,
params
);
this
.
token
=
params
.
userToken
;
this
.
token
=
params
.
userToken
;
cookies
.
set
(
'conslToken'
,
this
.
token
);
cookies
.
set
(
'conslToken'
,
this
.
token
);
this
.
getProjectList
();
this
.
getProjectList
();
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录