流程图样式处理
Showing
1 changed file
with
11 additions
and
4 deletions
... | @@ -46,12 +46,11 @@ | ... | @@ -46,12 +46,11 @@ |
46 | </div> | 46 | </div> |
47 | <!-- 已完成节点悬浮弹窗 --> | 47 | <!-- 已完成节点悬浮弹窗 --> |
48 | <div class="information-list"> | 48 | <div class="information-list"> |
49 | <!-- <p>{{ dlgTitle ? dlgTitle : '浏览记录' }}</p> --> | ||
50 | <el-select v-model="selectValue" @change="handleSelect"> | 49 | <el-select v-model="selectValue" @change="handleSelect"> |
51 | <el-option v-for="item in selectOptions" :key="item.value" :label="item.label" :value="item.value"> | 50 | <el-option v-for="item in selectOptions" :key="item.value" :label="item.label" :value="item.value"> |
52 | </el-option> | 51 | </el-option> |
53 | </el-select> | 52 | </el-select> |
54 | <el-table :data="taskCommentList" size="mini" border header-cell-class-name="table-header-gray"> | 53 | <el-table height="190" :data="taskCommentList" size="mini" border header-cell-class-name="table-header-gray"> |
55 | <el-table-column label="序号" header-align="center" align="center" type="index" width="55px" /> | 54 | <el-table-column label="序号" header-align="center" align="center" type="index" width="55px" /> |
56 | <el-table-column label="流程状态" header-align="center" align="center"> | 55 | <el-table-column label="流程状态" header-align="center" align="center"> |
57 | <template slot-scope="scope"> | 56 | <template slot-scope="scope"> |
... | @@ -172,9 +171,13 @@ | ... | @@ -172,9 +171,13 @@ |
172 | }, | 171 | }, |
173 | // 下拉列表切换 | 172 | // 下拉列表切换 |
174 | handleSelect (val) { | 173 | handleSelect (val) { |
174 | |||
175 | this.taskCommentList = (this.formData.allCommentList || []).filter(item => { | 175 | this.taskCommentList = (this.formData.allCommentList || []).filter(item => { |
176 | return item.taskDefKey === val | 176 | return item.taskDefKey === val |
177 | }) | 177 | }) |
178 | if (val.length > 3) { | ||
179 | this.taskCommentList = this.formData.allCommentList; | ||
180 | } | ||
178 | }, | 181 | }, |
179 | // 显示流程图 | 182 | // 显示流程图 |
180 | async importXML (xml) { | 183 | async importXML (xml) { |
... | @@ -264,8 +267,8 @@ | ... | @@ -264,8 +267,8 @@ |
264 | </script> | 267 | </script> |
265 | <style scoped lang="scss"> | 268 | <style scoped lang="scss"> |
266 | .information-list { | 269 | .information-list { |
267 | // height: 150px; | 270 | height: 220px; |
268 | // margin-top: 10px; | 271 | margin-top: 10px; |
269 | 272 | ||
270 | p { | 273 | p { |
271 | font-size: 16px; | 274 | font-size: 16px; |
... | @@ -275,4 +278,8 @@ | ... | @@ -275,4 +278,8 @@ |
275 | /deep/.bjs-powered-by { | 278 | /deep/.bjs-powered-by { |
276 | display: none; | 279 | display: none; |
277 | } | 280 | } |
281 | // /deep/.information-list { | ||
282 | // height: 170px; | ||
283 | // overflow: visible; | ||
284 | // } | ||
278 | </style> | 285 | </style> | ... | ... |
-
Please register or sign in to post a comment