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,7 +61,7 @@ export default { ...@@ -60,7 +61,7 @@ export default {
60 this.selectBdcdy = []; 61 this.selectBdcdy = [];
61 e.forEach((item, index) => { 62 e.forEach((item, index) => {
62 this.selectBdcdy.push(item.bsmSldy) 63 this.selectBdcdy.push(item.bsmSldy)
63 }) 64 })
64 } 65 }
65 } 66 }
66 } 67 }
......
...@@ -60,8 +60,11 @@ ...@@ -60,8 +60,11 @@
60 font-size: 14px; 60 font-size: 14px;
61 line-height: 20px; 61 line-height: 20px;
62 cursor: pointer; 62 cursor: pointer;
63 display: flex; 63
64 flex-direction: column; 64 div {
65 display: flex;
66 flex-direction: column;
67 }
65 } 68 }
66 69
67 li:hover { 70 li:hover {
......
...@@ -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,12 +166,13 @@ export default { ...@@ -166,12 +166,13 @@ 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
172 }, 173 },
173 cancel: function () { }, //取消事件的回调 174 cancel: function () { }, //取消事件的回调
174 confirm: function () { 175 confirm: function () {
175 that.updateDialog(); 176 that.updateDialog();
176 }, //确认事件的回调 177 }, //确认事件的回调
177 }) 178 })
......