ezhizao_zx 1 жил өмнө
parent
commit
4aada02833

+ 12 - 12
src/views/business/socialSecurity/confirm/index.vue

@@ -449,20 +449,20 @@ function nextYear() {
 function monthStatusStyle(row, month) {
   const index = row.details.findIndex((v) => v.month === month);
   if (index >= 0) {
-    pageSize: 20
-    backgroundColor: getStatusColor(row.details[index].status),
+    return {
+      backgroundColor: getStatusColor(row.details[index].status),
       verticalAlign: "middle",
-        width: "14px",
-          height: "14px",
+      width: "14px",
+      height: "14px",
     };
-} else {
-  return {
-    backgroundColor: getStatusColor(0),
-    verticalAlign: "middle",
-    width: "14px",
-    height: "14px",
-  };
-}
+  } else {
+    return {
+      backgroundColor: getStatusColor(0),
+      verticalAlign: "middle",
+      width: "14px",
+      height: "14px",
+    };
+  }
 }
 
 function getStatusColor(status) {

+ 1 - 1
src/views/business/socialSecurity/declare/index.vue

@@ -454,7 +454,7 @@ function currentMonthChange(arg) {
   handleQuery();
 }
 
-funcpageSize: 20atus() {
+function clearStatus() {
   queryParams.value.status = null;
 }