Browse Source

加日期筛选

master
nili 7 months ago
parent
commit
68cb994856
  1. 2
      dist/index.html
  2. 1
      dist/p__AdvRecordList.0747dba9.async.js
  3. 1
      dist/p__AdvRecordList.11ff427e.async.js
  4. 2
      dist/umi.cecb10de.js
  5. 12
      src/pages/AdvRecordList.tsx

2
dist/index.html

@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.43508660.js"></script>
<script src="/umi.cecb10de.js"></script>
</body></html>

1
dist/p__AdvRecordList.0747dba9.async.js

@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[857],{46701:function(D,s,e){e.r(s);var l=e(15009),d=e.n(l),o=e(99289),m=e.n(o),c=e(48357),v=e(90930),p=e(76104),x=e(35312),E=e(67294),u=e(85893),I=function(){var h=(0,E.useRef)(),T=(0,x.useIntl)(),f=[{title:"\u8BBE\u5907Id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0},{title:"\u5E94\u7528\u540D\u79F0",hideInSearch:!0,dataIndex:"appName",valueType:"textarea"},{title:"\u5E73\u53F0",dataIndex:"platform",valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},3:{text:"\u767E\u5EA6\u8054\u76DF"},4:{text:"Mintegral"},5:{text:"\u5FEB\u624B"},6:{text:"\u6E38\u53EF\u8D62"},7:{text:"Sigmob"},8:{text:"Admob"}}},{title:"\u5E7F\u544A\u7C7B\u578B",dataIndex:"advType",valueEnum:{1:{text:"\u6A2A\u5E45",status:"Default"},2:{text:"\u63D2\u9875",status:"Processing"},3:{text:"\u6FC0\u52B1\u89C6\u9891",status:"Success"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(a){return a/100}},{title:"\u8BBE\u5907\u54C1\u724C",dataIndex:"deviceBrand",hideInSearch:!0,valueType:"textarea"},{title:"\u8BBE\u5907\u540D",dataIndex:"deviceName",hideInSearch:!0,valueType:"textarea"},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}];return(0,u.jsx)(v._z,{children:(0,u.jsx)(p.Z,{headerTitle:T.formatMessage({id:"pages.searchTable.title",defaultMessage:"Enquiry form"}),actionRef:h,rowKey:"key",search:{labelWidth:120},request:function(){var i=m()(d()().mark(function a(M){var _,r,n;return d()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c._5)(M);case 2:return n=t.sent,t.abrupt("return",{data:(_=n.data)===null||_===void 0?void 0:_.data,total:(r=n.data)===null||r===void 0?void 0:r.total,success:!0});case 4:case"end":return t.stop()}},a)}));return function(a){return i.apply(this,arguments)}}(),columns:f})})};s.default=I}}]);

1
dist/p__AdvRecordList.11ff427e.async.js

@ -1 +0,0 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[857],{46701:function(D,n,e){e.r(n);var l=e(15009),s=e.n(l),i=e(99289),o=e.n(i),m=e(48357),c=e(90930),v=e(76104),p=e(35312),E=e(67294),d=e(85893),x=function(){var I=(0,E.useRef)(),h=(0,p.useIntl)(),f=[{title:"\u8BBE\u5907Id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0},{title:"\u5E94\u7528\u540D\u79F0",hideInSearch:!0,dataIndex:"appName",valueType:"textarea"},{title:"\u5E73\u53F0",dataIndex:"platform",valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},3:{text:"\u767E\u5EA6\u8054\u76DF"},4:{text:"Mintegral"},5:{text:"\u5FEB\u624B"},6:{text:"\u6E38\u53EF\u8D62"},7:{text:"Sigmob"},8:{text:"Admob"}}},{title:"\u5E7F\u544A\u7C7B\u578B",dataIndex:"advType",valueEnum:{1:{text:"\u6A2A\u5E45",status:"Default"},2:{text:"\u63D2\u9875",status:"Processing"},3:{text:"\u6FC0\u52B1\u89C6\u9891",status:"Success"}}},{title:"ecpm",dataIndex:"ecpm",hideInSearch:!0,valueType:"textarea"},{title:"\u8BBE\u5907\u54C1\u724C",dataIndex:"deviceBrand",hideInSearch:!0,valueType:"textarea"},{title:"\u8BBE\u5907\u540D",dataIndex:"deviceName",hideInSearch:!0,valueType:"textarea"},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"}];return(0,d.jsx)(c._z,{children:(0,d.jsx)(v.Z,{headerTitle:h.formatMessage({id:"pages.searchTable.title",defaultMessage:"Enquiry form"}),actionRef:I,rowKey:"key",search:{labelWidth:120},request:function(){var M=o()(s()().mark(function u(T){var a,_,r;return s()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,m._5)(T);case 2:return r=t.sent,t.abrupt("return",{data:(a=r.data)===null||a===void 0?void 0:a.data,total:(_=r.data)===null||_===void 0?void 0:_.total,success:!0});case 4:case"end":return t.stop()}},u)}));return function(u){return M.apply(this,arguments)}}(),columns:f})})};n.default=x}}]);

2
dist/umi.43508660.js → dist/umi.cecb10de.js

File diff suppressed because one or more lines are too long

12
src/pages/AdvRecordList.tsx

@ -78,10 +78,12 @@ const AdvRecordList: React.FC = () => {
},
},
{
title: "ecpm",
title: "ecpm(元)",
dataIndex: 'ecpm',
hideInSearch: true,
valueType: 'textarea',
renderText: (x) => {
return x / 100;
}
},
{
title: "设备品牌",
@ -107,6 +109,12 @@ const AdvRecordList: React.FC = () => {
dataIndex: 'createdAt',
valueType: 'dateTime'
},
{
title: "时间",
hideInTable: true,
dataIndex: 'createdAt',
valueType: 'dateRange'
},
];

Loading…
Cancel
Save