Ver código fonte

修改履约查询

huangbin 4 anos atrás
pai
commit
1bb0acc96b

+ 1 - 0
src/services/go/wrtrade/interface.ts

@@ -434,6 +434,7 @@ export interface WrFilterItem {
 export interface QueryPerformancePlanReq {
     userid?: number      //  用户id
     buyorsell: number   //  买卖方向 0-买 1-卖
+    status?: string // 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
 }
 
 /**

+ 0 - 0
src/views/search/search_performance_query/index.vue


+ 1 - 0
src/views/search/search_performance_query/search_performance_query_buy_performance/search_performance_query_buy_performance_done/index.vue

@@ -57,6 +57,7 @@ export default defineComponent({
     const queryTableAction = () => {
       const param: QueryPerformancePlanReq = {
         buyorsell: 0,
+        status: '6'
       };
       queryTable(QueryPerformancePlan, param);
     };

+ 1 - 0
src/views/search/search_performance_query/search_performance_query_buy_performance/search_performance_query_buy_performance_unsuccess/index.vue

@@ -57,6 +57,7 @@ export default defineComponent({
     const queryTableAction = () => {
       const param: QueryPerformancePlanReq = {
         buyorsell: 0,
+        status: '2,3,4,5'
       };
       queryTable(QueryPerformancePlan, param);
     };

+ 1 - 0
src/views/search/search_performance_query/search_performance_query_sell_performance/search_performance_query_sell_performance_done/index.vue

@@ -58,6 +58,7 @@ export default defineComponent({
     const queryTableAction = () => {
       const param: QueryPerformancePlanReq = {
         buyorsell: 1,
+        status: '6'
       };
       queryTable(QueryPerformancePlan, param);
     };

+ 1 - 0
src/views/search/search_performance_query/search_performance_query_sell_performance/search_performance_query_sell_performance_unsuccess/index.vue

@@ -58,6 +58,7 @@ export default defineComponent({
     const queryTableAction = () => {
       const param: QueryPerformancePlanReq = {
         buyorsell: 1,
+        status: '2,3,4,5'
       };
       queryTable(QueryPerformancePlan, param);
     };