|
@@ -5,7 +5,7 @@
|
|
|
<slot name="staff"></slot>
|
|
|
</div>
|
|
|
<el-input style="width:270px" placeholder="请输入内容" v-model="param.content.where.condition" class="input-with-select normal-margin" size="small" clearable>
|
|
|
- <el-button slot="append" icon="el-icon-search" @click="listData(param.content.departmentid)">查 询</el-button>
|
|
|
+ <el-button slot="append" icon="el-icon-search" @click="param.content.pageNumber=1,listData(param.content.departmentids[0])">查 询</el-button>
|
|
|
</el-input>
|
|
|
<!-- <tableLayout :layout="tablecols" :data="list" :opwidth="200" :custom="false" height="calc(100vh - 508px)">
|
|
|
<template v-slot:opreation="scope">
|
|
@@ -96,12 +96,12 @@ export default {
|
|
|
handleSizeChange(val) {
|
|
|
// console.log(`每页 ${val} 条`);
|
|
|
this.param.content.pageSize = val
|
|
|
- this.listData()
|
|
|
+ this.listData(this.param.content.departmentids[0])
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
|
// console.log(`当前页: ${val}`);
|
|
|
this.param.content.pageNumber = val
|
|
|
- this.listData()
|
|
|
+ this.listData(this.param.content.departmentids[0])
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|