hookehuyr

fix 状态更改

......@@ -239,11 +239,12 @@ export default {
this.show_status_popup = false;
},
changeStatus (status, id) {
// 已签到和未出席不能修改状态
if (status === 'absent' || status === 'enable') {
// 已签到不能修改状态
if (status === 'enable') {
Toast('无需修改状态')
}
if (status === 'apply') {
// 未签到, 已报名 修改状态已签到
if (status === 'absent' || status === 'apply') {
Dialog.confirm({
title: '温馨提示',
message: '是否确认修改状态为已签到?',
......