<el-table-column label width="80" align="center">
<template slot-scope="scope">
<div v-if="scope.row.ifRegister" />
<el-radio v-else v-model="radioId" :label="scope.row.orgName" @change.native="getRadioRow(scope.$index,scope.row)">{{ '' }}</el-radio>
</template>
</el-table-column>
getRadioRow(index, row) {
this.radioId = row.orgName
this.applyOrgId = row.orgId
},
el-table实现单选操作
最新推荐文章于 2024-08-06 10:11:58 发布