12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360 |
- <template>
- <view class="addbox" :style="'padding-top:'+listTop+'rpx;'">
- <!-- 步骤条 -->
- <view class="navtop">
- <uni-nav-bar color="#ffffff" leftWidth="160rpx" rightWidth="160rpx" @clickLeft="getBack" title="业务申报" :background-color="actcolor" :border="false"
- statusBar='true'>
- <block slot="left">
- <view class="topl">
- <image :src="backimg" ></image>
- </view>
- </block>
- <block slot="right">
- <view class="edit" @click="getGiveupFn">
- <image :src="feditimg"></image>
- 放弃编辑
- </view>
- </block>
- </uni-nav-bar>
- <!-- 头部 -->
- <step-bar :steps="steps" :fixeda='false' :stepval="stepval"></step-bar>
- </view>
- <uni-forms ref="form" :model="datainfo" :rules="rules">
- <view class="bgf plr12 mt12">
- <uni-forms-item label="项目编号" name="loanApplicationNumber">
- <view class="lbtabp">
- <view :class="datainfo.loanApplicationNumber?'':'coa'">{{datainfo.loanApplicationNumber}}</view>
- </view>
- </uni-forms-item>
- </view>
- <!-- 企业信息 -->
- <view v-show="stepval==1">
- <!-- 企业信息 -->
- <view class="addtit mt3"><text>*</text>企业信息</view>
- <view class="bgf plr12">
- <picker range-key='label' :value="qyidx" :range="qylist" class="isborder" @change='bindDateChangea'>
- <uni-forms-item label="企业名称" name="enterpriseName">
- <view class="lbtabp">
- <view class="chtit" :class="datainfo.enterpriseName?'':'coa'">{{datainfo.enterpriseName||"请选择已添加的企业"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- </picker>
- <uni-forms-item label="行业类型" name="categoryType">
- <view class="lbtabp" @click="getTalbFn">
- <view :class="datainfo.categoryType?'':'coa'">{{datainfo.categoryType||"请选择行业类型"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- <uni-forms-item label="是否是制造业" name="isMake">
- <view class="checkbox">
- <uni-data-checkbox :selectedColor="actcolor" selectedTextColor='#222327' v-model="datainfo.isMake" :localdata="sfList" />
- </view>
- </uni-forms-item>
- <uni-forms-item label="是否专精特新" name="isNew">
- <view class="checkbox">
- <uni-data-checkbox :selectedColor="actcolor" selectedTextColor='#222327' v-model="datainfo.isNew" :localdata="sfList" />
- </view>
- </uni-forms-item>
- <uni-forms-item label="是否小微企业" name="isSmall">
- <view class="flexc">
- <view class="checkbox flex1">
- <uni-data-checkbox :selectedColor="actcolor" selectedTextColor='#222327' v-model="datainfo.isSmall" :localdata="sfList" />
- </view>
- <view class="ywicon flexc" @click="showImg"><image :src="ywicon"></image>划分标准</view>
- </view>
- </uni-forms-item>
- <uni-forms-item label="公司简介" name="companyIntroduction">
- <uni-easyinput type="textarea" autoHeight v-model="datainfo.companyIntroduction" :inputBorder='false' placeholder="请输入公司简介" />
- </uni-forms-item>
- <uni-forms-item label="公司章程" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.gszc">
- <!-- fileName 给label 0 -->
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.gszc" fileVal='gszc' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传公司章程并盖市监局备案章</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='gszc'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="开户许可证" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.khxkz">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.khxkz" fileVal='khxkz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit">上传开户许可证</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='khxkz'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <!-- <uni-forms-item label="企业名称" name="email">
- <uni-easyinput v-model="datainfo.email" :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item> -->
-
- </view>
- <!-- 全体股东身份信息 -->
- <view class="addtit mt3"><text>*</text>全体股东身份信息</view>
- <view class="bgf plr12">
- <block v-for="(ite,idx) in gdlist" :key="idx">
- <uni-forms-item name="iszcy">
- <view class="labtxt">股东{{(Number(idx)+1)}}身份证
- <text class="del" @click="getdelGdFn(idx)">删除</text>
- </view>
- <view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
- <view class="phoboxa">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="'股东'+(Number(idx)+1)+'身份证'" :fileVal='idx' bigType="cardz" :width="pwidth" :height="pheight" :formats="gdformats" :option="option" :size="size" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="gdonuploadEnd" >
- <view class="photop">
- <image v-if="ite.cardz" :src="baseUrl+ite.cardz" class="bgimg"></image>
- <image v-else :src="cardz" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit">上传人像面</view>
- </view>
- <view class="phoboxa" >
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="'股东'+(Number(idx)+1)+'身份证'" :fileVal='idx' bigType="cardf" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="gdonuploadEnd" >
- <view class="photop">
- <image v-if="ite.cardf" :src="baseUrl+ite.cardf" class="bgimg"></image>
- <image v-else :src="cardf" class="bgimg"></image>
-
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit">上传国徽面</view>
- </view>
- </view>
- </uni-forms-item>
- </block>
- <view class="addgdbox">
- <view class="rzbtnadd" @click="getAddGdFn">
- <image :src="addgd"></image>添加股东
- </view>
- </view>
- </view>
- <!-- * 企业征信(由中国人民银行提供) -->
- <view class="addtit mt3"><text>*</text>企业征信(由中国人民银行提供)</view>
- <view class="bgf plr12">
- <uni-forms-item label="申请企业" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.sqqyzxbg">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.sqqyzxbg" fileVal='sqqyzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传申请企业征信报告</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='sqqyzxbg'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="关联企业" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.glqyzxbg">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.glqyzxbg" fileVal='glqyzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传关联企业征信报告</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='glqyzxbg'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- </view>
- <!-- * 企业法人征信-->
- <view class="addtit mt3"><text>*</text>企业法人征信</view>
- <view class="bgf plr12">
- <uni-forms-item label="企业法人" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.qyfrzxbg">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.qyfrzxbg" fileVal='qyfrzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传企业法人征信报告</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='qyfrzxbg'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- </view>
- <!-- * 实际控股人夫妻双方征信-->
- <view class="addtit mt3"><text>*</text>实际控股人夫妻双方征信</view>
- <view class="bgf plr12">
- <uni-forms-item label="实际控股人" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.sjkgrzxbg">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.sjkgrzxbg" fileVal='sjkgrzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传实际控股人征信报告</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='sjkgrzxbg'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="配偶征信" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.sjkgrpozxbg">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.sjkgrpozxbg" fileVal='sjkgrpozxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传实际控股人配偶征信报告</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='sjkgrpozxbg'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- </view>
- <!-- * 各股东个人征信(请与上面所填股东对应) -->
- <view class="addtit mt3"><text>*</text>各股东个人征信(请与上面所填股东对应)</view>
- <view class="bgf plr12">
- <block v-for="(ite,idx) in gdlist" :key="idx">
- <uni-forms-item :label="'股东'+(Number(idx)+1)+'征信'" name="iszcy">
- <view class="phobox">
- <view class="phoboxa">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="'股东'+(Number(idx)+1)+'征信'" :fileVal='idx' bigType="zx" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="gdonuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit">上传实际控股人征信报告</view>
- </view>
- <block v-if="ite.zxurl&&ite.zxurl.length">
- <view class="phoboxa" v-for="(zxite,zxidx) in ite.zxurl" :key="zxidx">
- <view class="photop" @click="getDown(zxite)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelgdFj(idx,zxidx)"></image>
- </view>
- <!-- <view class="photit">{{zxite.name}}</view> -->
- </view>
- </block>
- </view>
- </uni-forms-item>
- </block>
- </view>
- </view>
- <!-- 法人信息 -->
- <view v-show="stepval==2">
- <!-- 用户类型 -->
- <view class="addtit mt3"><text>*</text>用户类型</view>
- <view class="bgf plr12">
- <picker range-key='label' :value="yhlxidx" :range="yhlxlist" class="" @change='bindDateChangeb'>
- <uni-forms-item label="用户类型" name="customerType">
- <view class="lbtabp">
- <view v-if="datainfo.customerType&&!yhlx">{{statusFormat(datainfo.customerType,yhlxlist,'yhlx')}}</view>
- <view v-else :class="yhlx?'':'coa'">{{yhlx||"请选择用户类型"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- </picker>
- </view>
- <!-- 法定代表人基本信息 -->
- <view class="addtit mt3"><text>*</text>法定代表人基本信息</view>
- <view class="bgf plr12">
- <uni-forms-item label="身份证" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.frsfzrmx">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frsfzrmx" fileVal='frsfzrmx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="ponuploadEnd" >
- <view class="photop">
- <image :src="cardz" class="bgimg"></image>
- <image v-if="datainfo.corporationFront" :src="baseUrl+datainfo.corporationFront" class="bgimga"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传人像面</view>
- </view>
- <view class="phoboxa" v-if="jcfjobj.frsfzghm">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frsfzghm" fileVal='frsfzghm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="ponuploadEnd" >
- <view class="photop">
- <view class="photop">
- <image :src="cardf" class="bgimg"></image>
- <image v-if="datainfo.corporationBack" :src="baseUrl+datainfo.corporationBack" class="bgimga"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </view>
- </lsj-upload>
- <view class="photit">上传国徽面</view>
- </view>
- </view>
- </uni-forms-item>
- <uni-forms-item label="姓名" name="corporationName">
- <uni-easyinput v-model="datainfo.corporationName" :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- <uni-forms-item label="身份证号" name="corporationIdCard">
- <uni-easyinput v-model="datainfo.corporationIdCard" :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- <uni-forms-item label="手机号码" name="corporationPhone">
- <uni-easyinput v-model="datainfo.corporationPhone" type="number" :inputBorder='false' placeholder="请输入手机号码" />
- </uni-forms-item>
- <!-- 家庭人口选填-->
- <uni-forms-item label="家庭人口" name="familyPopulation">
- <uni-easyinput v-model="datainfo.familyPopulation" type="number" :inputBorder='false' placeholder="请输入家庭人口" />
- </uni-forms-item>
- <uni-forms-item label="法人职业" name="corporationJob">
- <uni-easyinput v-model="datainfo.corporationJob" :inputBorder='false' placeholder="请输入法人职业" />
- </uni-forms-item>
- <picker range-key='label' :value="ywidx" class="isborder" :range="ywList" @change='bindDateChangec'>
- <uni-forms-item label="有无贷款" name="qymc">
- <view class="lbtabp">
- <view v-if="datainfo.isLoan">{{datainfo.isLoan=='Y'?'有':'无'}}</view>
- <view v-else class="coa">请选择有/无</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- </picker>
- <!-- <uni-forms-item label="应收应付款" name="email">
- <uni-easyinput v-model="datainfo.email" type="number" :inputBorder='false' placeholder="请输入应收应付款" />
- </uni-forms-item> -->
- <!-- <uni-forms-item label="经营情况" name="iszcy">
- <uni-easyinput type="textarea" autoHeight v-model="datainfo.email" :inputBorder='false' placeholder="请描述近几年经营情况" />
- </uni-forms-item> -->
- <!-- <uni-forms-item label="经营效益" name="email">
- <uni-easyinput v-model="datainfo.email" type="number" :inputBorder='false' placeholder="请输入经营效益" />
- </uni-forms-item> -->
- </view>
- <!-- * 家庭婚姻信息 -->
- <view class="addtit mt3"><text>*</text>家庭婚姻信息</view>
- <view class="bgf plr12">
- <picker range-key='label' :value="frhyzkidx" :range="hyztlist" class="isborder" @change='bindDateChanged'>
- <uni-forms-item label="婚姻状态" name="corporationMaritalStatus">
- <view class="lbtabp">
- <view v-if="datainfo.corporationMaritalStatus&&!frhyzk">{{statusFormat(datainfo.corporationMaritalStatus,hyztlist,'frhyzk')}}</view>
- <view v-else :class="frhyzk?'':'coa'">{{frhyzk||"请选择婚姻状态"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- </picker>
- <uni-forms-item label="配偶身份证" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.frsfzpormx">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frsfzpormx" fileVal='frsfzpormx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="ponuploadEnd" >
- <view class="photop">
- <image :src="cardz" class="bgimg"></image>
- <image v-if="datainfo.spouseFront" :src="baseUrl+datainfo.spouseFront" class="bgimga"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <!-- 删除 -->
- <view class="frdelimg" v-if="datainfo.spouseFront" @click.stop="getDelfzpo('front')">
- <image :src="fdelimg"></image>
- </view>
- <view class="photit atit">上传人像面</view>
- </view>
- <view class="phoboxa" v-if="jcfjobj.frsfzpoghm">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frsfzpoghm" fileVal='frsfzpoghm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="ponuploadEnd" >
- <view class="photop">
- <view class="photop">
- <image :src="cardf" class="bgimg"></image>
- <image v-if="datainfo.spouseBack" :src="baseUrl+datainfo.spouseBack" class="bgimga"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </view>
- </lsj-upload>
- <!-- 删除 -->
- <view class="frdelimg" v-if="datainfo.spouseBack" @click.stop="getDelfzpo('back')">
- <image :src="fdelimg"></image>
- </view>
- <view class="photit">上传国徽面</view>
- </view>
- </view>
- </uni-forms-item>
- <uni-forms-item label="配偶姓名" name="spouseName">
- <uni-easyinput v-model="datainfo.spouseName" :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- <uni-forms-item label="配偶身份证号" name="spouseIdCard">
- <uni-easyinput v-model="datainfo.spouseIdCard" :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- </view>
- <!-- * 企业法人征信-->
- <view class="addtit mt3"><text>*</text>婚姻证明</view>
- <view class="bgf plr12">
- <!-- 离婚状态上传 -->
- <uni-forms-item label="离婚证" name="iszcy" v-if="datainfo.corporationMaritalStatus==3">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.frlhz">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frlhz" fileVal='frlhz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="jhico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传离婚证</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='frlhz'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="结婚证" name="iszcy" v-else>
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.frjhz">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frjhz" fileVal='frjhz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="jhico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传结婚证</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='frjhz'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- </view>
- <!-- * 户口簿信息-->
- <view class="addtit mt3"><text>*</text>户口簿信息</view>
- <view class="bgf plr12">
- <uni-forms-item label="户口簿首页" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.frhkbsy">
- <lsj-upload ref="lsjUpload" childId="frhkbsy" :fileName="jcfjobj.frhkbsy" fileVal='frhkbsy' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="hkico" class="bgimg"></image>
- <!-- <block v-for="(ite,idx) in filelist" :key='idx'>
- <image v-if="ite.type=='frhkbsy'&&ite.bigType=='a'" :src="baseUrl+ite.url" class="bgimga"></image>
- </block> -->
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传户口簿第一页</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='frhkbsy'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="户口簿单页" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.frhkbbry">
- <!-- 法人户口簿每一页 -->
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frhkbbry" fileVal='frhkbbry' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="hkico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传户口簿每一页</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='frhkbbry'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- <!-- <view class="phoboxa">
- <view class="photop">
- <image :src="hkico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- <view class="photit atit">上传户口簿配偶页</view>
- </view> -->
- </view>
- </uni-forms-item>
- </view>
- </view>
- <!-- 反担保人信息 -->
- <view v-show="stepval==3">
- <!-- 担保类型 -->
- <view class="addtit mt3"><text>*</text>担保类型</view>
- <view class="bgf plr12">
- <picker range-key='label' :value="dblxidx" :range="dblxlist" class="" @change='bindDateChangee'>
- <uni-forms-item label="担保类型" name="guaranteeType">
- <view class="lbtabp">
- <view v-if="datainfo.guaranteeType&&!dblx">{{statusFormat(datainfo.guaranteeType,dblxlist,'dblx')}}</view>
- <view v-else :class="dblx?'':'coa'">{{dblx||"请选择担保类型"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- </picker>
- </view>
- <!-- 反担保人基本信息 v-if="datainfo.guaranteeType==2"-->
- <block>
- <view class="addtit mt3"><text>*</text>反担保人基本信息</view>
- <view class="bgf plr12">
- <uni-forms-item label="身份证" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.fdbrsfzrmx">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrsfzrmx" fileVal='fdbrsfzrmx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="ponuploadEnd" >
- <view class="photop">
- <image :src="cardz" class="bgimg"></image>
- <image v-if="datainfo.guaranteeFront" :src="baseUrl+datainfo.guaranteeFront" class="bgimga"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传人像面</view>
- </view>
- <view class="phoboxa" v-if="jcfjobj.fdbrsfzghm">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrsfzghm" fileVal='fdbrsfzghm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="ponuploadEnd" >
- <view class="photop">
- <view class="photop">
- <image :src="cardf" class="bgimg"></image>
- <image v-if="datainfo.guaranteeBack" :src="baseUrl+datainfo.guaranteeBack" class="bgimga"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </view>
- </lsj-upload>
- <view class="photit">上传国徽面</view>
- </view>
- </view>
- </uni-forms-item>
- <uni-forms-item label="姓名" name="guaranteeName">
- <uni-easyinput v-model="datainfo.guaranteeName" :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- <uni-forms-item label="身份证号" name="guaranteeIdCard">
- <uni-easyinput v-model="datainfo.guaranteeIdCard" :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- <uni-forms-item label="手机号码" name="guaranteePhone">
- <uni-easyinput v-model="datainfo.guaranteePhone" type="number" :inputBorder='false' placeholder="请输入手机号码" />
- </uni-forms-item>
- </view>
- </block>
-
- <!-- * 反担保人家庭婚姻信息 -->
- <!-- <view class="addtit mt3"><text>*</text>反担保人家庭婚姻信息</view>
- <view class="bgf plr12">
- <picker range-key='label' :value="qyidx" :range="qylist" class="isborder" @change='bindDateChangea'>
- <uni-forms-item label="婚姻状态" name="qymc">
- <view class="lbtabp">
- <view v-if="datainfo.qymcid&&!qymc">{{statusFormat(datainfo.qymcid,qylist,'qy')}}</view>
- <view v-else :class="qymc?'':'coa'">{{qymc||"请选择婚姻状态"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- </picker>
- <uni-forms-item label="配偶身份证" name="iszcy">
- <view class="phobox">
- <view class="phoboxa">
- <view class="photop">
- <image :src="cardz" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- <view class="photit atit">上传人像面</view>
- </view>
- <view class="phoboxa">
- <view class="photop">
- <image :src="cardf" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- <view class="photit">上传国徽面</view>
- </view>
- </view>
- </uni-forms-item>
- <uni-forms-item label="配偶姓名" name="email">
- <uni-easyinput v-model="datainfo.email" :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- <uni-forms-item label="配偶身份证号" name="email">
- <uni-easyinput v-model="datainfo.email" :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- </view> -->
- <!-- * 反担保人婚姻证明-->
- <!-- <view class="addtit mt3"><text>*</text>反担保人婚姻证明</view>
- <view class="bgf plr12">
- <uni-forms-item label="结婚证" name="iszcy">
- <view class="phobox">
- <view class="phoboxa">
- <view class="photop">
- <image :src="jhico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- <view class="photit atit">上传结婚证</view>
- </view>
- </view>
- </uni-forms-item>
- </view> -->
- <!-- * 反担保人户口簿信息-->
- <!-- <view class="addtit mt3"><text>*</text>反担保人户口簿信息</view>
- <view class="bgf plr12">
- <uni-forms-item label="户口簿首页" name="iszcy">
- <view class="phobox">
- <view class="phoboxa">
- <view class="photop">
- <image :src="hkico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- <view class="photit atit">上传户口簿第一页</view>
- </view>
- </view>
- </uni-forms-item>
- <uni-forms-item label="户口簿单页" name="iszcy">
- <view class="phobox">
- <view class="phoboxa">
- <view class="photop">
- <image :src="hkico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- <view class="photit atit">上传户口簿本人页</view>
- </view>
- <view class="phoboxa">
- <view class="photop">
- <image :src="hkico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- <view class="photit atit">上传户口簿配偶页</view>
- </view>
- </view>
- </uni-forms-item>
- </view> -->
- <!-- * 反担保人信用担保证明-->
- <view class="addtit mt3">反担保人信用担保证明</view>
- <view class="bgf plr12">
- <uni-forms-item name="iszcy">
- <view class="labtxt">个人工作证明
- <text>(选填)</text>
- </view>
- <view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
- <view class="phoboxa" v-if="jcfjobj.fdbrgrgzzm">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrgrgzzm" fileVal='fdbrgrgzzm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">公职人员上传个人工作证明</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='fdbrgrgzzm'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="身份证复印件" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.fdbrsfzfyj">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrsfzfyj" fileVal='fdbrsfzfyj' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="cardz" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传身份证复印件</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='fdbrsfzfyj'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="个人征信报告" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.fdbrgrzxbg">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrgrzxbg" fileVal='fdbrgrzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传个人征信报告</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='fdbrgrzxbg'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- </view>
- </view>
- <!-- 添加附件 -->
- <view v-show="stepval==4">
- <!-- 附件信息 -->
- <view class="addtit mt3">
- <view @click="getDbclFn" class="flexc">附件信息<image :src="ywicon" class="ywimg"></image></view>
- </view>
- <block v-for="(ite,idx) in sbfjlist" :key="ite.val">
- <!-- 委托担保申请书 -->
- <view class="bgf plr12 mb12" v-if="ite.val=='wtdbsqs'||ite.val=='gdhyjy'">
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit"><text>*</text>{{ite.label}}<text class="mtxt">(须面签)</text></view>
- <view class="fbtns cof64" @click="getExportMb(ite)">
- <image :src="downimg" class="downimg"></image>下载模板
- </view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image>
- <view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="bgf plr12" v-if="ite.val=='syndcwbb'||ite.val=='syndsjbg'">
- <view class="fjbox" :class="ite.val!='syndsjbg'?'isborder':''">
- <view class="fjtop flext">
- <view class="ftit"><text v-if="ite.val=='syndcwbb'">*</text>{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="bgf plr12" v-if="ite.val=='dqcwbb'&&datainfo.applicationType==1">
- <view class="fjbox isborder">
- <view class="fjtop flext">
- <view class="ftit"><text>*</text>{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="bgf plr12 mt12" v-if="ite.val=='nszm'">
- <view class="fjbox isborder">
- <picker range-key='text' :value="sfidx" :range="sfList" @change='bindDateChangef'>
- <view class="fjtop flexc chek">
- <view class="ftit"><text>*</text>是否免税企业</view>
- <view v-if="datainfo.isDuty">{{datainfo.isDuty=='Y'?'是':'否'}}</view>
- <view v-else class="coa">请选择是/否</view>
- <!-- <view :class="datainfo.isDuty?'':'coa'">{{msqy||"请选择是/否"}}</view> -->
- <image :src="hrimg" class="rimg"></image>
- </view>
- </picker>
- </view>
- <view class="fjbox isborder">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="bgf plr12 " v-if="ite.val=='jsyyhdzd'">
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 主要账户银行流水 -->
- <view class="mt12" v-if="ite.val=='zyzhyhls'">
- <view class="bgf plr12 " >
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit"><text>*</text>{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="addtit tips">提供能够反映企业资金流向的法人或控股股东不低于半年的个人 主要账户银行流水</view>
- </view>
- <view class="bgf plr12 " :class="ite.val=='gxht'?'isborder':''" v-if="ite.val=='gxht'|| ite.val=='dqcsxmqkzm'">
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit"><text>*</text>{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 企业基本注册信息查询单 -->
- <view class="bgf plr12 mt12 mb12" v-if="ite.val=='qyjbzcxxcxd'">
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit"><text>*</text>{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 企业固定资产证明 -->
- <view class="bgf plr12 " v-if="ite.val=='qygdzczm'||ite.val=='frzczmfc'||ite.val=='frzczmdc'||ite.val=='frzczmcl'">
- <view class="fjbox" :class="ite.val!='frzczmcl'?'isborder':''">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 反担保抵(质)押物复印件 -->
- <view class="mt12" v-if="ite.val=='fdbdyfyj'">
- <view class="bgf plr12 " >
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="addtit tips">机械设备需提供发票原件;若上传附件,后期则需提供证明</view>
- </view>
- <!-- 代理相关品牌授权书 -->
- <view class="bgf plr12 " v-if="ite.val=='dlxgcpsqs'||ite.val=='dlxgppht'">
- <view class="fjbox isborder">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 反担保抵(质)押物复印件 -->
- <view v-if="ite.val=='scjyxkzgy'">
- <view class="bgf plr12 " >
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="addtit tips">例如:塑料包装行业《印刷经营许可证》、食品卫生行业《卫生 许可证》、环保达标认定表原件(工业)</view>
- </view>
- <!-- 纳税申报表 -->
- <view class="bgf plr12 mb12" v-if="ite.val=='sdffpyn'||ite.val=='rggzb'||ite.val=='nssbb'">
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit"><text>*</text>{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>{{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- </block>
- </view>
-
- </uni-forms>
- <!-- btnd -->
- <view class="addbtns">
- <view class="addlbtn" @click="getZanFn"><image :src="zancio"></image>暂存</view>
- <view class="addrbtn bga" @click="getPreFn" v-if="stepval>1">上一步</view>
- <view class="addrbtn bgb" @click="getNextFn" v-if="stepval<4">下一步</view>
- <!-- <view class="addrbtn bgb" @click="getSubmit" v-if="stepval<4">下一步</view> -->
- <view class="addrbtn bgb" @click="getSubmit" v-if="stepval==4">提交</view>
- </view>
- <!-- -->
- <block v-if="lookflag">
- <view class="bgbox" @click="lookflag=false" ></view>
- <image :src="lookico" class="looimg" @click="getPreview(lookico)"></image>
- </block>
- <pop-up :type='ftype' :content="content" @getClose='getClose'></pop-up>
- </view>
- </template>
- <script>
- import config from '@/config'
- const baseUrl = config.baseUrl
- const baseUrlimg=config.baseUrl
- const baseName = config.baseName
- import popUp from "@/work/components/popup/popup.vue"
- import stepBar from "@/components/toptab/stepbar.vue"
- import { getToken } from '@/utils/auth'
- import {getApplicationNum,getApplicationZc,getApplicationAdd,getApplicationDet,getApplicationEdit,getExportMb,getDocumentList} from "@/api/mine/work.js"
- import {getQyListNoPage,getOcrIdCard} from "@/api/mine/card.js"
- import {uploadmore,selectValueKey} from '@/utils/common.js'
- import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
- import {getDictionaryFn} from "@/api/mine/register.js"
- // 340622185605234521
- export default{
- components:{stepBar,popUp},
- data(){
- return{
- //附件
- option: {
- // 上传服务器地址,需要替换为你的接口地址
- url: baseUrl+'/common/uploadNew', // 该地址非真实路径,需替换为你项目自己的接口地址
- // 上传附件的key
- name: 'file',
- // 根据你接口需求自定义请求头,默认不要写content-type,让浏览器自适配
- header: {
- // 示例参数可删除
- 'Authorization': 'Bearer ' + getToken(),
- },
- // 根据你接口需求自定义body参数
- formData: {
- loanApplicationNumber:'',
- }
- },
- gdformats: 'png,jpg,jpeg',
- // 选择文件后是否立即自动上传,true=选择后立即上传
- instantly: true,
- // 必传宽高且宽高应与slot宽高保持一致
- width: '',
- height: '100rpx',
- pwidth:'200rpx',
- pheight:'126rpx',
- // 限制允许上传的格式,空串=不限制,默认为空
- formats: 'doc,docx,xls,xlsx,ppt,txt,pdf,zip,rar,word,png,jpg,jpeg',
- // 文件上传大小限制
- size: 100,
- // 文件数量限制 默认10
- count: 5,
- // 文件回显列表
- files: new Map(),
- // 微信小程序Map对象for循环不显示,所以转成普通数组,不要问为什么,我也不知道
- wxFiles: [],
- // 是否打印日志
- debug: false,
- filelist:[],
- gdfilelist:[],//股东附件列表
-
- backimg:require("@/work/static/images/back.png"),
- feditimg:require("@/work/static/images/fedit.png"),
- hrimg:require('@/work/static/images/hrimg.png'),
- ywicon:require('@/work/static/images/busin/ywicon.png'),
- delimg:require('@/work/static/images/del.png'),
- lookico:require('@/work/static/images/busin/lookico.png'),
- phoicon:require('@/work/static/images/busin/phoicon.png'),
- zico:require('@/work/static/images/busin/zico.png'),
- cardz:require('@/work/static/images/busin/cardz.png'),
- cardf:require('@/work/static/images/busin/cardf.png'),
- addgd:require('@/work/static/images/busin/addgd.png'),
- jhico:require('@/work/static/images/busin/jhico.png'),
- hkico:require('@/work/static/images/busin/hkico.png'),
- zancio:require('@/work/static/images/zancio.png'),
- downimg:require('@/work/static/images/down.png'),
- upimg:require('@/work/static/images/fup.png'),
- filico:require('@/work/static/images/filico.png'),
- fdelimg:require('@/work/static/images/del.png'),
- steps:[{tit:'申请额度',status:0},{tit:'企业信息',status:1},{tit:'法人信息',status:2},{tit:'反担保人信息',status:3},{tit:'添加附件',status:4},],
- stepval:1,
- datainfo:{
- // qymcid:1,
- // hylx:'',
- // hylxid:'',
- // iszcy:'0',
- // "loanApplicationId": 1,//贷款申请id
- "loanApplicationNumber": "",//贷款申请编号
- 'applicationType':'',//申请类型 1:企业 2:个人
- "applicationAmount": '',//申请额度(万元)
- "applicationBank": "",//申请银行
- "usagePeriod": "",//使用期限(月)
- "purposeFunds": "",//资金用途
- "repaymentSource": "",//还款来源
- "enterpriseName": "",//企业名称
- "enterpriseId":"",//企业信息id
- "categoryType": "",//行业类型
- "isMake": "Y",//是否是制造业
- "isNew": "Y",//是否是精特新
- "isSmall": "Y",//是否是小微企业
- "isDuty": "",//是否是免税企业
- "companyIntroduction": "",//公司简介
- "customerType": "",//用户类型
- "corporationFront": "",//法人身份证正面
- "corporationBack": "",//法人身份证反面
- "corporationName": "",// 法人姓名
- "corporationIdCard": "",//法人身份证号
- "corporationPhone": "",// 法人手机号
- "familyPopulation": "",//家庭人口数
- "corporationJob": "",//法人职业
- "isLoan": "",//有无贷款
- "receivablePay": "",//应收应付款
- "businessSituation": "",//经营情况
- "businessEfficiency": "",//经营效益
- "corporationMaritalStatus": "",//法人婚姻状态
- "spouseFront": "",//配偶身份证正面
- "spouseBack": "",//配偶身份证反面
- "spouseName": "",//配偶姓名
- "spouseIdCard": "",//配偶身份证号
- "spousePhone": "",//配偶手机号
- "guaranteeType": "",//担保类型
- "guaranteeFront": "",//反担保人身份证正面
- "guaranteeBack": "",//反担保人身份证反面
- "guaranteeName": "",//反担保人姓名
- "guaranteeIdCard": "",//反担保人身份证号
- "guaranteePhone": "",//反担保人手机号
- // "guaranteeMaritalStatus": "",//反担保人婚姻状态
- // "guaranteeSpouseFront": "",//反担保人配偶身份证正面
- // "guaranteeSpouseBack": "",//反担保人配偶身份证反面
- // "guaranteeSpouseName": "",//反担保人配偶姓名
- // "guaranteeSpouseIdCard": "",//反担保人配偶身份证号
- // "guaranteeSpousePhone": "",//反担保人配偶手机号
- // "userId": '',//申请人用户ID
- // "idCard": "",//申请人身份证号码
- // "applicationTime": "",//申请时间
- // "fileTime": "",//归档时间
- // "loanSchedule": "",//贷款申请进度(业务进度表查询进度列表):1:申报提交2:业务审核/分配 3:担保初审 4:尽职调查 5:初审风险合规 6:评审会 7:合同签约 8:放款合规风险审核 9:放款通知 10:归档
- // "loanScheduleName": '',//贷款申请进度名称(中文字)
- // "auditSchedule": "",//审核进度1:担保初审 2:A角色审核 3:B角色审核 4:风险审核 5:尽职调查 6:上会评审
- // "auditType": "",//审核状态 1:待审核 2:已通过 3:未通过
- // "loanApplicationType": "",//贷款申请状态 1:暂存 2:正常 3:回收站 4:归档
- // "aUserId": "",//A角色用户ID
- // "aUserName": "",//A角色用户名称
- // "bUserId": '',//B角色用户ID
- // "bUserName": '',//B角色用户名称
- "shareholderFjList": [],//全体股东信息附件
- "loanApplicationFjList": [],//相关附件
- "basicFj":{},//基础附件
- "declareFj":{},//申报附件
- "fileFj":{},//文件出具
- "otherFj":{},//其他附件
- },
- qymc:'',
- msqy:'',
- qyidx:0,
- ywidx:0,
- categoryId:'',//行业的id
- rules:{
- bonusType: {rules: [{required: true,errorMessage: '请选择加分类型'} ]},
- // score: {rules: [{required: true,errorMessage: '请输入分值'} ]},
- // bonusReason: {rules: [{required: true,errorMessage: '请输入加分事由'} ]},
- },
- gdlist:[{cardz:'',cardf:'',zxurl:[]}],
- qylist:[],//企业列表
- sfList:[{text: '是',value: 'Y'},{text: '否',value: 'N'}],
- ywList:[{label: '有',value: 'Y'},{label: '无',value: 'N'}],
- actcolor:'#00A9F0',
- sqtype:'qy',//个人gr ,企业 qy,
- hyztlist:[],//婚姻状态
- yhlxlist:[],//用户类型
- dblxlist:[],//担保类型
- lookflag:false,
- listTop:70,
- userId:this.$store.state.user.userId,
- categoryId:"",//行业类型id;
- jcfjlist:[],//基础附件
- sbfjlist:[],//申报附件
- wjfjlist:[],//文件出具
- jcfjobj:{},//基础附件
- shareholderFjList:[],//全体股东信息附件
- loanApplicationFjList:[],//相关附件
- ftype:'',//弹窗type
- baseUrl:'',
- dblx:'',
- yhlx:'',
- frhyzk:'',//婚姻状况
- dblxidx:0,
- yhlxidx:0,
- sfidx:0,
- frhyzkidx:0,
- btfiles:[
- // {tit:'公司章程',type:'gszc'},
- //{tit:'开户许可证',type:'khxkz'},{tit:'申请企业征信报告',type:'sqqyzxbg'},{tit:'关联企业征信报告',type:'glqyzxbg'},{tit:'企业法人征信报告',type:'qyfrzxbg'},{tit:'实际控股人征信报告',type:'sjkgrzxbg'},
- //{tit:'户口簿首页',type:'frhkbsy'},
- // {tit:'法人身份证人面像',type:'frsfzrmx'},{tit:'法人身份证国徽面',type:'frsfzghm'},
- ],
- sqbtfiles:[
- // {tit:'委托担保申请书',type:'wtdbsqs'},
- //{tit:'股东会议纪要',type:'gdhyjy'},{tit:'上一年度财务报表',type:'syndcwbb'},{tit:'主要账户银行流水',type:'zyzhyhls'},{tit:'购销合同',type:'gxht'},
- //{tit:'当前从事项目情况证明',type:'dqcsxmqkzm'},{tit:'企业基本注册信息查询单',type:'qyjbzcxxcxd'},{tit:'水电费发票(一年)',type:'sdffpyn'},{tit:'人员工资表',type:'rggzb'},{tit:'纳税申报表',type:'nssbb'},
- ],
- content:'',//小微企业富文本
-
- ptype:'add',
- id:'',//申请id
- declareFj:{},//
- // {tit:'法人结婚证',type:'frjhz'},{tit:'法人离婚证',type:'frlhz'},
- // {tit:'法人配偶身份证人面像',type:'frsfzpormx'},{tit:'法人配偶身份证国徽面',type:'frsfzpoghm'},
- //担保类型为反担保人担保{tit:'反担保人身份证人面像',type:'fdbrsfzrmx'},{tit:'反担保人身份证国徽面',type:'fdbrsfzghm'},
- //担保类型为抵押{tit:'企业固定资产证明',type:'qygdzczm'},
- }
- },
- onUnload(){
- uni.$off('refreshtalb')
- },
- // watch(){
-
- // },
- onLoad(e) {
- this.baseUrl=baseUrl
- var data=JSON.parse(decodeURIComponent(e.data))
- if(data.type){
- this.ptype=data.type;
- this.id=data.id;
- this.getDetail()
- }else{
- this.datainfo.applicationAmount=data.applicationAmount;
- this.datainfo.applicationBank=data.applicationBank;
- this.datainfo.usagePeriod=data.usagePeriod;
- this.datainfo.purposeFunds=data.purposeFunds;
- this.datainfo.repaymentSource=data.repaymentSource;
- this.datainfo.applicationType=data.applicationType;
- if(data.applicationType==1){
- var obj={tit:'当期财务报表',type:'dqcwbb'};
- this.sqbtfiles.push(obj)
- }
- this.getNumber();
- this.getSbjListFn()
- }
- uni.$on('refreshtalb', (e) => {
- this.datainfo.categoryType=e.categoryName
- this.categoryId=e.categoryId
- })
- this.init()
- // this.getQylist()
- // this.getDocumentList()
-
- },
- mounted() {
- this.getHeightFn()
- // var obj={
- // loanApplicationNumber:this.datainfo.loanApplicationNumber
- // }
- // this.option.formData=JSON.parse(JSON.stringify(obj))
- // this.$refs['lsjUpload'].setData('formData.loanApplicationNumber','RZDB202404251759453241637');
- },
- methods:{
- checkPermi, checkRole,
- init(){
- // // 用户类型
- // getDictionaryFn('customer_type').then(res=>{
- // if(res.code==200){
- // this.yhlxlist = res.data.map(v => {
- // return {
- // label: v.dictLabel,
- // value: v.dictValue
- // }
- // })
- // }
- // })
- // // 婚姻状况
- // getDictionaryFn('marital_status').then(res=>{
- // if(res.code==200){
- // this.hyztlist = res.data.map(v => {
- // return {
- // label: v.dictLabel,
- // value: v.dictValue
- // }
- // })
- // }
- // })
- // // 担保类型
- // getDictionaryFn('guarantee_type').then(res=>{
- // if(res.code==200){
- // this.dblxlist = res.data.map(v => {
- // return {
- // label: v.dictLabel,
- // value: v.dictValue
- // }
- // })
- // }
- // })
- // 基础附件
- getDictionaryFn('application_fj_jc').then(res=>{
- if(res.code==200){
- var obj={}
- var data=res.data;
- data.forEach(v=>{
- obj[v.dictValue]=v.dictLabel
- })
- this.jcfjobj=obj
- }
- })
- },
- getSbjListFn(){
- // 申报附件
- getDictionaryFn('application_fj_sb').then(res=>{
- if(res.code==200){
- var declareFj=this.declareFj;
- this.sbfjlist = res.data.map(v => {
- return {
- label: v.dictLabel,
- val: v.dictValue,
- fjlist:declareFj[v.dictValue]||[]
- }
- })
- let signArr = this.filelist;
- signArr = signArr.filter(s => {
- // if (res.data.find(l => l.dictValue == s.type && l.title == s.title)) return false
- if (res.data.find(l => l.dictValue == s.type)) return false
- else return true;
- })
- this.filelist = signArr;
- }
- })
- },
- getQylist(){
- // 需要userid
- var params={
-
- }
- getQyListNoPage().then(res=>{
- if(res.code==200){
- this.qylist = res.rows.map(v => {
- return {
- label: v.enterpriseName,
- value: v.enterpriseId
- }
- })
- }
- })
- },
- getNumber(){
- getApplicationNum().then(res=>{
- if(res.code==200){
- this.datainfo.loanApplicationNumber=res.data;
- var obj={
- loanApplicationNumber:this.datainfo.loanApplicationNumber
- }
- this.option.formData=JSON.parse(JSON.stringify(obj))
- }
- })
- },
- getHeightFn(){
- let query = uni.createSelectorQuery().in(this);
- var s=uni.getSystemInfoSync().statusBarHeight;
- //需要给黄色区域设置一个id标识,在这里是demo
- query.select('.navtop').boundingClientRect(data => {
- // #ifdef H5
- this.listTop =s ? Number(data.height)*2:(Number(data.height)-20)*2//赋值,待会要用
- // #endif
- // #ifndef H5
- this.listTop = Number(data.height)*2//赋值,待会要用
- // #endif
-
-
- }).exec();
- },
- getDbclFn(){
- this.$tab.navigateTo("/work/pages/prove/dbcltips")
- },
- getBack(){
- uni.navigateBack({
- delta:1
- })
- },
- getGiveupFn(){
- var that=this;
- uni.showModal({
- title: '放弃编辑',
- content: "是否确认放弃编辑",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- that.$tab.reLaunch('/pages/index/index')
- } else if (res.cancel) {
- }
- }
- });
- },
- getPreFn(){
- uni.pageScrollTo({
- scrollTop: 0,
- duration: 0
- })
- this.stepval=Number(this.stepval)-1
- },
- getNextFn(){
- // 暂不判断必填写完否
- uni.pageScrollTo({
- scrollTop: 0,
- duration: 0
- })
- this.stepval=Number(this.stepval)+1
- },
- getPreview(url) {
- var newArr=[];
- newArr.push(url)
- uni.previewImage({
- urls: newArr,
- current:0,
- success: function(data) {
-
- },
- fail: function(err) {
-
- }
- });
- },
- showImg(){
- this.ftype='fwb'
- // this.lookflag=true
- },
- getClose(){
- this.ftype=''
- },
- getTalbFn(){
- var obj={
- id:this.categoryId,
- name:this.datainfo.categoryType,
- }
- this.$tab.navigateTo('/work/pages/business/talbclass?data='+encodeURIComponent(JSON.stringify(obj)))
- },
- getAddGdFn(){
- var obj = {cardz:'',cardf:'',zxurl:[]}
- this.gdlist.push(obj);
- },
- getdelGdFn(idx){
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- that.gdlist.splice(idx,1);
- } else if (res.cancel) {
- }
- }
- });
- },
- statusFormat(ite,list,type) {
- var aite=selectValueKey(list, ite);
- if(type=='qy'){
- this.qyidx=aite.key
- }else if(type=='dblx'){
- this.dblxidx=aite.key
- }else if(type=='yhlx'){
- this.yhlxidx=aite.key
- }else if(type=='ywdk'){
- this.ywidx=aite.key
- }else if(type=='msqy'){
- this.sfidx=aite.key
- }else if(type=='frhyzk'){
- this.frhyzkidx=aite.key
- this.frhyzk=aite.actions;
- }
- return aite.actions;
- },
- bindDateChangea(e){
- // 企业信息
- var val=e.detail.value;
- this.datainfo.enterpriseName=this.qylist[val].label;
- this.datainfo.enterpriseId=this.qylist[val].value;
- },
- bindDateChangeb(e){
- // 用户类型
- var val=e.detail.value;
- this.yhlx=this.yhlxlist[val].label;
- this.datainfo.customerType=this.yhlxlist[val].value;
- },
- bindDateChangec(e){
- // 有无贷款
- var val=e.detail.value;
- this.datainfo.isLoan=this.ywList[val].value;
- },
- getDelfzpo(type){
- if(type=='front'){
- this.datainfo.spouseFront="";
- this.datainfo.spouseName="";
- this.datainfo.spouseIdCard="";
- }else{
- this.datainfo.spouseBack="";
- }
- },
- bindDateChanged(e){
- // 婚姻状态
- var val=e.detail.value;
- var value=this.hyztlist[val].value;
- var list=this.btfiles;
- if(this.datainfo.corporationMaritalStatus!=value){
- this.frhyzk=this.hyztlist[val].label;
- this.datainfo.corporationMaritalStatus=this.hyztlist[val].value;
- if(value==3){//离异
- // 删除结婚证
- var obj={tit:'法人离婚证',type:'frlhz'}
- const index = list.findIndex(text => text.type === "frjhz");
- if(index!=-1){
- this.btfiles.splice(index,1,obj)
- }else{
- this.btfiles.push(obj)
- }
- }else if(value==1){//已婚
- // 删除离婚证
- var obj={tit:'法人结婚证',type:'frjhz'}
- const index = list.findIndex(text => text.type === "frlhz");
- if(index!=-1){
- this.btfiles.splice(index,1,obj)
- }else{
- this.btfiles.push(obj)
- }
- }else{
- // 未婚
- const index = this.btfiles.findIndex(text => text.type === "frlhz");
- if(index!=-1){
- this.btfiles.splice(index,1)
- }
- const indexa = this.btfiles.findIndex(text => text.type === "frjhz");
- if(indexa!=-1){
- this.btfiles.splice(indexa,1)
- }
- }
- }
-
- },
- bindDateChangee(e){
- // 担保类型
- var val=e.detail.value;
- this.dblx=this.dblxlist[val].label;
- this.datainfo.guaranteeType=this.dblxlist[val].value;
- var value=this.dblxlist[val].value;
- var list=this.btfiles;
- var sqlist=this.sqlist;
- },
- bindDateChangef(e){
- var val=e.detail.value;
- // this.dblx=this.sfList[val].text;
- this.datainfo.isDuty=this.sfList[val].value;
- },
- getZanFn(){
- var params=this.datainfo
- getApplicationZc(params).then(res=>{
- if(res.code==200){
- this.$toast('暂存成功')
- // 刷新列表
- uni.$emit('refreshywlist')
- }
- })
- },
- getDetail(){
- getApplicationDet(this.id).then(res=>{
- if(res.code==200){
- this.datainfo=res.data;
- if(res.data&&res.data.applicationType==1){
- var obj={tit:'当期财务报表',type:'dqcwbb'};
- this.sqbtfiles.push(obj)
- }
- var data=res.data;
- var obj={
- loanApplicationNumber:res.data.loanApplicationNumber
- }
- this.option.formData=JSON.parse(JSON.stringify(obj))
-
- if(data.loanApplicationFjList){
- this.filelist=JSON.parse(JSON.stringify(data.loanApplicationFjList))
- }
- if(data.declareFj){
- this.declareFj=data.declareFj;
- }
- if(data.shareholderFjList){
- var shFjList=[]
- var gdlist=data.shareholderFjList;
- Object.keys(gdlist).some((key) => {
- var fjurl={
- cardz:gdlist[key].shareholderFrontUrl,
- cardf:gdlist[key].shareholderBackUrl,
- zxurl:gdlist[key].shareholderZxUrl.split(','),
- }
- shFjList.push(fjurl)
- })
- this.gdlist=JSON.parse(JSON.stringify(shFjList))
- }
- this.getSbjListFn()
- }
- })
- },
- getSubmit(){
- var that=this;
- // 判断附件是否完整
- var params=this.datainfo;
- if(!params.enterpriseName){
- this.$toast("请选择企业名称")
- return
- }
- if(!params.categoryType){
- this.$toast("请选择行业类型")
- return
- }
- if(!params.customerType){
- this.$toast("请选择用户类型")
- return
- }
- if(!params.corporationJob){
- this.$toast("请输入法人职业")
- return
- }
- if(!params.isLoan){
- this.$toast("请选择有无贷款")
- return
- }
- if(!this.frhyzk){
- this.$toast("请选择婚姻状态")
- return
- }
- if(params.corporationMaritalStatus==1){
- if(!params.spouseFront){
- this.$toast("请上传配偶身份证正面")
- return
- }
- if(!params.spouseBack){
- this.$toast("请上传配偶身份证反面")
- return
- }
- }
-
- if(!params.guaranteeType){
- this.$toast("请选择担保类型")
- return
- }
- if(!params.corporationPhone){
- // 验证手机号
- this.$toast("请输入法人手机号")
- return
- }
- if(!params.guaranteePhone){
- // 验证手机号
- this.$toast("请输入反担保人手机号")
- return
- }
- if(!params.corporationFront){
- this.$toast("请上传法人身份证人面像")
- return
- }
- if(!params.corporationBack){
- this.$toast("请上传法人身份证反面")
- return
- }
- if(!params.guaranteeFront){
- this.$toast("请上传反担保人身份证正面")
- return
- }
- if(!params.guaranteeBack){
- this.$toast("请上传反担保人身份证反面")
- return
- }
- var gdlist=this.gdlist;
- var shFjList=[]
- var a=0;
- Object.keys(gdlist).some((key) => {
- var str="请上传股东"+(Number(key)+1)
- if(!gdlist[key].cardz){
- a=1;
- that.$toast(str+"身份证人像面")
- return true;
- }else if(!gdlist[key].cardf){
- a=1;
- that.$toast(str+'身份证国徽面')
- return true;
- }else if(gdlist[key].zxurl<1){
- a=1;
- that.$toast(str+'征信报告')
- return true;
- }
- var fjurl={
- shareholderFrontUrl:gdlist[key].cardz,
- shareholderBackUrl:gdlist[key].cardf,
- shareholderZxUrl:gdlist[key].zxurl.join(','),
- }
- shFjList.push(fjurl)
- })
- params.shareholderFjList=JSON.parse(JSON.stringify(shFjList))
- if(a==1){
- return
- }
- var flist=this.filelist;
- var btfiles=JSON.parse(JSON.stringify(this.btfiles));
- var sqbtfiles=JSON.parse(JSON.stringify(this.sqbtfiles));
- if(params.guaranteeType==1){//抵押担保
- var obj={tit:'企业固定资产证明',type:'qygdzczm'}
- sqbtfiles.push(obj)
- }else if(params.guaranteeType==2){//反担保人担保
- var newArr=[
- {tit:'反担保人身份证人面像',type:'fdbrsfzrmx'},
- {tit:'反担保人身份证国徽面',type:'fdbrsfzghm'}
- ]
- btfiles=btfiles.concat(newArr)
- }
- var b=0;
- Object.keys(btfiles).some((key) => {
- if (flist.find(l => l.type == btfiles[key].type)) {
- return false
- }else{
- b=1;
- that.$toast('请上传'+btfiles[key].tit)
- return true;
- }
- })
- if(b==1){
- return
- }
-
- var sbfjlist=this.sbfjlist;
- var sbArr=[]
- var c=0;
- Object.keys(sqbtfiles).some((key) => {
- if (sbfjlist.find(l => (l.val == sqbtfiles[key].type) && l.fjlist.length>0)) {
- return false
- }else{
- c=1;
- that.$toast('请上传'+sqbtfiles[key].tit)
- return true;
- }
- })
- if(c==1){
- return
- }
- sbfjlist.forEach(ite=>{
- if(ite.fjlist&&ite.fjlist.length){
- flist.push(ite.fjlist[0])
- }
- })
-
- params.loanApplicationFjList=JSON.parse(JSON.stringify(flist))
- // 申请附件
- return
- if(this.ptype=='add'){
- getApplicationAdd(params).then(res=>{
- if(res.code==200){
- that.$toast("新增成功")
- setTimeout(function(){
- that.$tab.redirectTo('/work/pages/success')
- },1200)
- }
- })
- }else{
- getApplicationEdit(params).then(res=>{
- if(res.code==200){
- that.$toast("修改成功")
- setTimeout(function(){
- uni.$emit('refreshywlist')
- uni.navigateBack({
- delta:1
- })
- },1200)
- }
- })
- }
-
- //
- // this.$tab.navigateTo('/work/pages/success')
- },
- getaddImage(e){
- let that = this;
- let file =[],count=9
- // if(e=='zj'){
- // file = that.zjfile;
- // count=9
- // }else{
- // file = that.mjfile;
- // count=9
- // }
- uni.chooseImage({
- count: 1,
- success:function(res){
- let img= res.tempFilePaths;
- if(img.length + file.length > count){
- uni.showToast({
- title: '最多上传'+count+'张图片',
- icon: 'none',
- duration: 2000
- })
- }else{
- let imglen = res.tempFilePaths.length;
- var fuwufile = [];
- uploadmore('/common/upload',img,0,0,0,imglen,fuwufile,function(rs){
- if(e=='zj'){
- that.zjfile = that.zjfile.concat(rs);
- that.datainfo.identificationPhoto=that.zjfile.join(',')
- }
- })
- }
- }
- });
- },
- // 人像面
- ponuploadEnd(item,fileVal,bigType){
- var newobj={}
- var responseText=JSON.parse(item.responseText)
- var url=responseText.fileName
- if(fileVal=='frsfzrmx'){
- this.datainfo.corporationFront=url;
- // 获取姓名 身份证号
- this.getocrIdCard(url,fileVal)
- }else if(fileVal=='frsfzghm'){
- this.datainfo.corporationBack=url
- }else if(fileVal=='frsfzpormx'){
- this.datainfo.spouseFront=url
- this.getocrIdCard(url,fileVal)
- }else if(fileVal=='frsfzpoghm'){
- this.datainfo.spouseBack=url
- }else if(fileVal=='fdbrsfzrmx'){
- this.getocrIdCard(url,fileVal)
- this.datainfo.guaranteeFront=url
- }else if(fileVal=='fdbrsfzghm'){
- this.datainfo.guaranteeBack=url
- }
- },
- getDocumentList(){
- var params={
- explainType:2
- }
- getDocumentList(params).then(res=>{
- if(res.code==200){
- var list=res.rows;
- if(list&&list.length){
- var content=list[0].explainContent;
- // this.content=content;
- this.content=this.formatRichText(content);
- }
- }
- })
- },
- //解析富文本方法
- formatRichText(html) {
- let newContent = html.replace(/<img[^>]*>/gi, function(match, capture) {
- match = match.replace(/style="[^"]+"/gi, '').replace(/style='[^']+'/gi, '').replace(/style=""/gi, '');
- match = match.replace(/width="[^"]+"/gi, '').replace(/width='[^']+'/gi, '');
- match = match.replace(/height="[^"]+"/gi, '').replace(/height='[^']+'/gi, '');
- return match;
- });
- newContent = newContent.replace(/style="[^"]+"/gi, function(match, capture) {
- match = match.replace(/width:[^;]+;/gi, 'max-width:100%;').replace(/width:[^;]+;/gi, 'max-width:100%;');
- return match;
- });
- newContent = newContent.replace(/<br[^>]*\/>/gi, '');
- newContent = newContent.replace(/\<img src="/gi,
- '<img style="max-width:100%;height:auto;display:block;margin:10rpx auto;" src="' +baseUrlimg);
- return newContent;
- },
- getocrIdCard(url,type){
- var that=this;
- var burl=this.baseUrl+url;
- var params={
- image:"D:\\idcard.png",
- idCardSide:'front'
- }
- getOcrIdCard(params).then(res=>{
- if(res.code==200){
- var data=res.data;
- if(type=='frsfzrmx'){
- that.datainfo.corporationName=data.realName
- // that.datainfo.corporationIdCard=data.idCard
- }else if(type=='frsfzpormx'){
- that.datainfo.spouseName=data.realName
- // that.datainfo.spouseIdCard=data.idCard
- }else if(type=='fdbrsfzrmx'){
- that.datainfo.guaranteeName=data.realName
- // that.datainfo.guaranteeIdCard=data.idCard
- }
- }
- })
- },
- onuploadEnd(item,fileVal,bigType) {
- var newobj={}
- var responseText=JSON.parse(item.responseText)
- newobj.name=responseText.newFileName;
- newobj.oldName=responseText.originalFilename;
- newobj.url=responseText.fileName;
- newobj.type=fileVal;
- newobj.bigType=bigType;
- this.filelist.push(newobj)
- this.datainfo.loanApplicationFjList=JSON.parse(JSON.stringify(this.filelist))
- },
- // 股东附件上传
- gdonuploadEnd(item,fileVal,bigType){
- var idx=Number(fileVal);
- var type=bigType;
- var obj=this.gdlist[idx];
- var responseText=JSON.parse(item.responseText);
- if(type=='cardz'){
- obj.cardz=responseText.fileName
- }else if(type=='cardf'){
- obj.cardf=responseText.fileName
- }else if(type=='zx'){
- // obj.zxurl.push(responseText.fileName)
- obj.zxurl[0]=responseText.fileName
- }
- this.gdlist.splice(idx,1,obj)
- // this.datainfo.shareholderFjList=JSON.parse(JSON.stringify(this.gdlist))
- },
- // 申请附件上传
- fjonuploadEnd(item,fileVal,bigType,idx){
- var newobj={};
- var sbfjlist=this.sbfjlist[idx].fjlist;
- var responseText=JSON.parse(item.responseText)
- newobj.name=responseText.newFileName;
- newobj.oldName=responseText.originalFilename;
- newobj.url=responseText.fileName;
- newobj.type=fileVal;
- newobj.bigType=bigType;
- this.sbfjlist[idx].fjlist.splice(0,1,newobj)
- },
- getDelsbFj(idx,fidx){
- var that=this;
- var obj=this.sbfjlist[idx];
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- obj.fjlist.splice(fidx,1)
- that.sbfjlist.splice(idx,1,obj)
- } else if (res.cancel) {
- }
- }
- });
- },
- getDelgdFj(idx,zxidx){
- var obj=this.gdlist[idx];
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- obj.zxurl.splice(zxidx,1)
- that.gdlist.splice(idx,1,obj)
- } else if (res.cancel) {
- }
- }
- });
- },
- getDelFj(idx){
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- that.filelist.splice(idx,1)
- that.datainfo.loanApplicationFjList=JSON.parse(JSON.stringify(that.filelist))
- } else if (res.cancel) {
- }
- }
- });
- },
- getExportMb(ite){
- var params=this.datainfo;
- if(ite.val=='wtdbsqs'){
- params.type=1;
- }
- getExportMb(params).then(res=>{
- if(res.code==200){
- var url=baseUrl+res.msg;
- // var url = baseUrl + ite.url;
- var name=res.name;
- let dtask = plus.downloader.createDownload(url, {
- filename: 'file://storage/emulated/0/'+baseName+'/' + name
- }, (d, status) => {
- //d为下载的文件对象
- if (status == 200) {
- uni.hideLoading();
- uni.showToast({
- icon: 'none',
- mask: true,
- title: '已保存到文件夹:/'+baseName+'/'+ name, //保存路径
- duration: 3000,
- });
-
- //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
- let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
- setTimeout(() => {
- plus.runtime.openFile(d.filename); //选择软件打开文件
- }, 1500)
- } else {
- //下载失败
- uni.hideLoading();
- plus.downloader.clear(); //清除下载任务
- uni.showToast({
- icon: 'none',
- mask: true,
- title: '下载失败,请稍后重试',
- });
- }
- })
- dtask.start();
- // uni.downloadFile({
- // url: url,//文件的下载路径
- // success(result) {
- // uni.hideLoading()
- // var filePath = result.tempFilePath;
- // // uni.saveFile({
- // // tempFilePath: filePath[0],
- // // success: function (res) {
- // // var savedFilePath = res.savedFilePath;
- // // console.log(savedFilePath,1)
- // // }
- // // });
- // uni.openDocument({
- // filePath: filePath,
- // showMenu: true,
- // success: function (res) {
- // // console.log('打开文档成功');
- // }
- // });
- // },
- // fail(res) {uni.hideLoading()}
- // })
- }
- })
- },
- getDown(e){
- uni.showLoading({
- title: '加载中'
- });
- var url=baseUrl+e;
- uni.downloadFile({
- url: url,//文件的下载路径
- success(result) {
- uni.hideLoading()
- var filePath = result.tempFilePath;
- uni.openDocument({
- filePath: filePath,
- showMenu: true,
- success: function (res) {
- // console.log('打开文档成功');
- }
- });
- },
- fail(res) {uni.hideLoading()}
- })
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .addbox /deep/ .uni-forms-item{min-height: 112rpx;box-sizing: border-box;display: flex;align-items: center;margin-bottom: 0;border-bottom: 2rpx solid #E6E6E6;padding:18rpx 0;position: relative;}
- .addbox .bgf /deep/ .uni-forms-item:last-child{border-bottom: none;}
- .addbox /deep/ .uni-forms-item__label{font-weight: bold;font-size: 32rpx;color: #161616;flex: 0 0 auto;width: auto !important;padding-left: 12rpx;min-width: 240rpx;box-sizing: border-box;}
- .addbox /deep/ .uni-easyinput{flex: 1;text-align: left;font-size: 30rpx;color: #222327;}
- .addbox /deep/ .uni-easyinput__content-textarea{min-height: 40rpx;font-size: 30rpx;}
- .addbox /deep/ .uni-easyinput__placeholder-class{font-size: 30rpx;color: #AAAAAA;}
- .addbox /deep/ .uni-input-input{font-size: 30rpx;}
- .addbox /deep/ .uni-easyinput__content-input{padding-left: 0 !important;}
- .addbox /deep/ .uni-textarea-textarea{font-size: 30rpx;}
- .isborder{border-bottom: 2rpx solid #E6E6E6;}
- .labtxt{font-weight: bold;font-size: 32rpx;color: #161616;flex: 0 0 auto;width: auto !important;padding-left: 12rpx;width: 240rpx;box-sizing: border-box;
- position: absolute;left: -240rpx;top:50%;transform: translateY(-50%);
- text{color: #AAAAAA;font-size: 26rpx;font-weight: normal;display: block;
- &.del{
- color: #FF6969;margin-top: 6rpx;text-align: center;padding: 4rpx 0;
- }
- }
- }
- .navtop{
- position: fixed;left:0;right: 0;top: 0;z-index: 2;
- }
- .topl{width: 60rpx;height: 60rpx;display: flex;align-items: center;justify-content: center;
- image{width: 40rpx;height: 30rpx;}
- }
- .edit{font-weight: 500;font-size: 26rpx;color: #FFFFFF;display: flex;align-items: center;
- image{width: 24rpx;height: 26rpx;margin-right: 10rpx;}
- }
- .addbox{padding: 140rpx 0 136rpx;
- .addtit{font-weight: bold;padding: 18rpx 34rpx;font-size: 26rpx;color: #666666;
- text{color: #DF0303;margin-right: 8rpx;}
- .ywimg{width: 30rpx;height: 30rpx;margin-left: 16rpx;}
- &.tips{font-weight: 500;font-size: 24rpx;color: #FF6969;}
- }
- .lbtabp{
- display: flex;align-items: center;
- view{flex: 1;font-size: 30rpx;color: #222327;}
- .rimg{flex: 0 0 auto;width: 16rpx;height: 26rpx;flex: 0 0 auto;margin-left: 18rpx;}
- }
- .ywicon{font-weight: 400;font-size: 26rpx;color: $com-cd3;padding-right: 14rpx;
- image{width: 26rpx;height: 26rpx;margin-right: 8rpx;}
- }
- // 上传样式
- .phobox{display: flex;flex-wrap: wrap;justify-content: space-between;
- .phoboxa{display: flex;flex-direction: column;align-items: center;margin: 10rpx 26rpx 0 0;padding-bottom: 4rpx;position: relative;min-height: 176rpx;box-sizing: border-box;
- .photop{width: 200rpx;height: 126rpx;position: relative;
- .bgimg{width: 100%;height: 100%;}
- .addimg{width: 34rpx;height: 30rpx;position: absolute;left: 50%;margin-left: -17rpx;top: 50%;margin-top: -15rpx;z-index: 1;}
- .delimg{position: absolute;width: 24rpx;height: 24rpx;right: -12rpx;top: -12rpx;}
- .bgimga{width: 100%;height: 100%;position: absolute;left:0;right: 0;top:0;bottom: 0;}
- }
- // .pupdata{position: absolute;left: 0;right: 0;top:0;bottom: 0;opacity: 0;}
- .photit{font-weight: 500;font-size: 20rpx;color: #AAAAAA;margin-top: 18rpx;max-width:200rpx;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
- &.atit{position: absolute;left: 50%;transform: translate(-50%);bottom: 4rpx;word-break: keep-all;max-width: none;}
- }
- }
- .frdelimg{
- position: absolute;width: 32rpx;height: 32rpx;right: -16rpx;top: -16rpx;
- image{width: 24rpx;height: 24rpx;}
- }
- }
- .addgdbox{padding: 34rpx 10rpx 36rpx;}
- .addbtns{z-index: 2;
- width: 100%;height: 100rpx;position: fixed;left: 0;right: 0;bottom: 0;display: flex;
- .addlbtn{background-color: #ffffff;font-weight: 500;justify-content: center;
- font-size: 30rpx;color: $com-cd3;display: flex;align-items: center;width: 232rpx;flex: 0 0 auto;height: 100rpx;
- image{width: 32rpx;height: 32rpx;margin-right: 12rpx;}
- }
- .addrbtn{flex: 1;height: 100rpx;font-weight: bold;font-size: 30rpx;display: flex;align-items: center;justify-content: center;
- color: #FFFFFF;
- &.bga{background: #29E18A;}
- &.bgb{background: $com-cd3;}
- }
- }
- // 附件
- .fjbox{padding: 24rpx 0;
- min-height: 150rpx;box-sizing: border-box;
- // &:last-child{border-bottom: none;border-bottom: 2rpx solid #E6E6E6;}
- .fjtop{
- &.chek{
- .chtit{flex: 1;font-size: 30rpx;color: #222327;text-align: right;}
- .rimg{flex: 0 0 auto;width: 16rpx;height: 26rpx;flex: 0 0 auto;margin-left: 18rpx;}
- }
- .ftit{font-weight: bold;font-size: 32rpx;color: #161616;flex: 1;padding:28rpx 0;
- text{color: #DF0303;margin-right: 8rpx;}
- .mtxt{color: #AAAAAA;font-size: 26rpx;}
- }
- .fbtns{font-weight: 500;font-size: 26rpx;padding-right: 12rpx;margin-left: 36rpx;display: flex;align-items: center;height: 100rpx;justify-content: center;
- image{width: 22rpx;height: 22rpx;margin-right: 10rpx;
- &.downimg{width: 20rpx;}
- }
- }
- }
-
-
- }
- // 18
- .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 12rpx;
- // image{flex: 0 0 auto;}
- .imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;flex: 0 0 auto;
- image{width: 26rpx;height: 24rpx;}
- }
- .tit{font-size: 26rpx;color: #222327;font-weight: 500;margin-top: 4rpx;}
- .delimg{width: 40rpx;height:40rpx;margin-left: 16rpx;display: flex;align-items: center;justify-content: center;flex: 0 0 auto;
- image{width: 24rpx;height: 24rpx;}
- }
- }
- }
- // 标准
- .looimg{width: 100%;height: 400rpx;position: fixed;left: 0;right: 0;top: 50%;margin-top: -200rpx;z-index: 10;}
- </style>
|