ezhizao_zx 1 سال پیش
والد
کامیت
090f3e3c39
1فایلهای تغییر یافته به همراه10 افزوده شده و 9 حذف شده
  1. 10 9
      src/views/business/production/salary/index.vue

+ 10 - 9
src/views/business/production/salary/index.vue

@@ -481,17 +481,18 @@ function monthStatusStyle(row, month) {
       verticalAlign: "middle",
       width: "14px",
       height: "14px",
-    }
+    };
   }
+}
 
-  function getStatusColor(status) {
-    const index = selectStatus.value.findIndex((v) => v.value === status);
-    return index >= 0 ? selectStatus.value[index].color : "#fff";
-  }
+function getStatusColor(status) {
+  const index = selectStatus.value.findIndex((v) => v.value === status);
+  return index >= 0 ? selectStatus.value[index].color : "#fff";
+}
 
-  function clearStatus() {
-    queryParams.value.status = null;
-  }
+function clearStatus() {
+  queryParams.value.status = null;
+}
 
-  getList();
+getList();
 </script>