wjx 2 anni fa
parent
commit
6eebdf4b3b

+ 2 - 2
src/pages/adMonitor/adMonitorList/config.ts

@@ -3,7 +3,7 @@ const qiliangpaihang = [
     {
         label: '设置信息',
         data: [
-            { title: '时间', dataIndex: 'day', label: '设置信息', default: 1, width: 120 },
+            { title: '时间', dataIndex: 'currTime', label: '设置信息', default: 1, width: 135 },
             { title: '广告名称', dataIndex: 'adgroupName', label: '设置信息', default: 2, width: 170 },
             { title: '广告ID', dataIndex: 'adgroupId', label: '设置信息', default: 9, width: 90 },
             { title: '计划名称', dataIndex: 'campaignName', label: '设置信息' },
@@ -99,7 +99,7 @@ const qiliangpaihangminute = [
     {
         label: '设置信息',
         data: [
-            { title: '时间', dataIndex: 'day', label: '设置信息', default: 1, width: 120 },
+            { title: '时间', dataIndex: 'currTime', label: '设置信息', default: 1, width: 135 },
             { title: '广告名称', dataIndex: 'adgroupName', label: '设置信息', default: 2, width: 170 },
             { title: '广告ID', dataIndex: 'adgroupId', label: '设置信息', default: 9, width: 90 },
             { title: '计划名称', dataIndex: 'campaignName', label: '设置信息' },

+ 1 - 1
src/pages/adMonitor/adMonitorList/planList.tsx

@@ -50,7 +50,7 @@ const PlanList: React.FC = () => {
     useEffect(() => {
         if (sessionStorage.getItem('ADIDORNAME')) {
             let data = JSON.parse(sessionStorage.getItem('ADIDORNAME') as any)
-            setQueryForm({ ...queryForm, adgroup: data.adgroupId, campaign: data.campaignId, sysUserId: data.putUserId ? data.putUserId?.toString()?.split() : [], accountId: data?.accountId?.toString()?.split() })
+            setQueryForm({ ...queryForm, createStartTime: undefined, createEndTime: undefined, adgroup: data.adgroupId, campaign: data.campaignId, sysUserId: data.putUserId ? data.putUserId?.toString()?.split() : [], accountId: data?.accountId?.toString()?.split() })
             sessionStorage.removeItem('ADIDORNAME')
         }
     }, [])

+ 3 - 6
src/pages/adMonitor/adMonitorList/tableMonitorConfig.tsx

@@ -13,13 +13,10 @@ function columnsMonitor(planDetail: (id: number) => void, getDetailList: (adId:
         let newArr: ColumnsType<any> = [
             {
                 title: '时间',
-                dataIndex: 'day',
-                key: 'day',
+                dataIndex: 'currTime',
+                key: 'currTime',
                 align: 'center',
-                width: 150,
-                render: (str, b) => {
-                    return str + ' ' + b.hour + ':00'
-                }
+                width: 160
             },
             {
                 title: '广告名称',