shenwu 6 months ago
parent
commit
2e66b04acd
1 changed files with 12 additions and 9 deletions
  1. 12 9
      src/pages/MiniApp/AdBack/index.tsx

+ 12 - 9
src/pages/MiniApp/AdBack/index.tsx

@@ -18,8 +18,8 @@ function Auth() {
     let GetAppAccountConfig = useAjax((params) => getAppAccountConfig(params))//获取回传配置
     let GetAppAccountConfig = useAjax((params) => getAppAccountConfig(params))//获取回传配置
     // 获取广告回传列表
     // 获取广告回传列表
     useEffect(() => {
     useEffect(() => {
-         // 授权回调
-         if (history.location.search) {
+        // 授权回调
+        if (history.location.search) {
             let obj = searchToObj(history.location.search)
             let obj = searchToObj(history.location.search)
             if (obj?.state && obj?.authorization_code) {
             if (obj?.state && obj?.authorization_code) {
                 TencentAdAccountDoAuth.run({
                 TencentAdAccountDoAuth.run({
@@ -95,9 +95,11 @@ function Auth() {
                     labelCol={{ span: 1 }}
                     labelCol={{ span: 1 }}
                     layout="horizontal"
                     layout="horizontal"
                 >
                 >
+                    {/* 数据源ID */}
                     <ProFormText label={"归因方式"} formItemProps={{ style: { marginBottom: 10 } }} />
                     <ProFormText label={"归因方式"} formItemProps={{ style: { marginBottom: 10 } }} />
                     <ProFormText label={"数据源类型"} formItemProps={{ style: { marginBottom: 10 } }} />
                     <ProFormText label={"数据源类型"} formItemProps={{ style: { marginBottom: 10 } }} />
                     <ProFormText label={"数据源ID"} formItemProps={{ style: { marginBottom: 10 } }} />
                     <ProFormText label={"数据源ID"} formItemProps={{ style: { marginBottom: 10 } }} />
+                    {/* accountId */}
                     <ProFormText label={"已授权账号ID"} formItemProps={{ style: { marginBottom: 10 } }} />
                     <ProFormText label={"已授权账号ID"} formItemProps={{ style: { marginBottom: 10 } }} />
                 </ProForm>
                 </ProForm>
 
 
@@ -123,14 +125,15 @@ function Auth() {
                     formRef={formRef}
                     formRef={formRef}
                     submitter={false}
                     submitter={false}
                     colProps={{ span: 2 }}
                     colProps={{ span: 2 }}
-                    labelCol={{ span: 1 }}
+                    labelCol={{ span: 2 }}
                     layout="horizontal"
                     layout="horizontal"
                 >
                 >
-                    <ProFormText label={"投放场景"} formItemProps={{ style: { marginBottom: 10 } }} />
-                    <ProFormRadio.Group label={"回传口径"} formItemProps={{ style: { marginBottom: 10 } }} />
-                    <ProFormSelect label={"回传用户"} formItemProps={{ style: { marginBottom: 10 } }} />
-                    <ProFormRadio.Group label={"部分回传"} formItemProps={{ style: { marginBottom: 10 } }} />
-                    <ProFormRadio.Group label={"ROI 投放"} formItemProps={{ style: { marginBottom: 10 } }} />
+                    {/*  注册充值回传的最大间隔时间,回传类型,VIP回传策略,是否补单,单用户最大回传订单数,详情弹窗*/}
+                    <ProFormText label={"注册充值回传的最大间隔时间"} formItemProps={{ style: { marginBottom: 10 } }} />
+                    <ProFormRadio.Group label={"单用户最大回传订单数"} formItemProps={{ style: { marginBottom: 10 } }} />
+                    <ProFormRadio.Group label={"回传类型"} formItemProps={{ style: { marginBottom: 10 } }} />
+                    <ProFormSelect label={"VIP回传策略"} formItemProps={{ style: { marginBottom: 10 } }} />
+                    <ProFormRadio.Group label={"是否补单"} formItemProps={{ style: { marginBottom: 10 } }} />
                 </ProForm>
                 </ProForm>
             </ProCard>
             </ProCard>
         </ProCard>
         </ProCard>
@@ -148,7 +151,7 @@ function Auth() {
             onFinish={submit}
             onFinish={submit}
             columns={formConfig()}
             columns={formConfig()}
             modalProps={{
             modalProps={{
-                destroyOnClose:true
+                destroyOnClose: true
             }}
             }}
         />
         />
     </PageContainer>
     </PageContainer>