gongchunyi
2026-05-23 5d297147d74625507b736e7df707eece45cf218b
src/views/qualityManagement/processInspection/index.vue
@@ -156,14 +156,17 @@
      if (params == null || params === '') return 'info';
      const n = Number(params);
      if (Number.isNaN(n)) return 'info';
      if (n >= 100) return 'success';
      if (n >= 90) return 'warning';
      if (n === 100) return 'success';
      if (n >= 75) return 'primary';
      if (n >= 50) return 'warning';
      if (n >= 25) return 'danger';
      return 'danger';
    },
  },
   {
      label: "提交状态",
      prop: "inspectState",
      dataType: "tag",
      formatData: (params) => {
         if (params) {
            return "已提交";
@@ -171,6 +174,13 @@
            return "未提交";
         }
      },
      formatType: (params) => {
         if (params) {
            return "success";
         } else {
            return "info";
         }
      },
   },
  {
    dataType: "action",