63 lines
1.7 KiB
Vue
63 lines
1.7 KiB
Vue
|
|
<template>
|
||
|
|
<!-- 维修报废页面 -->
|
||
|
|
<div class="app-container">
|
||
|
|
<TableModel :config="config">
|
||
|
|
<template slot="export">
|
||
|
|
<el-row :gutter="10" class="mb8">
|
||
|
|
<el-button
|
||
|
|
type="success"
|
||
|
|
plain
|
||
|
|
icon="el-icon-download"
|
||
|
|
size="mini"
|
||
|
|
>导出数据</el-button
|
||
|
|
>
|
||
|
|
</el-row>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<!-- 列表操作栏 -->
|
||
|
|
<template slot="handle" slot-scope="{ data }">
|
||
|
|
<el-button size="mini" type="text" @click="handlePreview(data)">
|
||
|
|
查看
|
||
|
|
</el-button>
|
||
|
|
<el-button
|
||
|
|
size="mini"
|
||
|
|
type="text"
|
||
|
|
@click="handleRepair(data)"
|
||
|
|
>
|
||
|
|
维修
|
||
|
|
</el-button>
|
||
|
|
</template>
|
||
|
|
</TableModel>
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
import TableModel from '@/components/TableModel'
|
||
|
|
import DialogModel from '@/components/DialogModel'
|
||
|
|
import { config, dialogConfig, getSelList } from './config.js'
|
||
|
|
export default {
|
||
|
|
components: {
|
||
|
|
TableModel,
|
||
|
|
DialogModel,
|
||
|
|
},
|
||
|
|
data() {
|
||
|
|
return {
|
||
|
|
config,
|
||
|
|
dialogConfig,
|
||
|
|
getSelList,
|
||
|
|
}
|
||
|
|
},
|
||
|
|
created() {
|
||
|
|
this.getSelList()
|
||
|
|
},
|
||
|
|
methods:{
|
||
|
|
/* 查看 */
|
||
|
|
handlePreview() {},
|
||
|
|
/* 维修 */
|
||
|
|
handleRepair() {}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style></style>
|