|
|
|
@ -209,24 +209,7 @@ |
|
|
|
|
// } |
|
|
|
|
], |
|
|
|
|
//操作列表 |
|
|
|
|
czList: [ |
|
|
|
|
// { |
|
|
|
|
// url: '../../user/bindingCardList/bindingCardList', |
|
|
|
|
// text: '卡列表', |
|
|
|
|
// img: '../../../static/img/pas.png' |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
url: '../../user/unionCard/unionCard', |
|
|
|
|
text: '工会卡', |
|
|
|
|
img: '../../../static/img/ghk.png' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
url: '../../login/updatePas/resetPas', |
|
|
|
|
text: '修改密码', |
|
|
|
|
img: '../../../static/img/pas.png' |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
], |
|
|
|
|
czList: '', |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
//下拉刷新,需要自己在page.json文件中配置开启页面下拉刷新 "enablePullDownRefresh": true |
|
|
|
@ -261,6 +244,32 @@ |
|
|
|
|
if (app.globalData.userInfo) { |
|
|
|
|
this.findUser(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!app.globalData.userInfo.isSetPayPwd) { |
|
|
|
|
this.czList = [{ |
|
|
|
|
url: '../../user/unionCard/unionCard', |
|
|
|
|
text: '工会卡', |
|
|
|
|
img: '../../../static/img/ghk.png' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
url: '../../login/updatePas/updatePas', |
|
|
|
|
text: '设置密码', |
|
|
|
|
img: '../../../static/img/pas.png' |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
this.czList = [{ |
|
|
|
|
url: '../../user/unionCard/unionCard', |
|
|
|
|
text: '工会卡', |
|
|
|
|
img: '../../../static/img/ghk.png' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
url: '../../login/updatePas/resetPas', |
|
|
|
|
text: '修改密码', |
|
|
|
|
img: '../../../static/img/pas.png' |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
findUser() { |
|
|
|
|