mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-14 21:36:47 +08:00
-- bug
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<button class="searchBtn" @click="resetClick">重置</button>
|
<button class="searchBtn" @click="resetClick">重置</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="projectList" v-if="projectList.length==0" style="display:flex;color:#909399;">
|
<div class="projectList" v-if="!projectList.length" style="display:flex;color:#909399;">
|
||||||
<img
|
<img
|
||||||
class="img2"
|
class="img2"
|
||||||
style="margin-left: 675px;margin-top: 165px;width:148px;height:220px;"
|
style="margin-left: 675px;margin-top: 165px;width:148px;height:220px;"
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
<div class="progressNow">当前进度:</div>
|
<div class="progressNow">当前进度:</div>
|
||||||
<div style="width: 115px">
|
<div style="width: 115px">
|
||||||
<el-progress
|
<el-progress
|
||||||
:percentage="parseInt(i.finishTaskNum / i.totalTaskNum) * 100"
|
:percentage="parseInt(i.finishTaskNum / i.totalTaskNum * 100) "
|
||||||
:show-text="false"
|
:show-text="false"
|
||||||
:stroke-width="8"
|
:stroke-width="8"
|
||||||
color="rgba(255, 160, 80, 1)"
|
color="rgba(255, 160, 80, 1)"
|
||||||
@@ -78,9 +78,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="progressNum">
|
<div class="progressNum">
|
||||||
{{
|
{{
|
||||||
i.finishTaskNum && i.totalTaskNum
|
(i.finishTaskNum && i.totalTaskNum) ? parseInt(i.finishTaskNum / i.totalTaskNum * 100) : 0
|
||||||
? parseInt(i.finishTaskNum / i.totalTaskNum) * 100
|
|
||||||
: 0
|
|
||||||
}}%
|
}}%
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -215,7 +213,7 @@ const goProjectDetails = (value) => {
|
|||||||
})
|
})
|
||||||
: window.open(
|
: window.open(
|
||||||
`${import.meta.env.VITE_BOE_PATH_DETAIL_URL}/projectdetails¶ms=${encodeURIComponent(
|
`${import.meta.env.VITE_BOE_PATH_DETAIL_URL}/projectdetails¶ms=${encodeURIComponent(
|
||||||
`projectId=${routerId}`
|
`projectId=${value.projectId}`
|
||||||
)}`
|
)}`
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user