diff --git a/src/app/routes/order-management/components/risk/risk.component.html b/src/app/routes/order-management/components/risk/risk.component.html
index 7a6e4c7d..647a573c 100644
--- a/src/app/routes/order-management/components/risk/risk.component.html
+++ b/src/app/routes/order-management/components/risk/risk.component.html
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-12 10:52:50
* @LastEditors : Shiming
- * @LastEditTime : 2022-01-18 17:19:12
+ * @LastEditTime : 2022-01-18 18:45:48
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\risk\\risk.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@@ -16,7 +16,7 @@
+ (formSubmit)="search()" (formReset)="resetSF()">
@@ -26,7 +26,7 @@
+ (click)="search()">查询
diff --git a/src/app/routes/order-management/components/risk/risk.component.ts b/src/app/routes/order-management/components/risk/risk.component.ts
index 06801109..9fdc752c 100644
--- a/src/app/routes/order-management/components/risk/risk.component.ts
+++ b/src/app/routes/order-management/components/risk/risk.component.ts
@@ -68,6 +68,10 @@ export class OrderManagementRiskComponent implements OnInit {
},
};
}
+ search() {
+ this.st?.load(1);
+ this.getGoodsSourceStatistical()
+ }
get selectedRows() {
return this.st?.list.filter(item => item.checked) || [];
}
@@ -420,9 +424,8 @@ export class OrderManagementRiskComponent implements OnInit {
if (res) {
this.service.msgSrv.success('审核通过成功!');
this.isVisibleRE = false;
- this.st.reload()
- } else {
- this.service.msgSrv.error(res?.msg);
+ this.st?.load(1);
+ this.getGoodsSourceStatistical()
}
});
}
@@ -447,9 +450,8 @@ export class OrderManagementRiskComponent implements OnInit {
if (res) {
this.service.msgSrv.success('审核拒绝成功!');
this.isVisibleRE = false;
- this.st.reload()
- } else {
- this.service.msgSrv.error(res?.msg);
+ this.st?.load(1);
+ this.getGoodsSourceStatistical()
}
});
}