|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
- <el-drawer :title="Statistics.label" :visible.sync="drawer_" :direction="direction" :modal="false" size="100%" :before-close="handleClose">
|
|
|
+ <el-drawer :title="Statistics.label" :visible.sync="drawer_" :direction="direction" :modal="false" :class="{'drawer-box': showClass}" size="100%" :before-close="handleClose">
|
|
|
<div class="_font">{{ Statistics.total }}</div>
|
|
|
<div style="height: calc(100vh - 200px); overflow: scroll; overflow-x: hidden;">
|
|
|
- <el-table :data="tableData" style="width: 100%;" class="integration-num">
|
|
|
+ <el-table :data="tableData" style="width: 100%;" :header-cell-style="{ 'color':'rgba(74,74,74,1)','font-size':'14px','font-weight':'500' }" class="integration-num">
|
|
|
<el-table-column label="优先级" min-width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="div_priority" :style="{background: priorityColors[scope.row.priority % priorityColors.length]}">{{ 'P'+scope.row.priority }}</div>
|
|
@@ -68,6 +68,7 @@ export default {
|
|
|
priorityColors: ['#F56C6C', '#FF8952', '#F5E300', '#7ED321', '#61D3B8', '#69B3FF', '#BDBDBD'],
|
|
|
Statistics: {}, // title
|
|
|
direction: 'rtl',
|
|
|
+ showClass: false,
|
|
|
bugList: [],
|
|
|
currentPage: 1,
|
|
|
total: 0,
|
|
@@ -148,6 +149,7 @@ export default {
|
|
|
const res = await bugGetEnum()
|
|
|
if (res.code === 200) {
|
|
|
this.bugList = res.data.bugEnumList
|
|
|
+ this.showClass = true
|
|
|
}
|
|
|
},
|
|
|
handleSizeChange(val) {
|
|
@@ -198,6 +200,9 @@ export default {
|
|
|
font-weight: 500;
|
|
|
margin-bottom: 0px;
|
|
|
padding: 20px 30px 0;
|
|
|
+}
|
|
|
+.drawer-box {
|
|
|
+ box-shadow: 0 8px 10px -5px rgba(0,0,0,.2), 0 16px 24px 2px rgba(0,0,0,.14), 0 6px 30px 5px rgba(0,0,0,.12);
|
|
|
}
|
|
|
.el-drawer__wrapper {
|
|
|
width: 100%;
|