木箱堆叠代码更新
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
<el-table
|
||||
ref="table"
|
||||
v-loading="crud.loading"
|
||||
:data="crud.data"
|
||||
:data="tableData"
|
||||
size="mini"
|
||||
style="width: 100%;"
|
||||
@selection-change="crud.selectionChangeHandler"
|
||||
@@ -104,7 +104,7 @@
|
||||
<el-table-column prop="solve_mode" label="解决方式" show-overflow-tooltip width="250px" />
|
||||
</el-table>
|
||||
<!--分页组件-->
|
||||
<pagination />
|
||||
<!-- <pagination />-->
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -132,7 +132,6 @@ export default {
|
||||
add: false,
|
||||
reset: true
|
||||
},
|
||||
size: 20,
|
||||
idField: 'device_id',
|
||||
sort: 'device_id,desc',
|
||||
crudMethod: { ...crudFaultdevice }
|
||||
@@ -141,7 +140,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
permission: {},
|
||||
syncLoading: false,
|
||||
tableData: [],
|
||||
rules: {
|
||||
}
|
||||
}
|
||||
@@ -171,8 +170,8 @@ export default {
|
||||
initStatus() {
|
||||
const data = this.crud.query
|
||||
crudFaultdevice.deviceCharge(data).then(res => {
|
||||
this.crud.data = res.content
|
||||
this.crud.page.size = 10
|
||||
// this.crud.data = res.content
|
||||
this.tableData = res.content
|
||||
})
|
||||
},
|
||||
formatType1(row) {
|
||||
|
||||
Reference in New Issue
Block a user