27571fa6 by 任超

style:样式修改

1 parent d722d892
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
4 --> 4 -->
5 <template> 5 <template>
6 <div class='batchDel'> 6 <div class='batchDel'>
7 <lb-table :column="columns" :data="formData.dataList" :heightNum="500" :pagination="false" @selection-change="handleSelectionChange"> 7 <lb-table :column="columns" :data="formData.dataList" :maxHeight="460" :heightNumSetting="true" :pagination="false"
8 @selection-change="handleSelectionChange">
8 </lb-table> 9 </lb-table>
9 </div> 10 </div>
10 </template> 11 </template>
...@@ -43,15 +44,15 @@ export default { ...@@ -43,15 +44,15 @@ export default {
43 selectBdcdy: [], 44 selectBdcdy: [],
44 } 45 }
45 }, 46 },
46 methods:{ 47 methods: {
47 childFn(){ 48 childFn () {
48 deleteBdcdy({ 49 deleteBdcdy({
49 bsmSlsq: this.formData.bsmSlsq, 50 bsmSlsq: this.formData.bsmSlsq,
50 bsmSldyList: this.selectBdcdy 51 bsmSldyList: this.selectBdcdy
51 }).then(res => { 52 }).then(res => {
52 if(res.code == 200){ 53 if (res.code == 200) {
53 this.$message.success("删除成功"); 54 this.$message.success("删除成功");
54 }else{ 55 } else {
55 this.$message.error(res.message) 56 this.$message.error(res.message)
56 } 57 }
57 }) 58 })
......
...@@ -60,9 +60,12 @@ ...@@ -60,9 +60,12 @@
60 font-size: 14px; 60 font-size: 14px;
61 line-height: 20px; 61 line-height: 20px;
62 cursor: pointer; 62 cursor: pointer;
63
64 div {
63 display: flex; 65 display: flex;
64 flex-direction: column; 66 flex-direction: column;
65 } 67 }
68 }
66 69
67 li:hover { 70 li:hover {
68 color: #0f93f6; 71 color: #0f93f6;
......
...@@ -145,10 +145,10 @@ export default { ...@@ -145,10 +145,10 @@ export default {
145 bsmSlsq: this.bsmSlsq, 145 bsmSlsq: this.bsmSlsq,
146 bsmSldyList: item.bsmSldy.split(',') 146 bsmSldyList: item.bsmSldy.split(',')
147 }).then(res => { 147 }).then(res => {
148 if(res.code == 200){ 148 if (res.code == 200) {
149 this.$message.success("删除成功"); 149 this.$message.success("删除成功");
150 this.updateDialog(); 150 this.updateDialog();
151 }else{ 151 } else {
152 this.$message.error(res.message) 152 this.$message.error(res.message)
153 } 153 }
154 }) 154 })
...@@ -166,6 +166,7 @@ export default { ...@@ -166,6 +166,7 @@ export default {
166 width: '50%', 166 width: '50%',
167 btnShow: true, 167 btnShow: true,
168 editItem: 'workflow/components/batchDel', 168 editItem: 'workflow/components/batchDel',
169 height: '500px',
169 formData: { 170 formData: {
170 bsmSlsq: this.bsmSlsq, 171 bsmSlsq: this.bsmSlsq,
171 dataList: this.unitData 172 dataList: this.unitData
......