fix: 修改里程碑BUG
This commit is contained in:
parent
ba533ba31e
commit
16cc7eaa1f
@ -130,8 +130,10 @@ const getProgressOption = async () => {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
progressList.value = newArray;
|
progressList.value = newArray;
|
||||||
// console.log(projectData.value, "里程碑option", newArray);
|
console.log(projectData.value, "里程碑option", newArray);
|
||||||
// progressList.value[projectData.value.constructionStage - 1].status = 1;
|
if (projectData.value.constructionStage) {
|
||||||
|
progressList.value[projectData.value.constructionStage - 1].status = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
@ -238,7 +240,7 @@ onMounted(() => {
|
|||||||
background: url("@/assets/images/comprehensiveManage/project5.png") no-repeat;
|
background: url("@/assets/images/comprehensiveManage/project5.png") no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
.stage-name {
|
.stage-name {
|
||||||
width: 80px;
|
width: 60px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user