效果:
<el-table-column fixed="right" label="审核" align="center" v-if="isShowdetails">
<template slot-scope="scope">
<el-switch class="switchStyle"
v-model="scope.row.approveResult"
active-text="通过"
active-color="#13ce66"
inactive-color="#ff4949"
inactive-text="驳回"
:active-value="1"
:inactive-value="0"
@change="adoptBtn(scope.$index,examineTable,scope.row.approveResult)"></el-switch>
</template>
</el-table-col