feat:故障记录导出
parent
4cce05fd67
commit
5978988c32
|
@ -37,9 +37,10 @@
|
|||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-radio-group v-model="direction">
|
||||
<!-- 抽屉 --->
|
||||
<el-radio-group v-model="direction" />
|
||||
|
||||
|
||||
</el-radio-group>
|
||||
|
||||
|
||||
<el-drawer title="通知" :visible.sync="drawer" :direction="direction" :before-close="handleClose">
|
||||
|
@ -261,6 +262,7 @@ export default {
|
|||
return {
|
||||
activeName: 'first',
|
||||
drawer: false,
|
||||
//向右打开
|
||||
direction: 'rtl',
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
|
|
|
@ -28,7 +28,15 @@
|
|||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<rl-row>
|
||||
<rl-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handelExport">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</rl-row>
|
||||
|
||||
|
@ -243,6 +251,12 @@ export default {
|
|||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
handelExport(){
|
||||
this.download('breakdown/log/export',{
|
||||
...this.queryParams
|
||||
},`log_${new Date().getTime()}.xlsx`)
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getList();
|
||||
|
|
Loading…
Reference in New Issue