Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-new-compaign
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-new-compaign
提交
8d69d84d
提交
8d69d84d
编写于
3月 19, 2020
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
任务列表添加loading
上级
f0f3b8e5
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
12 行增加
和
5 行删除
+12
-5
common-loading.vue
components/bussiness/common-loading.vue
+3
-3
task-activity.vue
components/task-activity.vue
+8
-1
index.vue
pages/login-point/index.vue
+1
-1
未找到文件。
components/bussiness/common-loading.vue
浏览文件 @
8d69d84d
...
...
@@ -8,8 +8,8 @@
xmlns:xlink=
"http://www.w3.org/1999/xlink"
x=
"0px"
y=
"0px"
width=
"
4
0"
height=
"
4
0"
width=
"
8
0"
height=
"
8
0"
viewBox=
"0 0 60 60"
style=
"enable-background:new 0 0 80 80;"
xml:space=
"preserve"
...
...
@@ -53,6 +53,6 @@
svg path,
svg rect {
fill: #
449284
;
fill: #
aaa
;
}
</
style
>
components/task-activity.vue
浏览文件 @
8d69d84d
...
...
@@ -44,6 +44,7 @@
</div>
</div>
</div>
<loading
v-if=
"loadingFlag"
></loading>
</div>
</
template
>
...
...
@@ -52,8 +53,12 @@
import
{
getNewActivityDesc
}
from
'@/service'
;
// const cookies = require('cookie-universal')();
import
{
setCookie
,
getCookie
,
delCookie
}
from
'@/utils/index'
;
import
loading
from
'../components/bussiness/common-loading'
;
export
default
{
name
:
'TaskActivity'
,
components
:
{
loading
},
props
:
{
acTempId
:
{
type
:
Number
|
String
,
...
...
@@ -86,6 +91,7 @@ export default {
},
data
()
{
return
{
loadingFlag
:
false
,
taskList
:
[],
status
:
true
,
statusText
:
'去完成'
,
...
...
@@ -146,7 +152,7 @@ export default {
},
// 活动详情
getNewActivityDesc
()
{
let
self
=
this
;
this
.
loadingFlag
=
true
;
let
req
=
null
;
let
{
acTempId
,
acToken
}
=
this
;
req
=
{
...
...
@@ -154,6 +160,7 @@ export default {
token
:
getCookie
(
'token'
)
}
getNewActivityDesc
({
id
:
req
.
id
,
token
:
req
.
token
}).
then
(
res
=>
{
this
.
loadingFlag
=
false
;
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
data
.
loginStatus
==
2
)
{
// 未登录 或者token失效
delCookie
(
'token'
);
...
...
pages/login-point/index.vue
浏览文件 @
8d69d84d
...
...
@@ -172,7 +172,7 @@ export default {
let
param
=
{
mobile
:
this
.
mobilePhone
,
authCode
:
this
.
authCode
,
id
:
this
.
userId
,
id
:
this
.
userId
.
replace
(
/
\s
/g
,
'+'
)
,
taskId
:
this
.
taskId
,
activityId
:
this
.
activityId
};
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录