Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
闫晓茹 2022-11-07 13:43:07 +08:00
commit 6b7a72efd4

View File

@ -806,6 +806,20 @@ refundcancel() {
}, },
// //
reset() { reset() {
this.queryParams={
pageNum: 1,
pageSize: 10,
nurseStationId: null,
patientId: null,
orderNo: null,
orderStatus: null,
totalPrice: null,
receiver: null,
receiveAddress: null,
phone: null,
orderTime: null,
orderChannel: null,
}
this.form = { this.form = {
id: null, id: null,
nurseStationId: null, nurseStationId: null,
@ -825,7 +839,7 @@ reset() {
updateTime: null, updateTime: null,
orderStatus: "", orderStatus: "",
}; };
this.resetForm("form"); this.resetForm("queryParams");
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {
@ -834,11 +848,11 @@ handleQuery() {
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.reset();
this.resetForm("queryForm"); this.resetForm("queryForm");
this.handleQuery(); this.handleQuery();
}, },
// //
handleSelectionChange(selection) { handleSelectionChange(selection) {
this.ids = selection.map(item => item.id) this.ids = selection.map(item => item.id)