PageSourceSearch

https://cdn-v3.honghusaas.com/fe-workbench-static/sparrow-sass-fe/…/thirdManagement.cd7ea06abe9480500656.js

js honghusaas.com collected 2026-09-24 19:33:56 UTC 7,803 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksparrow_fe=self.webpackChunksparrow_fe||[]).push([[12479],{81967:(e,t,a)=>{a.r(t),a.d(t,{default:()=>L});var i,n=a(13776),o=a(90136),s=a(69655),l=a(58156),r=a.n(l),d=a(58609),c=a(24146),h=a(64467),p=a(77925),m=a(8963),u=(a(3362),a(12866)),g=a(98605),y=a(41790),f=a(25850),_=a(3421),v=a(30860),C=a(10019),x=a(47249),k=a(57907);const{Item:w}=p.A,I=(0,y.A)(m.default);let E=(0,g.connect)((e=>{const{authCityOption:t}=e.global,{companyId:a}=e.user;return{companyId:a,authCityOption:t}}))(i=class extends u.PureComponent{constructor(e){super(e),(0,h.default)(this,"clearSearch",(()=>{const{form:{resetFields:e}}=this.props;e()})),this.state={}}render(){const{form:{getFieldDecorator:e},authCityOption:t,fetchData:a}=this.props;return u.createElement("div",{className:"w-search-form-wrap row-1"},u.createElement(p.A,{layout:"inline",hideRequiredMark:!0,colon:!1,className:"label-6"},u.createElement(w,{label:"运营城市"},e("cities")(u.createElement(k.A,{cityList:t,mode:"multiple"}))),u.createElement("div",{className:"btn-wrap-follow"},u.createElement(I,{type:"primary",featurePath:["合作管理","合作列表"],onClick:()=>a(),featureName:"查询"},"查询"),u.createElement(m.default,{onClick:this.clearSearch},"清空"))))}})||i;const b=p.A.create()(E);var S;const A=(0,y.A)(m.default);const L=(0,g.connect)((e=>{const{authCityOption:t}=e.global,{extensivepPageSize:a}=e.assetManagement,{pathName:i}=e.layout,{companyId:n}=e.user;return{companyId:n,pathName:i,authCityOption:t,extensivepPageSize:a}}))(S=p.A.create()(S=class extends u.PureComponent{constructor(e){super(e),(0,h.default)(this,"getAgentList",(()=>{const{dispatch:e,companyId:t}=this.props;e({type:"assetManagement/getAgentList",payload:{params:{company_id:t}}})})),(0,h.default)(this,"onShowSizeChange",((e,t)=>{const{dispatch:a}=this.props;a({type:"assetManagement/updateStore",payload:{extensivepPageSize:t}}),this.fetchData(e,"",t)})),(0,h.default)(this,"fetchData",((e,t,a)=>{const{extensivepPageSize:i,companyId:n}=this.props;this.myform.current.validateFields(((o,s)=>{if(!o){const o={...s,company_id:n,page_index:e||(null==t?void 0:t.page_index)||1,page_size:a||i};this.setState({tableLoading:!0}),f.fM(o).then((e=>{if(e&&0===e.errno){const t=e.data||{};this.setState({pageConfig:{page_index:t.page_index||1,total:t.total||0},tableData:t.info||[],tableLoading:!1})}else this.setState({tableLoading:!1})}))}}))})),(0,h.default)(this,"onChangepage",(e=>{this.fetchData(e)})),(0,h.default)(this,"handleConfirm",(async e=>{const{detaiInfo:t}=this.state,a={company_id:t.company_id,audit_id:t.audit_id,is_agree:e,reply:e?"同意":"拒绝"},i=await f.pt(a);i&&0===i.errno&&(this.setState({showCheckModal:!1}),this.fetchData(),c.A.success("操作成功"))})),(0,h.default)(this,"getTable",(()=>{const{tableLoading:e,tableData:t}=this.state,{authCityOption:a}=this.props,i=t.map(((e,t)=>(e.key=t,e))),n=[{title:"运营主体",dataIndex:"outsource_name",key:"outsource_name",width:160,ellipsis:!0,render:e=>x.A.ellipsis(e,16)||"-"},{title:"品牌",dataIndex:"company_name",key:"company_name",width:160,render:e=>x.A.ellipsis(e,20)||"-"},{title:"城市",dataIndex:"city",key:"city",width:160,ellipsis:!0,render:e=>{var t;return(null===(t=a.find((t=>+t.city==+e)))||void 0===t?void 0:t.city_name)||"-"}},{title:"生效时间",dataIndex:"effective_time",key:"effective_time",width:188,ellipsis:!0,render:e=>x.A.ellipsis(e,40)},{title:"失效时间",dataIndex:"expired_time",key:"expired_time",width:188,ellipsis:!0,render:e=>e||"-"},{title:"当前状态",dataIndex:"status",key:"status",width:104,render:e=>{var t;return(null===(t=C.$3.find((t=>+t.key==+e)))||void 0===t?void 0:t.value)||"-"}},{title:"操作",dataIndex:"oper",key:"oper",width:184,fixed:"right",render:(e,t)=>u.createElement("div",{className:"oper"},1==+t.status&&u.createElement(A,{featurePath:["合作管理","合作列表"],type:"link",onClick:()=>this.setState({detaiInfo:t,showCheckModal:!0}),featureName:"确定/拒绝"},"确定/拒绝"),u.createElement(A,{type:"link",onClick:()=>this.handleFun(t),featureName:"操作记录",featurePath:["合作管理","合作列表"]},"操作记录"))}];return u.createElement(d.A,{className:"w-table",loading:e,bordered:!0,pagination:!1,columns:n,dataSource:i,scroll:{x:1416}})})),(0,h.default)(this,"handleFun",(e=>
1{this.setState({curDetail:e},(()=>{this.requestLogOtherPage()}))})),(0,h.default)(this,"onCancelLog",(()=>{this.setState({showOperationLogModal:!1,logDataList:[],logPageIndex:1})})),(0,h.default)(this,"requestLogOtherPage",(()=>{const{curDetail:e,logPageIndex:t}=this.state,{companyId:a}=this.props;f.Vu({company_id:a,audit_id:e.audit_id,page_index:t,page_size:10}).then((e=>{var t;e&&0===e.errno&&this.setState({logDataList:null==e||null===(t=e.data)||void 0===t?void 0:t.info,showOperationLogModal:!0})}))})),this.myform=u.createRef(),this.state={tableLoading:!1,tableData:[],showCheckModal:!1,detaiInfo:{},pageConfig:{page_index:1,page_size:10,total:0},logDataList:[],logPageIndex:1,logTotal:0}}componentDidMount(){this.myform.current.setFieldsValue({company_ids:void 0,cities:void 0,statuses:void 0}),this.fetchData(1,{})}componentDidUpdate(e){const{companyId:t}=this.props;t!==e.companyId&&(this.fetchData(),this.getAgentList())}render(){var e;const{history:t,extensivepPageSize:a,authCityOption:i}=this.props,{pageConfig:l,showCheckModal:d,detaiInfo:c,showOperationLogModal:h,logDataList:p,logPageIndex:g,logTotal:y}=this.state,f=(null===(e=i.find((e=>+e.city==+r()(c,"city"))))||void 0===e?void 0:e.city_name)||"-",C="".concat(c.effective_time," - ").concat(c.expired_time),{total:x,page_index:k}=l;return u.createElement("div",null,u.createElement(_.A,null),u.createElement(b,{ref:this.myform,fetchData:this.fetchData,history:t,className:"searchForm",onShowExportRecordModal:this.onShowExportRecordModal}),this.getTable(),u.createElement("div",{className:"driver-manage-footer"},u.createElement(s.default,{defaultCurrent:1,total:x,onChange:this.onChangepage,pageSize:a,current:k,showQuickJumper:!0,onShowSizeChange:this.onShowSizeChange})),u.createElement(n.A,{visible:d,title:"合作关系确认",footer:null,onCancel:()=>this.setState({showCheckModal:!1}),destroyOnClose:!0,maskClosable:!1,className:"w-modal label-6 third-modal"},u.createElement("div",null,u.createElement("div",{className:"third-modal-desc"},"以下运营主体向您的品牌发起合作申请,请确认下述信息后点击底部按钮进行确认/拒绝"),u.createElement(o.A,{column:{xl:1,lg:1,md:1,sm:1,xs:1},className:"w-descriptions"},u.createElement(o.A.Item,{label:"运营主体名称"},r()(c,"outsource_name")||"-"),u.createElement(o.A.Item,{label:"合作城市"},f||"-"),u.createElement(o.A.Item,{label:"合作周期"},C||"-")),u.createElement("div",{className:"third-modal-footer"},u.createElement(m.default,{type:"danger",className:"third-modal-denybtn",onClick:()=>this.handleConfirm(0)},"拒绝"),u.createElement(m.default,{type:"primary",className:"third-modal-okbtn",onClick:()=>this.handleConfirm(1)},"同意")))),u.createElement(v.A,{showOperationLogModal:h,onCancelLog:()=>this.onCancelLog(),isNew:!0,onChange:this.onChangeLogPage,logPageIndex:g,total:y,logDataList:p,pageSize:10,addColumns:[{title:"操作人",dataIndex:"op_user_name",key:"op_user_name",width:160},{title:"操作时间",dataIndex:"op_time",key:"op_time",width:202},{title:"操作类型",dataIndex:"op_type_txt",key:"op_type_txt",width:160},{title:"操作内容",dataIndex:"op",key:"op",render:(e,t)=>u.createElement("div",{className:"op_reasons"},t.op_submit&&t.op_submit.map((e=>Array.isArray(e.value)?u.createElement("div",{key:e.key},e.key,":",e.value&&e.value.join(",")):u.createElement("div",{key:e.key},e.key,":",e.value))))}]}))}})||S)||S}}]);
2//# sourceMappingURL=thirdManagement.cd7ea06abe9480500656.js.map

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.