|
@@ -10,7 +10,7 @@
|
|
|
<div class="project-statistics-card-title">已完成任务数</div>
|
|
|
<div class="project-statistics-card-number">{{ statisticData.finishedTaskCount || 0 }}</div>
|
|
|
</el-card>
|
|
|
- <el-card shadow="hover" v-if="showCreateData" class="project-statistics-card">
|
|
|
+ <el-card shadow="hover" class="project-statistics-card">
|
|
|
<div class="project-statistics-card-title">我的项目数</div>
|
|
|
<div class="project-statistics-card-number">{{ statisticData.myProjectCount || 0 }}</div>
|
|
|
</el-card>
|
|
@@ -27,9 +27,9 @@
|
|
|
<el-tabs value="myProject" @tab-click="handleTabClick" v-loading="loading" style="width: 90%;margin-left: 5%">
|
|
|
<el-tab-pane name="unFinishedTask">
|
|
|
<span slot="label">
|
|
|
- <el-badge v-if="unfinishedTaskNoticeCount>0" :value="unfinishedTaskNoticeCount" class="item"
|
|
|
+ <el-badge v-if="unfinishedTaskNoticeCount>0 && showAcceptData" :value="unfinishedTaskNoticeCount" class="item"
|
|
|
style="height:auto; margin-top: 10px;margin-bottom: 25px; font-size: 16px;">未完成任务</el-badge>
|
|
|
- <el-badge v-if="unfinishedTaskNoticeCount==null || unfinishedTaskNoticeCount == 0" class="item"
|
|
|
+ <el-badge v-if="(unfinishedTaskNoticeCount==null || unfinishedTaskNoticeCount == 0) && showAcceptData" class="item"
|
|
|
style="margin-top: 10px;margin-bottom: 25px; font-size: 16px;">未完成任务</el-badge>
|
|
|
</span>
|
|
|
<el-row v-if="unFinishedTaskList != null && unFinishedTaskList.length != 0" type="flex" align="middle"
|
|
@@ -49,7 +49,7 @@
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane name="finishedTask">
|
|
|
<span slot="label">
|
|
|
- <el-badge class="item" style="margin-top: 10px;margin-bottom: 25px; font-size: 16px;">已完成任务</el-badge>
|
|
|
+ <el-badge v-if="showAcceptData" class="item" style="margin-top: 10px;margin-bottom: 25px; font-size: 16px;">已完成任务</el-badge>
|
|
|
</span>
|
|
|
<el-row v-if="finishedTaskList != null && finishedTaskList.length != 0" type="flex" align="middle"
|
|
|
justify="center" style="font-size: 14px;">
|
|
@@ -90,9 +90,9 @@
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane name="handlingProject">
|
|
|
<span slot="label">
|
|
|
- <el-badge v-if="processProjectNoticeCount>0" :value="processProjectNoticeCount" class="item"
|
|
|
+ <el-badge v-if="processProjectNoticeCount>0 && showCreateData" :value="processProjectNoticeCount" class="item"
|
|
|
style="margin-top: 10px;margin-bottom: 25px; font-size: 16px;">处理中项目</el-badge>
|
|
|
- <el-badge v-if="processProjectNoticeCount==null || processProjectNoticeCount==0" class="item"
|
|
|
+ <el-badge v-if="(processProjectNoticeCount==null || processProjectNoticeCount==0) && showCreateData" class="item"
|
|
|
style="margin-top: 10px;margin-bottom: 25px; font-size: 16px;">处理中项目</el-badge>
|
|
|
</span>
|
|
|
<el-row v-if="handlingProjects != null && handlingProjects.length != 0" type="flex" align="middle"
|
|
@@ -111,9 +111,9 @@
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane name="acceptableProject">
|
|
|
<span slot="label">
|
|
|
- <el-badge v-if="acceptableProjectNoticeCount>0" :value="acceptableProjectNoticeCount" class="item"
|
|
|
+ <el-badge v-if="acceptableProjectNoticeCount>0 && showCreateData" :value="acceptableProjectNoticeCount" class="item"
|
|
|
style="margin-top: 10px;margin-bottom: 25px; font-size: 16px;">可接收项目</el-badge>
|
|
|
- <el-badge v-if="acceptableProjectNoticeCount==null || acceptableProjectNoticeCount==0" class="item"
|
|
|
+ <el-badge v-if="(acceptableProjectNoticeCount==null || acceptableProjectNoticeCount==0) && showCreateData" class="item"
|
|
|
style="margin-top: 10px;margin-bottom: 25px; font-size: 16px;">可接收项目</el-badge>
|
|
|
</span>
|
|
|
<el-row v-if="acceptableProjects != null && acceptableProjects.length != 0" type="flex" align="middle"
|