xia il y a 4 ans
Parent
commit
c0f7783681
2 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 1 1
      src/api/index.ts
  2. 3 0
      src/views/put/put-ad-plan.vue

+ 1 - 1
src/api/index.ts

@@ -108,7 +108,7 @@ export const getADPlanlist = (
     end_date: any;
     cost_order: number;
     page: number;
-  }> = { page: 1, status: "AD_STATUS_DELIVERY_OK" }
+  }> = { page: 1 }
 ): AxiosPromise<IList<ADPlanItem>> => {
   return axios("/ad/adData", { params: query });
 };

+ 3 - 0
src/views/put/put-ad-plan.vue

@@ -389,6 +389,9 @@ const PutAdPlan = defineComponent({
         book_id: route.query.book_id || '',
       };
     }
+    if(route.query.channel_id && route.query.book_id){
+      state.currentSelect = ''
+    }
     if (route.query && route.query.begin_date && route.query.end_date) {
       state.pickerFilter =[moment(route.query.begin_date as any), moment(route.query.end_date as any)]
     }