12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685 |
- <template>
- <view class="details">
- <view class="zxtop">
-
- <view class="failtit" v-if="datainfo.auditType==4">该业务申请未通过审核,可完善信息后进行申诉</view>
- <view class="detop">
-
- <image :src="gdicoimg" class="gdimg" v-if="datainfo.loanApplicationType==4"></image>
- <block v-else>
- <view class="speed" v-if="checkPermi(['system:schedule:list'])" @click="getSpeedFn" :style="type=='ywjd'?'z-index: 6;':''">
- <image :src="speedimg"></image>
- <view>业务</view>
- <view>进度</view>
- </view>
- </block>
-
- <view class="head">
- <view class="top">
- <view class="toptit">{{datainfo.enterpriseName}}</view>
- <view class="statbox" v-if="datainfo.isNew=='Y'">专精特新<image :src="start"></image></view>
- </view>
- <view class="adr">贷款编号 | {{datainfo.loanApplicationNumber}}</view>
- <view class="adr">企业地址 | {{datainfo.enterpriseName}}</view>
- <view class="adr">申报时间 | {{datainfo.applicationTime}}</view>
- <view class="adr" v-if="datainfo.actuallyAmount">放贷金额 | {{datainfo.actuallyAmount}}(万元)</view>
- <view class="adr" v-if="datainfo.actuallyTime">放款时间 | {{datainfo.actuallyTime}}</view>
- <view class="adr" v-if="datainfo.fileTime">归档时间 | {{datainfo.fileTime}}</view>
- </view>
- <view class="deta">
- <view class="lists">
- <view class="tit">申请额度</view>
- <view class="txt">{{datainfo.applicationAmount}}<text>/万元</text></view>
- </view>
- <view class="lists">
- <view class="tit">使用期限</view>
- <view class="txt">{{datainfo.usagePeriod}}<text>/个月</text></view>
- </view>
- <view class="lists">
- <view class="tit">申贷银行</view>
- <view class="txt">{{kaType(datainfo.applicationBank,sdyhlist)}}</view>
- </view>
- <view class="lists">
- <view class="tit">资金用途</view>
- <view class="txt">{{datainfo.purposeFunds}}</view>
- </view>
- <view class="lists">
- <view class="tit">还款来源</view>
- <view class="txt">{{datainfo.repaymentSource}}</view>
- </view>
- <view class="lists">
- <view class="tit">担保类型</view>
- <view class="txt">{{statusFormats(datainfo.guaranteeType,dblxlist)}}</view>
- </view>
- </view>
- </view>
- </view>
-
- <view class="main">
-
- <view class="tabs" :class="fixedflag?'tabfix':''">
-
- <template v-if="pfrom=='bhxx'">
- <block v-for="(ite,idx) in tabLists" :key="idx">
- <view v-if="!ite.limit||ite.limit&&!ite.limita&&checkPermi([ite.limit])||ite.limita&&ite.limit&&checkPermi([ite.limit])&&checkPermi([ite.limita])" class="tab" :class="tabval==ite.val?'act':''" @click="getTab(ite.val)">{{ite.tit}}</view>
- </block>
- </template>
- <template v-else>
- <block v-for="(ite,idx) in tabList" :key="idx">
- <view v-if="!ite.limit||ite.limit&&!ite.limita&&checkPermi([ite.limit])||ite.limita&&ite.limit&&checkPermi([ite.limit])&&checkPermi([ite.limita])" class="tab" :class="tabval==ite.val?'act':''" @click="getTab(ite.val)">{{ite.tit}}</view>
- </block>
- </template>
- </view>
- <view style="height:116rpx;" v-if="fixedflag"></view>
-
- <view class="mainb" :style="'min-height: ' + minheight + 'px;'">
- <block v-if="tabval==0">
- <aqyxx @getDown="getDown" :qyinfo="qyinfo" :datainfo="datainfo" :basicFj="basicFj" ></aqyxx>
- </block>
- <block v-if="tabval==1">
- <bfrxx @getDown="getDown" :datainfo="datainfo" :yhlxlist="yhlxlist" :hyztlist="hyztlist" :basicFj="basicFj"></bfrxx>
- </block>
- <block v-if="tabval==2">
- <cfdbrxx @getDown="getDown" :datainfo="datainfo" :fdarlist="fdarlist" :fdaqylist="fdaqylist" :hyztlist="hyztlist" :basicFj="basicFj"></cfdbrxx>
- </block>
- <block v-if="tabval==3">
- <dfjxx @getDown="getDown" :datainfo="datainfo" :declareFj="declareFj" :sbfjlist="sbfjlist" @getXzFn="getXzFn"></dfjxx>
- </block>
- <block v-if="tabval==4">
- <ewjcj @getDown="getDown" :pfrom="pfrom" @getQmFn="getQmFn" :datainfo="datainfo" @getDelwjFj="getDelwjFj" @getfjXiu="getfjXiu" @getfjEdit="getfjEdit" @getQtfjEdit="getQtfjEdit" :wjcjlist="wjcjlist" :qtfileFj="datainfo.otherFj" :fileFj="datainfo.fileFj" @getXzFn="getXzFn"></ewjcj>
- </block>
- <block v-if="tabval==5">
- <fshxx @getDown="getDown" :shztlist="shztlist" :shjdlist="shjdlist" :datalist="shlist" ></fshxx>
- </block>
-
- <block v-if="tabval==6">
- <gtpjg :datalist="tplist"></gtpjg>
- </block>
-
- <block v-if="tabval==7">
- <hbgxx @getDown="getDown" :pfrom="pfrom" @getQmFn="getQmFn" :datainfo="datainfo" @getDelwjFj="getDelwjFj" @getBhqtfjEdit="getBhqtfjEdit" :bhxxlist="bhxxlist" :fileFj="datainfo.backFj"></hbgxx>
- </block>
- </view>
-
-
- </view>
- <block v-if="datainfo.loanApplicationType!=4&&tabval!=5&&datainfo.loanApplicationType!=3||pfrom=='bhxx'">
- <view class="h50"></view>
- <view class="footbtns" >
-
-
-
-
-
-
- <view class="fbtns bgb" v-if="checkPermi(['c:conference:finish'])&&pfrom!='bhxx'" @click="getVoteFinish">一键否决</view>
- <template v-if="pfrom=='vote'">
- <view class="fbtns bga" v-if="checkPermi(['c:conference:vote'])&&(datainfo.votingResult==4||datainfo.votingResult==1)" @click="getShFn('shshtp')">投票</view>
-
- <view class="fbtns bga" v-if="checkRole(['manager'])&&stepval==6&&datainfo.votingResult==3&&checkPermi(['c:conference:again'])" @click="getShFn('cxtp')">重新投票</view>
- </template>
- <template v-else-if="pfrom=='bhxx'">
- <block v-if="checkPermi(['system:fj:add'])">
-
-
- <view class="fbtns bgb" @click="getBhqtfjEdit('shchzhp')">生产照片</view>
- <view class="fbtns bga" @click="getBhqtfjEdit('cwbb')">财务报表</view>
-
- <view class="fbtns bgb" @click="getBhqtfjEdit('qtfj')" v-if="checkPermi(['system:fj:add'])">上传其他附件</view>
- </block>
-
-
- <view class="fbtns bgd" @click="getMoreFn('cjbh')">出具</view>
- </template>
- <template v-else>
-
- <view class="fbtns bge" v-if="checkPermi(['system:application:qued'])&&(stepval<3||userId==datainfo.aUserId&&stepval>2)" @click="getedit">修改</view>
- <view class="fbtns bgc" v-if="checkPermi(['system:application:remove'])&&stepval<3" @click="getDel">删除</view>
-
- <block v-if="datainfo.auditType!=4&&checkPermi(['system:application:sh'])&&datainfo.loanApplicationType==2">
-
- <view class="fbtns bga" v-if="auditSchedule==1&&checkRole(['manager'])" @click="getShFn('sh')">审核</view>
- <view class="fbtns bga" v-if="auditSchedule==4&&datainfo.auditType!=4&&userId==datainfo.fUserId" @click="getShFn('fxsh')">风险审核</view>
-
-
- <view class="fbtns bga" v-if="userId==datainfo.aUserId&&auditSchedule==6" @click="getShFn('jztcsh')">尽职调查反馈</view>
- <view class="fbtns bga" v-if="userId==datainfo.aUserId&&auditSchedule==2&&datainfo.auditType==1" @click="getShFn('ajssh')">审核</view>
- <view class="fbtns bga" v-if="userId==datainfo.bUserId&&auditSchedule==3" @click="getShFn('bjssh')">审核</view>
- </block>
-
-
- <view class="fbtns bga" v-if="auditSchedule==6&&userId==datainfo.fUserId" @click="getfjEdit('fxbg')">上传风险调查报告</view>
-
-
-
-
-
- <block v-if="checkPermi(['system:application:ss'])&&datainfo.auditType==4&&(userId==datainfo.aUserId||userId==datainfo.bUserId)">
- <view class="fbtns bga" v-if="stepval==6" @click="getShFn('sssh')">申诉</view>
- <view class="fbtns bga" v-else @click="getSsFn">申诉</view>
- </block>
-
-
-
-
-
-
- <block v-if="stepval==4&&userId==datainfo.fUserId">
- <view class="fbtns bgb" v-if="checkPermi(['system:hyperlink:list'])" @click="getMoreFn('wb')">外部工具平台</view>
-
- <view class="fbtns bga" @click="getShFn('fxbmsh')" v-if="checkPermi(['system:application:sh'])&&datainfo.auditType!=4">审核</view>
- </block>
-
-
-
- <block v-if="stepval==6&&checkRole(['manager'])&&datainfo.auditType!=4">
- <view class="fbtns bga" v-if="datainfo.reviewSchedule==1" @click="getShFn('shshty')">上会审核</view>
-
- <view class="fbtns bga" v-if="datainfo.reviewSchedule==3" @click="getShFn('shsh')">上会日期</view>
-
- </block>
-
-
-
- <block v-if="stepval==7">
- <view class="fbtns bgd" @click="getMoreFn('htqy')">出具合同</view>
-
- </block>
-
-
-
- <view class="fbtns bga" v-if="checkRole(['manager'])&&stepval==6&&datainfo.votingResult==3&&checkPermi(['c:conference:again'])" @click="getShFn('cxtp')">重新投票</view>
-
- <block v-if="datainfo.auditType!=4">
-
-
- <view class="fbtns bgb" v-if="checkPermi(['system:application:authorize'])&&stepval==8" @click="getAuthorize">授权放款通知书</view>
- <view class="fbtns bga" v-if="checkPermi(['system:application:gd'])&&stepval==9&&(checkRole(['manager'])||userId==datainfo.aUserId)" @click="getGdFn">一键归档</view>
- <block v-if="checkPermi(['system:application:schedule'])&&stepval<9&&stepval>6">
- <view class="fbtns bga" v-if="userId==datainfo.fUserId&&stepval==8" @click="getXybFn">项目推进</view>
- <view class="fbtns bga" v-if="(checkRole(['manager'])||userId==datainfo.aUserId)&&stepval==7" @click="getXybFn">项目推进</view>
- </block>
-
- </block>
-
-
- <view class="fbtns bgd" v-if="stepval>1&&checkPermi(['system:system:user'])" @click="getMoreFn('chuju')">出具</view>
-
-
- <block v-if="checkPermi(['system:application:cx'])&&stepval!=1&&stepval!=10&&datainfo.auditType!=4">
-
- <view class="fbtns bgb" v-if="userId==datainfo.aUserId&&(auditSchedule==3||auditSchedule>6)&&stepval!=9" @click="getCxFn">撤销</view>
- <view class="fbtns bgb" v-if="userId==datainfo.bUserId&&auditSchedule==4" @click="getCxFn">撤销</view>
-
- <view class="fbtns bgb" v-if="userId==datainfo.fUserId&&(auditSchedule==5||stepval==5&&datainfo.auditType==1||stepval==9)" @click="getCxFn">撤销</view>
-
- <view class="fbtns bgb" v-if="checkRole(['manager'])&&(datainfo.auditType!=1||auditSchedule>7||auditSchedule==2||stepval==6&&datainfo.reviewSchedule>1)" @click="getCxFn">撤销</view>
- </block>
- </template>
-
- </view>
- </block>
-
- <view class="bgbox" @click="getClose" v-if="mtype"></view>
- <view v-if="mtype" class="morebox">
- <view class="molists">
-
- <block v-if="mtype=='chuju'">
-
- <view v-if="(checkRole(['manager'])||userId==datainfo.aUserId)&&auditSchedule>1" @click="getIssureFn(3,'dbyxh')">出具担保意向函</view>
-
- <view v-if="stepval==4&&userId==datainfo.fUserId" @click="getIssureFn(13,'clhgb')">出具材料合规表</view>
- <view v-if="stepval==6&&datainfo.reviewSchedule==4" @click="getIssureFn(15,'pshtz')">出具评审会通知</view>
- <block v-if="stepval==7">
- <view @click="getIssureFn(12,'psyjqpb')">出具评审意见签批表</view>
- <view @click="getIssureFn(11,'gdhyjy')">出具股东会决议</view>
-
- </block>
-
- <block v-if="checkRole(['manager'])||userId==datainfo.fUserId">
- <view v-if="stepval==8||stepval==9&&datainfo.aAuthorize=='Y'" @click="getIssureFn(14,'fkhgb')">出具放款合规表</view>
-
- <view v-if="stepval==8&&checkPermi(['system:application:zanHuan'])" @click="getShFn('zhfkhgb')">暂缓出具放款合规表</view>
-
- </block>
-
- <block v-if="stepval==9||stepval==8&&datainfo.aAuthorize=='Y'">
- <view v-if="checkRole(['manager'])||userId==datainfo.aUserId" @click="getIssureFn(4,'fktzhsh')">放款通知书</view>
- </block>
-
- <block v-if="stepval==9">
- <view v-if="checkRole(['manager'])||userId==datainfo.aUserId" @click="getfjEdit('jj')">上传借据</view>
- </block>
-
- <block v-if="stepval==8||stepval==9">
- <view v-if="checkRole(['manager'])||userId==datainfo.aUserId" @click="getIssureFn(21,'dbbab')">出具担保业务备案表</view>
- </block>
- <view @click="getQtfjEdit('qtfj')" v-if="checkPermi(['system:fj:add'])">上传其他附件</view>
- </block>
-
- <block v-if="mtype=='wb'">
- <view v-for="(ite,idx) in linkList" :key="idx" @click="getWebUel(ite.url)">{{ite.name}}</view>
- </block>
-
-
- <block v-if="mtype=='shmore'">
- <view @click="getIssureFn(12,'psyjqpb')">出具评审意见签批表</view>
- <view @click="getIssureFn(11,'gdhyjy')">出具股东会决议</view>
-
- </block>
-
-
-
-
- <block v-if="mtype=='htqy'">
- <view @click="getIssureFn(2,'wtdbht')">委托保证合同</view>
- <block v-if="datainfo.guaranteeType.indexOf('2')!=-1">
- <view @click="getIssureFn(5,'bzfdbhtfr')">保证反担保合同(法人)</view>
- <view @click="getIssureFn(6,'bzfdbhtzrr')">保证反担保合同(自然人)</view>
- </block>
- <block v-if="datainfo.guaranteeType.indexOf('1')!=-1">
- <view @click="getIssureFn(7,'dyfdbhtfr')">抵押反担保合同(法人)</view>
- <view @click="getIssureFn(8,'dyfdbhtzrr')">抵押反担保合同(自然人)</view>
- </block>
- <block v-if="datainfo.guaranteeType.indexOf('3')!=-1">
- <view @click="getIssureFn(9,'qlzqfdbhtfr')">权利质权反担保合同(适用于法人)</view>
- <view @click="getIssureFn(10,'qlzqfdbhtzrr')">权利质权反担保合同(适用于自然人)</view>
- </block>
- <view @click="getIssureFn(18,'qyxyfdb')">企业信用反担保合同</view>
- <view @click="getIssureFn(17,'wtbzgcly')">委托保证合同(工程履约)</view>
- <view @click="getIssureFn(16,'bkcxgr')">不可撤销个人连带责任信用反担保合同</view>
- </block>
-
-
- <block v-if="mtype=='cjbh'">
- <view @click="getIssureFn(19,'bhscjcbg')">出具T+1保后表</view>
- <view @click="getIssureFn(20,'bhjcbg')">出具T+N保后表</view>
- </block>
- </view>
-
- </view>
- <pop-up :type="type" :startady="daytime" :shtg="shtg" :loanApplicationId="datainfo.loanApplicationId" :loanApplicationNumber="datainfo.loanApplicationNumber" :userList="userList"
- :stepList="stepList" :wjcjobj='wjcjobj' :bhxxobj='bhxxobj' :qtfjobj="qtfjobj" :stepval="stepval" :fjval="fjval" :fjId="fjId"
- @getfjAdd="getfjAdd"
- @getClose="getClose" @getupSubmit="getupSubmit" @getSure="getSure"></pop-up>
- </view>
- </template>
- <script>
- import config from '@/config'
- const baseUrl = config.baseUrl
- const baseName = config.baseName
- import self from '@/utils/location.js';
- import { getToken } from '@/utils/auth'
- import popUp from "@/work/components/popup/popup.vue"
- import aqyxx from "@/work/components/business/aqyxx.vue"
- import bfrxx from "@/work/components/business/bfrxx.vue"
- import cfdbrxx from "@/work/components/business/cfdbrxx.vue"
- import dfjxx from "@/work/components/business/dfjxx.vue"
- import ewjcj from "@/work/components/business/ewjcj.vue"
- import fshxx from "@/work/components/business/fshxx.vue"
- import gtpjg from "@/work/components/business/gtpjg.vue"
- import hbgxx from "@/work/components/business/hbgxx.vue"
- import {uploadmore,selectValue} from '@/utils/common.js'
- import {getInfo} from "@/api/login.js"
- import {getDictionaryFn} from "@/api/mine/register.js"
- import {getUsernoPageList,getFjAdd,getFjEdit,getFjDel} from "@/api/common.js"
- import {getApplicationDet,getScheduleList,getHyperlinkList,getApplicationDel,getApplicationSh,getCommentsList,getApplicationSs,getApplicationCx,getapplicationGd,getapplicationXib,getExportMb,
- getZanHuan,getAuthorize,getReview,getVoteAdd,getcxVoteAdd,getVoteFive,getVoteTimeList,getVoteFinish,getputActually
- } from "@/api/mine/work.js"
- import { checkPermi, checkRole } from "@/utils/permission";
- export default{
- components:{aqyxx,bfrxx,cfdbrxx,dfjxx,ewjcj,fshxx,gtpjg,hbgxx,popUp},
- data(){
- return{
- start:require('@/work/static/images/start.png'),
- titimg:require('@/work/static/images/infotit.png'),
- speedimg:require('@/work/static/images/speed.png'),
- gdicoimg:require('@/work/static/images/gdico.png'),
- tabval:0,
- type:'',
- tabList:[{tit:"企业信息",val:0},{tit:"法人信息",val:1},{tit:"反担保人信息",val:2},{tit:"附件信息",val:3},{tit:"文件出具",val:4,limit:'system:system:user'},{tit:"审核信息",val:5,limit:'system:system:user'},
- {tit:"投票结果",val:6,limit:'system:system:user',limita:'c:conference:list:time'}],
- tabLists:[{tit:"企业信息",val:0},{tit:"法人信息",val:1},{tit:"反担保人信息",val:2},{tit:"附件信息",val:3},{tit:"文件出具",val:4,limit:'system:system:user'},{tit:"审核信息",val:5,limit:'system:system:user'},
- {tit:"投票结果",val:6,limit:'system:system:user',limita:'c:conference:list:time'},{tit:"保后信息",val:7,limit:'system:system:user'},],
- stepList:[],
- stepval:0,
- gdflag:false,
- auditSchedule:'',
- mtype:'',
- minheight:0,
- listTop:0,
- fixedflag:false,
- dblxlist:[],
- sdyhlist:[],
- qyinfo:{},
- datainfo:{
-
-
-
-
-
- "loanApplicationId": '',
- "loanApplicationNumber": "",
- "applicationAmount": '',
- "applicationBank": "",
- "usagePeriod": "",
- "purposeFunds": "",
- "repaymentSource": "",
- "enterpriseName": "",
- 'sysUserEnterprise':{},
- "categoryType": "",
- "isMake": "N",
- "isNew": "N",
- "isSmall": "N",
- "isDuty": "N",
- "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": "",
-
-
-
-
-
-
-
-
-
- "fileTime": "",
- "loanSchedule": "",
- "loanScheduleName": '',
- "auditSchedule": "",
- "auditType": "",
- "loanApplicationType": "",
- "aUserId": "",
- "aUserName": "",
- "bUserId": "",
- "bUserName": "",
- "shareholderFjList": [],
- "loanApplicationFjList": [],
- "basicFj": {},
- "declareFj": {},
- "fileFj": {},
- "otherFj": {},
- },
- gdlists:[],
- basicFj:{},
- declareFj:{},
- yhlxlist:[],
- hyztlist:[],
- sbfjlist:[],
- wjcjlist:[],
- bhxxlist:[],
- linkList:[],
- userList:[],
- shjdlist:[],
- shztlist:[],
- fdarlist:[],
- fdaqylist:[],
- shlist:[],
- tplist:[],
- shinfo:{},
- wjcjobj:{},
- bhxxobj:{},
- qtfjobj:{'qtfj':"其他附件"},
- qtfjlist:[],
- fjval:'',
- fjId:'',
- userId:this.$store.state.user.userId,
- iscjflag:false,
- contype:'',
- mval:-1,
- mite:"",
- shtg:'',
- textType:[
- {tit:'文字',val:'w',children:['doc','docx','wps']},
- {tit:'表格',val:'s',children:['xls','xlsx']},
- {tit:'演示',val:'p',children:['ppt','pptx']},
- {tit:'PDF',val:'f',children:['pdf','ofd']},
- {tit:'智能文档',val:'o',children:['otl']},
- {tit:'多维表格',val:'d',children:['dbt']},
- ],
- isqiye:true,
- pfrom:'',
- daytime:'',
- }
- },
- onLoad(e) {
- this.id=e.id;
- if(e.from){
- this.pfrom=e.from
- }
-
- this.init()
- this.getDetail();
- if(checkPermi(['system:schedule:list'])){
- this.getScheduleList();;
- }
- if(checkPermi(['system:hyperlink:list'])){
- this.getHyperlinkList();
- }
- if(checkPermi(['system:user:noPageList'])){
- this.getUsernoPageList();
- }
-
-
-
-
-
-
-
- },
- mounted() {
- var that=this;
- uni.getSystemInfo({
- success: (e) => {
- this.minheight = e.screenHeight- 50;
- }
- })
- setTimeout(function(){
- that.getHeightFn()
- },200)
- },
- onPageScroll(e) {
- var scrollTop = Number(e.scrollTop);
- var listTop=Number(this.listTop)
- if(scrollTop>listTop){
- this.fixedflag=true
- }else{
- this.fixedflag=false
- }
- },
- methods:{
- time() {
- var date = new Date();
- var y = date.getFullYear();
- var m = date.getMonth() + 1;
- var d = date.getDate();
- this.daytime=y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d);
- },
- checkPermi, checkRole,
- statusFormats(ite,list,type){
- if(ite){
- var actions = [];
- list.forEach(s => {
- if(ite.indexOf(s.value)>-1){
- actions.push(s.label);
- }
- })
- return actions.join(',')
- }else{
- return ''
- }
- },
- kaType(ite,list){
- return selectValue(list, ite);
- },
- getedit(){
- var obj={
- type:'edit',
- id:this.id,
- val:this.tabval
- }
- this.$tab.navigateTo('/work/pages/business/add?data='+encodeURIComponent(JSON.stringify(obj)))
- },
-
- getDelwjFj(id){
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- getFjDel(id).then(res=>{
- if(res.code==200){
- that.$toast("删除成功")
- setTimeout(function(){
- that.getDetail()
- },1200)
-
- }
- })
- } else if (res.cancel) {
- }
- }
- });
- },
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getfjEdit(ite){
- if(ite=='jj'){
- this.type=ite;
- }else{
- this.type='fjadd';
- this.fjval=ite
- }
- this.mtype='';
- },
- getfjXiu(ite,id){
- this.fjId=id;
- this.type='fjedit';
- this.fjval=ite
- this.mtype='';
- },
- getQtfjEdit(val,id){
- if(id){
- this.fjId=id;
- this.type='qtfjedit';
- }else{
- this.type='qtfjadd';
- }
- this.mtype='';
- this.fjval=val
- },
-
- getBhqtfjEdit(val){
- this.type='bhfjadd';
- this.mtype='';
- this.fjval=val
- },
-
- getScheduleList(){
- var params={
- loanApplicationId:this.id
- }
- getScheduleList(params).then(res=>{
- if(res.code==200){
- this.stepList=res.data
- }
- })
- },
- getWebUel(url){
-
-
- this.mtype='';
- this.$tab.navigateTo("/pages/common/webview/index?url="+url)
-
- },
- getMoreSure(){
- var mttype=this.mtype;
- var mite=this.mite;
- if(mttype=='wb'){
- this.mtype='';
- this.$tab.navigateTo("/pages/common/webview/index?url="+mite.url)
- }
- },
-
- getHyperlinkList(){
- var params={
- type:1
- }
- getHyperlinkList(params).then(res=>{
- if(res.code==200){
- this.linkList=res.rows
- }
- })
- },
-
-
- getUsernoPageList(){
- var params={
- userType:'02',
- status:0,
- }
- getUsernoPageList(params).then(res=>{
- if(res.code==200){
- this.userList=res.rows
- }
- })
- },
- getCommentsList(){
- var params={
- loanApplicationId:this.id,
- }
- getCommentsList(params).then(res=>{
- if(res.code==200){
- var newArr=res.rows;
- newArr.forEach(ite=>{
- if(ite.imageUrl){
- ite.imageUrl=ite.imageUrl.split(',')
- }
- })
- this.shlist=newArr
- }
- })
- },
-
- getVoteTimeList(){
- var params={
- loanApplicationId:this.id,
- }
- getVoteTimeList(params).then(res=>{
- if(res.code==200){
- var newArr=res.data;
- newArr.forEach(ite=>{
- ite.check=false
- })
- this.tplist=JSON.parse(JSON.stringify(newArr))
- }
- })
- },
- 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('shendai_bank').then(res=>{
- if(res.code==200){
- this.sdyhlist = 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_sb').then(res=>{
- if(res.code==200){
- this.sbfjlist = res.data.map(v => {
- return {
- label: v.dictLabel,
- val: v.dictValue,
- fjlist:[]
- }
- })
- }
- })
-
- getDictionaryFn('application_fj_wjcj').then(res=>{
- if(res.code==200){
- var obj={}
- this.wjcjlist = res.data.map(v => {
-
- obj[v.dictValue]=v.dictLabel
- return {
- label: v.dictLabel,
- val: v.dictValue,
- fjlist:[]
- }
- })
- this.wjcjobj=obj
- }
- })
-
- getDictionaryFn('baohou').then(res=>{
- if(res.code==200){
- var obj={}
- this.bhxxlist = res.data.map(v => {
- obj[v.dictValue]=v.dictLabel
- return {
- label: v.dictLabel,
- val: v.dictValue,
- }
- })
- this.bhxxobj=obj
- }
- })
-
- getDictionaryFn('sh_status').then(res=>{
- if(res.code==200){
- this.shztlist = res.data.map(v => {
- return {
- label: v.dictLabel,
- value: v.dictValue,
- }
- })
- }
- })
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getDictionaryFn('audit_schedule').then(res=>{
- if(res.code==200){
- this.shjdlist = res.data.map(v => {
- return {
- label: v.dictLabel,
- value: v.dictValue,
- }
- })
- }
- })
- },
- getTab(val){
- this.tabval=val;
- uni.pageScrollTo({
- scrollTop: Number(this.listTop),
- duration: 0
- })
- if(val==5){
- this.getCommentsList()
- }else if(val==6){
- this.getVoteTimeList();
- }else if(val==4&&this.iscjflag){
- this.iscjflag=false;
- this.getDetail();
- }
- },
-
- getIssureFn(type,fileType){
- var that=this;
- that.iscjflag=true;
- var params={
- type:type,
- loanApplicationId:this.id,
- fileType:fileType,
- bigType:'c',
- customerType:that.datainfo.customerType
- }
- getExportMb(params).then(res=>{
- if(res.code==200){
- var data=res.data;
- var path=data.path;
- var name=data.fileName;
- var fileName = name.replace(/.*(\/|\\)/, "");
- var fileSuffix = (/[.]/.exec(fileName)) ? /[^.]+$/.exec(fileName.toLowerCase()) : '';
- var texthz=fileSuffix[0];
- var type=''
-
-
- var textType=that.textType;
- Object.keys(textType).some((key) => {
- if (textType[key].children.indexOf(texthz)!=-1) {
- type=`${textType[key].val}`
- return true;
- }
- })
- data.type=type
- that.$tab.navigateTo('/pages/common/webview/weboffice?data='+encodeURIComponent(JSON.stringify(data)))
- }
- })
- },
- getDownloader(path,name){
- console.log(path,name)
-
- self.getFilePermissions(function(res){
- if(res==1){
- uni.showLoading({
- title: '加载中'
- });
- var url = baseUrl + path;
- let dtask = plus.downloader.createDownload(url, {
- filename: 'file://storage/emulated/0/'+baseName+'/' + name
- }, (d, status) => {
-
- if (status == 200) {
- uni.hideLoading();
- uni.showToast({
- icon: 'none',
- mask: true,
- title: '已保存到文件夹:/'+baseName+'/'+ name,
- duration: 3000,
- });
-
-
- 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();
- }else{
- uni.hideLoading();
- uni.showToast({
- title: '无法获取权限,文件下载将出错!',
- icon: 'none',
- })
- }
- })
-
-
- this.getDown(path)
-
- },
- getClose(){
- this.type='';
- this.mtype='';
- },
- getupSubmit(data){
- this.shinfo=JSON.parse(JSON.stringify(data))
- var type=this.type;
- if(type=='ajssh'||type=='bjssh'){
- this.contype=this.type
- this.type='confirm'
- this.shtg=data.auditType
- }else if(type=='zhfkhgb'){
- this.getZanHuanFn()
- }else if(type=='shshty'){
- this.getReview()
- }else if(type=='shsh'){
- this.getVoteFive()
- }else if(type=='shshtp'){
- this.getVoteAdd()
- }else if(type=='sssh'){
- this.getSsshFn()
- }else if(type=='cxtp'){
- this.getcxVoteAdd()
- }else{
- this.getApplicationSh()
- }
- },
- getSure(){
- this.getApplicationSh()
- },
- getfjAdd(data){
- var that=this;
- var params=JSON.parse(JSON.stringify(data));
- var fjUrl=params.fjUrl;
-
-
-
-
- if(that.type=='fjedit'||that.type=='qtfjedit'){
- getFjEdit(fjUrl).then(res=>{
- if(res.code==200){
- that.$toast('修改附件成功')
- setTimeout(function(){
- that.getDetail();
- uni.$emit('refreshdatalist')
- that.type=''
- },1200)
- }
- })
- }else{
- getFjAdd(fjUrl).then(res=>{
- if(res.code==200){
- that.$toast('上传附件成功')
-
- if(that.type=='jj'){
- var amount=params.actuallyAmount||"";
- var time=params.actuallyTime||"";
- that.getputActually(amount,time)
- }else{
- setTimeout(function(){
- that.getDetail();
- uni.$emit('refreshdatalist')
- that.type=''
- },1200)
- }
- }
- })
- }
-
- },
- getputActually(amount,time){
- var that=this;
- var params={
- loanApplicationId:this.id,
- actuallyAmount:amount,
- actuallyTime:time,
- }
- getputActually(params).then(res=>{
- if(res.code==200){
- that.getDetail();
- uni.$emit('refreshdatalist')
- that.type=''
- }
- })
- },
- getApplicationSh(){
- var that=this;
- var params=this.shinfo;
- params.loanApplicationId=this.id;
- params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
- params.auditSchedule=this.auditSchedule;
- params.enterpriseName=this.datainfo.enterpriseName;
- getApplicationSh(params).then(res=>{
- if(res.code==200){
- that.$toast('审核成功')
- setTimeout(function(){
- that.getDetail();
- uni.$emit('refreshdatalist')
- that.type=''
- },1200)
- }
- })
- },
-
- getReview(data){
- var that=this;
- var params=this.shinfo;
- params.loanApplicationId=this.id;
- params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
- params.auditSchedule=this.auditSchedule;
- params.aUserId=this.datainfo.aUserId;
- params.loanSchedule=this.datainfo.loanSchedule;
- params.auditType=this.datainfo.auditType;
- params.enterpriseName=this.datainfo.enterpriseName;
- getReview(params).then(res=>{
- if(res.code==200){
- that.$toast('审核成功')
- setTimeout(function(){
- that.getDetail();
- uni.$emit('refreshdatalist')
- that.type=''
- },1200)
- }
- })
- },
-
-
- getVoteFive(data){
- var that=this;
- var params=this.shinfo;
- params.loanApplicationId=this.id;
- params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
- params.enterpriseName=this.datainfo.enterpriseName;
-
- getVoteFive(params).then(res=>{
- if(res.code==200){
- that.$toast('操作成功')
- setTimeout(function(){
- that.getDetail();
- uni.$emit('refreshdatalist')
- that.type=''
- },1200)
- }
- })
- },
-
- getVoteAdd(data){
- var that=this;
- var params=this.shinfo;
- params.loanApplicationId=this.id;
- params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
- params.auditSchedule=this.auditSchedule;
- params.conferenceTime=this.datainfo.reviewTime;
- getVoteAdd(params).then(res=>{
- if(res.code==200){
- that.$toast('投票成功')
- setTimeout(function(){
- that.getDetail();
- uni.$emit('refreshdatalist')
- that.type=''
- },1200)
- }
- })
- },
-
- getcxVoteAdd(){
- var that=this;
- var params=this.shinfo;
- params.loanApplicationId=this.id;
- params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
-
- getcxVoteAdd(params).then(res=>{
- if(res.code==200){
- that.$toast('操作成功')
- setTimeout(function(){
- that.getDetail();
- uni.$emit('refreshdatalist')
- that.type=''
- },1200)
- }
- })
- },
-
- getVoteFinish(){
- var that=this;
- uni.showModal({
- title: '确认否决',
- content: "是否一键否决该申请",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- var params={
- loanApplicationId:that.id,
- }
- getVoteFinish(params).then(res=>{
- if(res.code==200){
- that.$toast('一票否决成功')
- setTimeout(function(){
- that.getDetail();
- uni.$emit('refreshdatalist')
- that.type=''
- },1200)
- }
- })
- } else if (res.cancel) {
- }
- }
- });
-
- },
-
- getSsshFn(data){
- var that=this;
- var params=this.shinfo;
- params.loanApplicationId=this.id;
- params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
- params.auditSchedule=this.auditSchedule;
- params.auditType=this.datainfo.auditType;
- params.aUserId=this.datainfo.aUserId;
- params.bUserId=this.datainfo.bUserId;
- params.enterpriseName=this.datainfo.enterpriseName;
- getApplicationSs(params).then(res=>{
- if(res.code==200){
- that.$toast('操作成功')
- setTimeout(function(){
- that.getDetail();
- uni.$emit('refreshdatalist')
- that.type=''
- },1200)
- }
- })
- },
-
- getZanHuanFn(data){
- var that=this;
- var params=this.shinfo;
- params.loanApplicationId=this.id;
- params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
- params.aUserId=this.datainfo.aUserId;
- params.enterpriseName=this.datainfo.enterpriseName;
- getZanHuan(params).then(res=>{
- if(res.code==200){
- that.$toast('暂缓成功')
- setTimeout(function(){
- that.getDetail();
- uni.$emit('refreshdatalist')
- that.type=''
- },1200)
- }
- })
- },
-
- getAuthorize(data){
- var that=this;
- uni.showModal({
- title: '确认授权',
- content: "是否授权A角提前开放款通知书?",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- var params={};
- params.loanApplicationId=that.id;
- params.loanApplicationNumber=that.datainfo.loanApplicationNumber;
- getAuthorize(params).then(res=>{
- if(res.code==200){
- that.$toast('授权成功')
- setTimeout(function(){
- that.getDetail();
- uni.$emit('refreshdatalist')
- that.type=''
- },1200)
- }
- })
- } else if (res.cancel) {
- }
- }
- });
- },
- getShFn(type){
- this.type=type;
- this.mtype='';
- },
- getSsFn(){
- var that=this;
- var datainfo=JSON.parse(JSON.stringify(this.datainfo))
- uni.showModal({
- title: '确认申诉',
- content: "是否确认申诉",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- var params={
- loanApplicationId:that.id,
- loanApplicationNumber:datainfo.loanApplicationNumber,
- aUserId:datainfo.aUserId,
- bUserId:datainfo.bUserId,
- auditType:datainfo.auditType,
- enterpriseName:datainfo.enterpriseName,
- ssType:1,
- }
- getApplicationSs(params).then(res=>{
- if(res.code==200){
- that.$toast("申诉成功")
- setTimeout(function(){
- that.getDetail();
- uni.$emit('refreshdatalist')
- },1200)
-
- }
- })
- } else if (res.cancel) {
- }
- }
- });
- },
- getCxFn(){
- var that=this;
- var datainfo=JSON.parse(JSON.stringify(this.datainfo))
- uni.showModal({
- title: '确认撤销',
- content: "是否确认撤销",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- that.mtype=''
- var params={
- loanApplicationId:that.id,
- loanApplicationNumber:datainfo.loanApplicationNumber,
- auditSchedule:that.auditSchedule,
- loanSchedule:datainfo.loanSchedule,
- loanApplicationType:datainfo.loanApplicationType,
- auditType:datainfo.auditType,
- reviewSchedule:datainfo.reviewSchedule,
- enterpriseName:datainfo.enterpriseName,
- aUserId:datainfo.aUserId,
- bUserId:datainfo.bUserId,
- fUserId:datainfo.fUserId,
- }
- getApplicationCx(params).then(res=>{
- if(res.code==200){
- that.$toast("撤销成功")
- setTimeout(function(){
- that.getDetail()
- uni.$emit('refreshywlist')
-
-
-
- },1200)
-
- }
- })
- } else if (res.cancel) {
- }
- }
- });
- },
- getXybFn(){
- var that=this;
- uni.showModal({
- title: '确认推进',
- content: "是否确认推进",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- var params={
- loanApplicationId:that.id,
- auditSchedule:that.auditSchedule,
- loanSchedule:that.datainfo.loanSchedule,
- aUserId:that.datainfo.aUserId,
- bUserId:that.datainfo.bUserId,
- fUserId:that.datainfo.fUserId,
- loanApplicationNumber:that.datainfo.loanApplicationNumber,
- enterpriseName:that.datainfo.enterpriseName,
- }
- getapplicationXib(params).then(res=>{
- if(res.code==200){
- that.$toast("推进成功")
- setTimeout(function(){
- that.getDetail()
- uni.$emit('refreshywlist')
- },1200)
-
- }
- })
- } else if (res.cancel) {
- }
- }
- });
- },
- getGdFn(){
- var that=this;
- uni.showModal({
- title: '确认归档',
- content: "是否确认归档",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- var params={
- loanApplicationId:that.id,
- auditSchedule:that.auditSchedule,
- loanSchedule:that.datainfo.loanSchedule,
- loanApplicationType:that.datainfo.loanApplicationType,
- loanApplicationNumber:that.datainfo.loanApplicationNumber,
- enterpriseName:that.datainfo.enterpriseName,
- auditType:that.datainfo.auditType,
- aUserId:that.datainfo.aUserId,
- bUserId:that.datainfo.bUserId,
- fUserId:that.datainfo.fUserId,
- }
- getapplicationGd(params).then(res=>{
- if(res.code==200){
- that.$toast("归档成功")
- setTimeout(function(){
- that.getDetail()
- uni.$emit('refreshywlist')
-
-
-
- },1200)
-
- }
- })
- } else if (res.cancel) {
- }
- }
- });
- },
- getMoreFn(type){
- this.mtype=type;
- this.mval=-1;
- this.mtit=''
- },
- getSpeedFn(){
- if(this.type){
- this.type=''
- }else{
- this.type='ywjd'
- }
- },
- getQmFn(url){
- this.$tab.navigateTo("/work/pages/business/sign?url="+encodeURIComponent(JSON.stringify(url)))
- },
- getDel(){
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- getApplicationDel(that.id).then(res=>{
- if(res.code==200){
- that.$toast("删除成功")
- setTimeout(function(){
- uni.$emit('refreshdatalist')
- uni.navigateBack({
- delta:1
- })
- },1200)
-
- }
- })
- } else if (res.cancel) {
- }
- }
- });
- },
- getDetail(){
- getApplicationDet(this.id).then(res=>{
- if(res.code==200){
- this.datainfo=res.data;
- this.auditSchedule=res.data.auditSchedule
- if(res.data.sysUserEnterprise){
- this.qyinfo=res.data.sysUserEnterprise
- }
-
- if(res.data.guaranteeInfoList){
-
- var fdarlist=[],fdaqylist=[];
- var gInfoList=res.data.guaranteeInfoList;
- Object.keys(gInfoList).some((key) => {
- var obj=gInfoList[key];
- var fdblist=gInfoList[key].guaranteeInfoFjList;
- fdblist=fdblist.filter((ite) => {
- if(ite.type=='fdbrsfzrmx'||ite.type=='fdbrsfzghm'){
- return ite.remark!=1
- }else{
- return ite.remark==1||this.getFilterFj(ite.url);
- }
- })
- obj.guaranteeInfoFjList=JSON.parse(JSON.stringify(fdblist))
- if(obj.type==1){
- fdarlist.push(obj)
- }else if(obj.type==2){
- fdaqylist.push(obj)
- }
- })
- this.fdarlist=JSON.parse(JSON.stringify(fdarlist));
- this.fdaqylist=JSON.parse(JSON.stringify(fdaqylist));
- }
- if(res.data.basicFj){
-
- var basicFj=res.data.basicFj;
- Object.keys(basicFj).some((key) => {
-
- if(key!='gsyyzhz'){
- basicFj[key]=basicFj[key].filter((ite) => {
- return ite.remark==1||this.getFilterFj(ite.url);
- })
- }
-
-
-
-
-
-
- })
- this.basicFj=JSON.parse(JSON.stringify(basicFj));
- }
- if(res.data.declareFj){
-
- var declareFj=res.data.declareFj;
- Object.keys(declareFj).some((key) => {
-
- declareFj[key]=declareFj[key].filter((ite) => {
- return ite.remark==1||this.getFilterFj(ite.url);
- })
- })
- this.declareFj=JSON.parse(JSON.stringify(declareFj));
- }
- this.stepval=res.data.loanSchedule||0;
-
-
-
-
-
-
-
-
- }
- }).catch(error => {
- setTimeout(function(){
- uni.navigateBack({
- delta:1
- })
- },1500)
- })
- },
-
- getFilterFj(url){
- let index1 = url.lastIndexOf(".");
- let index2 = url.length;
- let type = url.substring(index1, index2);
- if ((type.indexOf('jpg') >-1 || type.indexOf('jpeg') > -1 || type.indexOf('png') > -1)) {
- return false
- }else{
- return true
- }
- },
- getHeightFn(){
- let query = uni.createSelectorQuery().in(this);
-
- query.select('.zxtop').boundingClientRect(data => {
- this.listTop = data.height
- }).exec();
- },
- getPreview(url) {
- var newArr=[];
- newArr.push(url)
- uni.previewImage({
- urls: newArr,
- current:0,
- success: function(data) {
-
- },
- fail: function(err) {
-
- }
- });
- },
- onuploadEnd(item) {
- var newobj={}
- var responseText=JSON.parse(item.responseText)
- newobj.name=responseText.originalFilename;
- newobj.url=responseText.fileName;
- this.filelist.push(newobj)
-
- },
- getXzFn(ite){
- this.getDownloader(ite.url,ite.name)
- },
- getDown(e){
- uni.showLoading({
- title: '加载中'
- });
- var url=baseUrl+e;
- let index1 = e.lastIndexOf(".");
- let index2 = e.length;
- let type = e.substring(index1, index2);
- if ((type.indexOf('jpg') > -1 || type.indexOf('jpeg') > -1 || type.indexOf('png') > -1)) {
- uni.previewImage({
- current: 0,
- urls: [url],
-
- });
- uni.hideLoading();
- } else {
- uni.downloadFile({
- url: url,
- success(result) {
- uni.hideLoading()
- var filePath = result.tempFilePath;
- uni.openDocument({
- filePath: filePath,
- showMenu: true,
- success: function (res) {
-
- }
- });
- },
- fail(res) {uni.hideLoading()}
- })
- }
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .failtit{background: #FFECEC;font-weight: 500;font-size: 26rpx;color: #FF6969;text-align: center;line-height: 36rpx;padding: 22rpx;}
- .zxtop{padding-bottom: 2rpx;}
- .detop{background: #FFFFFF;padding:0rpx 24rpx;margin-bottom: 28rpx;flex: 0 0 auto;
- position: relative;
- .head{
- padding: 40rpx 2rpx;border-bottom: 2rpx solid #E6E6E6;
- .top{display: flex;align-items: center;overflow: hidden;
- .toptit{font-weight: bold;font-size: 40rpx;color: #222327;}
- .statbox{min-width: 140rpx;height: 36rpx;background-color: rgba(255,177,50,0.3);padding: 0 14rpx;box-sizing: border-box;font-weight: bold;font-size: 22rpx;color: #FF6924;display: flex;align-items: center;flex: 0 0 auto;border-radius: 10rpx;margin-left: 34rpx;
- image{width: 22rpx;height: 22rpx;margin-left: 6rpx;}
- }
- }
- .adr{font-weight: 500;font-size: 26rpx;color: #666666;margin-top: 12rpx;}
- }
- .deta{display: flex;flex-wrap: wrap;padding: 16rpx 0 28rpx;
- .lists{padding:20rpx 0;width: 33.3%;display: flex;flex-direction: column;align-items: center;position: relative;
- &::after{width: 2rpx;height: 60rpx;background: #E6E6E6;content: '';position: absolute;right: 0;top: 50%;margin-top: -30rpx;}
- &:nth-of-type(3n){
- &::after{display: none;}
- }
- .tit{font-weight: 500;font-size: 26rpx;color: #AAAAAA;margin-bottom: 38rpx;}
- .txt{font-weight: bold;font-size: 30rpx;color: #222327;padding: 0 10rpx;
- text{font-size: 26rpx;color: #666666;font-weight: normal;}
- }
- }
- }
- }
- .details{
- // display: flex;flex-direction: column;height: 100vh;overflow: hidden;
- }
- .main{background-color: #FFFFFF;flex: 1;display: flex;flex-direction: column;overflow: hidden;
- .tabs{padding: 0 6rpx 0 36rpx;display: flex;flex-wrap: nowrap;overflow: auto;flex: 0 0 auto;
- &.tabfix{position: fixed;left: 0;right: 0;z-index: 2;top: 0;background-color: #ffffff;border-bottom: 2rpx solid #E6E6E6;}
- .tab{font-weight: 500;font-size: 26rpx;color: #666666;height: 116rpx;display: flex;align-items: center;margin-right: 26rpx;flex: 0 0 auto;position: relative;
- &.act{color: #00A9F0;font-weight: bold;
- &::after{width: 100%;background: #00A9F0;position: absolute;left: 0;bottom: 0;
- border-radius: 2rpx;height: 4rpx;content: '';}
- }
- }
- }
- .mainb{flex: 1;overflow: auto;}
- }
- .speed{width: 96rpx;height: 140rpx;background: #FFFFFF;box-shadow: 0px 0px 14rpx 0px rgba(184,184,184,0.76);border-radius: 20rpx;
- display: flex;align-items: center;flex-direction: column;justify-content: center;
- position: absolute;right: 28rpx;top: 86rpx;z-index: 2;padding: 0 6rpx;
- image{width: 26rpx;height: 28rpx;margin-bottom: 8rpx;}
- view{font-weight: 500;font-size: 22rpx;color: #666666;}
- }
- .gdimg{width: 110rpx;height: 86rpx;position: absolute;right: 40rpx;top: 130rpx;}
- //
- .footbtns{width: 100%;height: 100rpx;position: fixed;left: 0;right: 0;bottom: 0;display: flex;
- .fbtns{flex: 1;height: 100rpx;font-weight: bold;font-size: 30rpx;display: flex;align-items: center;justify-content: center;border-top: 2rpx solid #E6E6E6;box-sizing: border-box;
- &.bga{background: $com-cd3;color: #FFFFFF;}
- &.bgb{background: #FFFFFF;color: $com-cd3;}
- &.bgc{background: #DF0303;color: #FFFFFF;}
- &.bgd{background: #45cb99;color: #FFFFFF;}
- &.bge{background: #ffac41;color: #FFFFFF;}
- }
- }
- .morebox{
- position: fixed;left: 0;right: 0;bottom: 0;z-index: 10;max-height: calc(100vh - 200rpx);overflow: auto;
- .molists{
- view{width: 100%;background: #ffffff;font-weight: 500;font-size: 30rpx;color: #222327;border-bottom: 2rpx solid #E6E6E6;min-height: 100rpx;display: flex;align-items: center;justify-content: center;padding: 10rpx;
- box-sizing: border-box;
- &.mcoa{color: #00A9F0;}
- }
- }
- .surbtns{
- width: 100%;height: 100rpx;background: #00A9F0;display: flex;align-items: center;justify-content: center;
- font-size: 30rpx;color: #ffffff;margin-top: 24rpx;
- }
- }
- </style>
|