|
@@ -28,9 +28,7 @@
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<div class="status-cell">
|
|
<div class="status-cell">
|
|
|
<i :class="executionIconClass(row.assessorStatus)" :style="{ color: executionIconColor(row.assessorStatus) }"></i>
|
|
<i :class="executionIconClass(row.assessorStatus)" :style="{ color: executionIconColor(row.assessorStatus) }"></i>
|
|
|
- <el-tag :type="executionStatusType(row.assessorStatus)" size="mini">
|
|
|
|
|
- {{ executionStatusLabel(row.assessorStatus) }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
|
|
+ <StatusTag size="mini" :type="executionStatusType(row.assessorStatus)" :text="executionStatusLabel(row.assessorStatus)" />
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -41,21 +39,17 @@
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<div v-if="row.plannerId" class="status-cell">
|
|
<div v-if="row.plannerId" class="status-cell">
|
|
|
<i :class="executionIconClass(row.plannerStatus)" :style="{ color: executionIconColor(row.plannerStatus) }"></i>
|
|
<i :class="executionIconClass(row.plannerStatus)" :style="{ color: executionIconColor(row.plannerStatus) }"></i>
|
|
|
- <el-tag :type="executionStatusType(row.plannerStatus)" size="mini">
|
|
|
|
|
- {{ executionStatusLabel(row.plannerStatus) }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
|
|
+ <StatusTag size="mini" :type="executionStatusType(row.plannerStatus)" :text="executionStatusLabel(row.plannerStatus)" />
|
|
|
</div>
|
|
</div>
|
|
|
- <span v-else style="color: #999;">—</span>
|
|
|
|
|
|
|
+ <span v-else style="color: var(--adm-text-45);">—</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="用户确认" width="110">
|
|
<el-table-column label="用户确认" width="110">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<div class="status-cell">
|
|
<div class="status-cell">
|
|
|
<i :class="row.userConfirmed === 1 ? 'el-icon-circle-check' : 'el-icon-time'"
|
|
<i :class="row.userConfirmed === 1 ? 'el-icon-circle-check' : 'el-icon-time'"
|
|
|
- :style="{ color: row.userConfirmed === 1 ? '#67c23a' : '#909399' }"></i>
|
|
|
|
|
- <el-tag :type="row.userConfirmed === 1 ? 'success' : 'info'" size="mini">
|
|
|
|
|
- {{ row.userConfirmed === 1 ? '已确认' : '未确认' }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
|
|
+ :style="{ color: row.userConfirmed === 1 ? 'var(--adm-success)' : 'var(--adm-text-45)' }"></i>
|
|
|
|
|
+ <StatusTag size="mini" :type="row.userConfirmed === 1 ? 'success' : 'info'" :text="row.userConfirmed === 1 ? '已确认' : '未确认'" />
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -97,9 +91,7 @@
|
|
|
<el-descriptions-item label="评估师状态">
|
|
<el-descriptions-item label="评估师状态">
|
|
|
<div class="status-cell">
|
|
<div class="status-cell">
|
|
|
<i :class="executionIconClass(currentRecord.assessorStatus)" :style="{ color: executionIconColor(currentRecord.assessorStatus) }"></i>
|
|
<i :class="executionIconClass(currentRecord.assessorStatus)" :style="{ color: executionIconColor(currentRecord.assessorStatus) }"></i>
|
|
|
- <el-tag :type="executionStatusType(currentRecord.assessorStatus)" size="mini">
|
|
|
|
|
- {{ executionStatusLabel(currentRecord.assessorStatus) }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
|
|
+ <StatusTag size="mini" :type="executionStatusType(currentRecord.assessorStatus)" :text="executionStatusLabel(currentRecord.assessorStatus)" />
|
|
|
</div>
|
|
</div>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item label="评估师完成时间">{{ formatTime(currentRecord.assessorCompletedAt) }}</el-descriptions-item>
|
|
<el-descriptions-item label="评估师完成时间">{{ formatTime(currentRecord.assessorCompletedAt) }}</el-descriptions-item>
|
|
@@ -108,9 +100,7 @@
|
|
|
<el-descriptions-item label="规划师状态">
|
|
<el-descriptions-item label="规划师状态">
|
|
|
<div v-if="currentRecord.plannerId" class="status-cell">
|
|
<div v-if="currentRecord.plannerId" class="status-cell">
|
|
|
<i :class="executionIconClass(currentRecord.plannerStatus)" :style="{ color: executionIconColor(currentRecord.plannerStatus) }"></i>
|
|
<i :class="executionIconClass(currentRecord.plannerStatus)" :style="{ color: executionIconColor(currentRecord.plannerStatus) }"></i>
|
|
|
- <el-tag :type="executionStatusType(currentRecord.plannerStatus)" size="mini">
|
|
|
|
|
- {{ executionStatusLabel(currentRecord.plannerStatus) }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
|
|
+ <StatusTag size="mini" :type="executionStatusType(currentRecord.plannerStatus)" :text="executionStatusLabel(currentRecord.plannerStatus)" />
|
|
|
</div>
|
|
</div>
|
|
|
<span v-else>无</span>
|
|
<span v-else>无</span>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
@@ -119,10 +109,8 @@
|
|
|
<el-descriptions-item label="用户确认">
|
|
<el-descriptions-item label="用户确认">
|
|
|
<div class="status-cell">
|
|
<div class="status-cell">
|
|
|
<i :class="currentRecord.userConfirmed === 1 ? 'el-icon-circle-check' : 'el-icon-time'"
|
|
<i :class="currentRecord.userConfirmed === 1 ? 'el-icon-circle-check' : 'el-icon-time'"
|
|
|
- :style="{ color: currentRecord.userConfirmed === 1 ? '#67c23a' : '#909399' }"></i>
|
|
|
|
|
- <el-tag :type="currentRecord.userConfirmed === 1 ? 'success' : 'info'" size="mini">
|
|
|
|
|
- {{ currentRecord.userConfirmed === 1 ? '已确认' : '未确认' }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
|
|
+ :style="{ color: currentRecord.userConfirmed === 1 ? 'var(--adm-success)' : 'var(--adm-text-45)' }"></i>
|
|
|
|
|
+ <StatusTag size="mini" :type="currentRecord.userConfirmed === 1 ? 'success' : 'info'" :text="currentRecord.userConfirmed === 1 ? '已确认' : '未确认'" />
|
|
|
</div>
|
|
</div>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item label="确认时间">{{ formatTime(currentRecord.userConfirmedAt) }}</el-descriptions-item>
|
|
<el-descriptions-item label="确认时间">{{ formatTime(currentRecord.userConfirmedAt) }}</el-descriptions-item>
|
|
@@ -137,17 +125,13 @@
|
|
|
¥{{ (currentRecord.assessorSettlement.commissionAmount / 100).toFixed(2) }}
|
|
¥{{ (currentRecord.assessorSettlement.commissionAmount / 100).toFixed(2) }}
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item v-if="currentRecord.assessorSettlement" label="评估师结算状态">
|
|
<el-descriptions-item v-if="currentRecord.assessorSettlement" label="评估师结算状态">
|
|
|
- <el-tag :type="settlementStatusType(currentRecord.assessorSettlement.status)" size="mini">
|
|
|
|
|
- {{ settlementStatusLabel(currentRecord.assessorSettlement.status) }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
|
|
+ <StatusTag size="mini" :type="settlementStatusType(currentRecord.assessorSettlement.status)" :text="settlementStatusLabel(currentRecord.assessorSettlement.status)" />
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item v-if="currentRecord.plannerSettlement" label="规划师结算金额">
|
|
<el-descriptions-item v-if="currentRecord.plannerSettlement" label="规划师结算金额">
|
|
|
¥{{ (currentRecord.plannerSettlement.commissionAmount / 100).toFixed(2) }}
|
|
¥{{ (currentRecord.plannerSettlement.commissionAmount / 100).toFixed(2) }}
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item v-if="currentRecord.plannerSettlement" label="规划师结算状态">
|
|
<el-descriptions-item v-if="currentRecord.plannerSettlement" label="规划师结算状态">
|
|
|
- <el-tag :type="settlementStatusType(currentRecord.plannerSettlement.status)" size="mini">
|
|
|
|
|
- {{ settlementStatusLabel(currentRecord.plannerSettlement.status) }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
|
|
+ <StatusTag size="mini" :type="settlementStatusType(currentRecord.plannerSettlement.status)" :text="settlementStatusLabel(currentRecord.plannerSettlement.status)" />
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
</el-descriptions>
|
|
</el-descriptions>
|
|
|
</div>
|
|
</div>
|
|
@@ -282,10 +266,10 @@ export default {
|
|
|
return 'el-icon-info'
|
|
return 'el-icon-info'
|
|
|
},
|
|
},
|
|
|
executionIconColor(status) {
|
|
executionIconColor(status) {
|
|
|
- if (status === 'completed') return '#67c23a'
|
|
|
|
|
- if (status === 'pending') return '#e6a23c'
|
|
|
|
|
- if (status === 'rejected') return '#f56c6c'
|
|
|
|
|
- return '#909399'
|
|
|
|
|
|
|
+ if (status === 'completed') return 'var(--adm-success)'
|
|
|
|
|
+ if (status === 'pending') return 'var(--adm-warning)'
|
|
|
|
|
+ if (status === 'rejected') return 'var(--adm-error)'
|
|
|
|
|
+ return 'var(--adm-text-45)'
|
|
|
},
|
|
},
|
|
|
settlementStatusType(status) {
|
|
settlementStatusType(status) {
|
|
|
if (status === 'settled') return 'success'
|
|
if (status === 'settled') return 'success'
|
|
@@ -307,26 +291,6 @@ export default {
|
|
|
.admin-page {
|
|
.admin-page {
|
|
|
padding: 20px;
|
|
padding: 20px;
|
|
|
}
|
|
}
|
|
|
-.sort-header {
|
|
|
|
|
- cursor: pointer;
|
|
|
|
|
- user-select: none;
|
|
|
|
|
- font-weight: 500;
|
|
|
|
|
- font-size: 12px;
|
|
|
|
|
-}
|
|
|
|
|
-.sort-header:hover {
|
|
|
|
|
- color: #409eff;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-.admin-page-header {
|
|
|
|
|
- display: flex;
|
|
|
|
|
- justify-content: space-between;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-.admin-page-title {
|
|
|
|
|
- font-size: 18px;
|
|
|
|
|
- font-weight: bold;
|
|
|
|
|
-}
|
|
|
|
|
|
|
|
|
|
.filter-bar {
|
|
.filter-bar {
|
|
|
display: flex;
|
|
display: flex;
|
|
@@ -347,19 +311,4 @@ export default {
|
|
|
margin-top: 20px;
|
|
margin-top: 20px;
|
|
|
text-align: right;
|
|
text-align: right;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-.sort-header {
|
|
|
|
|
- cursor: pointer;
|
|
|
|
|
- user-select: none;
|
|
|
|
|
- font-weight: 500;
|
|
|
|
|
- font-size: 12px;
|
|
|
|
|
-}
|
|
|
|
|
-.sort-header:hover {
|
|
|
|
|
- color: #409eff;
|
|
|
|
|
-}
|
|
|
|
|
-.sort-tag {
|
|
|
|
|
- margin-left: 8px;
|
|
|
|
|
- cursor: pointer;
|
|
|
|
|
- white-space: nowrap;
|
|
|
|
|
-}
|
|
|
|
|
</style>
|
|
</style>
|