wenbobowen 4 ani în urmă
părinte
comite
d57552a756

+ 1 - 1
src/views/quality/components/requireDrawer.vue

@@ -1,6 +1,6 @@
 <template>
   <el-drawer :title="Statistics.label" :visible.sync="drawer_" :direction="direction" :modal="false" :class="{'drawer-box': showClass}" size="100%" :before-close="handleClose">
-    <div style="height: calc(100vh - 200px); overflow: scroll; overflow-x: hidden;">
+    <div style="height: calc(100vh - 200px); overflow: scroll; overflow-x: hidden;margin-right: 20px;">
       <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="80" align="left">
           <template slot-scope="scope">

+ 4 - 0
src/views/quality/defectStatistics.vue

@@ -506,6 +506,10 @@ export default {
         grid: { left: '0', right: '0', top: '5%', bottom: '0', containLabel: true },
         xAxis: [{ type: 'category', data: this.chart3Data.xaxis, axisLabel: { interval: 0, rotate: 40 }, axisTick: { alignWithLabel: true }}],
         yAxis: [{ type: 'value', axisLine: { show: false }, splitLine: { lineStyle: { type: 'dashed' }}}],
+        dataZoom: [
+          { show: true, realtime: true, start: 0, end: 50 },
+          { type: 'inside', realtime: true, start: 0, end: 50 }
+        ],
         series: [
           {
             name: '缺陷数量', type: 'line', barWidth: '20px', smooth: true, data: this.chart3Data.yaxis[0] && this.chart3Data.yaxis[0].data || [],