审核传参
This commit is contained in:
parent
83825b59a1
commit
3c608c3763
|
|
@ -14,7 +14,8 @@
|
||||||
type="daterange"
|
type="daterange"
|
||||||
range-separator="至"
|
range-separator="至"
|
||||||
start-placeholder="开始日期"
|
start-placeholder="开始日期"
|
||||||
end-placeholder="结束日期">
|
end-placeholder="结束日期"
|
||||||
|
value-format="yyyy-MM-dd">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="keyWord">
|
<el-form-item prop="keyWord">
|
||||||
|
|
@ -218,9 +219,18 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
/** 查询列表 */
|
/** 查询列表 */
|
||||||
getList() {
|
async getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
getTotalList(null).then((response) => {
|
const params = {
|
||||||
|
keyWord: this.queryParams.keyWord,
|
||||||
|
startTime: this.queryParams.time && this.queryParams.time[0],
|
||||||
|
endTime: this.queryParams.time && this.queryParams.time[1],
|
||||||
|
pageSize: this.queryParams.pageSize,
|
||||||
|
pageNum: this.queryParams.pageNum
|
||||||
|
}
|
||||||
|
console.log('11111111111',params)
|
||||||
|
await getTotalList(params).then((response) => {
|
||||||
|
console.log('222222222',params)
|
||||||
this.tableList = response.data.rows;
|
this.tableList = response.data.rows;
|
||||||
this.total = response.data.total;
|
this.total = response.data.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|
@ -239,6 +249,7 @@ export default {
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
this.$refs.multipleTable.clearSelection();
|
this.$refs.multipleTable.clearSelection();
|
||||||
this.queryParams.keyWord = null;
|
this.queryParams.keyWord = null;
|
||||||
|
this.queryParams.time=[]
|
||||||
this.handleQuery();
|
this.handleQuery();
|
||||||
},
|
},
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue