审核人数

dev
lion 1 year ago
parent cc47064ec0
commit 1d826f7934

@ -31,7 +31,8 @@
</div>
<div>
<xy-table :list="list" :total="total" @pageIndexChange="pageIndexChange" @pageSizeChange="pageSizeChange" :table-item="table_item">
<xy-table :list="list" :total="total" :showIndexFixed="'left'"
@pageIndexChange="pageIndexChange" @pageSizeChange="pageSizeChange" :table-item="table_item">
<template v-slot:dateRange>
<el-table-column align='center' label="开课日期" width="200" header-align="center">
<template slot-scope="scope">
@ -52,6 +53,17 @@
</template>
</el-table-column>
</template>
<template v-slot:sign_wait_total>
<el-table-column align='center' label="待审核人数" width="120" header-align="center">
<template slot-scope="scope">
<div v-if="scope.row.sign_wait_total && scope.row.sign_wait_total>0" style="cursor: pointer;color:blue;text-decoration:underline"
@click="toApply(scope.row,0)">
{{scope.row.sign_wait_total}}
</div>
<div v-else style="cursor: pointer;text-decoration:underline" @click="toApply(scope.row,0)">0</div>
</template>
</el-table-column>
</template>
<template v-slot:sign_pass_total>
<el-table-column align='center' label="审核通过人数" width="120" header-align="center">
<template slot-scope="scope">
@ -72,17 +84,51 @@
</template>
</el-table-column>
</template>
<template v-slot:sign_wait_total>
<el-table-column align='center' label="待审核人数" width="120" header-align="center">
<template v-slot:sign_prepare_total>
<el-table-column align='center' label="备选人数" width="120" header-align="center">
<template slot-scope="scope">
<div v-if="scope.row.sign_wait_total && scope.row.sign_wait_total>0" style="cursor: pointer;color:blue;text-decoration:underline"
@click="toApply(scope.row,0)">
{{scope.row.sign_wait_total}}
<div v-if="scope.row.sign_prepare_total && scope.row.sign_prepare_total>0" style="cursor: pointer;color:blue;text-decoration:underline"
@click="toApply(scope.row,3)">
{{scope.row.sign_prepare_total}}
</div>
<div v-else style="cursor: pointer;text-decoration:underline" @click="toApply(scope.row,0)">0</div>
<div v-else style="cursor: pointer;text-decoration:underline" @click="toApply(scope.row,3)">0</div>
</template>
</el-table-column>
</template>
<template v-slot:sign_cancel_total>
<el-table-column align='center' label="已取消人数" width="120" header-align="center">
<template slot-scope="scope">
<div v-if="scope.row.sign_cancel_total && scope.row.sign_cancel_total>0" style="cursor: pointer;color:blue;text-decoration:underline"
@click="toApply(scope.row,4)">
{{scope.row.sign_cancel_total}}
</div>
<div v-else style="cursor: pointer;text-decoration:underline" @click="toApply(scope.row,4)">0</div>
</template>
</el-table-column>
</template>
<template v-slot:sign_give_up_total>
<el-table-column align='center' label="主动放弃人数" width="120" header-align="center">
<template slot-scope="scope">
<div v-if="scope.row.sign_give_up_total && scope.row.sign_give_up_total>0" style="cursor: pointer;color:blue;text-decoration:underline"
@click="toApply(scope.row,5)">
{{scope.row.sign_give_up_total}}
</div>
<div v-else style="cursor: pointer;text-decoration:underline" @click="toApply(scope.row,5)">0</div>
</template>
</el-table-column>
</template>
<template v-slot:sign_black_total>
<el-table-column align='center' label="黑名单人数" width="120" header-align="center">
<template slot-scope="scope">
<div v-if="scope.row.sign_black_total && scope.row.sign_black_total>0" style="cursor: pointer;color:blue;text-decoration:underline"
@click="toApply(scope.row,6)">
{{scope.row.sign_black_total}}
</div>
<div v-else style="cursor: pointer;text-decoration:underline" @click="toApply(scope.row,6)">0</div>
</template>
</el-table-column>
</template>
<template v-slot:btns>
<div></div>
</template>
@ -118,7 +164,8 @@
table_item: [{
prop: 'name',
label: '课程名称',
align: 'left'
align: 'left',
fixed:'left'
}, {
prop: 'dateRange',
label: '开课日期',
@ -140,6 +187,12 @@
align: 'center',
width: 120
},
{
prop: 'sign_wait_total',
label: '待审核人数',
align: 'center',
width: 120
},
{
prop: 'sign_pass_total',
label: '审核通过人数',
@ -153,8 +206,26 @@
width: 120
},
{
prop: 'sign_wait_total',
label: '待审核人数',
prop: 'sign_prepare_total',
label: '备选人数',
align: 'center',
width: 120
},
{
prop: 'sign_cancel_total',
label: '已取消人数',
align: 'center',
width: 120
},
{
prop: 'sign_give_up_total',
label: '主动放弃人数',
align: 'center',
width: 120
},
{
prop: 'sign_black_total',
label: '黑名单人数',
align: 'center',
width: 120
}]

Loading…
Cancel
Save