27571fa6 by 任超

style:样式修改

1 parent d722d892
......@@ -4,7 +4,8 @@
-->
<template>
<div class='batchDel'>
<lb-table :column="columns" :data="formData.dataList" :heightNum="500" :pagination="false" @selection-change="handleSelectionChange">
<lb-table :column="columns" :data="formData.dataList" :maxHeight="460" :heightNumSetting="true" :pagination="false"
@selection-change="handleSelectionChange">
</lb-table>
</div>
</template>
......@@ -43,15 +44,15 @@ export default {
selectBdcdy: [],
}
},
methods:{
childFn(){
methods: {
childFn () {
deleteBdcdy({
bsmSlsq: this.formData.bsmSlsq,
bsmSldyList: this.selectBdcdy
}).then(res => {
if(res.code == 200){
if (res.code == 200) {
this.$message.success("删除成功");
}else{
} else {
this.$message.error(res.message)
}
})
......@@ -60,7 +61,7 @@ export default {
this.selectBdcdy = [];
e.forEach((item, index) => {
this.selectBdcdy.push(item.bsmSldy)
})
})
}
}
}
......
......@@ -60,8 +60,11 @@
font-size: 14px;
line-height: 20px;
cursor: pointer;
display: flex;
flex-direction: column;
div {
display: flex;
flex-direction: column;
}
}
li:hover {
......
......@@ -145,10 +145,10 @@ export default {
bsmSlsq: this.bsmSlsq,
bsmSldyList: item.bsmSldy.split(',')
}).then(res => {
if(res.code == 200){
if (res.code == 200) {
this.$message.success("删除成功");
this.updateDialog();
}else{
} else {
this.$message.error(res.message)
}
})
......@@ -166,12 +166,13 @@ export default {
width: '50%',
btnShow: true,
editItem: 'workflow/components/batchDel',
height: '500px',
formData: {
bsmSlsq: this.bsmSlsq,
dataList: this.unitData
},
cancel: function () { }, //取消事件的回调
confirm: function () {
confirm: function () {
that.updateDialog();
}, //确认事件的回调
})
......