<el-select
v-model="transfer.nFirstInstitution"
placeholder="请选择新一级机构"
clearable
:style="{ width: '100%' }"
@change="changFirstInstitution"
>
<el-option
v-for="item in nFirstInstitution"
:key="item.firstInstitution"
:label="item.firstInstitution"
:value="item" // 这里写item,可以获取对象,
//也可以写item.firstInstitutionId,可以获取具体的值
>
</el-option>
</el-select>
//一级机构改变
changFirstInstitution(value){
console.log(value);
},