zhengyiming
5 天以前 7d9cb4fd179dba0363f2bec08634b59cf16cb7d6
apps/underTakeMiniApp/src/subpackages/task/components/TaskCheckCard.vue
@@ -109,23 +109,23 @@
const menuList = computed(() => {
  let _menuList = [];
  if (props.checkReceiveMethod === EnumTaskCheckReceiveMethod.CheckIn) {
  // if (props.checkReceiveMethod === EnumTaskCheckReceiveMethod.CheckIn) {
  _menuList.push({
    name: '未到岗',
    value: ManageActions.OutWork,
  });
  if (!props.checkInTime) {
    _menuList.push({
      name: '未到岗',
      value: ManageActions.OutWork,
      name: '签到',
      value: ManageActions.CheckIn,
    });
    if (!props.checkInTime) {
      _menuList.push({
        name: '签到',
        value: ManageActions.CheckIn,
      });
    } else if (!props.checkOutTime) {
      _menuList.push({
        name: '签出',
        value: ManageActions.CheckOut,
      });
    }
  } else if (!props.checkOutTime) {
    _menuList.push({
      name: '签出',
      value: ManageActions.CheckOut,
    });
  }
  // }
  return _menuList;
});