feat(MerchantCreateView): 为健康检查商家添加团单标签页并拆分判断逻辑
1个文件已修改
9 ■■■■■ 已修改文件
talent-card-admin/src/views/MerchantCreateView.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
talent-card-admin/src/views/MerchantCreateView.vue
@@ -107,7 +107,14 @@
      { label: '商家权益', value: 'rights' },
    ]
  }
  if (isHealthCheckMerchant.value || isParkingMerchant.value || isChildcareMerchant.value || isFinancialMerchant.value || isMovieMerchant.value || isSpouseEmploymentMerchant.value || isApprovalMerchant.value) {
  if (isHealthCheckMerchant.value) {
    return [
      { label: '商家设置', value: 'settings' },
      { label: '商家权益', value: 'rights' },
      { label: '团单', value: 'products' },
    ]
  }
  if (isParkingMerchant.value || isChildcareMerchant.value || isFinancialMerchant.value || isMovieMerchant.value || isSpouseEmploymentMerchant.value || isApprovalMerchant.value) {
    return [
      { label: '商家设置', value: 'settings' },
      { label: '商家权益', value: 'rights' },