fix:更改宽度

This commit is contained in:
shijing 2024-08-28 14:01:28 +08:00
parent 146a2e086c
commit 2a0bcc4692
1 changed files with 5 additions and 6 deletions

View File

@ -30,12 +30,12 @@
</el-header> </el-header>
<el-main id="elMain"> <el-main id="elMain">
<el-row :gutter="10" id="elCol"> <el-row :gutter="10" id="elCol">
<el-col :lg="8"> <el-col :lg="10">
<el-card shadow="never"> <el-card shadow="never">
<scEcharts height="500px" :option="option"></scEcharts> <scEcharts height="500px" :option="option"></scEcharts>
</el-card> </el-card>
</el-col> </el-col>
<el-col :lg="16"> <el-col :lg="14">
<el-card shadow="never" style="position: relative"> <el-card shadow="never" style="position: relative">
<el-button <el-button
@click="handleExport('7')" @click="handleExport('7')"
@ -46,7 +46,7 @@
<el-table <el-table
:data="tableData1" :data="tableData1"
id="exportDiv7" id="exportDiv7"
:height="tableHeight" height="500px"
> >
<el-table-column type="index" width="50" /> <el-table-column type="index" width="50" />
<el-table-column <el-table-column
@ -145,7 +145,7 @@ export default {
that.options = res; that.options = res;
}); });
}, },
getData7() { getData() {
let that = this; let that = this;
that.tableData1 = []; that.tableData1 = [];
that.option.series.data[0].value = 0; that.option.series.data[0].value = 0;
@ -166,7 +166,6 @@ export default {
data.push(obj); data.push(obj);
}); });
that.tableData1 = data; that.tableData1 = data;
// that.option.series.data[0].value = count_ok1;
} }
that.option.series.data[0].value = count_ok1; that.option.series.data[0].value = count_ok1;
that.option.series.data[1].value = count_notok1; that.option.series.data[1].value = count_notok1;
@ -192,7 +191,7 @@ export default {
that.query.querys[0][0].value = that.start_date; that.query.querys[0][0].value = that.start_date;
that.query.querys[1][0].value = that.end_date; that.query.querys[1][0].value = that.end_date;
} }
that.getData7(); that.getData();
}, },
handleExport(val) { handleExport(val) {
this.exportLoading = true; this.exportLoading = true;