PageSourceSearch

https://capchem.com/p__dashboard__workspace__service__workRecord.200b0973.async.js

js capchem.com collected 2026-10-04 02:16:04 UTC 12,619 bytes, 1 lines download raw bytes

1(self["webpackChunkapplication"]=self["webpackChunkapplication"]||[]).push([[44496],{81615:function(e){e.exports={fontSize12:"fontSize12___3JCQj",fontSize14:"fontSize14___35QOv",fontSize16:"fontSize16___gsqR4",fontSize18:"fontSize18___30R4Y",global_center_page:"global_center_page___3v0Ho",global_base_padding:"global_base_padding___1PlWs",global_base_box:"global_base_box___2QkoG",global_full_page:"global_full_page___KeBGI",global_base_content:"global_base_content___3FDnh",global_system_line_img:"global_system_line_img___3ZRSx",global_system_span:"global_system_span___1QREL",global_system_edit:"global_system_edit___hrxo-",global_system_search_box:"global_system_search_box___r1dHt",global_base_form_label:"global_base_form_label___2lhgu",global_base_form_input:"global_base_form_input___3cOZI",global_red_form_label:"global_red_form_label___1VIlg",global_table_pointer_span:"global_table_pointer_span___18yFR",global_table_pointer_gary_span:"global_table_pointer_gary_span___3LZhM",global_table_pointer_red_span:"global_table_pointer_red_span___27r8q",global_base_input:"global_base_input___3ijt6",global_base_btn:"global_base_btn___19q4d",global_console_base_title:"global_console_base_title___35294",global_base_title:"global_base_title___19xEG",global_base_flex:"global_base_flex___2kgAK",global_flex_x_c:"global_flex_x_c___3KPqn",global_flex_x:"global_flex_x___2FL6r",global_flex_y:"global_flex_y___3-Hi3",global_flex_xy:"global_flex_xy___3Jl2n",global_base_a:"global_base_a___3Tv8t",global_base_line:"global_base_line___1siak",global_login_footer:"global_login_footer___2D7e4",global_login_page:"global_login_page___3EfXk",global_login_inner_box:"global_login_inner_box___2EGgr",global_right_modal_p:"global_right_modal_p___228xw",global_right_modal_footer:"global_right_modal_footer___12GZW",global_warning_title:"global_warning_title___1LMZA",global_base_warning_btn:"global_base_warning_btn___3OGWk",global_warning_input:"global_warning_input___1jv6n",global_system_line:"global_system_line___2VJmu",global_pointer_span:"global_pointer_span___1S_JC",global_hidden_content:"global_hidden_content___-QxsY",global_dashboard_title:"global_dashboard_title___2bToQ",global_dashboard_content:"global_dashboard_content___2bLpU",global_dashboard_gray_box:"global_dashboard_gray_box___y7RC2",global_red_label:"global_red_label___2CbEd",global_green_label:"global_green_label___3xbQE",global_blue_label:"global_blue_label___3yRMs","article-container":"article-container___i9lL3","nav-container":"nav-container___3kbaE",hide:"hide___25UFV","toggle-btn":"toggle-btn___2jnmX"}},24809:function(e,l,a){"use strict";a.r(l);a(57338);var o=a(25084),n=(a(32157),a(82363)),_=(a(88983),a(47933)),i=(a(71153),a(60331)),t=(a(13062),a(71230)),r=(a(66456),a(56690)),s=(a(89032),a(15746)),d=(a(34792),a(48086)),b=(a(57663),a(71577)),g=a(2824),u=a(67294),c=a(42004),h=a(39704),p=a(31223),x=a(30198),v=a(83647),m=a(72709),y=a(81615),Z=a.n(y),f=a(85893);const S=()=>{let e=(0,h.v9)((e=>null===e||void 0===e?void 0:e.nowClient));const l=(0,u.useState)(1),a=(0,g.Z)(l,2),y=a[0],S=a[1],j=(0,u.useState)(1),k=(0,g.Z)(j,2),C=k[0],w=k[1],I=(0,x.MO)("dashboardSize"),P=(0,u.useState)(""),E=(0,g.Z)(P,2),z=E[0],T=E[1],Q=(0,u.useState)(!1),M=(0,g.Z)(Q,2),L=M[0],R=M[1],G=(0,u.useState)([]),K=(0,g.Z)(G,2),O=K[0],F=K[1],N=(0,u.useState)(0),A=(0,g.Z)(N,2),q=A[0],D=A[1],J=(0,u.useState)(0),U=(0,g.Z)(J,2),W=U[0],B=U[1],H=(0,u.useState)(0),V=(0,g.Z)(H,2),$=V[0],X=V[1],Y=(0,u.useState)(0),ee=(0,g.Z)(Y,2),le=ee[0],ae=ee[1],oe=(0,u.useState)(!1),ne=(0,g.Z)(oe,2),_e=ne[0],ie=ne[1],te=(0,u.useState)([]),re=(0,g.Z)(te,2),se=re[0],de=re[1],be=(0,u.useState)({}),ge=(0,g.Z)(be,2),ue=ge[0],ce=ge[1],he=(0,u.useState)({}),pe=(0,g.Z)(he,2),xe=pe[0],ve=pe[1],me=(0,u.useState)({}),ye=(0,g.Z)(me,2),Ze=ye[0],fe=ye[1],Se=(0,u.useState)([]),je=(0,g.Z)(Se,2),ke=je[0],Ce=je[1],we=(0,u.useState)([]),Ie=(0,g.Z)(we,2),Pe=Ie[0],Ee=Ie[1],ze=(0,u.useState)([]),Te=(0,g.Z)(ze,2),Qe=Te[0],Me=Te[1],Le=(0,u.useState)([]),Re=(0,g.Z)(Le,2),Ge=Re[0],Ke=Re[1],Oe=(0,u.useState)([]),Fe=(0,g.Z)(Oe,2),Ne=Fe[0],Ae=Fe[1],qe=(0,u.useState)({}),De=(0,g.Z)(qe,2),Je=De[0],Ue=De[1],We=(0,u.useState)(2),Be=(0,g.Z)(We,2),He=Be[0],Ve=Be[1],$e=[{title:"\u5e8f\u53f7",dataIndex:"key",rowScope:"row"},{title:"\u59d3\u540d",key:"name",dataIndex:"name"},{title:"\u624b\u673a",key:"phone",dataIndex:"phone"},{title:"\u7c7b\u578b",key:"type",dataIndex:"type",render:e=>e?1==e?"\u57fa\u7840\u8d26\u53f7":"\u4e92\u901a\u8d26\u53f7":""},{title:"openID",key:"userId",dataIndex:"userId"},{title:"\u6fc0\u6d3b\u72b6\u6001",key:"status",dataIndex:"status",render:e=>{let l="";return 1===e&&(l="\u672a\u7ed1\u5b9a"),2===e&&(l="\u5df2\u7ed1\u5b9a\u4e14\u6709\u6548"),3===e&&(l="\u5df2\u8fc7\u671f"),4===e&&(l="\u5f85\u8f6c\u79fb"),l}},{title:"\u6fc0\u6d3b\u65f6\u95f4",key:"active_time",dataIndex:"active_time"},{title:"\u8fc7\u671f\u65f6\u95f4",key:"expire_time",dataIndex:"expire_time"},{title:"\u64cd\u4f5c",key:"action",dataIndex:"action",render:(e,l)=>(0,f.jsx)(b.Z,{disabled:!L,onClick:()=>{fe(l),ve(ue),de(null===ue||void 0===ue?void 0:ue.rid),ie(!0)},children:"\u7f16\u8f91"})}],Xe=[{title:"\u59d3\u540d",key:"name",dataIndex:"name"},{title:"\u624b\u673a",key:"phone",dataIndex:"phone"},{title:"\u4e3b\u7ba1",key:"leader",dataIndex:"leader",render:e=>e?"\u662f":"\u5426"},{title:"\u64cd\u4f5c",key:"rid",dataIndex:"rid",render:(e,l)=>{let a=0;
1return null!==Ze&&void 0!==Ze&&Ze.rid&&(((null===Ze||void 0===Ze?void 0:Ze.rid)==e||Qe.includes(e))&&(a=1),(null===Je||void 0===Je?void 0:Je.rid)==e&&(a=2)),null!==Ze&&void 0!==Ze&&Ze.rid||(Qe.includes(e)&&(a=1),Ge.includes(e)&&(a=2)),(0,f.jsx)("span",{className:0==a?Z().global_table_pointer_span:2==a?Z().global_table_pointer_red_span:"",onClick:()=>{null!==Ze&&void 0!==Ze&&Ze.rid&&(0==a&&Ue(l),2==a&&Ue({})),null!==Ze&&void 0!==Ze&&Ze.rid||(0==a&&tl(!0,l),2==a&&tl(!1,l))},children:null!==Ze&&void 0!==Ze&&Ze.rid?1==a?"-":2==a?"\u79fb\u9664":"\u7ee7\u627f":1==a?"-":2==a?"\u79fb\u9664":"\u65b0\u589e"})}}],Ye=(0,c.QT)(m.rho,{manual:!0,onSuccess:({data:e},l)=>{var a;ae(null===e||void 0===e?void 0:e.total);const o=e.rows;let n=[];const _=null===(a=l[0])||void 0===a?void 0:a.rid;for(let i in o){let e=o[i];e.pRid=_,n.push(e)}Ee(n)},onError:()=>{Ee([]),ae(0)}}),el=(0,c.QT)(m.Kue,{manual:!0,onSuccess:({data:e})=>{const l=e.rid,a=e.name,o=e.children;de(l),Ce(o),!xe.rid&&ve({rid:l,name:a}),ce({rid:l,name:a})},onError:()=>{Ce([])}}),ll=(0,c.QT)(m.ALk,{manual:!0,onSuccess:()=>{d.ZP.success("\u7ee7\u627f\u4f01\u5fae\u6388\u6743\u7528\u6237\u6210\u529f").then(),rl(),w(1),1==C&&ol.run({page:1,size:I}).then()},onError:e=>{il(!1),d.ZP.error(null===e||void 0===e?void 0:e.errorMessage).then()}}),al=(0,c.QT)(m.xcp,{manual:!0,onSuccess:()=>{d.ZP.success("\u6fc0\u6d3b\u4f01\u5fae\u6388\u6743\u7528\u6237\u6210\u529f").then(),rl(),w(1),1==C&&ol.run({page:1,size:I}).then()},onError:e=>{il(!1),d.ZP.error(null===e||void 0===e?void 0:e.errorMessage).then()}}),ol=(0,c.QT)(m._n,{manual:!0,onSuccess:({data:e})=>{F(null===e||void 0===e?void 0:e.rows),D(null===e||void 0===e?void 0:e.availableCount),B(null===e||void 0===e?void 0:e.userCount),Me((0,v.on)(null===e||void 0===e?void 0:e.rows,"user")),il(!1),X(null===e||void 0===e?void 0:e.total)},onError:e=>{F([]),X(0),D(0),B(0),il(!1),d.ZP.error(null===e||void 0===e?void 0:e.errorMessage).then()}}),nl=(0,c.QT)(m.wlg,{manual:!0,onSuccess:({data:e})=>{const l=e.status,a=e.errMsg;if(1===l){let e=setTimeout((()=>{nl.run().then()}),2e3);return()=>{clearTimeout(e)}}1!==l&&(0===l&&(d.ZP.success("\u540c\u6b65\u4f01\u6210\u529f").then(),rl(),w(1),1==C&&ol.run({page:1,size:I}).then()),2===l&&(il(!1),d.ZP.error(a).then()))},onError:e=>{il(!1),d.ZP.error(null===e||void 0===e?void 0:e.errorMessage).then()}}),_l=(0,c.QT)(m.LdP,{manual:!0,onSuccess:()=>{nl.run().then()},onError:e=>{il(!1),d.ZP.error(null===e||void 0===e?void 0:e.errorMessage).then()}});(0,u.useEffect)((()=>{const l=e.rid,a=e.role;l&&z!=l&&(T(l),R(a<2),el.run().then())}),[e]),(0,u.useEffect)((()=>{se&&Ye.run({rid:se}).then()}),[se]),(0,u.useEffect)((()=>{z&&C&&ol.run({page:C,size:I}).then()}),[C,z]),(0,u.useEffect)((()=>{_l.loading&&il(!0)}),[_l.loading]);const il=(0,u.useCallback)((e=>{v.vp.publish("dashboardLoading",e)}),[]),tl=(e,l)=>{if(e){let e=(0,v.I8)(Ne);e.push(l),Ae(e);let a=(0,v.I8)(Ge);a.push(null===l||void 0===l?void 0:l.rid),Ke((0,v.I8)(a))}if(!e){let e=[],a=[];const o=l.rid;for(let l in Ne)Ne[l].rid!=o&&(e.push(Ne[l]),a.push(Ne[l].rid));Ke((0,v.I8)(a)),Ae(e)}},rl=()=>{ie(!1),Ae([]),Ke([]),fe({}),Ue({}),Ve(2)};return(0,f.jsxs)("div",{style:{paddingBottom:"15px"},children:[(0,f.jsxs)(t.Z,{children:[(0,f.jsx)(s.Z,{span:24,children:(0,f.jsxs)("div",{className:"global_flex_y",style:{flexWrap:"wrap"},children:[(0,f.jsxs)("div",{style:{color:"rgba(0, 0, 0, 0.45)"},children:["\u53ef\u6fc0\u6d3b",(0,f.jsx)("span",{style:{margin:"0 20px",color:"#54cb35"},children:q})]}),(0,f.jsxs)("div",{style:{color:"rgba(0, 0, 0, 0.45)"},children:["\u5df2\u6fc0\u6d3b",(0,f.jsx)("span",{style:{margin:"0 20px"},children:W})]}),L&&(0,f.jsx)(b.Z,{type:"primary",style:{marginRight:"10px"},onClick:()=>(0,v.sA)(_l),children:"\u540c\u6b65"}),q>0&&L&&(0,f.jsx)(b.Z,{type:"primary",className:"global_green_btn",onClick:()=>{ve(ue),de(null===ue||void 0===ue?void 0:ue.rid),ie(!0)},children:"\u65b0\u589e"})]})}),(0,f.jsx)(s.Z,{span:24,style:{paddingTop:"30px"},children:(0,f.jsx)(r.Z,{rowKey:"rid",columns:$e,dataSource:O,bordered:!0,pagination:{current:C,defaultPageSize:I,onChange:e=>w(e),total:$,showTotal:e=>`\u5171${e}\u6761`,showSizeChanger:!1,hideOnSinglePage:!0}})})]}),(0,f.jsxs)(o.Z,{title:null!==Ze&&void 0!==Ze&&Ze.rid?"\u7ee7\u627f\u6fc0\u6d3b\u8d26\u53f7":"\u65b0\u589e\u6fc0\u6d3b\u8d26\u53f7",width:"500px",visible:_e,closable:!1,destroyOnClose:!0,onClose:()=>rl(),children:[(0,f.jsxs)(t.Z,{children:[(0,f.jsx)(s.Z,{span:24,style:{paddingBottom:"20px"},children:null!==Ze&&void 0!==Ze&&Ze.rid?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("div",{children:[(0,f.jsx)(i.Z,{icon:(0,f.jsx)(p.Z,{}),color:"#55acee",children:"\u5f53\u524d\u8d26\u53f7"}),null===Ze||void 0===Ze?void 0:Ze.name]}
1),(0,f.jsxs)("div",{style:{marginTop:"15px"},children:[(0,f.jsx)(i.Z,{icon:(0,f.jsx)(p.Z,{}),color:"#55acee",children:"\u7ee7\u627f\u8d26\u53f7"}),null===Je||void 0===Je?void 0:Je.name]})]}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{children:(0,f.jsxs)(_.ZP.Group,{onChange:e=>{var l;return Ve(null===e||void 0===e||null===(l=e.target)||void 0===l?void 0:l.value)},value:He,children:[(0,f.jsx)(_.ZP,{value:1,children:"\u5168\u4f53"}),(0,f.jsx)(_.ZP,{value:2,children:"\u6307\u5b9a\u6210\u5458"})]})}),2==He&&(0,f.jsxs)("div",{style:{marginTop:"15px"},children:[(0,f.jsx)(i.Z,{icon:(0,f.jsx)(p.Z,{}),color:"#55acee",children:"\u6fc0\u6d3b\u8d26\u53f7"}),Ne.map(((e,l)=>(0,f.jsx)(i.Z,{closable:!0,onClose:()=>tl(!1,e),children:null===e||void 0===e?void 0:e.name},l+(null===e||void 0===e?void 0:e.name))))]})]})}),(0,f.jsxs)(s.Z,{span:8,style:{display:2==He?"":"none"},children:[(0,f.jsx)("label",{style:{cursor:"pointer",padding:"1px 3px",margin:"0 5px",display:"inline-block",backgroundColor:se==(null===ue||void 0===ue?void 0:ue.rid)?"#bae7ff":""},onClick:()=>{ve(ue),de(null===ue||void 0===ue?void 0:ue.rid)},children:(null===ue||void 0===ue?void 0:ue.name)||"\u672a\u586b\u5199"}),(0,f.jsx)(n.Z,{className:"tree_one_line",multiple:!1,fieldNames:{title:"name",key:"rid",children:"children"},style:{width:"100%"},selectedKeys:se,onSelect:(e,l)=>{de(e);const a=l.node,o=a.rid,n=a.name,_=a.children;ve({rid:o,name:n,children:_})},treeData:ke},"rid")]}),(0,f.jsx)(s.Z,{span:16,style:{display:2==He?"":"none"},children:(0,f.jsx)(r.Z,{rowKey:"rid",loading:Ye.loading,bordered:!0,columns:Xe,dataSource:Pe,pagination:{current:y,defaultPageSize:I,onChange:e=>S(e),total:le,showTotal:e=>`\u5171${e}\u6761`,showSizeChanger:!1,hideOnSinglePage:!0}})})]}),(0,f.jsxs)("div",{className:Z().global_right_modal_footer,children:[(0,f.jsx)(b.Z,{type:"primary",disabled:!L,onClick:()=>{let e=al,l=Ge;if(null===Ze||void 0===Ze||!Ze.rid){if(2==He&&0==Ge.length)return d.ZP.error("\u8bf7\u9009\u62e9\u6fc0\u6d3b\u8d26\u53f7").then(),!1;if(2==He&&Ge.length>q)return d.ZP.error(`\u73b0\u7cfb\u7edf\u53ef\u6fc0\u6d3b\u7801\u6570\u4e3a${q}\u4e2a`).then(),!1}if(null!==Ze&&void 0!==Ze&&Ze.rid){if(null===Je||void 0===Je||!Je.rid)return d.ZP.error("\u8bf7\u9009\u62e9\u7ee7\u627f\u8d26\u53f7").then(),!1;e=ll,l=[{handoverUserid:null===Ze||void 0===Ze?void 0:Ze.user,takeoverUserid:null===Je||void 0===Je?void 0:Je.rid}]}il(!0),(0,v.sA)(e,l)},children:"\u4fdd\u5b58"}),(0,f.jsx)(b.Z,{onClick:()=>rl(),children:"\u53d6\u6d88"})]})]})]})};l["default"]=S}}]);

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.