<el-form-item label="变更撤销原因" prop="changreason">
<el-checkbox-group v-model="ruleForm.changreason" style="width: 100%;">
<el-checkbox v-for="item in lightchange2Data" :label="item.code" :key="item.code">{{item.name}}</el-checkbox>
</el-checkbox-group>
</el-form-item>
1111111111111111111111111111111
this.dialogVisible = true
this.ruleForm.id = row.id
biaGvxuanrisang({ 'id': row.id }).then(res => {
this.ruleForm = res
let strTmp = res.changreason.toString()
this.ruleForm.changreason = []
strTmp.split(',').forEach((elem, index) => {
this.ruleForm.changreason.push(elem)
})
})