huminmin
3 天以前 e9f9d25bb5557e89c220abb2af26e68662183128
工资详情状态显示错误
已修改1个文件
14 ■■■■ 文件已修改
src/views/personnelManagement/monthlyStatistics/components/Show.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/personnelManagement/monthlyStatistics/components/Show.vue
@@ -135,10 +135,10 @@
  const getStatusType = status => {
    const map = {
      1: "info", // 草稿
      2: "warning", // 待支付
      3: "primary", // 待审核
      4: "success", // 已发放
      5: "danger", // 已驳回
      2: "danger", // 审核未通过
      3: "warning", // 待审核
      4: "primary", // 待发放
      5: "success", // 已发放
    };
    return map[status] || "info";
  };
@@ -146,10 +146,10 @@
  const getStatusLabel = status => {
    const map = {
      1: "草稿",
      2: "待支付",
      2: "审核未通过",
      3: "待审核",
      4: "已发放",
      5: "已驳回",
      4: "待发放",
      5: "已发放",
    };
    return map[status] || "未知";
  };