登录页授权到期时间提示

生成评分账号提示添加
main
wanglei 2 months ago
parent 1e99b51a11
commit 4c1f572561

@ -1096,8 +1096,6 @@ export default {
pcSetUpList.push(item); pcSetUpList.push(item);
}) })
this.pcSetUpList = pcSetUpList; this.pcSetUpList = pcSetUpList;
console.log(this.pcSetUpList,'pcSetUpList');
}) })
}, },
// //
@ -1377,8 +1375,20 @@ export default {
id: row.templateId, id: row.templateId,
pingceId: row.id, pingceId: row.id,
}).then(response => { }).then(response => {
this.scpfzh.itemsOtions = response.data.items let flag = true;
this.scpfzh.open = true; response.data.items.forEach( item =>{
if(!item.vote){
flag = false
}
})
if(flag){
this.scpfzh.itemsOtions = response.data.items
this.scpfzh.open = true;
}else {
this.$alert(`还有未发布评分规则考核项,请发布评分规则都完成后再生成评分账号`, `提示`, {
type: 'Danger'
})
}
}) })
}, },
// //

@ -162,6 +162,10 @@ export default {
methods: { methods: {
getCode() { getCode() {
getCodeImg().then(res => { getCodeImg().then(res => {
this.day = localStorage.getItem('licenseWarning')||null;
console.log('day',this.day);
this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled
if (this.captchaEnabled) { if (this.captchaEnabled) {
this.codeUrl = "data:image/gif;base64," + res.img this.codeUrl = "data:image/gif;base64," + res.img

Loading…
Cancel
Save