<el-table-column
prop="state"
header-align="center"
align="center"
label="打印状态"
show-overflow-tooltip>
<template slot-scope="scope">
<span v-show="scope.row.state==0">等待</span>
<span v-show="scope.row.state==1">打印失败</span>
<span v-show="scope.row.state==2">打印完成</span>
</template>
</el-table-column>