bug修复
This commit is contained in:
parent
05eb75875f
commit
4ee8015842
|
|
@ -241,7 +241,7 @@ const successUpload = (response: any, file: any) => {
|
||||||
} else {
|
} else {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
message: response.data,
|
message: response.msg,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="screen-container">
|
<div class="screen-container">
|
||||||
<div class="screen-title">安徽机械化装备共享平台</div>
|
<div class="screen-title">安徽机械化装备共享平台</div>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<img class="header-img" src="@/assets/img/screen/返回.png" alt="" @click="back">
|
<img class="header-img" src="@/assets/img/screen/返回.png" alt="" @click="back" />
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="title">{{ title }}</div>
|
<div class="title">{{ title }}</div>
|
||||||
|
|
@ -15,10 +15,10 @@
|
||||||
>
|
>
|
||||||
<span v-if="currentType == 8">利用率: {{ rateToTal }}%</span>
|
<span v-if="currentType == 8">利用率: {{ rateToTal }}%</span>
|
||||||
<span v-if="currentType == 12" style="margin-right: 20px"
|
<span v-if="currentType == 12" style="margin-right: 20px"
|
||||||
>需求发布总数: {{ publishCount }} 天</span
|
>需求发布总数: {{ publishCount }} 条</span
|
||||||
>
|
>
|
||||||
<span v-if="currentType == 12" style="margin-right: 20px"
|
<span v-if="currentType == 12" style="margin-right: 20px"
|
||||||
>结单需求总数: {{ orderCount }} 天</span
|
>结单需求总数: {{ orderCount }} 条</span
|
||||||
>
|
>
|
||||||
<span v-if="currentType == 12">应答率: {{ answerRate }}%</span>
|
<span v-if="currentType == 12">应答率: {{ answerRate }}%</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -40,12 +40,16 @@
|
||||||
>
|
>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span v-if="item.prop === 'upTotal'">{{ row.upTotal || 0 }} 天</span>
|
<span v-if="item.prop === 'upTotal'">{{ row.upTotal || 0 }} 天</span>
|
||||||
<span v-else-if="item.prop === 'leaseTotal'">{{ row.leaseTotal || 0 }} 天</span>
|
<span v-else-if="item.prop === 'leaseTotal'"
|
||||||
|
>{{ row.leaseTotal || 0 }} 天</span
|
||||||
|
>
|
||||||
<span v-else-if="item.prop === 'rate'">{{ row.rate || 0 }}%</span>
|
<span v-else-if="item.prop === 'rate'">{{ row.rate || 0 }}%</span>
|
||||||
<span v-else-if="item.prop === 'estimateDays'"
|
<span v-else-if="item.prop === 'estimateDays'"
|
||||||
>{{ row.estimateDays || 0 }} 天</span
|
>{{ row.estimateDays || 0 }} 天</span
|
||||||
>
|
>
|
||||||
<span v-else-if="item.prop === 'answerRate'">{{ row.answerRate || 0 }}%</span>
|
<span v-else-if="item.prop === 'answerRate'"
|
||||||
|
>{{ row.answerRate || 0 }}%</span
|
||||||
|
>
|
||||||
<span v-else>{{ row[item.prop] }}</span>
|
<span v-else>{{ row[item.prop] }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
@ -275,21 +279,20 @@ onMounted(() => {
|
||||||
color: white;
|
color: white;
|
||||||
background-color: transparent; /* 避免被其他背景色覆盖 */
|
background-color: transparent; /* 避免被其他背景色覆盖 */
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-table tr {
|
::v-deep .el-table tr {
|
||||||
color: #eee;
|
color: #eee;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background: url('@/assets/img/screen/table-2.png') no-repeat;
|
background: url('@/assets/img/screen/table-2.png') no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep .el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
|
:deep .el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
|
||||||
background-color: #39816B;
|
background-color: #39816b;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
::v-deep .el-input__wrapper {
|
::v-deep .el-input__wrapper {
|
||||||
background-color: #61B2A6;
|
background-color: #61b2a6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue