|
@@ -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;
|