提交 4fdf6f5f 编写于 作者: hujun's avatar hujun

Merge branch 'dev-patients-20190513' into 'release-0612'

Dev patients 20190513



See merge request !38
......@@ -40,7 +40,7 @@
min-width="120">
</el-table-column>
<el-table-column
prop="labelId"
prop="showLabelName2"
label="分组"
align="center"
min-width="200">
......@@ -85,6 +85,20 @@
hasSelectedList: Array, // 所有已选人数
},
mounted() {
if(this.hasSelectedList.length){
this.hasSelectedList.forEach((item) => {
let groupNames = []
//转化分组
if(item.labelModels) {
item.labelModels.forEach(item => {
groupNames.push(item.label)
});
item.showLabelName2 = groupNames.join('、');
} else {
item.showLabelName2 = '-';
}
});
}
this.eachHasSelectedList = this.getPageList(this.hasSelectedList)
const totalLength = this.hasSelectedList.length
this.paginationSet.total = totalLength
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册