update 流程表格分页调整
This commit is contained in:
+2
-4
@@ -22,7 +22,7 @@
|
||||
:row-selection="null"
|
||||
:pagination="ipagination"
|
||||
:scroll="{x: '100%',y: '50vh'}"
|
||||
@change="tableOnChange">
|
||||
@change="handleTableChange">
|
||||
|
||||
<!-- 整改部门 -->
|
||||
<template slot="rectificationDepartment" slot-scope="{text, record}">
|
||||
@@ -143,9 +143,7 @@ export default {
|
||||
this.index = -1
|
||||
this.visible = false
|
||||
},
|
||||
tableOnChange (pagination, filters, sorter) {
|
||||
this.orderBy = sorter.order === 'ascend' ? '1' : '2'
|
||||
this.orderByField = sorter.columnKey
|
||||
handleTableChange (pagination, filters, sorter) {
|
||||
this.ipagination = pagination
|
||||
},
|
||||
handleAdd () {
|
||||
|
||||
+2
-4
@@ -26,7 +26,7 @@
|
||||
:row-selection="null"
|
||||
:pagination="ipagination"
|
||||
:scroll="{x: '100%',y: '50vh'}"
|
||||
@change="tableOnChange">
|
||||
@change="handleTableChange">
|
||||
|
||||
<!-- 企标号、企标名称 -->
|
||||
<template v-slot:standard="{text, record}">
|
||||
@@ -192,9 +192,7 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
tableOnChange (pagination, filters, sorter) {
|
||||
this.orderBy = sorter.order === 'ascend' ? '1' : '2'
|
||||
this.orderByField = sorter.columnKey
|
||||
handleTableChange (pagination, filters, sorter) {
|
||||
this.ipagination = pagination
|
||||
},
|
||||
handleAdd () {
|
||||
|
||||
+2
-5
@@ -26,7 +26,7 @@
|
||||
:row-selection="null"
|
||||
:pagination="ipagination"
|
||||
:scroll="{x: '100%',y: '50vh'}"
|
||||
@change="tableOnChange">
|
||||
@change="handleTableChange">
|
||||
|
||||
<!-- 附件 -->
|
||||
<template v-slot:file="{text, record}">
|
||||
@@ -175,11 +175,8 @@ export default {
|
||||
this.$emit('close')
|
||||
this.visible = false
|
||||
},
|
||||
tableOnChange (pagination, filters, sorter) {
|
||||
this.orderBy = sorter.order === 'ascend' ? '1' : '2'
|
||||
this.orderByField = sorter.columnKey
|
||||
handleTableChange (pagination, filters, sorter) {
|
||||
this.ipagination = pagination
|
||||
this.getTableList()
|
||||
},
|
||||
handleAdd () {
|
||||
this.$refs.modalForm.add(this.model)
|
||||
|
||||
+1
-8
@@ -13,8 +13,7 @@
|
||||
:rowKey="(_, index) => index"
|
||||
:loading="loading"
|
||||
:pagination="false"
|
||||
:scroll="{x: '100%',y: '50vh'}"
|
||||
@change="tableOnChange">
|
||||
:scroll="{x: '100%',y: '50vh'}">
|
||||
|
||||
<!-- 企标号、企标名称 -->
|
||||
<template v-slot:standard="{text, record}">
|
||||
@@ -316,12 +315,6 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
tableOnChange (pagination, filters, sorter) {
|
||||
this.orderBy = sorter.order === 'ascend' ? '1' : '2'
|
||||
this.orderByField = sorter.columnKey
|
||||
this.ipagination = pagination
|
||||
this.getTableList()
|
||||
},
|
||||
// 稽查报告
|
||||
handleInspectionReport (record, index) {
|
||||
this.$refs.inspectionProcessReport.show(record, index)
|
||||
|
||||
+2
-5
@@ -40,7 +40,7 @@
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
:pagination="ipagination"
|
||||
:scroll="{x: '100%',y: '50vh'}"
|
||||
@change="tableOnChange">
|
||||
@change="handleTableChange">
|
||||
<!-- 企标号、企标名称 -->
|
||||
<template v-slot:standard="{text, record}">
|
||||
<a-tooltip overlay-class-name="tooltip-style">
|
||||
@@ -198,11 +198,8 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
tableOnChange (pagination, filters, sorter) {
|
||||
this.orderBy = sorter.order === 'ascend' ? '1' : '2'
|
||||
this.orderByField = sorter.columnKey
|
||||
handleTableChange (pagination, filters, sorter) {
|
||||
this.ipagination = pagination
|
||||
this.getTableList()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user