PageSourceSearch

https://capchem.com/p__mobile__backlog__recipient.1a151669.async.js

js capchem.com collected 2026-10-04 02:13:42 UTC 3,455 bytes, 1 lines download raw bytes

1(self["webpackChunkapplication"]=self["webpackChunkapplication"]||[]).push([[12197],{20708:function(e,n,l){"use strict";l.r(n);var i=l(2824),o=l(67294),t=l(42004),s=l(39704),d=l(28036),a=l(30198),r=l(83647),c=l(72709),p=l(85893);const u=()=>{let e=(0,s.v9)((e=>null===e||void 0===e?void 0:e.recipients));const n=6,l=(0,o.useState)(""),u=(0,i.Z)(l,2),v=u[0],h=u[1],x=(0,o.useState)(1),g=(0,i.Z)(x,2),f=g[0],m=g[1],y=(0,o.useState)([]),j=(0,i.Z)(y,2),k=j[0],b=j[1],S=(0,o.useState)(!1),w=(0,i.Z)(S,2),F=w[0],N=w[1],C=(0,o.useState)(null),Z=(0,i.Z)(C,2),z=Z[0],I=Z[1],M=(0,o.useState)(""),A=(0,i.Z)(M,2),E=A[0],H=A[1],J=(0,t.QT)(c.Mbu,{manual:!0}),L=(0,t.QT)(c.e24,{manual:!0,onSuccess:(e,n)=>{var l;d.FN.clear(),(0,a.Ml)("recipients",JSON.parse(null===(l=n[0])||void 0===l?void 0:l.recipients)),t.m8.goBack()},onError:e=>{d.FN.clear(),d.FN.show({content:null===e||void 0===e?void 0:e.errorMessage,icon:"fail"})}});(0,o.useEffect)((()=>{let e=(0,r.Iu)();const n=e["pk"];h(n)}),[]);const O=e=>{I(null),b([]),m(1),N(!0),Q(1,e).then()},Q=async(e,l)=>{if(N(!1),!J.loading){const o=e||f,t=1===o?12:n,s=await J.run({page:o,size:t,keyword:l||E,pk:v}).then();if(m(1===o?3:o+1),null!==s&&void 0!==s&&s.success){var i;const e=null===s||void 0===s||null===(i=s.data)||void 0===i?void 0:i.rows;b((n=>[...n,...e])),N(e.length===t)}else console.log("error",s)}},T=()=>{d.FN.show({content:"\u6b63\u5728\u63d0\u4ea4\u6570\u636e",icon:"loading",duration:0});let n=e?(0,r.I8)(e):[];n.push({label:null===z||void 0===z?void 0:z.name,value:null===z||void 0===z?void 0:z.rid}),L.run({pk:v,recipients:JSON.stringify(n)}).then()};return(0,p.jsxs)("div",{className:"appointment-page",style:{padding:0},children:[(0,p.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",backgroundColor:"#FFFFFF",padding:"8px"},children:[(0,p.jsx)(d.E1,{onSearch:O,onChange:e=>H(e),style:{flex:1,fontSize:"12px","--border-radius":"15px"},maxLength:36,placeholder:"\u624b\u673a | \u59d3\u540d "}),(0,p.jsx)("span",{style:{width:"40px",textAlign:"center",cursor:"pointer",color:"#167ae3"},onClick:()=>{O(E)},children:"\u641c\u7d22"})]}),(0,p.jsx)("div",{className:"appointment-shadow-box",style:{height:"calc(100vh - 128px)",overflowY:"auto",margin:"2px 0 0",borderRadius:0},children:k.length>0?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(d.aV,{children:k.map(((e,n)=>(0,p.jsx)(d.aV.Item,{children:(0,p.jsxs)("div",{style:{display:"flex",alignItems:"center"},onClick:()=>{z&&(null===e||void 0===e?void 0:e.rid)===(null===z||void 0===z?void 0:z.rid)?I(null):I(e)},children:[(0,p.jsx)(d.Y8,{checked:(null===z||void 0===z?void 0:z.rid)===(null===e||void 0===e?void 0:e.rid)}),(0,p.jsx)(d.mH,{style:{display:"inline-block",width:"120px",fontSize:"14px",paddingLeft:"10px"},direction:"end",content:(null===e||void 0===e?void 0:e.name)||"-"}),(0,p.jsx)("span",{style:{flex:1,fontSize:"12px",color:"#969696",textAlign:"right"},children:null!==e&&void 0!==e&&e.phone?(0,r.WN)(null===e||void 0===e?void 0:e.phone):"-"})]})},"staff"+n)))}),(0,p.jsx)(d.v_,{loadMore:()=>Q(),hasMore:F})]}):(0,p.jsx)("p",{style:{textAlign:"center",lineHeight:3},children:F&&"\u6b63\u5728\u62fc\u547d\u52a0\u8f7d\u6570\u636e"})}),(0,p.jsx)("div",{className:"appointment-bottom-box",style:{padding:"15px 30px"},children:(0,p.jsx)(d.zx,{block:!0,color:"primary",shape:"rounded",disabled:!(null!==z&&void 0!==z&&z.rid),onClick:()=>{(0,r.sA)(T,{},5e3)},children:"\u786e\u8ba4"})})]})};n["default"]=u}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.