瀏覽代碼

fix:手动控制的审批数据问题

chenzhen2 2 年之前
父節點
當前提交
b2c64117e7
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7 7
      src/views/envmonitor/components/ManualWork/index.vue

+ 7 - 7
src/views/envmonitor/components/ManualWork/index.vue

@@ -1012,8 +1012,6 @@ export default defineComponent({
           for (let i = 0; i < spaceCustomContentList.length; i++) {
             let item: any = spaceCustomContentList[i];
             //  加班数据
-            console.log("加班审批数据数据--", item);
-            console.log(item);
             let obj: any = {
               left: 0,
               bg: "",
@@ -1030,10 +1028,11 @@ export default defineComponent({
             } else if (item.approvalStatus == 2) {
               obj.text = "已拒绝";
               obj.bg = "rgba(255, 54, 54, 0.6)";
-            } else if (item.approvalStatus == 3) {
-              obj.text = "已失效";
-              obj.bg = "rgba(255, 54, 54, 0.6)";
-            }
+            } 
+            // else if (item.approvalStatus == 3) {
+            //   obj.text = "已失效";
+            //   obj.bg = "rgba(255, 54, 54, 0.6)";
+            // }
             if (obj.text) {
               let startTime: any = proxyData.parseCusStartTime(item.startTime);
               let endTime: any = proxyData.parseCusStartTime(item.endTime);
@@ -1702,7 +1701,8 @@ export default defineComponent({
       line-height: 30px;
       border-radius: 10px;
       font-size: 12px;
-      transform: scale(0.7) translateX(-78%);
+      transform: scale(0.7) translateX(-70%);
+      -webkit-transform:scale(0.7) translateX(-70%);
       // translateX(-50%)
       font-weight: 500;
       text-align: center;