Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
Y
year-end-activitiy
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.foundation.frontend
year-end-activitiy
提交
8f8c224b
提交
8f8c224b
编写于
11月 26, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
提测前优化路径
上级
242b6462
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
3 行增加
和
165 行删除
+3
-165
popAll.vue
components/popAll.vue
+0
-133
prehot.vue
pages/prehot.vue
+3
-6
index.js
service/index.js
+0
-26
未找到文件。
components/popAll.vue
已删除
100644 → 0
浏览文件 @
242b6462
<
template
>
<div
class=
"pop-bg"
>
<div
class=
"pop-box"
>
<div
class=
"pop-txt"
>
{{
popAllObj
.
popTxt
}}
</div>
<div
class=
"pop-btn"
v-if=
"popAllObj.isAloneBtn"
@
click=
"popFun(popAllObj.index)"
>
{{
popAllObj
.
aloneBtnTxt
}}
</div>
<div
class=
"pop-btn"
v-else
>
<span
class=
"pop-btn-span cancel-btn"
@
click=
"popFun(popAllObj.cancelIndex?popAllObj.cancelIndex:'1')"
>
{{
popAllObj
.
cancelTxt
||
'退出'
}}
<i></i></span>
<span
class=
"pop-btn-span sure-btn"
@
click=
"popFun(popAllObj.index)"
>
{{
popAllObj
.
sureTxt
||
'继续填写'
}}
</span>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{}
},
props
:
{
title
:
{
default
:
'问卷调查'
,
type
:
String
},
popAllObj
:
{
default
:
()
=>
{},
type
:
Object
,
},
},
mounted
()
{
//console.log(this.popAllObj)
},
computed
:
{},
methods
:
{
getIt
()
{
},
popFun
(
str
)
{
this
.
$emit
(
'setPopFun'
,
str
)
}
},
}
</
script
>
<
style
>
</
style
>
<
style
lang=
"scss"
scoped
>
// @import '../assets/style/mixin';
.pop-bg
{
background
:
rgba
(
0
,
0
,
0
,
0
.5
);
position
:
fixed
;
z-index
:
1000
;
width
:
100%
;
height
:
100%
;
min-height
:
100vh
;
left
:
0
;
top
:
0
;
}
.pop-box
{
background
:
#fff
;
border-radius
:
3px
;
width
:
300px
;
//height: px2rem(138px);
position
:
fixed
;
left
:
50%
;
top
:
50%
;
margin
:
-55px
0
0
-150px
;
z-index
:
1001
;
}
.pop-txt
{
padding
:
30px
;
//height: px2rem(70px);
line-height
:
21px
;
border-bottom
:
1
PX
solid
#F0F1F2
;
font-size
:
14px
;
color
:
#676869
;
// text-align: center;
// margin-top:px2rem(18px);
}
.pop-btn
{
text-align
:
center
;
height
:
50px
;
font-size
:
17px
;
color
:
#449284
;
line-height
:
50px
;
overflow
:
hidden
;
}
.pop-btn
.pop-btn-span
{
width
:
50%
;
float
:
left
;
}
.cancel-btn
{
position
:relative
;
color
:
#979899
;
i
{
display
:
inline-block
;
height
:
100%
;
width
:
1
PX
;
background
:
#F0F1F2
;
position
:
absolute
;
right
:
0
;
top
:
0
;
}
}
.sure-btn
{
color
:
#449284
;
}
.top-title
{
height
:
45px
;
line-height
:
25px
;
font-size
:
18px
;
text-align
:
center
;
color
:
#333
;
padding
:
10px
0
;
border-bottom
:
1
PX
solid
#E7E7E7
}
</
style
>
pages/prehot.vue
浏览文件 @
8f8c224b
...
...
@@ -64,7 +64,6 @@
import
{
Toast
}
from
'vant'
;
import
{
remind
,
getRemindStatus
,
checkHospitalStatus
,
getCnt
}
from
'@/service'
;
import
h5header
from
'@/components/h5header'
;
// const userToken = '9D5B30A3E4E34269BE3E4405C467F4F8';
export
default
{
head
()
{
...
...
@@ -91,8 +90,6 @@ export default {
if
(
res
.
code
==
'000000'
)
{
this
.
doctorIdCnt
=
res
.
data
.
doctorIdCnt
;
this
.
hospitalIdCnt
=
res
.
data
.
hospitalIdCnt
;
}
else
{
this
.
$toast
(
res
.
message
)
}
});
},
...
...
@@ -157,8 +154,8 @@ export default {
checkHospitalStatus
(
userToken
).
then
(
res
=>
{
const
status
=
res
.
data
.
status
;
if
(
status
==
1
)
{
// 机构状态正常
remind
({
token
:
userToken
}).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
)
{
remind
({
token
:
userToken
}).
then
(
res
D
=>
{
if
(
res
D
.
code
==
'000000'
)
{
this
.
$dialog
.
alert
({
title
:
'设置提醒成功'
,
message
:
'云鹊奖活动正式时间:12月16日 10:00开始,我们将会以APP消息提醒和短信形式提醒道您,请记得及时参与活动'
,
...
...
@@ -167,7 +164,7 @@ export default {
});
this
.
remindStatus
=
true
;
}
else
{
this
.
$toast
(
res
.
message
)
this
.
$toast
(
res
D
.
message
)
}
})
}
else
if
(
status
==
15
)
{
// 15创建机构审核中
...
...
service/index.js
浏览文件 @
8f8c224b
// import qs from 'qs';
import
request
from
'./api'
;
// import { async } from 'q';
// export const check = async (params) => {
// return request({
// url: `/campaign/questionnaire/check`,
// params,
// // 需要在headers设置token
// // withCredentials: true,
// headers: {
// token: params.token
// }
// })
// }
// export const checkLogin = async (params) => {
// return request({
// url: 'campaign/questionnaire/loginAuth',
// params,
// // 需要在headers设置token
// // withCredentials: true,
// // headers: {
// // token: params.token
// // }
// })
// }
// 获取机构和个人参与人数
export
const
getCnt
=
()
=>
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录