修改数据

master
夜笙歌 4 weeks ago
parent 788e4b5348
commit c1ed165b45

@ -105,7 +105,7 @@
<!-- 添加或修改记录对话框 --> <!-- 添加或修改记录对话框 -->
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body> <el-dialog :title="title" :visible.sync="open" :width="70*vw +'px'" append-to-body v-dialogDrag>
<el-form ref="form" :model="form" :rules="rules" label-width="100px"> <el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-row gutter="15"> <el-row gutter="15">
<el-col :span="11"> <el-col :span="11">
@ -119,7 +119,10 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form>
<el-row>
<el-col :span="12">
<el-divider content-position="center">工位缺陷明细信息</el-divider> <el-divider content-position="center">工位缺陷明细信息</el-divider>
<el-table :data="qualityDefectstList" ref="detailElectricalinspection" <el-table :data="qualityDefectstList" ref="detailElectricalinspection"
@ -134,10 +137,13 @@
<el-table-column label="比例" prop="RATE" width="150"> <el-table-column label="比例" prop="RATE" width="150">
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-form> </el-col>
<el-col :span="12" style="position: relative">
<div class="chart1"> <div class="chart1">
<Chart ref="chart1"></Chart> <Chart ref="chart1"></Chart>
</div> </div>
</el-col>
</el-row>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="cancel"> </el-button> <el-button @click="cancel"> </el-button>
</div> </div>
@ -165,6 +171,7 @@ export default {
}, },
data() { data() {
return { return {
vw,
// //
loading: true, loading: true,
// //
@ -335,7 +342,7 @@ export default {
axisTick: { axisTick: {
alignWithLabel: true, alignWithLabel: true,
}, },
axisLabel:{ axisLabel: {
interval: 0 interval: 0
} }
@ -419,7 +426,10 @@ export default {
<style> <style>
.chart1 { .chart1 {
width: 100%; width: 100%;
height: 200px; height: 240px;
margin-top: 12px; margin-top: 12px;
position: absolute;
top: 50%;
transform: translateY(50%);
} }
</style> </style>

Loading…
Cancel
Save