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
提交
f472d14d
提交
f472d14d
编写于
1月 10, 2022
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change prod env
上级
c2370cba
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
22 行增加
和
31 行删除
+22
-31
common-area-select.vue
src/components/common/common-area-select.vue
+1
-1
pica-area.vue
src/components/common/pica-area.vue
+5
-5
index.vue
src/views/index.vue
+7
-9
prolist.vue
src/views/prolist.vue
+9
-16
未找到文件。
src/components/common/common-area-select.vue
浏览文件 @
f472d14d
...
@@ -59,7 +59,7 @@ export default {
...
@@ -59,7 +59,7 @@ export default {
height
:
44px
;
height
:
44px
;
line-height
:
44px
;
line-height
:
44px
;
margin
:
2px
0
0px
;
margin
:
2px
0
0px
;
flex-direction
:
row
nowrap
;
flex-direction
:
row
;
align-content
:
center
;
align-content
:
center
;
align-items
:
center
;
align-items
:
center
;
text-align
:
center
;
text-align
:
center
;
...
...
src/components/common/pica-area.vue
浏览文件 @
f472d14d
...
@@ -248,6 +248,7 @@ export default {
...
@@ -248,6 +248,7 @@ export default {
watch
:
{
watch
:
{
projectId
(
newVal
)
{
projectId
(
newVal
)
{
this
.
queryParams
.
projectId
=
newVal
;
this
.
queryParams
.
projectId
=
newVal
;
// this.getProvinceData(this.queryParams);
},
},
provinceList
(
newVal
)
{
provinceList
(
newVal
)
{
newVal
[
0
].
selected
=
true
;
newVal
[
0
].
selected
=
true
;
...
@@ -272,11 +273,10 @@ export default {
...
@@ -272,11 +273,10 @@ export default {
},
},
},
},
created
()
{
created
()
{
if
(
this
.
$rocNative
.
isWeb
)
{
if
(
this
.
$route
&&
this
.
$route
.
query
)
{
if
(
this
.
$route
&&
this
.
$route
.
query
)
{
const
cQuery
=
this
.
$route
.
query
;
const
cQuery
=
this
.
$route
.
query
;
this
.
queryParams
.
projectId
=
cQuery
.
projectId
||
''
;
this
.
queryParams
.
projectId
=
cQuery
.
projectId
||
''
;
this
.
getProvinceData
(
this
.
queryParams
);
}
}
}
},
},
mounted
()
{},
mounted
()
{},
...
...
src/views/index.vue
浏览文件 @
f472d14d
...
@@ -325,7 +325,7 @@ export default {
...
@@ -325,7 +325,7 @@ export default {
studyRankList
:
[],
studyRankList
:
[],
costRankList
:
[],
costRankList
:
[],
projectId
:
''
,
projectId
:
''
,
token
:
'
5A8C8B5D697941C8A0303DBFD6247E55
'
,
token
:
''
,
isOrgStat
:
false
,
isOrgStat
:
false
,
// 区域选择通用接口参数
// 区域选择通用接口参数
queryParams
:
{
queryParams
:
{
...
@@ -417,21 +417,19 @@ export default {
...
@@ -417,21 +417,19 @@ export default {
},
},
created
()
{
created
()
{
console
.
log
(
'-this.$rocNative.isWeb'
,
this
.
$rocNative
.
isWeb
);
console
.
log
(
'-this.$rocNative.isWeb'
,
this
.
$rocNative
.
isWeb
);
this
.
token
=
(
this
.
$route
&&
this
.
$route
.
query
&&
this
.
$route
.
query
.
token
)
||
this
.
token
;
this
.
projectId
=
this
.
projectId
=
(
this
.
$route
&&
this
.
$route
.
query
&&
this
.
$route
.
query
.
projectId
)
||
374
;
(
this
.
$route
&&
this
.
$route
.
query
&&
this
.
$route
.
query
.
projectId
)
||
''
;
this
.
queryGDParams
.
projectId
=
this
.
projectId
;
this
.
queryGDParams
.
projectId
=
this
.
projectId
;
this
.
CNTParams
.
projectId
=
this
.
projectId
;
this
.
CNTParams
.
projectId
=
this
.
projectId
;
this
.
queryParams
.
projectId
=
this
.
projectId
;
this
.
queryParams
.
projectId
=
this
.
projectId
;
if
(
this
.
$rocNative
.
isWeb
)
{
if
(
this
.
$rocNative
.
isWeb
)
{
this
.
setUserToken
(
this
.
token
);
//
this.setUserToken(this.token);
cookies
.
set
(
'conslToken'
,
this
.
token
);
//
cookies.set('conslToken', this.token);
this
.
setProjectId
(
this
.
projectId
);
//
this.setProjectId(this.projectId);
}
else
{
}
else
{
this
.
getUserInfo
();
//
this.getUserInfo();
}
}
this
.
getUserInfo
();
},
},
mounted
()
{
mounted
()
{
this
.
getProjectInfo
(
this
.
queryParams
);
this
.
getProjectInfo
(
this
.
queryParams
);
...
...
src/views/prolist.vue
浏览文件 @
f472d14d
...
@@ -28,7 +28,7 @@ export default {
...
@@ -28,7 +28,7 @@ export default {
title
:
'学情报告'
,
title
:
'学情报告'
,
backMethod
:
'native'
,
backMethod
:
'native'
,
},
},
token
:
'
0434E93C02524BE1BA103658B2BFC835
'
,
token
:
''
,
projectList
:
[],
projectList
:
[],
isShowKf
:
true
,
isShowKf
:
true
,
headerEl
:
null
,
headerEl
:
null
,
...
@@ -36,13 +36,14 @@ export default {
...
@@ -36,13 +36,14 @@ export default {
},
},
created
()
{
created
()
{
const
_this
=
this
;
const
_this
=
this
;
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 {
_this
.
getUserInfo
();
//
}
// }
_this
.
getUserInfo
();
},
},
mounted
()
{
mounted
()
{
this
.
$sendBuriedData
&&
this
.
$sendBuriedData
&&
...
@@ -72,16 +73,8 @@ export default {
...
@@ -72,16 +73,8 @@ export default {
token
:
this
.
token
,
token
:
this
.
token
,
};
};
getProjectList
(
params
).
then
((
res
)
=>
{
getProjectList
(
params
).
then
((
res
)
=>
{
// this.showLoading = true;
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
this
.
projectList
=
(
res
.
data
&&
res
.
data
.
data
)
||
[];
this
.
projectList
=
(
res
.
data
&&
res
.
data
.
data
)
||
[];
setTimeout
(()
=>
{
// this.showLoading = false;
},
100
);
// this.$forceUpdate();
// this.$nextTick( () => {
// this.showLoading = false;
// })
}
}
});
});
},
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录