details.vue 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679
  1. <template>
  2. <view class="details">
  3. <view class="zxtop">
  4. <!-- 风险部 -->
  5. <view class="failtit" v-if="datainfo.auditType==4">该业务申请未通过审核,可完善信息后进行申诉</view>
  6. <view class="detop">
  7. <!-- 归档 归档后没有业务进度-->
  8. <image :src="gdicoimg" class="gdimg" v-if="datainfo.loanApplicationType==4"></image>
  9. <block v-else>
  10. <view class="speed" v-if="checkPermi(['system:schedule:list'])" @click="getSpeedFn" :style="type=='ywjd'?'z-index: 6;':''">
  11. <image :src="speedimg"></image>
  12. <view>业务</view>
  13. <view>进度</view>
  14. </view>
  15. </block>
  16. <view class="head">
  17. <view class="top">
  18. <view class="toptit">{{datainfo.enterpriseName}}</view>
  19. <view class="statbox" v-if="datainfo.isNew=='Y'">专精特新<image :src="start"></image></view>
  20. </view>
  21. <view class="adr">贷款编号 | {{datainfo.loanApplicationNumber}}</view>
  22. <view class="adr">企业地址 | {{datainfo.enterpriseName}}</view>
  23. <view class="adr">申报时间 | {{datainfo.applicationTime}}</view>
  24. <view class="adr" v-if="datainfo.actuallyAmount">放贷金额 | {{datainfo.actuallyAmount}}(万元)</view>
  25. <view class="adr" v-if="datainfo.actuallyTime">放款时间 | {{datainfo.actuallyTime}}</view>
  26. <view class="adr" v-if="datainfo.fileTime">归档时间 | {{datainfo.fileTime}}</view>
  27. </view>
  28. <view class="deta">
  29. <view class="lists">
  30. <view class="tit">申请额度</view>
  31. <view class="txt">{{datainfo.applicationAmount}}<text>/万元</text></view>
  32. </view>
  33. <view class="lists">
  34. <view class="tit">使用期限</view>
  35. <view class="txt">{{datainfo.usagePeriod}}<text>/个月</text></view>
  36. </view>
  37. <view class="lists">
  38. <view class="tit">申贷银行</view>
  39. <view class="txt">{{kaType(datainfo.applicationBank,sdyhlist)}}</view>
  40. </view>
  41. <view class="lists">
  42. <view class="tit">资金用途</view>
  43. <view class="txt">{{datainfo.purposeFunds}}</view>
  44. </view>
  45. <view class="lists">
  46. <view class="tit">还款来源</view>
  47. <view class="txt">{{datainfo.repaymentSource}}</view>
  48. </view>
  49. <view class="lists">
  50. <view class="tit">担保类型</view>
  51. <view class="txt">{{statusFormats(datainfo.guaranteeType,dblxlist)}}</view>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="main">
  57. <!-- tab -->
  58. <view class="tabs" :class="fixedflag?'tabfix':''">
  59. <!-- 保后信息 -->
  60. <template v-if="pfrom=='bhxx'">
  61. <block v-for="(ite,idx) in tabLists" :key="idx">
  62. <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>
  63. </block>
  64. </template>
  65. <template v-else>
  66. <block v-for="(ite,idx) in tabList" :key="idx">
  67. <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>
  68. </block>
  69. </template>
  70. </view>
  71. <view style="height:116rpx;" v-if="fixedflag"></view>
  72. <!-- 企业信息 -->
  73. <view class="mainb" :style="'min-height: ' + minheight + 'px;'">
  74. <block v-if="tabval==0">
  75. <aqyxx @getDown="getDown" :qyinfo="qyinfo" :datainfo="datainfo" :basicFj="basicFj" ></aqyxx>
  76. </block>
  77. <block v-if="tabval==1">
  78. <bfrxx @getDown="getDown" :datainfo="datainfo" :yhlxlist="yhlxlist" :hyztlist="hyztlist" :basicFj="basicFj"></bfrxx>
  79. </block>
  80. <block v-if="tabval==2">
  81. <cfdbrxx @getDown="getDown" :datainfo="datainfo" :fdarlist="fdarlist" :fdaqylist="fdaqylist" :hyztlist="hyztlist" :basicFj="basicFj"></cfdbrxx>
  82. </block>
  83. <block v-if="tabval==3">
  84. <dfjxx @getDown="getDown" :datainfo="datainfo" :declareFj="declareFj" :sbfjlist="sbfjlist" @getXzFn="getXzFn"></dfjxx>
  85. </block>
  86. <block v-if="tabval==4">
  87. <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"></ewjcj>
  88. </block>
  89. <block v-if="tabval==5">
  90. <fshxx @getDown="getDown" :shztlist="shztlist" :shjdlist="shjdlist" :datalist="shlist" ></fshxx>
  91. </block>
  92. <!-- 投票结果 -->
  93. <block v-if="tabval==6">
  94. <gtpjg :datalist="tplist"></gtpjg>
  95. </block>
  96. <!-- 保后信息 -->
  97. <block v-if="tabval==7">
  98. <hbgxx @getDown="getDown" :pfrom="pfrom" @getQmFn="getQmFn" :datainfo="datainfo" @getDelwjFj="getDelwjFj" @getBhqtfjEdit="getBhqtfjEdit" :bhxxlist="bhxxlist" :fileFj="datainfo.backFj"></hbgxx>
  99. </block>
  100. </view>
  101. <!-- 法人信息 -->
  102. </view>
  103. <block v-if="datainfo.loanApplicationType!=4&&tabval!=5&&datainfo.loanApplicationType!=3||pfrom=='bhxx'">
  104. <view class="h50"></view>
  105. <view class="footbtns" >
  106. <!-- (业务进度表查询进度列表):1:申报提交 stepval 4,7,8,9,没有通过不通过
  107. 2:业务审核/分配
  108. 3:担保初审
  109. 4:初审风险合规
  110. 5:尽职调查
  111. 6:评审会
  112. 7:合同签约
  113. 8:放款合规风险审核
  114. 9:放款通知
  115. 10:归档 -->
  116. <!-- 审核进度 auditSchedule
  117. 1:业务审核/分配
  118. 2:A角色审核
  119. 3:B角色审核
  120. 4:风险审核
  121. 5:初审风险合规
  122. 6:尽职调查
  123. 7:上会评审 -->
  124. <!-- 申请审核 start-->
  125. <!-- 投票 -->
  126. <!-- 董事长一键否决 -->
  127. <view class="fbtns bgb" v-if="checkPermi(['c:conference:finish'])&&pfrom!='bhxx'" @click="getVoteFinish">一键否决</view>
  128. <template v-if="pfrom=='vote'">
  129. <view class="fbtns bga" v-if="checkPermi(['c:conference:vote'])&&(datainfo.votingResult==4||datainfo.votingResult==1)" @click="getShFn('shshtp')">投票</view>
  130. <!-- 管理员重新投票 只有需要重新投票才会出现 -->
  131. <view class="fbtns bga" v-if="checkRole(['manager'])&&stepval==6&&datainfo.votingResult==3&&checkPermi(['c:conference:again'])" @click="getShFn('cxtp')">重新投票</view>
  132. </template>
  133. <template v-else-if="pfrom=='bhxx'">
  134. <block v-if="checkPermi(['system:fj:add'])">
  135. <!-- 图片,财务报表 -->
  136. <!-- <view class="fbtns bga" @click="getShFn('bhsc')">保后调查</view> -->
  137. <view class="fbtns bgb" @click="getBhqtfjEdit('shchzhp')">生产照片</view>
  138. <view class="fbtns bga" @click="getBhqtfjEdit('cwbb')">财务报表</view>
  139. <!-- 其他附件 -->
  140. <view class="fbtns bgb" @click="getBhqtfjEdit('qtfj')" v-if="checkPermi(['system:fj:add'])">上传其他附件</view>
  141. </block>
  142. <!-- 出具 -->
  143. <view class="fbtns bgd" @click="getMoreFn('cjbh')">出具</view>
  144. </template>
  145. <template v-else>
  146. <!-- a角色,管理员和可以全程修改 -->
  147. <view class="fbtns bge" v-if="checkPermi(['system:application:edit'])&&(stepval<3||userId==datainfo.aUserId&&stepval>2||checkPermi(['*:*:*']))" @click="getedit">修改</view>
  148. <view class="fbtns bgc" v-if="checkPermi(['system:application:remove'])&&stepval<3" @click="getDel">删除</view>
  149. <!-- 申诉状态除了修改,都不给 -->
  150. <block v-if="datainfo.auditType!=4&&checkPermi(['system:application:sh'])&&datainfo.loanApplicationType==2">
  151. <!-- checkRole(['auditing_risk']) 风险角色 -->
  152. <view class="fbtns bga" v-if="auditSchedule==1&&checkRole(['manager'])" @click="getShFn('sh')">审核</view>
  153. <view class="fbtns bga" v-if="auditSchedule==4&&datainfo.auditType!=4&&userId==datainfo.fUserId" @click="getShFn('fxsh')">风险审核</view>
  154. <!-- end -->
  155. <!-- a,b角按钮 start-->
  156. <view class="fbtns bga" v-if="userId==datainfo.aUserId&&auditSchedule==6" @click="getShFn('jztcsh')">尽职调查反馈</view>
  157. <view class="fbtns bga" v-if="userId==datainfo.aUserId&&auditSchedule==2&&datainfo.auditType==1" @click="getShFn('ajssh')">审核</view>
  158. <view class="fbtns bga" v-if="userId==datainfo.bUserId&&auditSchedule==3" @click="getShFn('bjssh')">审核</view>
  159. </block>
  160. <!-- 风险上传风险报告 v-if="auditSchedule==6"-->
  161. <view class="fbtns bga" v-if="auditSchedule==6&&userId==datainfo.fUserId" @click="getfjEdit('fxbg')">上传风险调查报告</view>
  162. <!-- 审核后 -->
  163. <!-- 未通过申诉 风险不通过,上会不通过-->
  164. <!-- 撤销, 业务分配,a,b角撤销 -->
  165. <!-- 只有上会才有申诉弹窗 -->
  166. <block v-if="checkPermi(['system:application:ss'])&&datainfo.auditType==4&&(userId==datainfo.aUserId||userId==datainfo.bUserId)">
  167. <view class="fbtns bga" v-if="stepval==6" @click="getShFn('sssh')">申诉</view>
  168. <view class="fbtns bga" v-else @click="getSsFn">申诉</view>
  169. </block>
  170. <!-- 回收站,暂存,归档不能撤 项目进度是申报提交-->
  171. <!-- 撤销,管理员在 a待审核 可以撤,
  172. a,b角是自己的时候可以撤
  173. -->
  174. <!-- end -->
  175. <!-- 风险部门 start-->
  176. <block v-if="stepval==4&&userId==datainfo.fUserId">
  177. <view class="fbtns bgb" v-if="checkPermi(['system:hyperlink:list'])" @click="getMoreFn('wb')">外部工具平台</view>
  178. <!-- 初审风险审核 -->
  179. <view class="fbtns bga" @click="getShFn('fxbmsh')" v-if="checkPermi(['system:application:sh'])&&datainfo.auditType!=4">审核</view>
  180. </block>
  181. <!-- end -->
  182. <!-- 上会管理员 start -->
  183. <block v-if="stepval==6&&checkRole(['manager'])&&datainfo.auditType!=4">
  184. <view class="fbtns bga" v-if="datainfo.reviewSchedule==1" @click="getShFn('shshty')">上会审核</view>
  185. <!-- 专门账号处理商行时间 -->
  186. <view class="fbtns bga" v-if="datainfo.reviewSchedule==3" @click="getShFn('shsh')">上会日期</view>
  187. <!-- <view class="fbtns bga" v-if="checkPermi(['c:conference:vote'])&&datainfo.reviewSchedule==4&&(datainfo.votingResult==1||datainfo.votingResult==4)" @click="getShFn('shshtp')">投票</view> -->
  188. </block>
  189. <!-- 上会管理员 end -->
  190. <!-- 合同签约start -->
  191. <!-- 上传附件 是上传其他 和出具合同的附件-->
  192. <block v-if="stepval==7">
  193. <view class="fbtns bgd" @click="getMoreFn('htqy')">出具合同</view>
  194. <!-- <view class="fbtns bgb" @click="getMoreFn('htsc')">上传附件</view>
  195. <view class="fbtns bgb" @click="getMoreFn('shmore')">更多操作</view> -->
  196. </block>
  197. <!-- 合同签约end -->
  198. <!-- 风险部放款 start 推进,归档-->
  199. <!-- 管理员重新投票 只有需要重新投票才会出现 -->
  200. <view class="fbtns bga" v-if="checkRole(['manager'])&&stepval==6&&datainfo.votingResult==3&&checkPermi(['c:conference:again'])" @click="getShFn('cxtp')">重新投票</view>
  201. <block v-if="datainfo.auditType!=4">
  202. <!-- 管理员授权判断是否提前了,步骤7之后,并且暂缓了 -->
  203. <!-- 管理员 可以让a角 提前开放款通知书,意向函, a角色和管理员给 &&datainfo.aAuthorize!='Y'-->
  204. <view class="fbtns bgb" v-if="checkPermi(['system:application:authorize'])&&stepval==8" @click="getAuthorize">授权放款通知书</view>
  205. <view class="fbtns bga" v-if="checkPermi(['system:application:gd'])&&stepval==9&&(checkRole(['manager'])||userId==datainfo.aUserId)" @click="getGdFn">一键归档</view>
  206. <block v-if="checkPermi(['system:application:schedule'])&&stepval<9&&stepval>6">
  207. <view class="fbtns bga" v-if="userId==datainfo.fUserId&&stepval==8" @click="getXybFn">项目推进</view>
  208. <view class="fbtns bga" v-if="(checkRole(['manager'])||userId==datainfo.aUserId)&&stepval==7" @click="getXybFn">项目推进</view>
  209. </block>
  210. </block>
  211. <!-- end -->
  212. <!-- 所有出具 -->
  213. <view class="fbtns bgd" v-if="stepval>1&&checkPermi(['system:system:user'])" @click="getMoreFn('chuju')">出具</view>
  214. <!-- 申诉的时候不能撤销 -->
  215. <!-- <view class="fbtns" :class="auditSchedule==6?'bga':'bgb'" v-if="checkPermi(['system:application:cx'])&&(stepval!=1&&stepval!=10&&(datainfo.auditType!=1||auditSchedule<6&&auditSchedule>2))" @click="getCxFn">撤销</view> -->
  216. <block v-if="checkPermi(['system:application:cx'])&&stepval!=1&&stepval!=10&&datainfo.auditType!=4">
  217. <!-- <view class="fbtns bgb" @click="getCxFn">撤销</view> -->
  218. <view class="fbtns bgb" v-if="userId==datainfo.aUserId&&(auditSchedule==3||auditSchedule>6)&&stepval!=9" @click="getCxFn">撤销</view>
  219. <view class="fbtns bgb" v-if="userId==datainfo.bUserId&&auditSchedule==4" @click="getCxFn">撤销</view>
  220. <!-- 风险部撤销 -->
  221. <view class="fbtns bgb" v-if="userId==datainfo.fUserId&&(auditSchedule==5||stepval==5&&datainfo.auditType==1||stepval==9)" @click="getCxFn">撤销</view>
  222. <!-- stepval==6&&reviewSchedule>1 -->
  223. <view class="fbtns bgb" v-if="checkRole(['manager'])&&(datainfo.auditType!=1||auditSchedule>7||auditSchedule==2||stepval==6&&datainfo.reviewSchedule>1)" @click="getCxFn">撤销</view>
  224. </block>
  225. </template>
  226. </view>
  227. </block>
  228. <!-- 更多操作 -->
  229. <view class="bgbox" @click="getClose" v-if="mtype"></view>
  230. <view v-if="mtype" class="morebox">
  231. <view class="molists">
  232. <!-- 出具信息 -->
  233. <block v-if="mtype=='chuju'">
  234. <!-- 管理员业务初审审核后出具担保意向函-->
  235. <view v-if="(checkRole(['manager'])||userId==datainfo.aUserId)&&auditSchedule>1" @click="getIssureFn(3,'dbyxh')">出具担保意向函</view>
  236. <!-- 材料合规 风险部上传 &&checkRole(['auditing_risk']) -->
  237. <view v-if="stepval==4&&userId==datainfo.fUserId" @click="getIssureFn(13,'clhgb')">出具材料合规表</view>
  238. <view v-if="stepval==6&&datainfo.reviewSchedule==4" @click="getIssureFn(15,'pshtz')">出具评审会通知</view>
  239. <block v-if="stepval==7">
  240. <view @click="getIssureFn(12,'psyjqpb')">出具评审意见签批表</view>
  241. <view @click="getIssureFn(11,'gdhyjy')">出具股东会决议</view>
  242. <!-- <view @click="getIssureFn(1,'wtdbsqs')">出具委托担保申请书</view> -->
  243. </block>
  244. <!-- 放款合规表 -->
  245. <block v-if="checkRole(['manager'])||userId==datainfo.fUserId">
  246. <view v-if="stepval==8||stepval==9&&datainfo.aAuthorize=='Y'" @click="getIssureFn(14,'fkhgb')">出具放款合规表</view>
  247. <!-- 暂缓出具 备注原因推给管理员-->
  248. <view v-if="stepval==8&&checkPermi(['system:application:zanHuan'])" @click="getShFn('zhfkhgb')">暂缓出具放款合规表</view>
  249. <!-- <view class="fbtns bgb" @click="getfjEdit('fkhgb')">上传附件</view> -->
  250. </block>
  251. <!-- a角 管理员 判断是否提前了,步骤7之后,并且暂缓了-->
  252. <block v-if="stepval==9||stepval==8&&datainfo.aAuthorize=='Y'">
  253. <view v-if="checkRole(['manager'])||userId==datainfo.aUserId" @click="getIssureFn(4,'fktzhsh')">放款通知书</view>
  254. </block>
  255. <!-- 借据 -->
  256. <block v-if="stepval==9">
  257. <view v-if="checkRole(['manager'])||userId==datainfo.aUserId" @click="getfjEdit('jj')">上传借据</view>
  258. </block>
  259. <!-- 担保业务备案表 -->
  260. <block v-if="stepval==8||stepval==9">
  261. <view v-if="checkRole(['manager'])||userId==datainfo.aUserId" @click="getIssureFn(21,'dbbab')">出具担保业务备案表</view>
  262. </block>
  263. <view @click="getQtfjEdit('qtfj')" v-if="checkPermi(['system:fj:add'])">上传其他附件</view>
  264. </block>
  265. <!--风险部门 start 外部工具平台 -->
  266. <block v-if="mtype=='wb'">
  267. <view v-for="(ite,idx) in linkList" :key="idx" @click="getWebUel(ite.url)">{{ite.name}}</view>
  268. </block>
  269. <!-- 风险部门 end -->
  270. <!-- 上会管理员 start -->
  271. <block v-if="mtype=='shmore'">
  272. <view @click="getIssureFn(12,'psyjqpb')">出具评审意见签批表</view>
  273. <view @click="getIssureFn(11,'gdhyjy')">出具股东会决议</view>
  274. <!-- <view @click="getfjEdit('psyjqpb')">上传评审意见签批表</view>
  275. <view @click="getfjEdit('gdhyjy')">上传上会纪要</view> -->
  276. </block>
  277. <!-- 上会管理员 end -->
  278. <!-- 合同签约 start -->
  279. <!-- 合同上传信息 -->
  280. <!-- <block v-if="mtype=='htsc'">
  281. <view @click="getfjEdit('wtdbht')">上传委托保证合同</view>
  282. <block v-if="datainfo.guaranteeType=='2'">
  283. <view @click="getfjEdit('bzfdbhtfr')">上传保证反担保合同(法人)</view>
  284. <view @click="getfjEdit('bzfdbhtzrr')">上传保证反担保合同(自然人)</view>
  285. </block>
  286. <block v-if="datainfo.guaranteeType=='1'">
  287. <view @click="getfjEdit('dyfdbhtfr')">上传抵押反担保合同(法人)</view>
  288. <view @click="getfjEdit('dyfdbhtzrr')">上传抵押反担保合同(自然人)</view>
  289. </block>
  290. <view @click="getQtfjEdit('qtfj')">其他附件</view>
  291. </block> -->
  292. <block v-if="mtype=='htqy'">
  293. <view @click="getIssureFn(2,'wtdbht')">委托保证合同</view>
  294. <block v-if="datainfo.guaranteeType.indexOf('2')!=-1">
  295. <view @click="getIssureFn(5,'bzfdbhtfr')">保证反担保合同(法人)</view>
  296. <view @click="getIssureFn(6,'bzfdbhtzrr')">保证反担保合同(自然人)</view>
  297. </block>
  298. <block v-if="datainfo.guaranteeType.indexOf('1')!=-1">
  299. <view @click="getIssureFn(7,'dyfdbhtfr')">抵押反担保合同(法人)</view>
  300. <view @click="getIssureFn(8,'dyfdbhtzrr')">抵押反担保合同(自然人)</view>
  301. </block>
  302. <block v-if="datainfo.guaranteeType.indexOf('3')!=-1">
  303. <view @click="getIssureFn(9,'qlzqfdbhtfr')">权利质权反担保合同(适用于法人)</view>
  304. <view @click="getIssureFn(10,'qlzqfdbhtzrr')">权利质权反担保合同(适用于自然人)</view>
  305. </block>
  306. <view @click="getIssureFn(18,'qyxyfdb')">企业信用反担保合同</view>
  307. <view @click="getIssureFn(17,'wtbzgcly')">委托保证合同(工程履约)</view>
  308. <view @click="getIssureFn(16,'bkcxgr')">不可撤销个人连带责任信用反担保合同</view>
  309. </block>
  310. <!-- 合同签约 end -->
  311. <!-- 保后 -->
  312. <block v-if="mtype=='cjbh'">
  313. <view @click="getIssureFn(19,'bhscjcbg')">出具T+1保后表</view>
  314. <view @click="getIssureFn(20,'bhjcbg')">出具T+N保后表</view>
  315. </block>
  316. </view>
  317. <!-- <view class="surbtns" @click="getMoreSure">确认</view> -->
  318. </view>
  319. <pop-up :type="type" :startady="daytime" :shtg="shtg" :loanApplicationId="datainfo.loanApplicationId" :loanApplicationNumber="datainfo.loanApplicationNumber" :userList="userList"
  320. :stepList="stepList" :wjcjobj='wjcjobj' :bhxxobj='bhxxobj' :qtfjobj="qtfjobj" :stepval="stepval" :fjval="fjval" :fjId="fjId"
  321. @getfjAdd="getfjAdd"
  322. @getClose="getClose" @getupSubmit="getupSubmit" @getSure="getSure"></pop-up>
  323. </view>
  324. </template>
  325. <script>
  326. import config from '@/config'
  327. const baseUrl = config.baseUrl
  328. const baseName = config.baseName
  329. import self from '@/utils/location.js';
  330. import { getToken } from '@/utils/auth'
  331. import popUp from "@/work/components/popup/popup.vue"
  332. import aqyxx from "@/work/components/business/aqyxx.vue"
  333. import bfrxx from "@/work/components/business/bfrxx.vue"
  334. import cfdbrxx from "@/work/components/business/cfdbrxx.vue"
  335. import dfjxx from "@/work/components/business/dfjxx.vue"
  336. import ewjcj from "@/work/components/business/ewjcj.vue"
  337. import fshxx from "@/work/components/business/fshxx.vue"
  338. import gtpjg from "@/work/components/business/gtpjg.vue"
  339. import hbgxx from "@/work/components/business/hbgxx.vue"
  340. import {uploadmore,selectValue} from '@/utils/common.js'
  341. import {getInfo} from "@/api/login.js"
  342. import {getDictionaryFn} from "@/api/mine/register.js"
  343. import {getUsernoPageList,getFjAdd,getFjEdit,getFjDel} from "@/api/common.js"
  344. import {getApplicationDet,getScheduleList,getHyperlinkList,getApplicationDel,getApplicationSh,getCommentsList,getApplicationSs,getApplicationCx,getapplicationGd,getapplicationXib,getExportMb,
  345. getZanHuan,getAuthorize,getReview,getVoteAdd,getcxVoteAdd,getVoteFive,getVoteTimeList,getVoteFinish,getputActually
  346. } from "@/api/mine/work.js"
  347. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  348. export default{
  349. components:{aqyxx,bfrxx,cfdbrxx,dfjxx,ewjcj,fshxx,gtpjg,hbgxx,popUp},
  350. data(){
  351. return{
  352. start:require('@/work/static/images/start.png'),
  353. titimg:require('@/work/static/images/infotit.png'),
  354. speedimg:require('@/work/static/images/speed.png'),
  355. gdicoimg:require('@/work/static/images/gdico.png'),
  356. tabval:0,
  357. type:'',
  358. 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'},
  359. {tit:"投票结果",val:6,limit:'system:system:user',limita:'c:conference:list:time'}],
  360. 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'},
  361. {tit:"投票结果",val:6,limit:'system:system:user',limita:'c:conference:list:time'},{tit:"保后信息",val:7,limit:'system:system:user'},],
  362. stepList:[],
  363. stepval:0,
  364. gdflag:false,
  365. auditSchedule:'',//审核进度
  366. mtype:'',
  367. minheight:0,
  368. listTop:0,//距离顶部的距离
  369. fixedflag:false,
  370. dblxlist:[],
  371. sdyhlist:[],
  372. qyinfo:{},//企业信息
  373. datainfo:{
  374. // "createBy": "",//
  375. // "createTime": null,//
  376. // "updateBy": "",//
  377. // "updateTime": null,//
  378. // "remark": null,//
  379. "loanApplicationId": '',//贷款申请id
  380. "loanApplicationNumber": "",//贷款申请编号
  381. "applicationAmount": '',//申请额度(万元)
  382. "applicationBank": "",//申请银行
  383. "usagePeriod": "",//使用期限(月)
  384. "purposeFunds": "",//资金用途
  385. "repaymentSource": "",//还款来源
  386. "enterpriseName": "",//企业名称
  387. 'sysUserEnterprise':{},//企业对象具体字段查看营业执照
  388. "categoryType": "",//行业类型
  389. "isMake": "N",//是否是制造业
  390. "isNew": "N",//是否是精特新
  391. "isSmall": "N",//是否是小微企业
  392. "isDuty": "N",//是否是免税企业
  393. "companyIntroduction": "",//公司简介
  394. "customerType": "",//用户类型
  395. "corporationFront": "",//法人身份证正面
  396. "corporationBack": "",//法人身份证反面
  397. "corporationName": "",// 法人姓名
  398. "corporationIdCard": "",//法人身份证号
  399. "corporationPhone": "",// 法人手机号
  400. "familyPopulation": "",//家庭人口数
  401. "corporationJob": "",//法人职业
  402. "isLoan": "",//有无贷款
  403. "receivablePay": "",//应收应付款
  404. "businessSituation": "",//经营情况
  405. "businessEfficiency": "",//经营效益
  406. "corporationMaritalStatus": "",//法人婚姻状态
  407. "spouseFront": "",//配偶身份证正面
  408. "spouseBack": "",//配偶身份证反面
  409. "spouseName": "",//配偶姓名
  410. "spouseIdCard": "",//配偶身份证号
  411. "spousePhone": "",//配偶手机号
  412. "guaranteeType": "",//担保类型
  413. "guaranteeFront": "",//反担保人身份证正面
  414. "guaranteeBack": "",//反担保人身份证反面
  415. "guaranteeName": "",//反担保人姓名
  416. "guaranteeIdCard": "",//反担保人身份证号
  417. "guaranteePhone": "",//反担保人手机号
  418. // "guaranteeMaritalStatus": "",//反担保人婚姻状态
  419. // "guaranteeSpouseFront": "",//反担保人配偶身份证正面
  420. // "guaranteeSpouseBack": "",//反担保人配偶身份证反面
  421. // "guaranteeSpouseName": "",//反担保人配偶姓名
  422. // "guaranteeSpouseIdCard": "",//反担保人配偶身份证号
  423. // "guaranteeSpousePhone": "",//反担保人配偶手机号
  424. // "userId": '',//申请人用户ID
  425. // "idCard": "",//申请人身份证号码
  426. // "applicationTime": "",//申请时间
  427. "fileTime": "",//归档时间
  428. "loanSchedule": "",//贷款申请进度(业务进度表查询进度列表):1:申报提交2:业务审核/分配 3:担保初审 4:尽职调查 5:初审风险合规 6:评审会 7:合同签约 8:放款合规风险审核 9:放款通知 10:归档
  429. "loanScheduleName": '',//贷款申请进度名称(中文字)
  430. "auditSchedule": "",//审核进度1:担保初审 2:A角色审核 3:B角色审核 4:风险审核 5:尽职调查 6:上会评审
  431. "auditType": "",//审核状态 1:待审核 2:已通过 3:未通过 4:申诉
  432. "loanApplicationType": "",//贷款申请状态 1:暂存 2:正常 3:回收站 4:归档
  433. "aUserId": "",//A角色用户ID
  434. "aUserName": "",//A角色用户名称
  435. "bUserId": "",//B角色用户ID
  436. "bUserName": "",//B角色用户名称
  437. "shareholderFjList": [],//全体股东信息附件
  438. "loanApplicationFjList": [],//相关附件
  439. "basicFj": {},//基础附件
  440. "declareFj": {},//申报附件
  441. "fileFj": {},//文件出具
  442. "otherFj": {},//其他附件 key值是type类型 value值具体字段查看相关附件新增
  443. },
  444. gdlists:[],//股东信息
  445. basicFj:{},//基础附件
  446. declareFj:{},//申报附件
  447. yhlxlist:[],//用户类型
  448. hyztlist:[],//婚姻状态
  449. sbfjlist:[],//申报附件
  450. wjcjlist:[],//文件出具
  451. bhxxlist:[],//保后信息
  452. linkList:[],//外部链接
  453. userList:[],//用户列表
  454. shjdlist:[],//审核进度
  455. shztlist:[],//审核状态
  456. fdarlist:[],//反担保人附件列表
  457. fdaqylist:[],//反担保企业附件列表
  458. shlist:[],//审核信息
  459. tplist:[],//投票列表
  460. shinfo:{},//审核信息
  461. wjcjobj:{},//文件出具对象
  462. bhxxobj:{},//保后信息对象
  463. qtfjobj:{'qtfj':"其他附件"},//其他附件
  464. qtfjlist:[],//其他附件
  465. fjval:'',//附件类型
  466. fjId:'',//附件id
  467. userId:this.$store.state.user.userId,
  468. iscjflag:false,
  469. contype:'',//二次确认弹窗
  470. mval:-1,
  471. mite:"",
  472. shtg:'',
  473. textType:[
  474. {tit:'文字',val:'w',children:['doc','docx','wps']},
  475. {tit:'表格',val:'s',children:['xls','xlsx']},
  476. {tit:'演示',val:'p',children:['ppt','pptx']},
  477. {tit:'PDF',val:'f',children:['pdf','ofd']},
  478. {tit:'智能文档',val:'o',children:['otl']},
  479. {tit:'多维表格',val:'d',children:['dbt']},
  480. ],
  481. isqiye:true,
  482. pfrom:'',//vote 从投票来的
  483. daytime:'',
  484. }
  485. },
  486. onLoad(e) {
  487. this.id=e.id;
  488. if(e.from){
  489. this.pfrom=e.from
  490. }
  491. // this.time()
  492. this.init()
  493. this.getDetail();
  494. if(checkPermi(['system:schedule:list'])){
  495. this.getScheduleList();;//贷款进度
  496. }
  497. if(checkPermi(['system:hyperlink:list'])){
  498. this.getHyperlinkList();//外部链接stepval==4
  499. }
  500. if(checkPermi(['system:user:noPageList'])){
  501. this.getUsernoPageList();//获取用户列表stepval==2||stepval==6
  502. }
  503. // if(checkPermi(['system:system:user'])&&checkPermi(['system:comments:list'])){
  504. // this.getCommentsList()//审核意见
  505. // }
  506. // if(checkPermi(['system:system:user'])&&checkPermi(['c:conference:list:time'])){
  507. // this.getVoteTimeList()//投票结果
  508. // }
  509. // this.getInfolis()
  510. },
  511. mounted() {
  512. var that=this;
  513. uni.getSystemInfo({
  514. success: (e) => {
  515. this.minheight = e.screenHeight- 50;
  516. }
  517. })
  518. setTimeout(function(){
  519. that.getHeightFn()
  520. },200)
  521. },
  522. onPageScroll(e) {
  523. var scrollTop = Number(e.scrollTop);
  524. var listTop=Number(this.listTop)
  525. if(scrollTop>listTop){
  526. this.fixedflag=true
  527. }else{
  528. this.fixedflag=false
  529. }
  530. },
  531. methods:{
  532. time() {
  533. var date = new Date();
  534. var y = date.getFullYear();
  535. var m = date.getMonth() + 1;
  536. var d = date.getDate();
  537. this.daytime=y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d);
  538. },
  539. checkPermi, checkRole,
  540. statusFormats(ite,list,type){//多选匹配
  541. if(ite){
  542. var actions = [];
  543. list.forEach(s => {
  544. if(ite.indexOf(s.value)>-1){
  545. actions.push(s.label);
  546. }
  547. })
  548. return actions.join(',')
  549. }else{
  550. return ''
  551. }
  552. },
  553. kaType(ite,list){
  554. return selectValue(list, ite);
  555. },
  556. getedit(){
  557. var obj={
  558. type:'edit',
  559. id:this.id,
  560. val:this.tabval
  561. }
  562. this.$tab.navigateTo('/work/pages/business/add?data='+encodeURIComponent(JSON.stringify(obj)))
  563. },
  564. // 删除
  565. getDelwjFj(id){
  566. var that=this;
  567. uni.showModal({
  568. title: '确认删除',
  569. content: "是否确认删除",
  570. cancelText: '取消',
  571. confirmText: '确认',
  572. success: function(res) {
  573. if (res.confirm) {
  574. getFjDel(id).then(res=>{
  575. if(res.code==200){
  576. that.$toast("删除成功")
  577. setTimeout(function(){
  578. that.getDetail()
  579. },1200)
  580. }
  581. })
  582. } else if (res.cancel) {
  583. }
  584. }
  585. });
  586. },
  587. // 出具附件
  588. // getfjEdit(ite){
  589. // var type=0;
  590. // if(ite=='dbyxh'){
  591. // type=3
  592. // }else if(ite=='fkhgb'){
  593. // type=14
  594. // }else if(ite=='fktzs'){
  595. // type=4
  596. // }else if(ite=='clhgb'){
  597. // type=13
  598. // }else if(ite=='psyjqpb'){
  599. // type=12
  600. // }else if(ite=='gdhyjy'){
  601. // type=11
  602. // }else if(ite=='wtdbht'){
  603. // type=2
  604. // }else if(ite=='bzfdbhtfr'){
  605. // type=5
  606. // }else if(ite=='bzfdbhtzrr'){
  607. // type=6
  608. // }else if(ite=='dyfdbhtfr'){
  609. // type=7
  610. // }else if(ite=='dyfdbhtzrr'){
  611. // type=8
  612. // }else if(ite=='qlzqfdbhtfr'){
  613. // type=9
  614. // }else if(ite=='qlzqfdbhtzrr'){
  615. // type=10
  616. // }
  617. // if(type){
  618. // this.getIssureFn(type,ite)
  619. // }
  620. // },
  621. // 上传附件
  622. getfjEdit(ite){
  623. if(ite=='jj'){
  624. this.type=ite;
  625. }else{
  626. this.type='fjadd';
  627. this.fjval=ite
  628. }
  629. this.mtype='';
  630. },
  631. getfjXiu(ite,id){
  632. this.fjId=id;
  633. this.type='fjedit';
  634. this.fjval=ite
  635. this.mtype='';
  636. },
  637. getQtfjEdit(val,id){
  638. if(id){
  639. this.fjId=id;
  640. this.type='qtfjedit';
  641. }else{
  642. this.type='qtfjadd';
  643. }
  644. this.mtype='';
  645. this.fjval=val
  646. },
  647. // 保后附件
  648. getBhqtfjEdit(val){
  649. this.type='bhfjadd';
  650. this.mtype='';
  651. this.fjval=val
  652. },
  653. // 业务进度
  654. getScheduleList(){
  655. var params={
  656. loanApplicationId:this.id
  657. }
  658. getScheduleList(params).then(res=>{
  659. if(res.code==200){
  660. this.stepList=res.data
  661. }
  662. })
  663. },
  664. getWebUel(url){
  665. // this.mval=idx;
  666. // this.mite=ite
  667. this.mtype='';
  668. this.$tab.navigateTo("/pages/common/webview/index?url="+url)
  669. },
  670. getMoreSure(){
  671. var mttype=this.mtype;
  672. var mite=this.mite;
  673. if(mttype=='wb'){
  674. this.mtype='';
  675. this.$tab.navigateTo("/pages/common/webview/index?url="+mite.url)
  676. }
  677. },
  678. // 外部链接
  679. getHyperlinkList(){
  680. var params={
  681. type:1
  682. }
  683. getHyperlinkList(params).then(res=>{
  684. if(res.code==200){
  685. this.linkList=res.rows
  686. }
  687. })
  688. },
  689. // 用户-列表
  690. //用户类型(00系统用户 01注册用户 02管理用户
  691. getUsernoPageList(){
  692. var params={
  693. userType:'02'
  694. }
  695. getUsernoPageList(params).then(res=>{
  696. if(res.code==200){
  697. this.userList=res.rows
  698. }
  699. })
  700. },
  701. getCommentsList(){
  702. var params={
  703. loanApplicationId:this.id,
  704. }
  705. getCommentsList(params).then(res=>{
  706. if(res.code==200){
  707. var newArr=res.rows;
  708. newArr.forEach(ite=>{
  709. if(ite.imageUrl){
  710. ite.imageUrl=ite.imageUrl.split(',')
  711. }
  712. })
  713. this.shlist=newArr
  714. }
  715. })
  716. },
  717. // 投票结果
  718. getVoteTimeList(){
  719. var params={
  720. loanApplicationId:this.id,
  721. }
  722. getVoteTimeList(params).then(res=>{
  723. if(res.code==200){
  724. var newArr=res.data;
  725. newArr.forEach(ite=>{
  726. ite.check=false
  727. })
  728. this.tplist=JSON.parse(JSON.stringify(newArr))
  729. }
  730. })
  731. },
  732. init(){
  733. // 用户类型
  734. getDictionaryFn('customer_type').then(res=>{
  735. if(res.code==200){
  736. this.yhlxlist = res.data.map(v => {
  737. return {
  738. label: v.dictLabel,
  739. value: v.dictValue
  740. }
  741. })
  742. }
  743. })
  744. // 婚姻状况
  745. getDictionaryFn('marital_status').then(res=>{
  746. if(res.code==200){
  747. this.hyztlist = res.data.map(v => {
  748. return {
  749. label: v.dictLabel,
  750. value: v.dictValue
  751. }
  752. })
  753. }
  754. })
  755. // 申贷银行
  756. getDictionaryFn('shendai_bank').then(res=>{
  757. if(res.code==200){
  758. this.sdyhlist = res.data.map(v => {
  759. return {
  760. label: v.dictLabel,
  761. value: v.dictValue
  762. }
  763. })
  764. }
  765. })
  766. //担保类型
  767. getDictionaryFn('guarantee_type').then(res=>{
  768. if(res.code==200){
  769. this.dblxlist = res.data.map(v => {
  770. return {
  771. label: v.dictLabel,
  772. value: v.dictValue
  773. }
  774. })
  775. }
  776. })
  777. // 附件信息
  778. getDictionaryFn('application_fj_sb').then(res=>{
  779. if(res.code==200){
  780. this.sbfjlist = res.data.map(v => {
  781. return {
  782. label: v.dictLabel,
  783. val: v.dictValue,
  784. fjlist:[]
  785. }
  786. })
  787. }
  788. })
  789. // // 文件出具
  790. getDictionaryFn('application_fj_wjcj').then(res=>{
  791. if(res.code==200){
  792. var obj={}
  793. this.wjcjlist = res.data.map(v => {
  794. // var key=v.dictValue
  795. obj[v.dictValue]=v.dictLabel
  796. return {
  797. label: v.dictLabel,
  798. val: v.dictValue,
  799. fjlist:[]
  800. }
  801. })
  802. this.wjcjobj=obj
  803. }
  804. })
  805. // 保后附件
  806. getDictionaryFn('baohou').then(res=>{
  807. if(res.code==200){
  808. var obj={}
  809. this.bhxxlist = res.data.map(v => {
  810. obj[v.dictValue]=v.dictLabel
  811. return {
  812. label: v.dictLabel,
  813. val: v.dictValue,
  814. }
  815. })
  816. this.bhxxobj=obj
  817. }
  818. })
  819. //审核状态
  820. getDictionaryFn('sh_status').then(res=>{
  821. if(res.code==200){
  822. this.shztlist = res.data.map(v => {
  823. return {
  824. label: v.dictLabel,
  825. value: v.dictValue,
  826. }
  827. })
  828. }
  829. })
  830. // 其他附件
  831. // getDictionaryFn('application_fj_other').then(res=>{
  832. // if(res.code==200){
  833. // var obj={}
  834. // this.qtfjlist = res.data.map(v => {
  835. // // var key=v.dictValue
  836. // obj[v.dictValue]=v.dictLabel
  837. // return {
  838. // label: v.dictLabel,
  839. // val: v.dictValue,
  840. // fjlist:[]
  841. // }
  842. // })
  843. // this.qtfjobj=obj
  844. // console.log(obj,1)
  845. // }
  846. // })
  847. //审核进度
  848. getDictionaryFn('audit_schedule').then(res=>{
  849. if(res.code==200){
  850. this.shjdlist = res.data.map(v => {
  851. return {
  852. label: v.dictLabel,
  853. value: v.dictValue,
  854. }
  855. })
  856. }
  857. })
  858. },
  859. getTab(val){
  860. this.tabval=val;
  861. uni.pageScrollTo({
  862. scrollTop: Number(this.listTop),
  863. duration: 0
  864. })
  865. if(val==5){
  866. this.getCommentsList()
  867. }else if(val==6){
  868. this.getVoteTimeList();
  869. }else if(val==4&&this.iscjflag){
  870. this.iscjflag=false;
  871. this.getDetail();
  872. }
  873. },
  874. // 出具
  875. getIssureFn(type,fileType){
  876. var that=this;
  877. that.iscjflag=true;
  878. var params={
  879. type:type,
  880. loanApplicationId:this.id,
  881. fileType:fileType,
  882. bigType:'c',
  883. customerType:that.datainfo.customerType
  884. }
  885. getExportMb(params).then(res=>{
  886. if(res.code==200){
  887. var data=res.data;
  888. var path=data.path;
  889. var name=data.fileName;
  890. var fileName = name.replace(/.*(\/|\\)/, ""); // 获得文件名
  891. var fileSuffix = (/[.]/.exec(fileName)) ? /[^.]+$/.exec(fileName.toLowerCase()) : ''; // 获得文件后缀
  892. var texthz=fileSuffix[0];
  893. var type=''
  894. // 在线编辑
  895. // 获取后缀
  896. var textType=that.textType;
  897. Object.keys(textType).some((key) => {
  898. if (textType[key].children.indexOf(texthz)!=-1) {
  899. type=`${textType[key].val}`
  900. return true;
  901. }
  902. })
  903. data.type=type
  904. that.$tab.navigateTo('/pages/common/webview/weboffice?data='+encodeURIComponent(JSON.stringify(data)))
  905. }
  906. })
  907. },
  908. getDownloader(path,name){
  909. console.log(path,name)
  910. // #ifdef APP-PLUS
  911. self.getFilePermissions(function(res){
  912. if(res==1){
  913. uni.showLoading({
  914. title: '加载中'
  915. });
  916. var url = baseUrl + path;
  917. let dtask = plus.downloader.createDownload(url, {
  918. filename: 'file://storage/emulated/0/'+baseName+'/' + name
  919. }, (d, status) => {
  920. //d为下载的文件对象
  921. if (status == 200) {
  922. uni.hideLoading();
  923. uni.showToast({
  924. icon: 'none',
  925. mask: true,
  926. title: '已保存到文件夹:/'+baseName+'/'+ name, //保存路径
  927. duration: 3000,
  928. });
  929. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  930. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  931. setTimeout(() => {
  932. plus.runtime.openFile(d.filename); //选择软件打开文件
  933. }, 1500)
  934. } else {
  935. //下载失败
  936. uni.hideLoading();
  937. plus.downloader.clear(); //清除下载任务
  938. uni.showToast({
  939. icon: 'none',
  940. mask: true,
  941. title: '下载失败,请稍后重试',
  942. });
  943. }
  944. })
  945. dtask.start();
  946. }else{
  947. uni.hideLoading();
  948. uni.showToast({
  949. title: '无法获取权限,文件下载将出错!',
  950. icon: 'none',
  951. })
  952. }
  953. })
  954. // #endif
  955. },
  956. getClose(){
  957. this.type='';
  958. this.mtype='';
  959. },
  960. getupSubmit(data){
  961. this.shinfo=JSON.parse(JSON.stringify(data))
  962. var type=this.type;
  963. if(type=='ajssh'||type=='bjssh'){
  964. this.contype=this.type
  965. this.type='confirm'
  966. this.shtg=data.auditType
  967. }else if(type=='zhfkhgb'){
  968. this.getZanHuanFn()
  969. }else if(type=='shshty'){//上会
  970. this.getReview()
  971. }else if(type=='shsh'){//日期
  972. this.getVoteFive()
  973. }else if(type=='shshtp'){//投票
  974. this.getVoteAdd()
  975. }else if(type=='sssh'){//申诉
  976. this.getSsshFn()
  977. }else if(type=='cxtp'){//重新投票
  978. this.getcxVoteAdd()
  979. }else{
  980. this.getApplicationSh()
  981. }
  982. },
  983. getSure(){
  984. this.getApplicationSh()
  985. },
  986. getfjAdd(data){
  987. var that=this;
  988. var params=JSON.parse(JSON.stringify(data));
  989. var fjUrl=params.fjUrl;
  990. // params.loanApplicationId=this.id;
  991. // params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  992. // params.auditSchedule=this.auditSchedule;
  993. if(that.type=='fjedit'||that.type=='qtfjedit'){
  994. getFjEdit(fjUrl).then(res=>{
  995. if(res.code==200){
  996. that.$toast('修改附件成功')
  997. setTimeout(function(){
  998. that.getDetail();
  999. uni.$emit('refreshdatalist')
  1000. that.type=''
  1001. },1200)
  1002. }
  1003. })
  1004. }else{
  1005. getFjAdd(fjUrl).then(res=>{
  1006. if(res.code==200){
  1007. that.$toast('上传附件成功')
  1008. // 修改信息
  1009. if(that.type=='jj'){
  1010. var amount=params.actuallyAmount||"";
  1011. var time=params.actuallyTime||"";
  1012. that.getputActually(amount,time)
  1013. }else{
  1014. setTimeout(function(){
  1015. that.getDetail();
  1016. uni.$emit('refreshdatalist')
  1017. that.type=''
  1018. },1200)
  1019. }
  1020. }
  1021. })
  1022. }
  1023. },
  1024. getputActually(amount,time){
  1025. var that=this;
  1026. var params={
  1027. loanApplicationId:this.id,
  1028. actuallyAmount:amount,
  1029. actuallyTime:time,
  1030. }
  1031. getputActually(params).then(res=>{
  1032. if(res.code==200){
  1033. that.getDetail();
  1034. uni.$emit('refreshdatalist')
  1035. that.type=''
  1036. }
  1037. })
  1038. },
  1039. getApplicationSh(){
  1040. var that=this;
  1041. var params=this.shinfo;
  1042. params.loanApplicationId=this.id;
  1043. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1044. params.auditSchedule=this.auditSchedule;
  1045. params.enterpriseName=this.datainfo.enterpriseName;
  1046. getApplicationSh(params).then(res=>{
  1047. if(res.code==200){
  1048. that.$toast('审核成功')
  1049. setTimeout(function(){
  1050. that.getDetail();
  1051. uni.$emit('refreshdatalist')
  1052. that.type=''
  1053. },1200)
  1054. }
  1055. })
  1056. },
  1057. // 上会同意接口
  1058. getReview(data){
  1059. var that=this;
  1060. var params=this.shinfo;
  1061. params.loanApplicationId=this.id;
  1062. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1063. params.auditSchedule=this.auditSchedule;
  1064. params.aUserId=this.datainfo.aUserId;
  1065. params.loanSchedule=this.datainfo.loanSchedule;
  1066. params.auditType=this.datainfo.auditType;
  1067. params.enterpriseName=this.datainfo.enterpriseName;
  1068. getReview(params).then(res=>{
  1069. if(res.code==200){
  1070. that.$toast('审核成功')
  1071. setTimeout(function(){
  1072. that.getDetail();
  1073. uni.$emit('refreshdatalist')
  1074. that.type=''
  1075. },1200)
  1076. }
  1077. })
  1078. },
  1079. // 上会日期
  1080. getVoteFive(data){
  1081. var that=this;
  1082. var params=this.shinfo;
  1083. params.loanApplicationId=this.id;
  1084. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1085. params.enterpriseName=this.datainfo.enterpriseName;
  1086. // params.auditSchedule=this.auditSchedule;
  1087. getVoteFive(params).then(res=>{
  1088. if(res.code==200){
  1089. that.$toast('操作成功')
  1090. setTimeout(function(){
  1091. that.getDetail();
  1092. uni.$emit('refreshdatalist')
  1093. that.type=''
  1094. },1200)
  1095. }
  1096. })
  1097. },
  1098. // 上会投票
  1099. getVoteAdd(data){
  1100. var that=this;
  1101. var params=this.shinfo;
  1102. params.loanApplicationId=this.id;
  1103. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1104. params.auditSchedule=this.auditSchedule;
  1105. params.conferenceTime=this.datainfo.reviewTime;
  1106. getVoteAdd(params).then(res=>{
  1107. if(res.code==200){
  1108. that.$toast('投票成功')
  1109. setTimeout(function(){
  1110. that.getDetail();
  1111. uni.$emit('refreshdatalist')
  1112. that.type=''
  1113. },1200)
  1114. }
  1115. })
  1116. },
  1117. // 重新投票
  1118. getcxVoteAdd(){
  1119. var that=this;
  1120. var params=this.shinfo;
  1121. params.loanApplicationId=this.id;
  1122. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1123. // params.auditSchedule=this.auditSchedule;
  1124. getcxVoteAdd(params).then(res=>{
  1125. if(res.code==200){
  1126. that.$toast('操作成功')
  1127. setTimeout(function(){
  1128. that.getDetail();
  1129. uni.$emit('refreshdatalist')
  1130. that.type=''
  1131. },1200)
  1132. }
  1133. })
  1134. },
  1135. // 一票否决
  1136. getVoteFinish(){
  1137. var that=this;
  1138. uni.showModal({
  1139. title: '确认否决',
  1140. content: "是否一键否决该申请",
  1141. cancelText: '取消',
  1142. confirmText: '确认',
  1143. success: function(res) {
  1144. if (res.confirm) {
  1145. var params={
  1146. loanApplicationId:that.id,
  1147. }
  1148. getVoteFinish(params).then(res=>{
  1149. if(res.code==200){
  1150. that.$toast('一票否决成功')
  1151. setTimeout(function(){
  1152. that.getDetail();
  1153. uni.$emit('refreshdatalist')
  1154. that.type=''
  1155. },1200)
  1156. }
  1157. })
  1158. } else if (res.cancel) {
  1159. }
  1160. }
  1161. });
  1162. },
  1163. // 申诉
  1164. getSsshFn(data){
  1165. var that=this;
  1166. var params=this.shinfo;
  1167. params.loanApplicationId=this.id;
  1168. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1169. params.auditSchedule=this.auditSchedule;
  1170. params.auditType=this.datainfo.auditType;
  1171. params.aUserId=this.datainfo.aUserId;
  1172. params.bUserId=this.datainfo.bUserId;
  1173. params.enterpriseName=this.datainfo.enterpriseName;
  1174. getApplicationSs(params).then(res=>{
  1175. if(res.code==200){
  1176. that.$toast('操作成功')
  1177. setTimeout(function(){
  1178. that.getDetail();
  1179. uni.$emit('refreshdatalist')
  1180. that.type=''
  1181. },1200)
  1182. }
  1183. })
  1184. },
  1185. // 暂缓出具
  1186. getZanHuanFn(data){
  1187. var that=this;
  1188. var params=this.shinfo;
  1189. params.loanApplicationId=this.id;
  1190. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1191. params.aUserId=this.datainfo.aUserId;
  1192. params.enterpriseName=this.datainfo.enterpriseName;
  1193. getZanHuan(params).then(res=>{
  1194. if(res.code==200){
  1195. that.$toast('暂缓成功')
  1196. setTimeout(function(){
  1197. that.getDetail();
  1198. uni.$emit('refreshdatalist')
  1199. that.type=''
  1200. },1200)
  1201. }
  1202. })
  1203. },
  1204. //授权
  1205. getAuthorize(data){
  1206. var that=this;
  1207. uni.showModal({
  1208. title: '确认授权',
  1209. content: "是否授权A角提前开放款通知书?",
  1210. cancelText: '取消',
  1211. confirmText: '确认',
  1212. success: function(res) {
  1213. if (res.confirm) {
  1214. var params={};
  1215. params.loanApplicationId=that.id;
  1216. params.loanApplicationNumber=that.datainfo.loanApplicationNumber;
  1217. getAuthorize(params).then(res=>{
  1218. if(res.code==200){
  1219. that.$toast('授权成功')
  1220. setTimeout(function(){
  1221. that.getDetail();
  1222. uni.$emit('refreshdatalist')
  1223. that.type=''
  1224. },1200)
  1225. }
  1226. })
  1227. } else if (res.cancel) {
  1228. }
  1229. }
  1230. });
  1231. },
  1232. getShFn(type){
  1233. this.type=type;
  1234. this.mtype='';
  1235. },
  1236. getSsFn(){
  1237. var that=this;
  1238. var datainfo=JSON.parse(JSON.stringify(this.datainfo))
  1239. uni.showModal({
  1240. title: '确认申诉',
  1241. content: "是否确认申诉",
  1242. cancelText: '取消',
  1243. confirmText: '确认',
  1244. success: function(res) {
  1245. if (res.confirm) {
  1246. var params={
  1247. loanApplicationId:that.id,
  1248. loanApplicationNumber:datainfo.loanApplicationNumber,
  1249. aUserId:datainfo.aUserId,
  1250. bUserId:datainfo.bUserId,
  1251. auditType:datainfo.auditType,
  1252. enterpriseName:datainfo.enterpriseName,
  1253. ssType:1,
  1254. }
  1255. getApplicationSs(params).then(res=>{
  1256. if(res.code==200){
  1257. that.$toast("申诉成功")
  1258. setTimeout(function(){
  1259. that.getDetail();
  1260. uni.$emit('refreshdatalist')
  1261. },1200)
  1262. }
  1263. })
  1264. } else if (res.cancel) {
  1265. }
  1266. }
  1267. });
  1268. },
  1269. getCxFn(){
  1270. var that=this;
  1271. var datainfo=JSON.parse(JSON.stringify(this.datainfo))
  1272. uni.showModal({
  1273. title: '确认撤销',
  1274. content: "是否确认撤销",
  1275. cancelText: '取消',
  1276. confirmText: '确认',
  1277. success: function(res) {
  1278. if (res.confirm) {
  1279. that.mtype=''
  1280. var params={
  1281. loanApplicationId:that.id,
  1282. loanApplicationNumber:datainfo.loanApplicationNumber,
  1283. auditSchedule:that.auditSchedule,
  1284. loanSchedule:datainfo.loanSchedule,
  1285. loanApplicationType:datainfo.loanApplicationType,
  1286. auditType:datainfo.auditType,
  1287. reviewSchedule:datainfo.reviewSchedule,
  1288. enterpriseName:datainfo.enterpriseName,
  1289. aUserId:datainfo.aUserId,
  1290. bUserId:datainfo.bUserId,
  1291. fUserId:datainfo.fUserId,
  1292. }
  1293. getApplicationCx(params).then(res=>{
  1294. if(res.code==200){
  1295. that.$toast("撤销成功")
  1296. setTimeout(function(){
  1297. that.getDetail()
  1298. uni.$emit('refreshywlist')
  1299. // uni.navigateBack({
  1300. // delta:1
  1301. // })
  1302. },1200)
  1303. }
  1304. })
  1305. } else if (res.cancel) {
  1306. }
  1307. }
  1308. });
  1309. },
  1310. getXybFn(){
  1311. var that=this;
  1312. uni.showModal({
  1313. title: '确认推进',
  1314. content: "是否确认推进",
  1315. cancelText: '取消',
  1316. confirmText: '确认',
  1317. success: function(res) {
  1318. if (res.confirm) {
  1319. var params={
  1320. loanApplicationId:that.id,
  1321. auditSchedule:that.auditSchedule,
  1322. loanSchedule:that.datainfo.loanSchedule,
  1323. aUserId:that.datainfo.aUserId,
  1324. bUserId:that.datainfo.bUserId,
  1325. fUserId:that.datainfo.fUserId,
  1326. loanApplicationNumber:that.datainfo.loanApplicationNumber,
  1327. enterpriseName:that.datainfo.enterpriseName,
  1328. }
  1329. getapplicationXib(params).then(res=>{
  1330. if(res.code==200){
  1331. that.$toast("推进成功")
  1332. setTimeout(function(){
  1333. that.getDetail()
  1334. uni.$emit('refreshywlist')
  1335. },1200)
  1336. }
  1337. })
  1338. } else if (res.cancel) {
  1339. }
  1340. }
  1341. });
  1342. },
  1343. getGdFn(){
  1344. var that=this;
  1345. uni.showModal({
  1346. title: '确认归档',
  1347. content: "是否确认归档",
  1348. cancelText: '取消',
  1349. confirmText: '确认',
  1350. success: function(res) {
  1351. if (res.confirm) {
  1352. var params={
  1353. loanApplicationId:that.id,
  1354. auditSchedule:that.auditSchedule,
  1355. loanSchedule:that.datainfo.loanSchedule,
  1356. loanApplicationType:that.datainfo.loanApplicationType,
  1357. loanApplicationNumber:that.datainfo.loanApplicationNumber,
  1358. enterpriseName:that.datainfo.enterpriseName,
  1359. auditType:that.datainfo.auditType,
  1360. aUserId:that.datainfo.aUserId,
  1361. bUserId:that.datainfo.bUserId,
  1362. fUserId:that.datainfo.fUserId,
  1363. }
  1364. getapplicationGd(params).then(res=>{
  1365. if(res.code==200){
  1366. that.$toast("归档成功")
  1367. setTimeout(function(){
  1368. that.getDetail()
  1369. uni.$emit('refreshywlist')
  1370. // uni.navigateBack({
  1371. // delta:1
  1372. // })
  1373. },1200)
  1374. }
  1375. })
  1376. } else if (res.cancel) {
  1377. }
  1378. }
  1379. });
  1380. },
  1381. getMoreFn(type){
  1382. this.mtype=type;
  1383. this.mval=-1;
  1384. this.mtit=''
  1385. },
  1386. getSpeedFn(){
  1387. if(this.type){
  1388. this.type=''
  1389. }else{
  1390. this.type='ywjd'
  1391. }
  1392. },
  1393. getQmFn(url){
  1394. this.$tab.navigateTo("/work/pages/business/sign?url="+encodeURIComponent(JSON.stringify(url)))
  1395. },
  1396. getDel(){
  1397. var that=this;
  1398. uni.showModal({
  1399. title: '确认删除',
  1400. content: "是否确认删除",
  1401. cancelText: '取消',
  1402. confirmText: '确认',
  1403. success: function(res) {
  1404. if (res.confirm) {
  1405. getApplicationDel(that.id).then(res=>{
  1406. if(res.code==200){
  1407. that.$toast("删除成功")
  1408. setTimeout(function(){
  1409. uni.$emit('refreshdatalist')
  1410. uni.navigateBack({
  1411. delta:1
  1412. })
  1413. },1200)
  1414. }
  1415. })
  1416. } else if (res.cancel) {
  1417. }
  1418. }
  1419. });
  1420. },
  1421. getDetail(){
  1422. getApplicationDet(this.id).then(res=>{
  1423. if(res.code==200){
  1424. this.datainfo=res.data;
  1425. this.auditSchedule=res.data.auditSchedule
  1426. if(res.data.sysUserEnterprise){
  1427. this.qyinfo=res.data.sysUserEnterprise
  1428. }
  1429. // 反担保
  1430. if(res.data.guaranteeInfoList){
  1431. // 数据处理
  1432. var fdarlist=[],fdaqylist=[];
  1433. var gInfoList=res.data.guaranteeInfoList;
  1434. Object.keys(gInfoList).some((key) => {
  1435. var obj=gInfoList[key];
  1436. var fdblist=gInfoList[key].guaranteeInfoFjList;
  1437. fdblist=fdblist.filter((ite) => {
  1438. if(ite.type=='fdbrsfzrmx'||ite.type=='fdbrsfzghm'){
  1439. return ite.remark!=1
  1440. }else{
  1441. return ite.remark==1||this.getFilterFj(ite.url);
  1442. }
  1443. })
  1444. obj.guaranteeInfoFjList=JSON.parse(JSON.stringify(fdblist))
  1445. if(obj.type==1){
  1446. fdarlist.push(obj)
  1447. }else if(obj.type==2){
  1448. fdaqylist.push(obj)
  1449. }
  1450. })
  1451. this.fdarlist=JSON.parse(JSON.stringify(fdarlist));
  1452. this.fdaqylist=JSON.parse(JSON.stringify(fdaqylist));
  1453. }
  1454. if(res.data.basicFj){
  1455. // 数据处理
  1456. var basicFj=res.data.basicFj;
  1457. Object.keys(basicFj).some((key) => {
  1458. // a,b里面的全部都转pdf了
  1459. basicFj[key]=basicFj[key].filter((ite) => {
  1460. return ite.remark==1||this.getFilterFj(ite.url);
  1461. })
  1462. // 公司章程,企业征信,企业法人,实际控股人,配偶征信,个人征信,反担保企业征信
  1463. // if(key=='gszc'||key=='sqqyzxbg'||key=='glqyzxbg'||key=='qyfrzxbg'||key=='sjkgrzxbg'||key=='sjkgrpozxbg'||key=='fdbrgrzxbg'||key=='fdbqyzx'){
  1464. // basicFj[key]=basicFj[key].filter((ite) => {
  1465. // return ite.remark==1||this.getFilterFj(ite.url);
  1466. // })
  1467. // }
  1468. })
  1469. this.basicFj=JSON.parse(JSON.stringify(basicFj));
  1470. }
  1471. if(res.data.declareFj){
  1472. // 数据处理
  1473. var declareFj=res.data.declareFj;
  1474. Object.keys(declareFj).some((key) => {
  1475. // a,b里面的全部都转pdf了
  1476. declareFj[key]=declareFj[key].filter((ite) => {
  1477. return ite.remark==1||this.getFilterFj(ite.url);
  1478. })
  1479. })
  1480. this.declareFj=JSON.parse(JSON.stringify(declareFj));
  1481. }
  1482. this.stepval=res.data.loanSchedule||0;
  1483. // var auditSchedule=res.data.auditSchedule
  1484. // if(checkPermi(['system:hyperlink:list'])&&auditSchedule==5){
  1485. // this.getHyperlinkList();//外部链接stepval==4
  1486. // }else if(auditSchedule==1||auditSchedule==7){
  1487. // if(checkPermi(['system:user:noPageList'])){
  1488. // this.getUsernoPageList();//获取用户列表stepval==2||stepval==6
  1489. // }
  1490. // }
  1491. }
  1492. }).catch(error => {
  1493. setTimeout(function(){
  1494. uni.navigateBack({
  1495. delta:1
  1496. })
  1497. },1200)
  1498. })
  1499. },
  1500. // 数据处理
  1501. getFilterFj(url){
  1502. let index1 = url.lastIndexOf("."); // 得到一个索引值
  1503. let index2 = url.length;
  1504. let type = url.substring(index1, index2);
  1505. if ((type.indexOf('jpg') >-1 || type.indexOf('jpeg') > -1 || type.indexOf('png') > -1)) {
  1506. return false
  1507. }else{
  1508. return true
  1509. }
  1510. },
  1511. getHeightFn(){
  1512. let query = uni.createSelectorQuery().in(this);
  1513. //需要给黄色区域设置一个id标识,在这里是demo
  1514. query.select('.zxtop').boundingClientRect(data => {
  1515. this.listTop = data.height//赋值,待会要用
  1516. }).exec();
  1517. },
  1518. getPreview(url) {
  1519. var newArr=[];
  1520. newArr.push(url)
  1521. uni.previewImage({
  1522. urls: newArr,
  1523. current:0,
  1524. success: function(data) {
  1525. },
  1526. fail: function(err) {
  1527. }
  1528. });
  1529. },
  1530. onuploadEnd(item) {
  1531. var newobj={}
  1532. var responseText=JSON.parse(item.responseText)
  1533. newobj.name=responseText.originalFilename;
  1534. newobj.url=responseText.fileName;
  1535. this.filelist.push(newobj)
  1536. // this.datainfo.zsyzFjList=JSON.parse(JSON.stringify(this.filelist))
  1537. },
  1538. getXzFn(ite){
  1539. this.getDownloader(ite.url,ite.name)
  1540. },
  1541. getDown(e){
  1542. uni.showLoading({
  1543. title: '加载中'
  1544. });
  1545. var url=baseUrl+e;
  1546. let index1 = e.lastIndexOf("."); // 得到一个索引值
  1547. let index2 = e.length;
  1548. let type = e.substring(index1, index2);
  1549. if ((type.indexOf('jpg') > -1 || type.indexOf('jpeg') > -1 || type.indexOf('png') > -1)) {
  1550. uni.previewImage({
  1551. current: 0,
  1552. urls: [url],
  1553. // background: '#ffffff'
  1554. });
  1555. uni.hideLoading();
  1556. } else {
  1557. uni.downloadFile({
  1558. url: url,//文件的下载路径
  1559. success(result) {
  1560. uni.hideLoading()
  1561. var filePath = result.tempFilePath;
  1562. uni.openDocument({
  1563. filePath: filePath,
  1564. showMenu: true,
  1565. success: function (res) {
  1566. // console.log('打开文档成功');
  1567. }
  1568. });
  1569. },
  1570. fail(res) {uni.hideLoading()}
  1571. })
  1572. }
  1573. },
  1574. }
  1575. }
  1576. </script>
  1577. <style lang="scss" scoped>
  1578. .failtit{background: #FFECEC;font-weight: 500;font-size: 26rpx;color: #FF6969;text-align: center;line-height: 36rpx;padding: 22rpx;}
  1579. .zxtop{padding-bottom: 2rpx;}
  1580. .detop{background: #FFFFFF;padding:0rpx 24rpx;margin-bottom: 28rpx;flex: 0 0 auto;
  1581. position: relative;
  1582. .head{
  1583. padding: 40rpx 2rpx;border-bottom: 2rpx solid #E6E6E6;
  1584. .top{display: flex;align-items: center;overflow: hidden;
  1585. .toptit{font-weight: bold;font-size: 40rpx;color: #222327;}
  1586. .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;
  1587. image{width: 22rpx;height: 22rpx;margin-left: 6rpx;}
  1588. }
  1589. }
  1590. .adr{font-weight: 500;font-size: 26rpx;color: #666666;margin-top: 12rpx;}
  1591. }
  1592. .deta{display: flex;flex-wrap: wrap;padding: 16rpx 0 28rpx;
  1593. .lists{padding:20rpx 0;width: 33.3%;display: flex;flex-direction: column;align-items: center;position: relative;
  1594. &::after{width: 2rpx;height: 60rpx;background: #E6E6E6;content: '';position: absolute;right: 0;top: 50%;margin-top: -30rpx;}
  1595. &:nth-of-type(3n){
  1596. &::after{display: none;}
  1597. }
  1598. .tit{font-weight: 500;font-size: 26rpx;color: #AAAAAA;margin-bottom: 38rpx;}
  1599. .txt{font-weight: bold;font-size: 30rpx;color: #222327;padding: 0 10rpx;
  1600. text{font-size: 26rpx;color: #666666;font-weight: normal;}
  1601. }
  1602. }
  1603. }
  1604. }
  1605. .details{
  1606. // display: flex;flex-direction: column;height: 100vh;overflow: hidden;
  1607. }
  1608. .main{background-color: #FFFFFF;flex: 1;display: flex;flex-direction: column;overflow: hidden;
  1609. .tabs{padding: 0 6rpx 0 36rpx;display: flex;flex-wrap: nowrap;overflow: auto;flex: 0 0 auto;
  1610. &.tabfix{position: fixed;left: 0;right: 0;z-index: 2;top: 0;background-color: #ffffff;border-bottom: 2rpx solid #E6E6E6;}
  1611. .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;
  1612. &.act{color: #00A9F0;font-weight: bold;
  1613. &::after{width: 100%;background: #00A9F0;position: absolute;left: 0;bottom: 0;
  1614. border-radius: 2rpx;height: 4rpx;content: '';}
  1615. }
  1616. }
  1617. }
  1618. .mainb{flex: 1;overflow: auto;}
  1619. }
  1620. .speed{width: 96rpx;height: 140rpx;background: #FFFFFF;box-shadow: 0px 0px 14rpx 0px rgba(184,184,184,0.76);border-radius: 20rpx;
  1621. display: flex;align-items: center;flex-direction: column;justify-content: center;
  1622. position: absolute;right: 28rpx;top: 86rpx;z-index: 2;padding: 0 6rpx;
  1623. image{width: 26rpx;height: 28rpx;margin-bottom: 8rpx;}
  1624. view{font-weight: 500;font-size: 22rpx;color: #666666;}
  1625. }
  1626. .gdimg{width: 110rpx;height: 86rpx;position: absolute;right: 40rpx;top: 130rpx;}
  1627. //
  1628. .footbtns{width: 100%;height: 100rpx;position: fixed;left: 0;right: 0;bottom: 0;display: flex;
  1629. .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;
  1630. &.bga{background: $com-cd3;color: #FFFFFF;}
  1631. &.bgb{background: #FFFFFF;color: $com-cd3;}
  1632. &.bgc{background: #DF0303;color: #FFFFFF;}
  1633. &.bgd{background: #45cb99;color: #FFFFFF;}
  1634. &.bge{background: #ffac41;color: #FFFFFF;}
  1635. }
  1636. }
  1637. .morebox{
  1638. position: fixed;left: 0;right: 0;bottom: 0;z-index: 10;max-height: calc(100vh - 200rpx);overflow: auto;
  1639. .molists{
  1640. 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;
  1641. box-sizing: border-box;
  1642. &.mcoa{color: #00A9F0;}
  1643. }
  1644. }
  1645. .surbtns{
  1646. width: 100%;height: 100rpx;background: #00A9F0;display: flex;align-items: center;justify-content: center;
  1647. font-size: 30rpx;color: #ffffff;margin-top: 24rpx;
  1648. }
  1649. }
  1650. </style>