<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-62398172"],{"38e5":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("th-main-page",{attrs:{title:"åŸºé‡‘è´¦æˆ·ç®¡ç†"}},[a("th-page-section",[a("div",[a("el-input",{staticStyle:{width:"300px"},attrs:{size:"mini",placeholder:"åŸºé‡‘åç§°/å•å…ƒåºå·ï¼Œå¤šä¸ªç”¨ç©ºæ&nbsp;¼ç›¸éš”ï¼ˆæˆ–çš„å…³ç³»ï¼‰"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&amp;&amp;t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.reloadData.apply(null,arguments)}},model:{value:t.filters.keyword,callback:function(e){t.$set(t.filters,"keyword",e)},expression:"filters.keyword"}}),a("el-select",{staticStyle:{width:"200px"},attrs:{size:"mini",placeholder:"è´¦æˆ·ç±»åž‹",clearable:"",multiple:""},model:{value:t.filters.fundAccountTypes,callback:function(e){t.$set(t.filters,"fundAccountTypes",e)},expression:"filters.fundAccountTypes"}},t._l(t.$store.state.accountType,(function(t,e){return a("el-option",{key:"accountType"+e,attrs:{label:t,value:e}})})),1),a("el-select",{staticStyle:{width:"100px"},attrs:{size:"mini",placeholder:"çŠ¶æ€",clearable:""},model:{value:t.filters.status,callback:function(e){t.$set(t.filters,"status",e)},expression:"filters.status"}},t._l(t.statusMap,(function(t,e){return a("el-option",{key:"status"+e,attrs:{label:t,value:e}})})),1),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.reloadData}},[t._v("æŸ¥è¯¢")])],1),a("div",{staticStyle:{"margin-top":"8px"}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.onLoading,expression:"onLoading"}],ref:"dataTable",staticClass:"th-el-table",attrs:{"highlight-current-row":"",size:"mini",data:t.dataList},on:{"current-change":t.onRecordSelected,"sort-change":t.onSortChange}},[a("el-table-column",{attrs:{prop:"productShortName",label:"åŸºé‡‘åç§°","min-width":"120","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{prop:"accountName",label:"è´¦æˆ·åç§°","min-width":"120","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{prop:"accountType",label:"è´¦æˆ·ç±»åž‹",width:"100","show-overflow-tooltip":"",formatter:t.formatAccountType}}),a("el-table-column",{attrs:{prop:"accountNo",label:"èµ„é‡‘è´¦æˆ·","min-width":"80"}}),a("el-table-column",{attrs:{prop:"branchCode",label:"è¥ä¸šéƒ¨ä»£ç&nbsp;","min-width":"80"}}),a("el-table-column",{attrs:{prop:"userCode",label:"å®¢æˆ·ä»£ç&nbsp;","min-width":"80"}}),a("el-table-column",{attrs:{prop:"brokerName",label:"è¯åˆ¸/æœŸè´§ç»çºªå•†","min-width":"80","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{prop:"securityAccount",label:"è¯åˆ¸è´¦æˆ·","min-width":"80","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{prop:"bankName",label:"é“¶è¡Œåç§°",width:"100","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{prop:"bankAccount",label:"é“¶è¡Œè´¦æˆ·",width:"100","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{prop:"bankAccountNo",label:"é“¶è¡Œè´¦å·",width:"100","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{prop:"enabled",label:"çŠ¶æ€",width:"80","show-overflow-tooltip":"",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.enabled?a("th-tag",{staticClass:"pointer hr-label-success",staticStyle:{width:"100%"},attrs:{size:"mini",type:"success"},nativeOn:{click:function(a){return a.stopPropagation(),t.onEnableFundAccount(e.row.id,"false")}}},[t._v(t._s("æ­£å¸¸"))]):a("th-tag",{staticClass:"pointer hr-label-danger",staticStyle:{width:"100%"},attrs:{size:"mini",type:"danger"},nativeOn:{click:function(a){return a.stopPropagation(),t.onEnableFundAccount(e.row.id,"true")}}},[t._v(t._s("å·²å…³é—­"))])]}}])}),a("el-table-column",{attrs:{label:"æ“ä½œ",width:"100",align:"center","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-tooltip",{attrs:{effect:"dark",content:"ç¼–è¾‘",placement:"top","open-delay":500}},[a("i",{staticClass:"iconfont icon-bianji1",staticStyle:{cursor:"pointer","font-size":"14px"},on:{click:function(a){return a.stopPropagation(),a.preventDefault(),t.onUpdateRecord(e.row)}}})]),a("el-tooltip",{attrs:{effect:"dark",content:"åˆ&nbsp;é™¤",placement:"top","open-delay":500}},[a("i",{staticClass:"iconfont icon-shanchu2",staticStyle:{cursor:"pointer","margin-left":"5px","font-size":"14px"},on:{click:function(a){return a.stopPropagation(),a.preventDefault(),t.onDeleteRecord(e.row)}}})])]}}])})],1),a("el-row",{staticStyle:{"margin-top":"8px"}},[a("el-col",{attrs:{span:12}},[a("el-button",{attrs:{type:"primary",size:"mini"},nativeOn:{click:function(e){return t.onCreateRecord.apply(null,arguments)}}},[t._v("æ·»åŠ&nbsp;")])],1),a("el-col",{attrs:{span:12,align:"right"}},[a("el-pagination",{attrs:{layout:"sizes, prev, pager, next",size:"mini","page-size":t.pageSize,"page-sizes":[5,10,15,20,30],total:t.total,"current-page":t.page},on:{"current-change":t.onPaginationChange,"size-change":t.onPaginationSizeChange}})],1)],1)],1)]),a("updateComp",{attrs:{formVisible:t.createDialogVisible,recordData:t.selectedRecord},on:{"update:formVisible":function(e){t.createDialogVisible=e},"update:form-visible":function(e){t.createDialogVisible=e},onSuccess:t.loadData}})],1)},i=[],l=(a("14d9"),a("8b55")),n=a("4328"),r=a.n(n),s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t.onUpdate?"ç¼–è¾‘":"æ–°å¢ž",visible:t.visible,"close-on-click-modal":!1,"show-close":!0,width:"50%"},on:{"update:visible":function(e){t.visible=e},close:t.onClosed}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"hr-panel hr-dialog-panel"},[a("div",{staticClass:"panel-content"},[a("el-form",{ref:"addForm",attrs:{model:t.formData,size:"mini","status-icon":"","label-width":"130px",rules:t.addFormRules}},[a("el-form-item",{attrs:{label:"åŸºé‡‘ï¼š",prop:"productId"}},[a("el-select",{attrs:{filterable:"",remote:"",size:"mini",placeholder:"è¯·è¾“å…¥äº§å“åç§°","value-key":"value","reserve-keyword":"","remote-method":t.remoteMethod,loading:t.productOptionsLoading},on:{change:t.onProductChange},model:{value:t.formData.productId,callback:function(e){t.$set(t.formData,"productId",e)},expression:"formData.productId"}},t._l(t.productOptions,(function(e,o){return a("el-option-group",{key:"group_"+o,attrs:{label:e.label}},t._l(e.options,(function(e,o){return a("el-option",{key:"holdings_"+o,attrs:{value:e.id,label:e.value}},[a("span",{staticStyle:{float:"left"}},[t._v(t._s(e.value))]),a("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[t._v(t._s(e.value4))])])})),1)})),1)],1),a("el-form-item",{attrs:{label:"è´¦æˆ·ç±»åž‹ï¼š",prop:"accountType"}},[a("el-radio-group",{attrs:{size:"mini",clearable:""},model:{value:t.formData.accountType,callback:function(e){t.$set(t.formData,"accountType",e)},expression:"formData.accountType"}},t._l(t.$store.state.accountType,(function(e,o){return a("el-radio",{key:"accountType"+o,attrs:{label:o}},[t._v(t._s(e))])})),1)],1),"CUSTODIAN_ACCOUNT"!=t.formData.accountType?[a("el-form-item",{attrs:{label:"è¯åˆ¸/æœŸè´§ç»çºªå•†ï¼š",prop:"brokerName"}},[a("el-input",{attrs:{size:"mini",maxlength:40,placeholder:"è¯·è¾“å…¥"},model:{value:t.formData.brokerName,callback:function(e){t.$set(t.formData,"brokerName",e)},expression:"formData.brokerName"}})],1),a("el-form-item",{attrs:{label:"èµ„é‡‘è´¦æˆ·",prop:"accountNo"}},[a("el-input",{model:{value:t.formData.accountNo,callback:function(e){t.$set(t.formData,"accountNo",e)},expression:"formData.accountNo"}})],1),a("el-form-item",{attrs:{label:"è¥ä¸šéƒ¨ä»£ç&nbsp;",prop:"branchCode"}},[a("el-input",{model:{value:t.formData.branchCode,callback:function(e){t.$set(t.formData,"branchCode",e)},expression:"formData.branchCode"}})],1),a("el-form-item",{attrs:{label:"å®¢æˆ·ä»£ç&nbsp;",prop:"userCode"}},[a("el-input",{model:{value:t.formData.userCode,callback:function(e){t.$set(t.formData,"userCode",e)},expression:"formData.userCode"}})],1),t.isStockAccount?a("el-form-item",{attrs:{label:"è¯åˆ¸è´¦æˆ·",prop:"securityAccount"}},[a("el-input",{staticStyle:{width:"210px"},attrs:{size:"mini",maxlength:40},model:{value:t.formData.accountNoSH,callback:function(e){t.$set(t.formData,"accountNoSH",e)},expression:"formData.accountNoSH"}},[a("template",{slot:"prepend"},[t._v("æ²ª")])],2),a("el-input",{staticStyle:{width:"210px"},attrs:{size:"mini",maxlength:40},model:{value:t.formData.accountNoSZ,callback:function(e){t.$set(t.formData,"accountNoSZ",e)},expression:"formData.accountNoSZ"}},[a("template",{slot:"prepend"},[t._v("æ·±")])],2),a("el-input",{staticStyle:{width:"210px"},attrs:{size:"mini",maxlength:40},model:{value:t.formData.accountNoBJ,callback:function(e){t.$set(t.formData,"accountNoBJ",e)},expression:"formData.accountNoBJ"}},[a("template",{slot:"prepend"},[t._v("äº¬")])],2)],1):t._e(),"FUTURES_ACCOUNT"==t.formData.accountType?a("el-form-item",{attrs:{label:"ç»“ç®—å•ç±»åž‹ï¼š"}},[a("el-select",{attrs:{size:"mini"},model:{value:t.formData.statementType,callback:function(e){t.$set(t.formData,"statementType",e)},expression:"formData.statementType"}},t._l(t.$store.state.statementType,(function(t,e){return a("el-option",{key:"statementType"+e,attrs:{label:t,value:e}})})),1)],1):t._e()]:t._e(),a("el-form-item",{attrs:{label:"é“¶è¡Œåç§°ï¼š",prop:"bankAccount"}},[a("el-input",{model:{value:t.formData.bankName,callback:function(e){t.$set(t.formData,"bankName",e)},expression:"formData.bankName"}})],1),a("el-form-item",{attrs:{label:"é“¶è¡Œè´¦æˆ·ï¼š",prop:"bankAccount"}},[a("el-input",{model:{value:t.formData.bankAccount,callback:function(e){t.$set(t.formData,"bankAccount",e)},expression:"formData.bankAccount"}})],1),a("el-form-item",{attrs:{label:"é“¶è¡Œè´¦å·ï¼š",prop:"bankAccountNo"}},[a("el-input",{model:{value:t.formData.bankAccountNo,callback:function(e){t.$set(t.formData,"bankAccountNo",e)},expression:"formData.bankAccountNo"}})],1),a("el-form-item",{attrs:{label:"è´¦æˆ·åç§°ï¼š",prop:"accountName"}},[a("el-row",[a("el-col",{attrs:{span:15}},[a("el-input",{staticStyle:{width:"100%"},attrs:{size:"mini",maxlength:40,placeholder:"è¯·è¾“å…¥"},model:{value:t.formData.accountName,callback:function(e){t.$set(t.formData,"accountName",e)},expression:"formData.accountName"}})],1),a("el-col",{attrs:{span:9}},[a("el-button",{staticStyle:{color:"#409eff",background:"#ecf5ff","border-color":"#b3d8ff",width:"100%"},attrs:{size:"mini",plain:"",icon:"el-icon-back"},on:{click:t.inputAccountName}},[t._v("ç”Ÿæˆè´¦æˆ·åç§°")])],1)],1)],1)],2),a("el-row",[a("el-col",{attrs:{align:"center"}},[a("el-badge",{attrs:{"is-dot":t.isDirty}},[a("el-button",{attrs:{type:"primary",loading:t.addLoading,size:"mini"},nativeOn:{click:function(e){return t.onSaveRecord.apply(null,arguments)}}},[t._v("ç¡®å®š")])],1),a("el-button",{attrs:{type:"primary",size:"mini"},nativeOn:{click:function(e){return t.loadData.apply(null,arguments)}}},[t._v("é‡ç½®")]),a("el-button",{attrs:{size:"mini"},nativeOn:{click:function(e){return t.onClosed.apply(null,arguments)}}},[t._v("å–æ¶ˆ")])],1)],1)],1)])])},c=[],u=a("a602"),p=(a("de31"),a("2ef0")),d=a.n(p);let f=null;var h={components:{pinyinSelector:u["a"]},props:{formVisible:{type:Boolean,default:!1},recordData:{type:Object,default:null}},data(){return{item:null,productOptions:[],productOptionsLoading:!1,formData:{id:null,productId:"",accountType:"",accountNo:"",accountNoSH:"",accountNoSZ:"",accountNoBJ:"",accountName:"",brokerName:"",statementType:"MARK_TO_MARKET",bankName:null,bankAccount:null,bankAccountNo:null,userCode:null,branchCode:null},defaultFormData:{},backupFormData:{},visible:!1,addLoading:!1,loading:!1,onUpdate:!1,addFormRules:{productId:[{required:!0,message:"è¯·é€‰æ‹©åŸºé‡‘äº§å“",type:"number",trigger:"blur"}],accountType:[{required:!0,message:"è¯·é€‰æ‹©è´¦æˆ·ç±»åž‹",trigger:"blur"}],accountName:[{required:!0,message:"è¯·è¾“å…¥è´¦æˆ·åç§°",trigger:"blur"}],accountNo:[{required:!0,message:"è¯·è¾“å…¥",trigger:"change"}],brokerName:[{required:!0,message:"è¯·è¾“å…¥è¯åˆ¸/æœŸè´§ç»æµŽå•†",trigger:"change"}],branchCode:[{required:!1}],userCode:[{required:!1}]}}},methods:{getAccountNoLabel(){return this.isStockAccount?"è‚¡ä¸œå¡ï¼š":"èµ„é‡‘è´¦æˆ·ï¼š"},onProductChange(){this.item=null,this.productOptions.forEach(t=&gt;{t.options.forEach(t=&gt;{t.id==this.formData.productId&amp;&amp;(this.item=t)})})},inputAccountName(){let t="";this.item&amp;&amp;(t+=this.item.value6),"CUSTODIAN_ACCOUNT"==this.formData.accountType?t+="æ‰˜ç®¡æˆ·":(this.formData.brokerName&amp;&amp;(t+=this.formData.brokerName),this.formData.accountNo&amp;&amp;(t+="("+this.formData.accountNo+")")),this.formData.accountName=t},async remoteMethod(t){if(null==t||""==t.trim())return;this.productOptionsLoading=!0;const e=l["b"].uuid();f=e;let a=[];const o=await this.$api.getMixOptions.get({keyword:t,types:"FUND,MASTER_FUND,ASSET_UNIT"});if(0==o.errorNo){let t=o.result;t&amp;&amp;t.length&gt;0&amp;&amp;a.push(...t)}f==e&amp;&amp;(this.productOptions=a),this.productOptionsLoading=!1},formatAssetValueNumber(t){t?(console.log("val:",t),this.$nextTick(()=&gt;{this.formData.assetValue=l["b"].formatNumber(t.replace(/,/g,""))})):this.formData.assetValue=""},error(t){this.$message({message:t,duration:1500,showClose:!0,type:"error"})},onClosed(){this.$emit("update:formVisible",!1)},onSaveRecord(){this.$refs.addForm.validate(t=&gt;{if(t){const t=this.onUpdate?"ç¡®å®šä¿å­˜å¯¹æ­¤è®°å½•çš„ä¿®æ”¹ï¼Ÿ":"ç¡®å®šåˆ›å»ºï¼Ÿ";this.$confirm(t,"ä¿å­˜å¹¶å…³é—­",{type:"warning"}).then(()=&gt;{this.saveRecord()}).catch(t=&gt;{})}})},saveRecord(){let t={id:this.formData.id,productId:this.formData.productId,accountType:this.formData.accountType,accountNo:this.formData.accountNo,securityAccount:this.securityAccount,accountName:this.formData.accountName,brokerName:this.formData.brokerName,rxPortId:this.formData.rxPortId,branchCode:this.formData.branchCode,userCode:this.formData.userCode,bankName:this.formData.bankName,bankAccount:this.formData.bankAccount,bankAccountNo:this.formData.bankAccountNo,branchCode:this.formData.branchCode,userCode:this.formData.userCode};"FUTURES_ACCOUNT"==this.formData.accountType&amp;&amp;(t.statementType=this.formData.statementType),this.$api.fundAccountUpdate.post(t).then(t=&gt;{0===t.errorNo?(this.$message({showClose:!0,message:"æ“ä½œæˆåŠŸ",type:"success"}),this.onClosed(),this.$emit("onSuccess")):error(t.message)}).catch(t=&gt;{this.onClosed(),this.error("ç³»ç»Ÿé”™è¯¯")})},async loadData(){let t=this.recordData;if(this.loading=!0,this.item=null,t&amp;&amp;Object.keys(t).length){if(this.onUpdate=!0,this.formData.id=t.id,this.formData.productId=t.productId,this.formData.accountType=t.accountType,this.formData.accountName=t.accountName,this.formData.accountNo=t.accountNo,this.formData.accountNoSH=null,this.formData.accountNoSZ=null,this.formData.accountNoBJ=null,this.isStockAccount&amp;&amp;t.securityAccount){let e=t.securityAccount.split(",");e.length&gt;0&amp;&amp;(this.formData.accountNoSH=e[0]),e.length&gt;1&amp;&amp;(this.formData.accountNoSZ=e[1]),e.length&gt;2&amp;&amp;(this.formData.accountNoBJ=e[2])}this.formData.brokerName=t.brokerName,this.formData.bankName=t.bankName,this.formData.bankAccount=t.bankAccount,this.formData.bankAccountNo=t.bankAccountNo,this.formData.branchCode=t.branchCode,this.formData.userCode=t.userCode;const e=await this.$api.getMixOptions.get({keyword:null,productId:t.productId,types:"FUND,MASTER_FUND,ASSET_UNIT"});if(e&amp;&amp;0==e.errorNo){let t=e.result;this.productOptions=t,this.productOptions.length&gt;0&amp;&amp;this.productOptions.forEach(t=&gt;{t.options.forEach(t=&gt;{t.id==this.formData.productId&amp;&amp;(this.item=t)})})}}else this.productOptions=[],this.onUpdate=!1,this.formData=Object.assign({},this.defaultFormData);this.backupFormData=d.a.cloneDeep(this.formData),this.loading=!1}},watch:{paramObj:{immediate:!0,deep:!0,handler(t){this.visible=this.formVisible,this.visible&amp;&amp;this.loadData()}}},mounted(){this.defaultFormData=Object.assign({},this.formData)},computed:{isDirty(){return JSON.stringify(this.formData)!=JSON.stringify(this.backupFormData)},paramObj(){return{formVisible:this.formVisible,recordData:this.recordData}},isStockAccount(){return"STOCK_ACCOUNT"==this.formData.accountType},securityAccount(){const t=[],{accountNoSH:e,accountNoSZ:a,accountNoBJ:o}=this.formData;return null!=e&amp;&amp;t.push(e.trim()),null!=a&amp;&amp;t.push(a.trim()),null!=o&amp;&amp;t.push(o.trim()),t.join(",")}}},m=h,b=a("0c7c"),g=Object(b["a"])(m,s,c,!1,null,"1b42f48c",null),y=g.exports,v=a("9bac");let k=null;var D={components:{updateComp:y,hrTableFilter:v["a"],pinyinSelector:u["a"]},data(){return{cacheKey:"fund.account.list.filter",dataList:[],selectedRecord:null,filters:{keyword:null,productId:null,fundAccountTypes:[]},onLoading:!1,createDialogVisible:!1,page:1,pageSize:10,total:0,productOptions:[],productOptionsLoading:!1}},methods:{onSortChange(t){this.page=1;const{column:e,prop:a,order:o}=t;this.sortDirection=null,this.sortField=null,null!=o&amp;&amp;(this.sortDirection="ascending"==o?"ASC":"DESC",this.sortField=a),this.reloadData()},reloadData(){this.page=1,this.loadData()},loadData(){let t=288e5;this.$localStorage.set(this.cacheKey,this.filters,t);let e={keyword:this.filters.keyword,fundAccountTypes:(this.filters.fundAccountTypes||[]).join(","),enabled:this.filters.status,size:this.pageSize,page:this.page-1};this.onLoading=!0,this.$api.fundAccountPage.get(e).then(t=&gt;{this.dataList=t.result.content,this.total=t.result.totalElements,this.onLoading=!1}).catch(t=&gt;{console.log(t)})},onEnableFundAccount(t,e){let a="true"===e?"éœ€è¦é‡æ–°å¯ç”¨è¯¥è´¦æˆ·å—?":"ç¡®è®¤å…³é—­è¯¥è´¦æˆ·?";this.$confirm(a,"è´¦æˆ·ç®¡ç†",{type:"warning"}).then(()=&gt;{this.enableFundAccount(t,e)}).catch(t=&gt;{console.log("error:"+t)})},enableFundAccount(t,e){const a={id:t,enabled:e};let o="true"===e?"è´¦æˆ·å¯ç”¨":"è´¦æˆ·å…³é—­";this.$http({method:"post",url:"/api/fundAccount/enable",data:r.a.stringify(a)}).then(t=&gt;{const e=t.data;0===e.errorNo?(this.$message.success(o+"æˆåŠŸ"),this.loadData()):this.$message.error(o+"å¤±è´¥ï¼")}).catch(t=&gt;{this.$message.error(o+"å¤±è´¥ï¼"),console.log("error: "+t)})},onRecordSelected(t){this.selectedRecord=t||void 0},onUpdateRecord(t){this.selectedRecord=t,this.createDialogVisible=!0},onCreateRecord(){this.selectedRecord=null,this.$refs.dataTable.setCurrentRow(),this.createDialogVisible=!0},onDeleteRecord(t){this.selectedRecord=t,this.$confirm("ç¡®å®šè¦åˆ&nbsp;é™¤è¿™æ¡è®°å½•å—?","ä¿å­˜å¹¶å…³é—­",{type:"warning"}).then(()=&gt;{this.$api.fundAccountDelete.del({id:this.selectedRecord.id}).then(t=&gt;{0===t.errorNo&amp;&amp;(this.$message({showClose:!0,message:"åˆ&nbsp;é™¤æˆåŠŸï¼",type:"success"}),this.loadData())}).catch(t=&gt;{console.log("error: ",t)})})},onPaginationSizeChange(t){this.page=1,this.pageSize=t,this.loadData()},onPaginationChange(t){this.page=t,this.loadData()},formatAccountType(t,e,a){return a?this.$store.state.accountType[a]:"-"},async remoteMethod(t){if(null==t||""==t.trim())return;this.productOptionsLoading=!0;const e=l["b"].uuid();k=e;let a=[];const o=await this.$api.getMixOptions.get({keyword:t,types:"FUND,MASTER_FUND,ASSET_UNIT"});if(0==o.errorNo){let t=o.result;t&amp;&amp;t.length&gt;0&amp;&amp;a.push(...t)}k==e&amp;&amp;(this.productOptions=a),this.productOptionsLoading=!1}},computed:{statusMap(){return{true:"æ­£å¸¸",false:"å·²å…³é—­"}}},mounted(){let t=this.$localStorage.get(this.cacheKey);t&amp;&amp;(this.filters=t),this.loadData()}},N=D,w=Object(b["a"])(N,o,i,!1,null,"74a271cd",null);e["default"]=w.exports},"9bac":function(t,e,a){"use strict";var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-row",{staticClass:"hr-toolbar",attrs:{gutter:10}},[t.filterCriteria.keyword&amp;&amp;t.filterCriteria.keyword.enabled?a("el-col",{attrs:{span:4}},[a("el-input",{attrs:{size:"mini","suffix-icon":"fa fa-search",placeholder:t.filterCriteria.keyword.placeholder},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&amp;&amp;t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.onFilterChanged.apply(null,arguments)}},model:{value:t.filterCriteria.keyword.value,callback:function(e){t.$set(t.filterCriteria.keyword,"value",e)},expression:"filterCriteria.keyword.value"}})],1):t._e(),a("el-col",{attrs:{span:1}},[a("el-button",{directives:[{name:"popover",rawName:"v-popover:popover4",arg:"popover4"}],attrs:{size:"mini",icon:"fa fa-filter"}})],1),a("el-col",{attrs:{span:19}},t._l(t.filterData.filter,(function(e){return a("div",{key:e.name},["input"===e.type?a("el-col",{attrs:{span:4}},[a("el-input",{attrs:{type:"text",size:"mini",placeholder:e.placeholder},on:{change:t.onFilterChanged},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"filter.value"}})],1):t._e(),"select"===e.type?a("el-col",{attrs:{span:4}},[a("el-select",{attrs:{size:"mini",placeholder:e.placeholder,clearable:e.props.clearable,filterable:e.props.filterable,multiple:e.props.multiple},on:{change:t.onFilterChanged},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"filter.value"}},t._l(e.options,(function(t){return a("el-option",{key:t.id,attrs:{label:t.value,value:t.id}})})),1)],1):t._e(),"select-group"===e.type?a("el-col",{attrs:{span:4}},[a("el-select",{attrs:{size:"mini",placeholder:e.placeholder,clearable:e.props.clearable,filterable:e.props.filterable,multiple:e.props.multiple},on:{change:t.onFilterChanged},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"filter.value"}},t._l(e.options,(function(e){return a("el-option-group",{key:e.label,attrs:{label:e.label}},t._l(e.options,(function(t){return a("el-option",{key:e.label+"_"+t.id,attrs:{label:t.value,value:t.id}})})),1)})),1)],1):t._e(),"date"===e.type?a("el-col",{attrs:{span:4}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",size:"mini","value-format":e.props.format,placeholder:e.placeholder},on:{change:t.onFilterChanged},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"filter.value"}})],1):t._e(),"date-range"===e.type?a("el-col",{attrs:{span:4}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"daterange","unlink-panels":"",size:"mini","value-format":e.props.format,"start-placeholder":e.placeholder,"end-placeholder":e.placeholder2},on:{change:t.onFilterChanged},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"filter.value"}})],1):t._e()],1)})),0)],1)},i=[],l=(a("14d9"),a("8b55"),{props:{filterData:{type:Object,default:()=&gt;{}}},data:function(){return{filterCriteria:{},data:{}}},methods:{onFilterChanged:function(){const t=this.filterCriteria.filter.filter(t=&gt;null!==t.value||void 0!==t.value);t&amp;&amp;t.length&amp;&amp;t.foreach(t=&gt;{});const e=this.filterCriteria.filter.map(t=&gt;({name:t.name,value:t.value}));this.filterCriteria.keyword&amp;&amp;e.push({key:this.filterCriteria.keyword.name,value:this.filterCriteria.keyword.value}),this.$emit("onChange",e)}},computed:{defaultFilter(){return{keyword:{enabled:!0,name:"keyword",placeholder:"å…³é”®å­—æœç´¢â€¦â€¦"},filter:[]}}},mounted(){if(this.filterData&amp;&amp;Object.keys(this.filterData).length){JSON.parse(JSON.stringify(this.filterData));this.filterCriteria=Object.assign({},this.defaultFilter,this._filterData)}}}),n=l,r=a("0c7c"),s=Object(r["a"])(n,o,i,!1,null,null,null);e["a"]=s.exports},a602:function(t,e,a){"use strict";var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.show?a("el-select",{staticStyle:{width:"100%"},attrs:{size:t.size,clearable:t.clearable,"allow-create":t.allowCreate,filterable:t.filterable,placeholder:t.placeholder,disabled:t.disabled,multiple:t.multiple,"filter-method":t.filterEntity,"default-first-option":!0},on:{input:function(e){return t.$emit("input",t.optionValue)},change:function(e){return t.$emit("change",t.optionValue)},clear:function(e){return t.filterEntity("")}},model:{value:t.optionValue,callback:function(e){t.optionValue=e},expression:"optionValue"}},[t._l(t.selectOptions,(function(e){return t.groupOption?t._e():a("el-option",{key:t.keyIdentifier+e.value,attrs:{label:e[t.labelField],value:e.value}},[t.labelField2?a("span",{staticStyle:{float:"left"}},[t._v(t._s(e[t.labelField]))]):t._e(),t.labelField2?a("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"12px"}},[t._v(t._s(e[t.labelField2]))]):t._e()])})),t._l(t.selectOptions,(function(e){return t.groupOption?a("el-option-group",{key:t.keyIdentifier+e.label,attrs:{label:e.label}},t._l(e.options,(function(e){return a("el-option",{key:t.keyIdentifier+e.value,attrs:{label:e[t.labelField],value:e.value}},[t.labelField2?a("span",{staticStyle:{float:"left"}},[t._v(t._s(e[t.labelField]))]):t._e(),t.labelField2?a("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"12px","padding-left":"5px"}},[t._v(t._s(e[t.labelField2]))]):t._e()])})),1):t._e()}))],2):t._e()},i=[],l=(a("14d9"),a("8b55")),n={props:{options:{type:Array,required:!0,default:[]},placeholder:{type:String,default:""},value:{required:!1,default:null},size:{type:String,default:"mini"},disabled:{type:Boolean,default:!1},identifier:{type:String,default:null},multiple:{type:Boolean,default:!1},groupOption:{type:Boolean,default:!1},labelField:{type:String,default:"label"},labelField2:{type:String,required:!1},clearable:{type:Boolean,default:!0},filterable:{type:Boolean,default:!0},allowCreate:{type:Boolean,default:!1}},data:function(){return{show:!0,selectOptions:this.options,optionValue:this.value,keyIdentifier:this.identifier}},methods:{filterEntity:function(t){t?this.groupOption?(this.selectOptions=[],this.options.forEach(e=&gt;{this.selectOptions.push({label:e.label,options:e.options.filter(this.createEntityFilter(t))})})):this.selectOptions=this.options.filter(this.createEntityFilter(t)):this.selectOptions=this.options},createEntityFilter(t){return e=&gt;l["b"].contains(e[this.labelField],t,!1)||l["b"].contains(e.pinyin,t,!1)}},watch:{optionValue:function(t){this.show=!1,this.$nextTick(()=&gt;{this.selectOptions=this.options,this.show=!0})},value:function(t){this.optionValue=t},identifier:function(t){this.keyIdentifier=t},options:function(t){this.selectOptions=t}},mounted(){null===this.keyIdentifier&amp;&amp;(this.keyIdentifier=(new Date).getTime().toString())}},r=n,s=a("0c7c"),c=Object(s["a"])(r,o,i,!1,null,null,null);e["a"]=c.exports},de31:function(t,e,a){"use strict";e["a"]={regexRealName:function(t){return/[\u4E00-\u9FA5]{2,5}(?:Â·[\u4E00-\u9FA5]{2,5})*/.test(t)},regexChnName:function(t){return/^[\u4e00-\u9fa5]+$/.test(t)},regexUserName:function(t){return!/^(?![^a-zA-Z]+$)(?!\D+$).{6,20}$/.test(t)},regexIdCard:function(t){return e(t);function e(t){var e=/^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[X])$)$/;if(!e.test(t))return!1;if(18==t.length){for(var a=new Array(7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2),o=new Array(1,0,10,9,8,7,6,5,4,3,2),i=0,l=0;l&lt;17;l++)i+=t.substring(l,l+1)*a[l];var n=i%11,r=t.substring(17);return 2==n?"X"==r:r==o[n]}}},regexPassword:function(t){return!/^(?=.*[A-Za-z])(?=.*\d)(?=.*[!@#$%^&amp;_+=-])[A-Za-z\d!@#$%^&amp;_+=-]{8,}$/.test(t)},isMobile:function(t){var e=t.length;return!(11==e&amp;&amp;/^(13[0-9]|14[01456879]|15[0-3,5-9]|16[2567]|17[0-8]|18[0-9]|19[0-3,5-9])\d{8}$/.test(t))},isNumber:function(t){t=t.toString();return!t.match(/^[1-9]{1}\d*$/)||/\s/.test(t)},isFigure:function(t){return!/^([0-9\.]+)$/.test(t)},isFigureOrComma:function(t){return!/^([0-9\.,]+)$/.test(t)},isInteger:function(t){return!/^([0-9]+)$/.test(t)},isApr:function(t){return!/^(([1-9]\d*)|0)(\.([1-9]{1}|\d{2}))?$/.test(t)},isEmail:function(t){return!/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(t)},islogname:function(t){var e=t.length;return!(/^(?:[a-zA-Z0-9]+[_\-\+\.]?)*[a-zA-Z0-9]+@(?:([a-zA-Z0-9]+[_\-]?)*[a-zA-Z0-9]+\.)+([a-zA-Z]{2,})+$/.test(t)||/^([a-zA-Z0-9]|[a-zA-Z]){6,20}$/.test(t)||11==e&amp;&amp;/^1[34578]\d{9}$/.test(t))},isFixNumber:function(t){return!/^0/.test(t)},isPhone:function(t){return!/^([0-9]{3,4}-)?[0-9]{7,8}$/.test(t)},isCompanyName:function(t){return!/^([\u4e00-\u9fa5ï¼ˆï¼‰]){2,30}$/.test(t)},moneyRrate:function(t){return t&lt;1||t&gt;24||!/^([1-9]\d*|0)(?:\.\d{0,2})?$/.test(t)},percentage(t){return!/^\d\.([1-9]{1,2}|[0-9][1-9])$|^[1-9]\d{0,1}(\.\d{1,4}){0,1}$|^100(\.0{1,4}){0,1}$|^0(\.\d{1,4}){0,1}$/.test(t)||0==t}}}}]);</pre></body></html>