Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
4 changed files
with
18 additions
and
8 deletions
... | @@ -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 | }) | ... | ... |
... | @@ -44,6 +44,8 @@ | ... | @@ -44,6 +44,8 @@ |
44 | 44 | ||
45 | ul { | 45 | ul { |
46 | position: relative; | 46 | position: relative; |
47 | height: calc(100vh - 120px); | ||
48 | overflow-y: scroll; | ||
47 | 49 | ||
48 | .xian { | 50 | .xian { |
49 | background: #f2f2f2; | 51 | background: #f2f2f2; |
... | @@ -60,9 +62,12 @@ | ... | @@ -60,9 +62,12 @@ |
60 | font-size: 14px; | 62 | font-size: 14px; |
61 | line-height: 20px; | 63 | line-height: 20px; |
62 | cursor: pointer; | 64 | cursor: pointer; |
65 | |||
66 | div { | ||
63 | display: flex; | 67 | display: flex; |
64 | flex-direction: column; | 68 | flex-direction: column; |
65 | } | 69 | } |
70 | } | ||
66 | 71 | ||
67 | li:hover { | 72 | li:hover { |
68 | color: #0f93f6; | 73 | color: #0f93f6; |
... | @@ -73,6 +78,7 @@ | ... | @@ -73,6 +78,7 @@ |
73 | 78 | ||
74 | .animation-map-drawer { | 79 | .animation-map-drawer { |
75 | width: 260px; | 80 | width: 260px; |
81 | height: calc(100% - 80px); | ||
76 | } | 82 | } |
77 | 83 | ||
78 | /deep/.el-menu-item { | 84 | /deep/.el-menu-item { | ... | ... |
... | @@ -145,9 +145,9 @@ export default { | ... | @@ -145,9 +145,9 @@ 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.loadBdcdylist(); |
151 | }else{ | 151 | }else{ |
152 | this.$message.error(res.message) | 152 | this.$message.error(res.message) |
153 | } | 153 | } |
... | @@ -166,13 +166,14 @@ export default { | ... | @@ -166,13 +166,14 @@ 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: '600px', | ||
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.loadBdcdylist(); |
176 | }, //确认事件的回调 | 177 | }, //确认事件的回调 |
177 | }) | 178 | }) |
178 | }, | 179 | }, | ... | ... |
... | @@ -25,8 +25,10 @@ | ... | @@ -25,8 +25,10 @@ |
25 | <div class="title">申请单元列表({{ unitData.length }})</div> | 25 | <div class="title">申请单元列表({{ unitData.length }})</div> |
26 | <el-menu :default-active="activeIndex" @select="unitClick"> | 26 | <el-menu :default-active="activeIndex" @select="unitClick"> |
27 | <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index"> | 27 | <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index"> |
28 | <div> | ||
28 | <p>{{ item.bdcdyh }}</p> | 29 | <p>{{ item.bdcdyh }}</p> |
29 | <p class="title-detail">{{ item.zl }}</p> | 30 | <p class="title-detail">{{ item.zl }}</p> |
31 | </div> | ||
30 | </el-menu-item> | 32 | </el-menu-item> |
31 | </el-menu> | 33 | </el-menu> |
32 | </div> | 34 | </div> | ... | ... |
-
Please register or sign in to post a comment