专家审核城市领域回显处理

This commit is contained in:
熊丽君
2022-01-20 10:53:46 +08:00
parent 8be58b403d
commit a92bb310a7
4 changed files with 42 additions and 6 deletions

View File

@ -78,7 +78,6 @@ export default {
return;
}
expertDetail({ id }).then((res) => {
console.log(res);
this.form = res.data;
});
},

View File

@ -51,7 +51,17 @@
<el-table v-loading="loading" :data="userList">
<el-table-column label="数据编号" align="center" width="150" prop="id" />
<el-table-column label="专家姓名" align="center" prop="name" />
<el-table-column label="研究领域" align="center" prop="industry" />
<el-table-column
label="研究领域"
align="center"
prop="industrys"
show-overflow-tooltip
>
<template slot-scope="scope">
<div>{{ scope.row.industrys[0] }}</div>
<!-- <div v-for="item in scope.row.industrys" :key="item">{{ item }}</div> -->
</template>
</el-table-column>
<el-table-column
label="所属科研机构"
align="center"