提交 af649bee 编写于 作者: tao.wu's avatar tao.wu

Merge branch 'dev-followUp-20190312' of...

Merge branch 'dev-followUp-20190312' of 192.168.110.53:com.pica.cloud.education.frontend/pica.cloud.web-education-admin into dev-followUp-20190312
...@@ -121,6 +121,7 @@ ...@@ -121,6 +121,7 @@
labelId: nodeItem[0].labelId, labelId: nodeItem[0].labelId,
label: nodeItem[0].labelName, label: nodeItem[0].labelName,
} }
_this.selectedGroup.push(pushItem) _this.selectedGroup.push(pushItem)
}) })
}, },
...@@ -189,8 +190,7 @@ ...@@ -189,8 +190,7 @@
watch: { watch: {
planChangeData(val) { planChangeData(val) {
const _this = this const _this = this
let labelList = val.yLabelList let labelList = val.yLabelList;
console.log()
labelList.forEach(function (item, index) { labelList.forEach(function (item, index) {
let nodeItem = _this.groupList.filter(function(item1){ let nodeItem = _this.groupList.filter(function(item1){
return item1.labelId == item; return item1.labelId == item;
...@@ -198,8 +198,14 @@ ...@@ -198,8 +198,14 @@
let pushItem = { let pushItem = {
labelId: nodeItem[0].labelId, labelId: nodeItem[0].labelId,
label: nodeItem[0].labelName, label: nodeItem[0].labelName,
};
const isPush = _this.selectedGroup.filter(function(t){
return t.labelId == pushItem.labelId;
})
if(!isPush.length) {
_this.selectedGroup.push(pushItem)
} }
_this.selectedGroup.push(pushItem)
}) })
}, },
groupList(val) { groupList(val) {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:before-close="clickClose" :before-close="clickClose"
:close-on-click-modal="false" :close-on-click-modal="false"
:close-on-press-escape="false" :close-on-press-escape="false"
width="65%" width="950px"
top="2%" top="2%"
center> center>
<div class="finish-content"> <div class="finish-content">
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
ref="multipleTable" ref="multipleTable"
center center
style="width: 100%;margin-top: 20px;" style="width: 100%;margin-top: 20px;"
height="60%" height="280"
:row-key="getRowKeys" :row-key="getRowKeys"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column <el-table-column
...@@ -102,12 +102,14 @@ ...@@ -102,12 +102,14 @@
prop="showDiseaseNames" prop="showDiseaseNames"
label="基础疾病" label="基础疾病"
align="center" align="center"
width="200"
:show-overflow-tooltip="true"> :show-overflow-tooltip="true">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="showLabelName" prop="showLabelName"
label="分组" label="分组"
align="center" align="center"
width="200"
:show-overflow-tooltip="true"> :show-overflow-tooltip="true">
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -422,7 +424,17 @@ ...@@ -422,7 +424,17 @@
.el-dialog__wrapper { .el-dialog__wrapper {
overflow: hidden; overflow: hidden;
.el-dialog--center { .el-dialog--center {
height: 90%; height: 580px;
.el-table--scrollable-y,.el-table__body-wrapper {
&::-webkit-scrollbar{
width:5px;
}
&::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
border-radius: 10px;
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
background: rgba(0,0,0,0.1);
}
}
/*.el-dialog__body { /*.el-dialog__body {
max-height: 80%; max-height: 80%;
overflow: hidden; overflow: hidden;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册