Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-cooperation-cme
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-cooperation-cme
提交
f77020d9
提交
f77020d9
编写于
5月 21, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev-phase2-0512' into 'release'
教培二期需求 code reviewer: 张平 教培二期需求 code reviewer: 张平 See merge request
!9
上级
7bd781a3
dcb25852
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
130 行增加
和
113 行删除
+130
-113
basic-info.vue
src/components/cme/basic-info.vue
+126
-110
exjumper-button.vue
src/components/cme/exjumper-button.vue
+2
-1
fetch.js
src/utils/fetch.js
+1
-1
mixins.js
src/utils/mixins.js
+1
-1
未找到文件。
src/components/cme/basic-info.vue
浏览文件 @
f77020d9
<
template
>
<
template
>
<div
class=
"basic-container"
>
<div
class=
"basic-container"
>
<div
class=
"basic-title"
>
基本信息
</div>
<div
class=
"basic-title"
>
基本信息
</div>
<div
v-if=
"projectNo"
class=
"content"
>
<div
v-if=
"projectNo"
class=
"content"
>
<span>
项目编号
</span>
<span>
项目编号
</span>
<span>
{{
projectNo
}}
</span>
<span>
{{
projectNo
}}
</span>
</div>
<div
class=
"content"
>
<span>
学习收获
</span>
<span>
{{
level
}}
{{
projectCredit
}}
</span>
</div>
<div
class=
"content"
>
<span>
申请范围
</span>
<span>
{{
scope
}}
</span>
</div>
<div
class=
"remind"
v-if=
"remind"
>
<span>
{{
remind
}}
</span>
</div>
<div
class=
"content"
>
<span>
起止时间
</span>
<span>
{{
startDate
|
formatTime
(
'{y
}
.{m
}
.{d
}
'
)
}}
至
{{
endDate
|
formatTime
(
'{y
}
.{m
}
.{d
}
'
)
}}
<
/span
>
<
/div
>
<
div
class
=
"content"
>
<
span
>
发起机构
<
/span
>
<
span
>
{{
organName
}}
<
/span
>
<
/div
>
</div>
</div>
<div
class=
"content"
>
<span>
学习收获
</span>
<span>
{{
level
}}
<b
class=
"split"
></b>
{{
projectCredit
}}
</span>
<!--
<span>
{{
level
}}
|
{{
projectCredit
}}
</span>
-->
</div>
<div
class=
"content"
>
<span>
申请范围
</span>
<span>
{{
scope
}}
</span>
</div>
<div
class=
"remind"
v-if=
"remind"
>
<span>
{{
remind
}}
</span>
</div>
<div
class=
"content"
>
<span>
起止时间
</span>
<span>
{{
startDate
|
formatTime
(
'{y
}
.{m
}
.{d
}
'
)
}}
至
{{
endDate
|
formatTime
(
'{y
}
.{m
}
.{d
}
'
)
}}
<
/span
>
<
/div
>
<
div
class
=
"content"
>
<
span
>
发起机构
<
/span
>
<
span
>
{{
organName
}}
<
/span
>
<
/div
>
<
/div
>
<
/template
>
<
/template
>
<
script
>
<
script
>
export
default
{
export
default
{
props
:
{
props
:
{
projectNo
:
{
projectNo
:
{
type
:
String
,
type
:
String
,
default
:
"GWKX-20180326-42843"
default
:
"GWKX-20180326-42843"
}
,
}
,
credit
:
{
credit
:
{
type
:
String
,
type
:
String
,
default
:
""
default
:
""
}
,
}
,
level
:
{
level
:
{
type
:
String
,
type
:
String
,
default
:
""
default
:
""
}
,
}
,
scope
:
{
scope
:
{
type
:
String
,
type
:
String
,
default
:
""
default
:
""
}
,
}
,
startDate
:
{
startDate
:
{
type
:
Number
,
type
:
Number
,
default
:
""
default
:
""
}
,
}
,
endDate
:
{
endDate
:
{
type
:
Number
,
type
:
Number
,
default
:
""
default
:
""
}
,
}
,
organName
:
{
organName
:
{
type
:
String
,
type
:
String
,
default
:
""
default
:
""
}
,
}
,
remind
:
{
remind
:
{
type
:
String
,
type
:
String
,
default
:
""
default
:
""
}
,
}
,
projectCredit
:
{
projectCredit
:
{
type
:
String
,
type
:
String
,
default
:
""
default
:
""
}
}
}
}
}
}
;
<
/script
>
<
/script
>
<
style
lang
=
"scss"
scoped
>
<
style
lang
=
"scss"
scoped
>
@
import
"../../style/mixin"
;
@
import
"../../style/mixin"
;
.
basic
-
container
{
.
basic
-
container
{
padding
-
bottom
:
px2rem
(
20
px
);
padding
-
bottom
:
px2rem
(
20
px
);
margin
:
px2rem
(
30
px
)
px2rem
(
15
px
)
0
px
;
margin
:
px2rem
(
30
px
)
px2rem
(
15
px
)
0
px
;
border
-
bottom
:
px2rem
(
1
px
)
solid
#
E7E8E9
;
border
-
bottom
:
px2rem
(
1
px
)
solid
#
e7e8e9
;
.
basic
-
title
{
.
basic
-
title
{
font
-
size
:
px2rem
(
18
px
);
font
-
size
:
px2rem
(
18
px
);
line
-
height
:
px2rem
(
18
px
);
line
-
height
:
px2rem
(
18
px
);
color
:
#
373839
;
color
:
#
373839
;
font
-
weight
:
700
;
font
-
weight
:
700
;
}
.
content
{
margin
-
top
:
px2rem
(
16
px
);
height
:
px2rem
(
16
px
);
line
-
height
:
px2rem
(
0
px
);
span
{
display
:
inline
-
block
;
font
-
size
:
px2rem
(
14
px
);
.
split
{
display
:
inline
-
block
;
position
:
relative
;
top
:
px2rem
(
2
px
);
left
:
0
;
width
:
px2rem
(
1
px
);
height
:
px2rem
(
13
px
);
margin
:
0
px2rem
(
2
px
);
// line-height: px2rem(20px);
background
:
#
676869
;
}
}
span
:
first
-
child
{
color
:
#
979899
;
}
span
:
last
-
child
{
margin
-
left
:
px2rem
(
15
px
);
color
:
#
676869
;
}
}
.
content
{
}
margin
-
top
:
px2rem
(
16
px
);
.
remind
{
height
:
px2rem
(
16
px
);
line
-
height
:
px2rem
(
14
px
);
line
-
height
:
px2rem
(
0
px
);
margin
-
top
:
px2rem
(
10
px
);
span
{
span
{
display
:
inline
-
block
;
position
:
relative
;
font
-
size
:
px2rem
(
14
px
);
display
:
inline
-
block
;
}
padding
:
px2rem
(
5
px
)
px2rem
(
10
px
);
span
:
first
-
child
{
margin
-
left
:
px2rem
(
78
px
);
color
:
#
979899
;
font
-
size
:
px2rem
(
14
px
);
}
color
:
#
fb5b52
;
span
:
last
-
child
{
background
:
#
fceeed
;
margin
-
left
:
px2rem
(
15
px
);
border
-
radius
:
px2rem
(
4
px
);
color
:
#
676869
;
}
}
}
.
remind
{
span
:
after
{
line
-
height
:
px2rem
(
14
px
);
content
:
""
;
margin
-
top
:
px2rem
(
10
px
);
position
:
absolute
;
span
{
left
:
px2rem
(
10
px
);
position
:
relative
;
bottom
:
px2rem
(
20
px
);
display
:
inline
-
block
;
width
:
0
;
padding
:
px2rem
(
5
px
)
px2rem
(
10
px
);
height
:
0
;
margin
-
left
:
px2rem
(
78
px
);
border
-
width
:
0
px2rem
(
8
px
)
px2rem
(
8
px
);
font
-
size
:
px2rem
(
14
px
);
border
-
style
:
solid
;
color
:
#
FB5B52
;
border
-
color
:
transparent
transparent
#
fceeed
;
background
:
#
FCEEED
;
border
-
radius
:
px2rem
(
4
px
);
}
span
:
after
{
content
:
""
;
position
:
absolute
;
left
:
px2rem
(
10
px
);
bottom
:
px2rem
(
20
px
);
width
:
0
;
height
:
0
;
border
-
width
:
0
px2rem
(
8
px
)
px2rem
(
8
px
);
border
-
style
:
solid
;
border
-
color
:
transparent
transparent
#
FCEEED
;
}
}
}
}
}
}
<
/style>
<
/style>
\ No newline at end of file
src/components/cme/exjumper-button.vue
浏览文件 @
f77020d9
...
@@ -36,7 +36,8 @@ export default {
...
@@ -36,7 +36,8 @@ export default {
right
:
0
;
right
:
0
;
z-index
:
1000
;
z-index
:
1000
;
font-size
:
px2rem
(
14px
);
font-size
:
px2rem
(
14px
);
margin
:
px2rem
(
20px
)
px2rem
(
15px
);
padding
:
px2rem
(
20px
)
px2rem
(
15px
);
background
:
linear-gradient
(
180deg
,
rgba
(
255
,
255
,
255
,
0
)
0%
,
rgba
(
255
,
255
,
255
,
1
)
100%
);
text-align
:
center
;
text-align
:
center
;
&
.button-default
{
&
.button-default
{
span
{
span
{
...
...
src/utils/fetch.js
浏览文件 @
f77020d9
...
@@ -17,7 +17,7 @@ service.interceptors.request.use(config => {
...
@@ -17,7 +17,7 @@ service.interceptors.request.use(config => {
if
(
config
.
data
.
token
){
if
(
config
.
data
.
token
){
config
.
headers
[
'token'
]
=
config
.
data
.
token
||
'0F32D60C3D7042158BCF1FB574E482BE'
config
.
headers
[
'token'
]
=
config
.
data
.
token
||
'0F32D60C3D7042158BCF1FB574E482BE'
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
// 本地开发环境
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
// 本地开发环境
config
.
headers
[
'token'
]
=
config
.
data
.
token
||
'
7A15D95AC2AF4C7C8FEEE23E7FF6EF34
'
;
config
.
headers
[
'token'
]
=
config
.
data
.
token
||
'
68659175C0D94E9998CE2C9E3F5C6533
'
;
}
}
// delete config.data.token;
// delete config.data.token;
}
}
...
...
src/utils/mixins.js
浏览文件 @
f77020d9
...
@@ -13,7 +13,7 @@ module.exports = {
...
@@ -13,7 +13,7 @@ module.exports = {
query
=
this
.
$route
.
query
query
=
this
.
$route
.
query
}
}
// alert('this.token' + this.token)
// alert('this.token' + this.token)
this
.
token
=
this
.
getUrlKey
(
'token'
)
||
(
query
&&
query
.
token
)
||
'
413649EAAF9D4C719DA183FB49E1911F
'
this
.
token
=
this
.
getUrlKey
(
'token'
)
||
(
query
&&
query
.
token
)
||
'
68659175C0D94E9998CE2C9E3F5C6533
'
},
},
mounted
()
{
mounted
()
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录