工作安排分页问题
This commit is contained in:
parent
8ee8d4cf97
commit
3408e0b68e
|
|
@ -13,7 +13,7 @@ export function listWorkReport(query) {
|
||||||
export function getDetailsList(data) {
|
export function getDetailsList(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/system/workReport/getDetailsList',
|
url: '/system/workReport/getDetailsList',
|
||||||
method: 'post',
|
method: 'get',
|
||||||
params: data
|
params: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -136,6 +136,7 @@
|
||||||
:total="totalDialog"
|
:total="totalDialog"
|
||||||
:page.sync="queryParams2.pageNum"
|
:page.sync="queryParams2.pageNum"
|
||||||
:limit.sync="queryParams2.pageSize"
|
:limit.sync="queryParams2.pageSize"
|
||||||
|
@pagination="getDetailsList2"
|
||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
|
|
@ -600,7 +601,9 @@ export default {
|
||||||
this.searchConditions={
|
this.searchConditions={
|
||||||
type:type,
|
type:type,
|
||||||
orgId:row.orgId,
|
orgId:row.orgId,
|
||||||
month:row.month
|
month:row.month,
|
||||||
|
pageNum: this.queryParams2.pageNum,
|
||||||
|
pageSize: this.queryParams2.pageSize,
|
||||||
}
|
}
|
||||||
getDetailsList(this.searchConditions).then(response => {
|
getDetailsList(this.searchConditions).then(response => {
|
||||||
this.tableDialogList = response.rows;
|
this.tableDialogList = response.rows;
|
||||||
|
|
@ -609,6 +612,20 @@ export default {
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
|
getDetailsList2(){
|
||||||
|
const queryData = {
|
||||||
|
...this.searchConditions, // 拷贝存储的条件
|
||||||
|
userName: this.form.userName, // 添加用户输入的搜索条件
|
||||||
|
examineStatus:this.form.examineStatus,
|
||||||
|
pageNum: this.queryParams2.pageNum,
|
||||||
|
pageSize: this.queryParams2.pageSize
|
||||||
|
};
|
||||||
|
getDetailsList(queryData).then(response => {
|
||||||
|
this.tableDialogList = response.rows;
|
||||||
|
this.totalDialog = response.total;
|
||||||
|
this.loading = false;
|
||||||
|
});
|
||||||
|
},
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
handleQuerys() {
|
handleQuerys() {
|
||||||
const queryData = {
|
const queryData = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue