Commit b8929c0f by Sweet Zhang

nanoid去除下划线

parent ae070e14
......@@ -16,5 +16,8 @@
<body>
<div id="app"><!--app-html--></div>
<script type="module" src="/main.js"></script>
<!-- 移动端调试 -->
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/eruda"></script>
<script>eruda.init();</script>
</body>
</html>
......@@ -220,12 +220,7 @@
},
onLoad() {
if(!uni.getStorageSync('businessNo')){
uni.setStorageSync('businessNo', nanoid());
}
if(dataHandling.getQueryString('subscribe')==0){
this.isNeedOfficialAccountQrcode = true;
}else{
this.isNeedOfficialAccountQrcode = false;
uni.setStorageSync('businessNo', nanoid().replace(/\_/g,""));
}
if(dataHandling.getQueryString('openId')) {
uni.setStorageSync('openId',dataHandling.getQueryString('openId'))
......@@ -237,6 +232,11 @@
}
})
}
if(dataHandling.getQueryString('subscribe')==0 || !uni.getStorageSync('openId')){
this.isNeedOfficialAccountQrcode = true;
}else{
this.isNeedOfficialAccountQrcode = false;
}
if(this.yearWithdrawal.length>0){
this.yearWithdrawalInfos.push({...this.yearWithdrawal,withdrawalType:this.withdrawalType?'1':'2'})
}
......@@ -373,6 +373,10 @@
this.irrAndSimpleResInfos = res.data.irrAndSimpleResInfos;
console.log(this.irrAndSimpleResInfos)
this.resultShowFlag = true;
}else{
// uni.showToast({
// })
}
})
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
{"version":3,"file":"pages-dataImport-data-import.7cca9f8f.js","sources":["../../../../../pages/dataImport/data-import.vue"],"sourcesContent":null,"names":["data","index","stepLists","pasteData","irrAndSimpleInfos","nyear","cashValue","customPolicyYearRange","customPolicyYearRangeCount","maxPolicyYear","policyYearLists","isActived","policyYearModalFlag","onLoad","bindPickerChange","detail","value","this","methods","e","m","n","calcNumber","concat","selectCustomPolicyYear","log","selectPolicyYearRange","selectCustomPolicyYears","filter","item","pop","push","getActiveStatus","status","confirmPolicyYears","length","sort","a","b","JSON","parse","stringify","pasteDataDistinguish","pasteDataLists","trim","split","every","title","content","success","res","confirm","cancel","minLength","Math","min","i","clearData","forEach","_createBlock","_component_v_uni_view","class","_createVNode","_component_v_uni_text","_component_v_uni_picker","onChange","$options","$data","range","_createElementBlock","t","viewBox","version","xmlns","width","height","_createElementVNode","d","fill","_component_v_uni_button","type","size","onClick","_component_v_uni_textarea","placeholder","_component_v_uni_scroll_view","style","_Fragment","_component_v_uni_input","plain","_ctx","_component_v_uni_icon"],"mappings":"wPA4EGA,UACM,CACNC,MAAM,EACNC,UAAU,CAAC,EAAE,EAAE,GAAG,GAAG,IACrBC,UAAU,GACVC,kBAAkB,CAAC,CAACC,MAAM,EAAEC,UAAU,KACtCC,sBAAsB,EACtBC,2BAA2B,GAC3BC,cAAc,IACdC,gBAAgB,CAAC,CAACL,MAAM,EAAEM,WAAU,EAAKL,UAAU,KACnDM,qBAAoB,IAGpBC,cACMC,iBAAiB,CAACC,OAAO,CAACC,MAAMC,KAAKhB,UAE3CiB,QAAQ,CAEPJ,iBAAiBK,QACblB,MAAQkB,EAAEJ,OAAOC,YACdI,EAAiC,IAA7BH,KAAKf,UAAUe,KAAKhB,OAAa,EAAI,OAC1CS,gBAAkB,CAAC,CAACL,MAAM,EAAEM,WAAU,EAAKL,UAAU,aACnDe,EAAED,EAAEC,GAAGJ,KAAKR,cAAcY,IAAI,KACjCC,EAAaL,KAAKf,UAAUe,KAAKhB,OAASoB,OAC3CC,GAAcL,KAAKR,0BAChBC,gBAAkBO,KAAKP,gBAAgBa,OAAO,CAAC,CAAClB,MAAMiB,EAAWhB,UAAU,WAK7EF,kBAAoBa,KAAKP,gBAAgBa,OAAO,KAGrDC,8BACIZ,qBAAoB,OACpBR,kBAAoBa,KAAKP,gBAAkB,WACxCe,IAAIR,KAAKb,oBAGhBsB,sBAAsBP,QAChBZ,sBAAwBY,GAG9BQ,wBAAwBR,GACpBF,KAAKP,gBAAgBkB,WAAaC,EAAKxB,OAAOc,IAAGW,WAC9CpB,gBAAgBkB,WAAaC,EAAKxB,OAAOc,IAAGW,iBAAsBb,KAA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ugins/uniapp-cli-vite/plugin-vue:export-helper"],"sourcesContent":null,"names":["sfc","props","target","__vccOpts","key","val"],"mappings":"AACA,MAAe,CAACA,EAAKC,WACbC,EAASF,EAAIG,WAAaH,YACpBI,EAAKC,KAAQJ,IAChBG,GAAOC,SAETH"}
\ No newline at end of file
.batchCalculateContent[data-v-636a9170]{display:flex;flex-direction:column;align-items:center}.claimInfomationContent[data-v-636a9170]{margin-bottom:1.25rem}.radioButton[data-v-636a9170]{position:relative;width:1.25rem;height:1.25rem;border-radius:50%;border:1px solid #CEB07D}.radioButton.selected[data-v-636a9170]:after{content:"";position:absolute;left:0;top:0;width:.625rem;height:.625rem;transform:translate(.3125rem,.3125rem);border-radius:50%;background:linear-gradient(135deg,#CEB07D 0%,#FFDDA9 56%,#FED495 100%,#FED495 100%)}.logo[data-v-636a9170]{width:100%}.banner[data-v-636a9170]{height:12.5rem}.banner img[data-v-636a9170]{max-width:100%}.tabTitle[data-v-636a9170]{display:flex;justify-content:space-around;font-size:16px;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;color:#333}.tabTitle uni-text[data-v-636a9170]{position:relative}.tabTitle uni-text.actived[data-v-636a9170]:after{position:absolute;bottom:-.125rem;left:0;content:"";width:100%;height:.125rem;background:linear-gradient(125deg,#CEB07D,#FED597)}.formInfoContainer[data-v-636a9170]{background:#fff;margin-top:-1rem;position:relative;z-index:2;border-top-right-radius:.9375rem;border-top-left-radius:.9375rem;padding:.9375rem;box-sizing:border-box;font-size:.9375rem;color:#333}.title[data-v-636a9170]{display:flex;justify-content:space-between;align-items:center;color:#ceb07d;font-weight:700;font-size:1rem;position:relative;padding-left:.875rem;margin:.625rem 0;height:1.5625rem}.title[data-v-636a9170]:before{content:"";position:absolute;left:0;top:.46875rem;width:.1875rem;height:.625rem;background-color:#ceb07d;border-radius:.25rem}.inputItem[data-v-636a9170]{display:flex;justify-content:space-between;align-items:center;height:2.75rem;border-bottom:1px solid #E4E4E4}.inputItem .inputContent[data-v-636a9170]{display:flex;align-items:center;justify-content:flex-end;flex:0 0 51%}.inputContent .uni-input[data-v-636a9170]{margin-right:.625rem;text-align:right}.inputItem uni-text[data-v-636a9170]{flex:0 0 49%}.simpleDataResult[data-v-636a9170]{background:#FFFFFF;box-shadow:0 0 .34375rem rgba(0,0,0,.1);border-radius:.15625rem;opacity:1;margin:.9375rem .46875rem 1.75rem;padding:.46875rem .53125rem}.simpleDataResult .resultTitle[data-v-636a9170]{font-size:1rem;font-weight:700;color:#ceb07d}.simpleDataResult .calcNumber[data-v-636a9170]{text-align:right;font-size:20px}.simpleDataResult .inputItem[data-v-636a9170]:last-child{border:none}.simpleDataResult .inputItem .title[data-v-636a9170]{color:#ceb07d;font-weight:700}.reduceInsuranceContent .tableTh[data-v-636a9170],.reduceInsuranceContent .tableTd[data-v-636a9170]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.reduceInsuranceContent .tableTh uni-text[data-v-636a9170]{flex:1}.reduceInsuranceContent .tableTh uni-text.withdrawNumber[data-v-636a9170],.reduceInsuranceContent .tableTd uni-text.withdrawNumber[data-v-636a9170]{flex:2}.reduceInsuranceContent .tableTd .uni-input[data-v-636a9170],.reduceInsuranceContent .tableTh uni-text[data-v-636a9170]{text-align:center;border-bottom:1px solid #E4E4E4;padding:.1875rem .75rem;margin-right:.625rem}.reduceInsuranceContent .tableTh uni-text[data-v-636a9170]{border:none;white-space:nowrap;color:#333}.reduceInsuranceContent .tableTd[data-v-636a9170]:last-child{margin-bottom:.625rem}.resultContent[data-v-636a9170]{margin-bottom:1.875rem;padding-bottom:1.875rem}.optionContent[data-v-636a9170]{position:fixed;bottom:0;left:0;width:100%;display:flex;justify-content:center;align-items:center;background-color:#fff}.optionContent uni-button[data-v-636a9170]{flex:0 0 46%;border:.0625rem solid #e7c793;font-size:1.125rem}.btn[data-v-636a9170]{background:linear-gradient(135deg,#CEB07D 0%,#FFDDA9 56%,#FED495 100%,#FED495 100%);border:none;color:#6b4000}.batchDataResult[data-v-636a9170]{box-shadow:0 0 11px rgba(0,0,0,.1);margin-top:1rem}.batchDataResult .resultTh[data-v-636a9170]{height:1.875rem;line-height:1.875rem;background:linear-gradient(135deg,#CEB07D 0%,#FFDDA9 56%,#FED495 100%,#FED495 100%);border-top-left-radius:.375rem;border-top-right-radius:.375rem;color:#6b4000;font-weight:700;display:flex}.batchDataResult .resultTd[data-v-636a9170]{display:flex;height:1.875rem;align-items:center;border-bottom:1px solid #E4E4E4}.batchDataResult .resultTd[data-v-636a9170]:last-child{border-bottom:none}.batchDataResult .resultTh uni-text[data-v-636a9170],.batchDataResult .resultTd uni-text[data-v-636a9170]{flex:1;text-align:center;font-weight:700;color:#333}.batchDataResult .resultTd uni-text.resultNumber[data-v-636a9170]{color:#ceb07d}.cashValueContent[data-v-636a9170]{margin-top:2.5rem}.cashValueContent .title uni-button[data-v-636a9170]{background-color:transparent;font-size:.9375rem;color:#333;box-sizing:border-box;line-height:initial}.cashValueContent .title uni-button[data-v-636a9170]:after{border:1px solid #CEB07D;border-radius:.375rem}.cashValueContent .title uni-button[data-v-636a9170]:first-child{margin-right:1.25rem}.cashValueContent .title uni-button.actived[data-v-636a9170]{background:linear-gradient(135deg,#CEB07D 0%,#FFDDA9 56%,#FED495 100%,#FED495 100%);color:#6b4000}.reduceInsuranceContent uni-text[data-v-636a9170]{display:inline-block;width:1.25rem!important;height:1.25rem!important;line-height:1.25rem!important;text-align:center;border:.09375rem #CEB07D solid;color:#ceb07d;border-radius:50%;font-size:.75rem}
.batchCalculateContent[data-v-4b2fc7e0]{display:flex;flex-direction:column;align-items:center}.radioButton[data-v-4b2fc7e0]{position:relative;width:1.25rem;height:1.25rem;border-radius:50%;border:1px solid #CEB07D}.radioButton.selected[data-v-4b2fc7e0]:after{content:"";position:absolute;left:0;top:0;width:.625rem;height:.625rem;transform:translate(.3125rem,.3125rem);border-radius:50%;background:linear-gradient(135deg,#CEB07D 0%,#FFDDA9 56%,#FED495 100%,#FED495 100%)}.logo[data-v-4b2fc7e0]{width:100%}.banner[data-v-4b2fc7e0]{height:12.5rem}.banner img[data-v-4b2fc7e0]{max-width:100%}.tabTitle[data-v-4b2fc7e0]{display:flex;justify-content:space-around;font-size:16px;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;color:#333}.tabTitle uni-text[data-v-4b2fc7e0]{position:relative}.tabTitle uni-text.actived[data-v-4b2fc7e0]:after{position:absolute;bottom:-.125rem;left:0;content:"";width:100%;height:.125rem;background:linear-gradient(125deg,#CEB07D,#FED597)}.formInfoContainer[data-v-4b2fc7e0]{background:#fff;margin-top:-1rem;position:relative;z-index:2;border-top-right-radius:.9375rem;border-top-left-radius:.9375rem;padding:.9375rem;box-sizing:border-box;font-size:.9375rem;color:#333}.title[data-v-4b2fc7e0]{display:flex;justify-content:space-between;align-items:center;color:#ceb07d;font-weight:700;font-size:1rem;position:relative;padding-left:.875rem;margin:.625rem 0;height:1.5625rem}.title[data-v-4b2fc7e0]:before{content:"";position:absolute;left:0;top:.46875rem;width:.1875rem;height:.625rem;background-color:#ceb07d;border-radius:.25rem}.inputItem[data-v-4b2fc7e0]{display:flex;justify-content:space-between;align-items:center;height:2.75rem;border-bottom:1px solid #E4E4E4}.inputItem .inputContent[data-v-4b2fc7e0]{display:flex;align-items:center;justify-content:flex-end;flex:0 0 51%}.inputContent .uni-input[data-v-4b2fc7e0]{margin-right:.625rem;text-align:right}.inputItem uni-text[data-v-4b2fc7e0]{flex:0 0 49%}.simpleDataResult[data-v-4b2fc7e0]{background:#FFFFFF;box-shadow:0 0 .34375rem rgba(0,0,0,.1);border-radius:.15625rem;opacity:1;margin:.9375rem .46875rem 1.75rem;padding:.46875rem .53125rem}.simpleDataResult .resultTitle[data-v-4b2fc7e0]{font-size:1rem;font-weight:700;color:#ceb07d}.simpleDataResult .calcNumber[data-v-4b2fc7e0]{text-align:right;font-size:20px}.simpleDataResult .inputItem[data-v-4b2fc7e0]:last-child{border:none}.simpleDataResult .inputItem .title[data-v-4b2fc7e0]{color:#ceb07d;font-weight:700}.reduceInsuranceContent .tableTh[data-v-4b2fc7e0],.reduceInsuranceContent .tableTd[data-v-4b2fc7e0]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.reduceInsuranceContent .tableTh uni-text[data-v-4b2fc7e0]{flex:1}.reduceInsuranceContent .tableTh uni-text.withdrawNumber[data-v-4b2fc7e0],.reduceInsuranceContent .tableTd uni-text.withdrawNumber[data-v-4b2fc7e0]{flex:2}.reduceInsuranceContent .tableTd .uni-input[data-v-4b2fc7e0],.reduceInsuranceContent .tableTh uni-text[data-v-4b2fc7e0]{text-align:center;border-bottom:1px solid #E4E4E4;padding:.1875rem .75rem;margin-right:.625rem}.reduceInsuranceContent .tableTh uni-text[data-v-4b2fc7e0]{border:none;white-space:nowrap;color:#333}.reduceInsuranceContent .tableTd[data-v-4b2fc7e0]:last-child{margin-bottom:.625rem}.resultContent[data-v-4b2fc7e0]{margin-bottom:1.875rem;padding-bottom:1.875rem}.optionContent[data-v-4b2fc7e0]{position:fixed;bottom:0;left:0;width:100%;display:flex;justify-content:center;align-items:center;background-color:#fff}.optionContent uni-button[data-v-4b2fc7e0]{flex:0 0 46%;border:.0625rem solid #e7c793;font-size:1.125rem}.btn[data-v-4b2fc7e0]{background:linear-gradient(135deg,#CEB07D 0%,#FFDDA9 56%,#FED495 100%,#FED495 100%);border:none;color:#6b4000}.batchDataResult[data-v-4b2fc7e0]{box-shadow:0 0 11px rgba(0,0,0,.1);margin-top:1rem}.batchDataResult .resultTh[data-v-4b2fc7e0]{height:1.875rem;line-height:1.875rem;background:linear-gradient(135deg,#CEB07D 0%,#FFDDA9 56%,#FED495 100%,#FED495 100%);border-top-left-radius:.375rem;border-top-right-radius:.375rem;color:#6b4000;font-weight:700;display:flex}.batchDataResult .resultTd[data-v-4b2fc7e0]{display:flex;height:1.875rem;align-items:center;border-bottom:1px solid #E4E4E4}.batchDataResult .resultTd[data-v-4b2fc7e0]:last-child{border-bottom:none}.batchDataResult .resultTh uni-text[data-v-4b2fc7e0],.batchDataResult .resultTd uni-text[data-v-4b2fc7e0]{flex:1;text-align:center;font-weight:700;color:#333}.batchDataResult .resultTd uni-text.resultNumber[data-v-4b2fc7e0]{color:#ceb07d}.cashValueContent .title uni-button[data-v-4b2fc7e0]{background-color:transparent;font-size:.9375rem;color:#333;box-sizing:border-box;line-height:initial}.cashValueContent .title uni-button[data-v-4b2fc7e0]:after{border:1px solid #CEB07D;border-radius:.375rem}.cashValueContent .title uni-button[data-v-4b2fc7e0]:first-child{margin-right:1.25rem}.cashValueContent .title uni-button.actived[data-v-4b2fc7e0]{background:linear-gradient(135deg,#CEB07D 0%,#FFDDA9 56%,#FED495 100%,#FED495 100%);color:#6b4000}.reduceInsuranceContent uni-text[data-v-4b2fc7e0]{display:inline-block;width:1.25rem!important;height:1.25rem!important;line-height:1.25rem!important;text-align:center;border:.09375rem #CEB07D solid;color:#ceb07d;border-radius:50%;font-size:.75rem}.qrcodeContainer[data-v-4b2fc7e0]{width:100%;height:100vh;overflow:hidden}.qrcodeContainer img[data-v-4b2fc7e0]{max-width:100%}
import{B as e,o as a,e as t,w as l,f as s,l as i,t as c,d as o,i as n,p as r,F as u,k as d,j as p,x as f,u as y,C as h,y as m,D as g,S as Y,E as _,I as C}from"./index.6a7cd8f6.js";import{_ as P}from"./plugin-vue_export-helper.21dcd24c.js";var v=P({data:()=>({index:0,stepLists:[1,5,10,15,20],pasteData:"",irrAndSimpleInfos:[{nyear:1,cashValue:""}],customPolicyYearRange:0,customPolicyYearRangeCount:40,maxPolicyYear:105,policyYearLists:[{nyear:1,isActived:!0,cashValue:""}],policyYearModalFlag:!1}),onLoad(){this.bindPickerChange({detail:{value:this.index}})},methods:{bindPickerChange(e){this.index=e.detail.value;const a=1===this.stepLists[this.index]?2:1;this.policyYearLists=[{nyear:1,isActived:!0,cashValue:""}];for(let t=a;t<=this.maxPolicyYear;t++){let e=this.stepLists[this.index]*t;if(!(e<=this.maxPolicyYear))break;this.policyYearLists=this.policyYearLists.concat([{nyear:e,cashValue:""}])}this.irrAndSimpleInfos=this.policyYearLists.concat([])},selectCustomPolicyYear(){this.policyYearModalFlag=!0,this.irrAndSimpleInfos=this.policyYearLists=[],console.log(this.irrAndSimpleInfos)},selectPolicyYearRange(e){this.customPolicyYearRange=e},selectCustomPolicyYears(e){this.policyYearLists.filter((a=>a.nyear==e)).pop()?this.policyYearLists.filter((a=>a.nyear==e)).pop().isActived=!this.policyYearLists.filter((a=>a.nyear==e)).pop().isActived:this.policyYearLists.push({nyear:e,isActived:!0,cashValue:""})},getActiveStatus(e){let a=!1;return this.policyYearLists.filter((a=>a.nyear==e)).pop()&&(a=this.policyYearLists.filter((a=>a.nyear==e)).pop().isActived),a},confirmPolicyYears(){this.policyYearModalFlag=!1,this.policyYearLists.length>0&&this.policyYearLists.sort(((e,a)=>e.nyear-a.nyear)),this.irrAndSimpleInfos=JSON.parse(JSON.stringify(this.policyYearLists))},pasteDataDistinguish(){const a=this.pasteData.trim().split("\n");console.log(a),a.length<=0||a.every((e=>""==e))?e({title:"数据识别结果",content:"检测到您并没有导入数据,请重新操作",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}}):a.length!==this.irrAndSimpleInfos.length&&e({title:"数据识别结果",content:"检测到您导入的数据条数和选择的保单年度数量不一致,系统将从上到下依次填入,请确认是否继续",success:e=>{if(e.confirm){if(console.log("用户点击确定"),this.irrAndSimpleInfos.length>0){const e=Math.min(a.length,this.irrAndSimpleInfos.length);console.log(e);for(let t=0;t<e;t++)this.irrAndSimpleInfos[t].cashValue=a[t]}}else e.cancel&&console.log("用户点击取消")}})},clearData(){this.pasteData="",this.irrAndSimpleInfos.forEach((e=>e.cashValue=""))}}},[["render",function(e,P,v,L,x,k){const S=f,A=y,R=h,D=m,V=g,I=C,b=Y,M=_;return a(),t(A,{class:"batchDataImportContainer"},{default:l((()=>[s(A,{class:"selectStepContainer"},{default:l((()=>[s(A,{class:"selectStepContent"},{default:l((()=>[s(S,null,{default:l((()=>[i("我想测算每隔")])),_:1}),s(A,{class:"stepContent"},{default:l((()=>[s(R,{onChange:k.bindPickerChange,value:x.index,range:x.stepLists},{default:l((()=>[s(A,{class:"uni-input"},{default:l((()=>[i(c(x.stepLists[x.index]),1)])),_:1})])),_:1},8,["onChange","value","range"]),(a(),o("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"},[n("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}),s(S,null,{default:l((()=>[i("年的单利复利")])),_:1})])),_:1}),s(A,null,{default:l((()=>[s(D,{class:"mini-btn",type:"default",size:"mini",onClick:k.selectCustomPolicyYear},{default:l((()=>[i("自定义")])),_:1},8,["onClick"])])),_:1})])),_:1}),s(A,{class:"tips"},{default:l((()=>[s(S,null,{default:l((()=>[i("(如需指定任意保单年度,可通过点击右上角"),s(S,null,{default:l((()=>[i("“自定义”")])),_:1}),i("按钮完成)")])),_:1})])),_:1}),s(A,{class:"dataOptionContainer"},{default:l((()=>[s(A,{class:"uni-textarea"},{default:l((()=>[s(V,{modelValue:x.pasteData,"onUpdate:modelValue":P[0]||(P[0]=e=>x.pasteData=e),"placeholder-style":"color:#999999;font-size:14px;padding-left:9px;padding-top:3px",placeholder:"请根据左侧保单年度进行现金价值数据粘贴"},null,8,["modelValue"]),s(D,{class:"mini-btn pasteDiscernment",type:"default",size:"mini",onClick:k.pasteDataDistinguish},{default:l((()=>[i("粘贴并识别")])),_:1},8,["onClick"])])),_:1}),s(A,{class:"batchDataLists"},{default:l((()=>[s(A,{class:"batchDataTh"},{default:l((()=>[s(S,null,{default:l((()=>[i("保单年度")])),_:1}),s(S,null,{default:l((()=>[i("现金价值")])),_:1})])),_:1}),s(b,{"scroll-y":"true",style:{height:"560rpx"}},{default:l((()=>[(a(!0),o(u,null,r(x.irrAndSimpleInfos,(e=>(a(),t(A,{class:"batchDataTd"},{default:l((()=>[s(S,null,{default:l((()=>[i(c(e.nyear),1)])),_:2},1024),s(I,{class:"uni-input",style:{height:"100%"},type:"digit",modelValue:e.cashValue,"onUpdate:modelValue":a=>e.cashValue=a,placeholder:"请输入纯数字"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024)))),256))])),_:1})])),_:1})])),_:1}),s(A,{class:"optionContent"},{default:l((()=>[s(D,{type:"default",plain:"true","form-type":"reset",onClick:k.clearData},{default:l((()=>[i("全部清空")])),_:1},8,["onClick"]),s(D,{type:"default",plain:"true",onClick:P[1]||(P[1]=a=>e.calcute())},{default:l((()=>[i(c("2"==e.calcuteMethod?"输入批量数据":"开始计算"),1)])),_:1})])),_:1}),x.policyYearModalFlag?(a(),t(A,{key:0,class:"policySelectContainer"},{default:l((()=>[s(A,{class:"policyYearContainer"},{default:l((()=>[s(A,{class:"modalTitle"},{default:l((()=>[s(S),s(S,null,{default:l((()=>[i("选择保单年度"),s(S,null,{default:l((()=>[i("(可多选)")])),_:1})])),_:1}),s(M,{type:"clear",size:"26",onClick:P[2]||(P[2]=e=>x.policyYearModalFlag=!1)})])),_:1}),s(A,{class:"policyStepContainer"},{default:l((()=>[s(D,{type:"default",plain:"true",class:d({actived:0===x.customPolicyYearRange}),onClick:P[3]||(P[3]=e=>k.selectPolicyYearRange(0))},{default:l((()=>[i("1~40")])),_:1},8,["class"]),s(D,{type:"default",plain:"true",class:d({actived:1===x.customPolicyYearRange}),onClick:P[4]||(P[4]=e=>k.selectPolicyYearRange(1))},{default:l((()=>[i("41~80")])),_:1},8,["class"]),s(D,{type:"default",plain:"true",class:d({actived:2===x.customPolicyYearRange}),onClick:P[5]||(P[5]=e=>k.selectPolicyYearRange(2))},{default:l((()=>[i("81~105")])),_:1},8,["class"])])),_:1}),s(A,{class:"policyYearItemContainer"},{default:l((()=>[(a(!0),o(u,null,r(x.customPolicyYearRangeCount,(e=>(a(),t(A,{onClick:a=>k.selectCustomPolicyYears(e+x.customPolicyYearRange*x.customPolicyYearRangeCount),class:d({actived:k.getActiveStatus(e+x.customPolicyYearRange*x.customPolicyYearRangeCount)})},{default:l((()=>[s(S,null,{default:l((()=>[i(c(e+x.customPolicyYearRange*x.customPolicyYearRangeCount>this.maxPolicyYear?"":e+x.customPolicyYearRange*x.customPolicyYearRangeCount),1)])),_:2},1024)])),_:2},1032,["onClick","class"])))),256))])),_:1}),s(A,{class:"confirm"},{default:l((()=>[s(D,{type:"default",plain:"true",onClick:P[6]||(P[6]=e=>k.confirmPolicyYears())},{default:l((()=>[i("确定")])),_:1})])),_:1})])),_:1})])),_:1})):p("",!0)])),_:1})}],["__scopeId","data-v-c0c1827c"]]);export{v as default};
import{A as e,o as a,d as t,w as l,e as s,j as i,t as c,l as o,f as n,m as r,F as u,i as d,p,u as f,q as h,B as y,x as m,C as g,S as Y,D as _,I as C}from"./index.bad063df.js";import{_ as P}from"./plugin-vue_export-helper.21dcd24c.js";var v=P({data:()=>({index:0,stepLists:[1,5,10,15,20],pasteData:"",irrAndSimpleInfos:[{nyear:1,cashValue:""}],customPolicyYearRange:0,customPolicyYearRangeCount:40,maxPolicyYear:105,policyYearLists:[{nyear:1,isActived:!0,cashValue:""}],policyYearModalFlag:!1}),onLoad(){this.bindPickerChange({detail:{value:this.index}})},methods:{bindPickerChange(e){this.index=e.detail.value;const a=1===this.stepLists[this.index]?2:1;this.policyYearLists=[{nyear:1,isActived:!0,cashValue:""}];for(let t=a;t<=this.maxPolicyYear;t++){let e=this.stepLists[this.index]*t;if(!(e<=this.maxPolicyYear))break;this.policyYearLists=this.policyYearLists.concat([{nyear:e,cashValue:""}])}this.irrAndSimpleInfos=this.policyYearLists.concat([])},selectCustomPolicyYear(){this.policyYearModalFlag=!0,this.irrAndSimpleInfos=this.policyYearLists=[],console.log(this.irrAndSimpleInfos)},selectPolicyYearRange(e){this.customPolicyYearRange=e},selectCustomPolicyYears(e){this.policyYearLists.filter((a=>a.nyear==e)).pop()?this.policyYearLists.filter((a=>a.nyear==e)).pop().isActived=!this.policyYearLists.filter((a=>a.nyear==e)).pop().isActived:this.policyYearLists.push({nyear:e,isActived:!0,cashValue:""})},getActiveStatus(e){let a=!1;return this.policyYearLists.filter((a=>a.nyear==e)).pop()&&(a=this.policyYearLists.filter((a=>a.nyear==e)).pop().isActived),a},confirmPolicyYears(){this.policyYearModalFlag=!1,this.policyYearLists.length>0&&this.policyYearLists.sort(((e,a)=>e.nyear-a.nyear)),this.irrAndSimpleInfos=JSON.parse(JSON.stringify(this.policyYearLists))},pasteDataDistinguish(){const a=this.pasteData.trim().split("\n");console.log(a),a.length<=0||a.every((e=>""==e))?e({title:"数据识别结果",content:"检测到您并没有导入数据,请重新操作",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}}):a.length!==this.irrAndSimpleInfos.length&&e({title:"数据识别结果",content:"检测到您导入的数据条数和选择的保单年度数量不一致,系统将从上到下依次填入,请确认是否继续",success:e=>{if(e.confirm){if(console.log("用户点击确定"),this.irrAndSimpleInfos.length>0){const e=Math.min(a.length,this.irrAndSimpleInfos.length);console.log(e);for(let t=0;t<e;t++)this.irrAndSimpleInfos[t].cashValue=a[t]}}else e.cancel&&console.log("用户点击取消")}})},clearData(){this.pasteData="",this.irrAndSimpleInfos.forEach((e=>e.cashValue=""))}}},[["render",function(e,P,v,L,x,A){const S=f,k=h,R=y,D=m,V=g,I=C,b=Y,M=_;return a(),t(k,{class:"batchDataImportContainer"},{default:l((()=>[s(k,{class:"selectStepContainer"},{default:l((()=>[s(k,{class:"selectStepContent"},{default:l((()=>[s(S,null,{default:l((()=>[i("我想测算每隔")])),_:1}),s(k,{class:"stepContent"},{default:l((()=>[s(R,{onChange:A.bindPickerChange,value:x.index,range:x.stepLists},{default:l((()=>[s(k,{class:"uni-input"},{default:l((()=>[i(c(x.stepLists[x.index]),1)])),_:1})])),_:1},8,["onChange","value","range"]),(a(),o("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"},[n("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}),s(S,null,{default:l((()=>[i("年的单利复利")])),_:1})])),_:1}),s(k,null,{default:l((()=>[s(D,{class:"mini-btn",type:"default",size:"mini",onClick:A.selectCustomPolicyYear},{default:l((()=>[i("自定义")])),_:1},8,["onClick"])])),_:1})])),_:1}),s(k,{class:"tips"},{default:l((()=>[s(S,null,{default:l((()=>[i("(如需指定任意保单年度,可通过点击右上角"),s(S,null,{default:l((()=>[i("“自定义”")])),_:1}),i("按钮完成)")])),_:1})])),_:1}),s(k,{class:"dataOptionContainer"},{default:l((()=>[s(k,{class:"uni-textarea"},{default:l((()=>[s(V,{modelValue:x.pasteData,"onUpdate:modelValue":P[0]||(P[0]=e=>x.pasteData=e),"placeholder-style":"color:#999999;font-size:14px;padding-left:9px;padding-top:3px",placeholder:"请根据左侧保单年度进行现金价值数据粘贴"},null,8,["modelValue"]),s(D,{class:"mini-btn pasteDiscernment",type:"default",size:"mini",onClick:A.pasteDataDistinguish},{default:l((()=>[i("粘贴并识别")])),_:1},8,["onClick"])])),_:1}),s(k,{class:"batchDataLists"},{default:l((()=>[s(k,{class:"batchDataTh"},{default:l((()=>[s(S,null,{default:l((()=>[i("保单年度")])),_:1}),s(S,null,{default:l((()=>[i("现金价值")])),_:1})])),_:1}),s(b,{"scroll-y":"true",style:{height:"560rpx"}},{default:l((()=>[(a(!0),o(u,null,r(x.irrAndSimpleInfos,(e=>(a(),t(k,{class:"batchDataTd"},{default:l((()=>[s(S,null,{default:l((()=>[i(c(e.nyear),1)])),_:2},1024),s(I,{class:"uni-input",style:{height:"100%"},type:"digit",modelValue:e.cashValue,"onUpdate:modelValue":a=>e.cashValue=a,placeholder:"请输入纯数字"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024)))),256))])),_:1})])),_:1})])),_:1}),s(k,{class:"optionContent"},{default:l((()=>[s(D,{type:"default",plain:"true","form-type":"reset",onClick:A.clearData},{default:l((()=>[i("全部清空")])),_:1},8,["onClick"]),s(D,{type:"default",plain:"true",onClick:P[1]||(P[1]=a=>e.calcute())},{default:l((()=>[i(c("2"==e.calcuteMethod?"输入批量数据":"开始计算"),1)])),_:1})])),_:1}),x.policyYearModalFlag?(a(),t(k,{key:0,class:"policySelectContainer"},{default:l((()=>[s(k,{class:"policyYearContainer"},{default:l((()=>[s(k,{class:"modalTitle"},{default:l((()=>[s(S),s(S,null,{default:l((()=>[i("选择保单年度"),s(S,null,{default:l((()=>[i("(可多选)")])),_:1})])),_:1}),s(M,{type:"clear",size:"26",onClick:P[2]||(P[2]=e=>x.policyYearModalFlag=!1)})])),_:1}),s(k,{class:"policyStepContainer"},{default:l((()=>[s(D,{type:"default",plain:"true",class:d({actived:0===x.customPolicyYearRange}),onClick:P[3]||(P[3]=e=>A.selectPolicyYearRange(0))},{default:l((()=>[i("1~40")])),_:1},8,["class"]),s(D,{type:"default",plain:"true",class:d({actived:1===x.customPolicyYearRange}),onClick:P[4]||(P[4]=e=>A.selectPolicyYearRange(1))},{default:l((()=>[i("41~80")])),_:1},8,["class"]),s(D,{type:"default",plain:"true",class:d({actived:2===x.customPolicyYearRange}),onClick:P[5]||(P[5]=e=>A.selectPolicyYearRange(2))},{default:l((()=>[i("81~105")])),_:1},8,["class"])])),_:1}),s(k,{class:"policyYearItemContainer"},{default:l((()=>[(a(!0),o(u,null,r(x.customPolicyYearRangeCount,(e=>(a(),t(k,{onClick:a=>A.selectCustomPolicyYears(e+x.customPolicyYearRange*x.customPolicyYearRangeCount),class:d({actived:A.getActiveStatus(e+x.customPolicyYearRange*x.customPolicyYearRangeCount)})},{default:l((()=>[s(S,null,{default:l((()=>[i(c(e+x.customPolicyYearRange*x.customPolicyYearRangeCount>this.maxPolicyYear?"":e+x.customPolicyYearRange*x.customPolicyYearRangeCount),1)])),_:2},1024)])),_:2},1032,["onClick","class"])))),256))])),_:1}),s(k,{class:"confirm"},{default:l((()=>[s(D,{type:"default",plain:"true",onClick:P[6]||(P[6]=e=>A.confirmPolicyYears())},{default:l((()=>[i("确定")])),_:1})])),_:1})])),_:1})])),_:1})):p("",!0)])),_:1})}],["__scopeId","data-v-c0c1827c"]]);export{v as default};
......@@ -14,11 +14,14 @@
<title>sfp</title>
<!--preload-links-->
<!--app-context-->
<script type="module" crossorigin src="/sfp/assets/index.bad063df.js"></script>
<script type="module" crossorigin src="/sfp/assets/index.6a7cd8f6.js"></script>
<link rel="stylesheet" href="/sfp/assets/index.13d2da89.css">
</head>
<body>
<div id="app"><!--app-html--></div>
<!-- 移动端调试 -->
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/eruda"></script>
<script>eruda.init();</script>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment