审核人数

master
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">
@ -51,6 +52,17 @@
<div v-else style="cursor: pointer;text-decoration:underline" @click="toApply(scope.row,'')">0</div>
</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">
@ -71,18 +83,52 @@
<div v-else style="cursor: pointer;text-decoration:underline" @click="toApply(scope.row,2)">0</div>
</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}}
</template>
<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_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>
</template>
</el-table-column>
<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: '开课日期',
@ -139,6 +186,12 @@
label: '目前报名人数',
align: 'center',
width: 120
},
{
prop: 'sign_wait_total',
label: '待审核人数',
align: 'center',
width: 120
},
{
prop: 'sign_pass_total',
@ -151,12 +204,30 @@
label: '审核不通过人数',
align: 'center',
width: 120
},
{
prop: 'sign_wait_total',
label: '待审核人数',
align: 'center',
width: 120
},
{
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