You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
2.3 KiB
1 lines
2.3 KiB
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[857],{46701:function(P,o,e){e.r(o);var p=e(15009),u=e.n(p),v=e(99289),m=e.n(v),E=e(90930),h=e(85601),f=e(35312),x=e(67294),c=e(48357),l=e(85893),I=function(){var T=(0,x.useRef)(),M=(0,f.useIntl)(),D=function(){var d=m()(u()().mark(function t(){var r,s,n;return u()().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,(0,c.ln)();case 2:return s=_.sent,n=[],(r=s.data)===null||r===void 0||r.forEach(function(a){n.push({label:a.name,value:a.code})}),_.abrupt("return",n);case 6:case"end":return _.stop()}},t)}));return function(){return d.apply(this,arguments)}}(),O=[{title:"\u5E94\u7528\u540D\u79F0",hideInTable:!0,dataIndex:"code",valueType:"select",request:D},{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"},5:{text:"\u5FEB\u624B"},7:{text:"Sigmob"}}},{title:"\u5E7F\u544A\u7C7B\u578B",dataIndex:"advType",valueEnum:{1:{text:"\u6A2A\u5E45"},2:{text:"\u63D2\u9875"},3:{text:"\u6FC0\u52B1\u89C6\u9891"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(t){return t/100}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,valueType:"textarea",renderText:function(t,r){return(0,l.jsxs)("p",{children:[r.deviceBrand," ",(0,l.jsx)("br",{})," ",r.deviceName]})}},{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,l.jsx)(E._z,{children:(0,l.jsx)(h.Z,{headerTitle:M.formatMessage({id:"pages.searchTable.title",defaultMessage:"Enquiry form"}),actionRef:T,rowKey:"key",search:{labelWidth:120},request:function(){var d=m()(u()().mark(function t(r){var s,n,i;return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,c._5)(r);case 2:return i=a.sent,a.abrupt("return",{data:(s=i.data)===null||s===void 0?void 0:s.data,total:(n=i.data)===null||n===void 0?void 0:n.total,success:!0});case 4:case"end":return a.stop()}},t)}));return function(t){return d.apply(this,arguments)}}(),columns:O})})};o.default=I}}]);
|
|
|