update
This commit is contained in:
@@ -42,7 +42,15 @@
|
||||
<!-- <el-button type="text" v-if="!showAttrForm" @click="addEq">{{ $t('add') }}</el-button> -->
|
||||
</h3>
|
||||
<div class="table" v-if="!showAttrForm">
|
||||
<base-table :page="page" :size="limit" :data="eqList" :table-head-configs="tableProps" :max-height="calcMaxHeight(8)" @operate-event="handleOperations" @refreshDataList="getDataList" />
|
||||
<base-table
|
||||
:page="page"
|
||||
:size="limit"
|
||||
:data="eqList"
|
||||
:table-head-configs="tableProps"
|
||||
:max-height="calcMaxHeight(8)"
|
||||
@operate-event="handleOperations"
|
||||
@refreshDataList="getDataList"
|
||||
/>
|
||||
<el-pagination
|
||||
@size-change="sizeChangeHandle"
|
||||
@current-change="currentChangeHandle"
|
||||
@@ -78,7 +86,7 @@ const tableProps = [
|
||||
name: i18n.t('index')
|
||||
},
|
||||
{ name: i18n.t('eq.name'), prop: 'equipmentName' },
|
||||
{ name: i18n.t('dept.sort'), prop: 'sort' },
|
||||
{ name: i18n.t('dept.sort'), prop: 'sort' }
|
||||
// {
|
||||
// name: i18n.t('handle'),
|
||||
// prop: 'operations',
|
||||
@@ -123,7 +131,7 @@ export default {
|
||||
mounted() {
|
||||
this.getLineList()
|
||||
},
|
||||
methods: {
|
||||
methods: {
|
||||
init(id) {
|
||||
this.dataForm = {
|
||||
id: null,
|
||||
|
||||
Reference in New Issue
Block a user