import{o as e,d as a,w as l,e as t,i as s,t as n,u,f as d,v as i,F as c,l as f,k as p,x as o,p as r,y as _,z as m}from"./index.de1e69c3.js";import{_ as h}from"./plugin-vue_export-helper.21dcd24c.js";var y=h({data:()=>({index:0,stepLists:[1,5,10,15,20],pasteData:"",irrAndSimpleInfos:[{nyear:1,cashValue:""}]}),methods:{bindPickerChange(e){this.index=e.detail.value},selectCustomPolicyYear(){}}},[["render",function(h,y,C,x,g,v){const b=f,D=p,w=o,k=r,z=_,L=m;return e(),a(D,{class:"batchDataImportContainer"},{default:l((()=>[t(D,{class:"selectStepContainer"},{default:l((()=>[t(D,{class:"selectStepContent"},{default:l((()=>[t(b,null,{default:l((()=>[s("我想测算每隔")])),_:1}),t(D,{class:"stepContent"},{default:l((()=>[t(w,{onChange:v.bindPickerChange,value:g.index,range:g.stepLists},{default:l((()=>[t(D,{class:"uni-input"},{default:l((()=>[s(n(g.stepLists[g.index]),1)])),_:1})])),_:1},8,["onChange","value","range"]),(e(),u("svg",{t:"1661847421137",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1364",width:"16",height:"16"},[d("path",{d:"M917.4 302.8c-14.2-14.2-37.2-14.2-51.4 0L518.6 650.3c-2.9 2.8-7.5 2.8-10.3 0L160.8 302.8c-14.2-14.2-37.2-14.2-51.4 0-14.2 14.2-14.2 37.2 0 51.4l347.4 347.4c15.6 15.6 36 23.4 56.5 23.4s41-7.8 56.5-23.4l347.4-347.4c14.3-14.2 14.3-37.2 0.2-51.4z","p-id":"1365",fill:"#666666"})]))])),_:1}),t(b,null,{default:l((()=>[s("年的单利复利")])),_:1})])),_:1}),t(D,null,{default:l((()=>[t(k,{class:"mini-btn",type:"default",size:"mini",onClick:v.selectCustomPolicyYear},{default:l((()=>[s("自定义")])),_:1},8,["onClick"])])),_:1})])),_:1}),t(D,{class:"tips"},{default:l((()=>[t(b,null,{default:l((()=>[s("(如需指定任意保单年度，可通过点击右上角"),t(b,null,{default:l((()=>[s("“自定义”")])),_:1}),s("按钮完成)")])),_:1})])),_:1}),t(D,{class:"dataOptionContainer"},{default:l((()=>[t(D,{class:"uni-textarea"},{default:l((()=>[t(z,{modelValue:g.pasteData,"onUpdate:modelValue":y[0]||(y[0]=e=>g.pasteData=e),"placeholder-style":"color:#999999;font-size:14px;padding-left:9px;padding-top:3px",placeholder:"请根据左侧保单年度进行现金价值数据粘贴"},null,8,["modelValue"]),t(k,{class:"mini-btn pasteDiscernment",type:"default",size:"mini"},{default:l((()=>[s("粘贴并识别")])),_:1})])),_:1}),t(D,{class:"batchDataLists"},{default:l((()=>[t(D,{class:"batchDataTh"},{default:l((()=>[t(b,null,{default:l((()=>[s("保单年度")])),_:1}),t(b,null,{default:l((()=>[s("现金价值")])),_:1})])),_:1}),(e(!0),u(c,null,i(g.irrAndSimpleInfos,(u=>(e(),a(D,{class:"batchDataTd"},{default:l((()=>[t(b,null,{default:l((()=>[s(n(u.nyear),1)])),_:2},1024),t(b,null,{default:l((()=>[s(n(u.cashValue),1)])),_:2},1024)])),_:2},1024)))),256))])),_:1})])),_:1}),t(D,{class:"optionContent"},{default:l((()=>[t(k,{type:"default",plain:"true","form-type":"reset"},{default:l((()=>[s("全部清空")])),_:1}),t(k,{type:"default",plain:"true",onClick:y[1]||(y[1]=e=>h.calcute())},{default:l((()=>[s(n("2"==h.calcuteMethod?"输入批量数据":"开始计算"),1)])),_:1})])),_:1}),t(D,{class:"policySelectContainer"},{default:l((()=>[t(D,{class:"policyYearContainer"},{default:l((()=>[t(D,{class:"modalTitle"},{default:l((()=>[t(b),t(b,null,{default:l((()=>[s("选择保单年度"),t(b,null,{default:l((()=>[s("（可多选）")])),_:1})])),_:1}),t(L,{type:"clear",size:"26"})])),_:1}),t(D,{class:"policyStepContainer"},{default:l((()=>[t(k,{type:"default",plain:"true",class:"actived"},{default:l((()=>[s("1~40")])),_:1}),t(k,{type:"default",plain:"true"},{default:l((()=>[s("41~80")])),_:1}),t(k,{type:"default",plain:"true"},{default:l((()=>[s("81~105")])),_:1})])),_:1}),t(D,{class:"policyYearItemContainer"},{default:l((()=>[(e(),u(c,null,i(40,(e=>t(D,null,{default:l((()=>[t(b,null,{default:l((()=>[s(n(e),1)])),_:2},1024)])),_:2},1024))),64))])),_:1}),t(D,{class:"confirm"},{default:l((()=>[t(k,{type:"default",plain:"true"},{default:l((()=>[s("确定")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-742e7780"]]);export{y as default};
