Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
456c992a
提交
456c992a
编写于
9月 20, 2019
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
plan-list-alert
上级
e917ae60
变更
1
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
64 行增加
和
3 行删除
+64
-3
plan-list.vue
src/views/followup/plan-manage/plan-list.vue
+64
-3
未找到文件。
src/views/followup/plan-manage/plan-list.vue
浏览文件 @
456c992a
...
...
@@ -89,6 +89,7 @@
import
{
mapState
,
mapActions
}
from
'vuex'
import
{
deletePlan
,
getVerifyStatus
}
from
'@/utils/followup/followapis'
import
{
getSaasDomain
}
from
'@/utils/index'
// import { messageBox } from '@/utils/utils'
export
default
{
components
:{
BreadCrumb
,
...
...
@@ -157,15 +158,56 @@
})
},
created
()
{
},
mounted
()
{
this
.
init
();
},
watch
:
{},
methods
:
{
...
mapActions
(
'planManage'
,
[
'getPlanList'
,
'setResidentCrumb'
,
'setPlanModifyCrumb'
]),
// 验证是否首次进入
isFirstEnter
()
{
// getIsFirstEnter().then((res) => {
getVerifyStatus
().
then
((
res
)
=>
{
if
(
res
.
code
!==
'000000'
)
{
this
.
search
(
1
);
}
else
{
this
.
$alert
(
'根据相关规定,在您开展履约项目前,需要居民授权同意
\
《云鹊平台隐私协议
\
》,否则将导致履约量表部分信息无法录入'
,
''
,
{
confirmButtonText
:
'我知道了 '
,
showClose
:
false
,
// center: true,
roundButton
:
true
,
customClass
:
'plan-list-alert'
,
callback
:
action
=>
{
return
;
}
});
// this.$alert('根据相关规定,在您开展履约项目前,需要居民授权同意\《云鹊平台隐私协议\》,否则将导致履约量表部分信息无法录入', '', {
// confirmButtonText: ' 我知道了 ',
// type: 'info',
// callback: action => {
// // self.$message({
// // type: 'info',
// // message: `action: ${ action }`
// // });
// // if (confirmFunction instanceof Function) {
// // confirmFunction();
// // }
// }
// });
// messageBox(this, " ", "根据相关规定,在您开展履约项目前,需要居民授权同意\《云鹊平台隐私协议\》,否则将导致履约量表部分信息无法录入", "我知道了", function () {
// // logout();
// }, "", null);
}
})
},
init
()
{
getVerifyStatus
().
then
((
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
this
.
search
(
1
);
this
.
isFirstEnter
()
// this.search(1);
}
else
if
(
res
.
code
===
'200008'
){
this
.
$confirm
(
`
${
res
.
message
}
`
,
'提示'
,
{
confirmButtonText
:
'去认证'
,
...
...
@@ -278,11 +320,30 @@
filters
:
{},
}
</
script
>
<
style
lang=
"scss"
>
.plan-list-alert
{
height
:
200px
!
important
;
.el-message-box__content
{
padding
:
0
35px
20px
;
}
.el-message-box__message
{
text-align
:
left
;
}
.el-message-box__btns
{
.el-button
{
width
:
200px
;
span
{
padding
:
10px
50px
;
}
}
}
}
</
style
>
<
style
scoped
lang=
"scss"
>
@import
'../../../style/followup/followup-common'
;
@import
'../../../style/followup/element-reset.css'
;
.plan-list-wrapper
{
.plan-list-content
{
.search-input
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录