Commit 9f4182e5 authored by “lixuyan”'s avatar “lixuyan”

修改执行派工分页

parent 0b0bd949
...@@ -40,13 +40,13 @@ ...@@ -40,13 +40,13 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="AO(号/名称):"> <el-form-item label="AO(号/名称):">
<el-input v-model="searchFormData.aoName" clearable placeholder="请输入AO(号/名称)" @clear="getTableData" @keyup.enter.native="getTableData" /> <el-input v-model="searchFormData.aoName" clearable placeholder="请输入AO(号/名称)" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="2"> <el-col :span="2">
<el-button <el-button
type="primary" type="primary"
@click="getTableData" @click="searchTableData"
>查询</el-button> >查询</el-button>
</el-col> </el-col>
</el-form> </el-form>
...@@ -565,16 +565,20 @@ export default { ...@@ -565,16 +565,20 @@ export default {
}, },
paginationCurrentChange(currentPage) { paginationCurrentChange(currentPage) {
this.pagination.currentPage = currentPage this.pagination.currentPage = currentPage
this.getInstructionsIssuedListTo() this.getInstructionsDispatchList()
}, },
handleSizeChange(pageSize) { handleSizeChange(pageSize) {
this.pagination.pageSize = pageSize this.pagination.pageSize = pageSize
this.pagination.currentPage = 1 this.pagination.currentPage = 1
this.getInstructionsIssuedListTo() this.getInstructionsDispatchList()
}, },
selectionChange(val) { selectionChange(val) {
this.selectionRow = val this.selectionRow = val
}, },
searchTableData() {
this.pagination.currentPage = 1
this.getTableData()
},
changeGroupUser(val) { changeGroupUser(val) {
val.isSelect = !val.isSelect val.isSelect = !val.isSelect
}, },
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<el-col :span="2"> <el-col :span="2">
<el-button <el-button
type="primary" type="primary"
@click="getTableData" @click="searchTableData"
>查询</el-button> >查询</el-button>
</el-col> </el-col>
</el-form> </el-form>
...@@ -511,6 +511,7 @@ export default { ...@@ -511,6 +511,7 @@ export default {
const group = this.groupList.find(r => r.value === this.searchFormData.group) const group = this.groupList.find(r => r.value === this.searchFormData.group)
this.$set(this.searchFormData, 'groupName', group && group.label || '') this.$set(this.searchFormData, 'groupName', group && group.label || '')
this.$set(this.searchFormData, 'group', group && group.value || '') this.$set(this.searchFormData, 'group', group && group.value || '')
this.pagination.currentPage = 1
this.getTableData() this.getTableData()
}, },
tabClick(tab) { tabClick(tab) {
...@@ -523,6 +524,10 @@ export default { ...@@ -523,6 +524,10 @@ export default {
} }
this.getTableData() this.getTableData()
}, },
searchTableData() {
this.pagination.currentPage = 1
this.getTableData()
},
getTableData() { getTableData() {
this.groupUserPage = 1 this.groupUserPage = 1
this.groupUserTotal = 0 this.groupUserTotal = 0
...@@ -615,12 +620,12 @@ export default { ...@@ -615,12 +620,12 @@ export default {
}, },
paginationCurrentChange(currentPage) { paginationCurrentChange(currentPage) {
this.pagination.currentPage = currentPage this.pagination.currentPage = currentPage
this.getInstructionsIssuedListTo() this.getInstructionsDispatchList()
}, },
handleSizeChange(pageSize) { handleSizeChange(pageSize) {
this.pagination.pageSize = pageSize this.pagination.pageSize = pageSize
this.pagination.currentPage = 1 this.pagination.currentPage = 1
this.getInstructionsIssuedListTo() this.getInstructionsDispatchList()
}, },
selectionChange(val) { selectionChange(val) {
this.selectionRow = val this.selectionRow = val
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment