details.vue 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685
  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" @getXzFn="getXzFn"></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角色和可以全程修改checkPermi(['system:application:edit'])&& ||checkPermi(['*:*:*'])-->
  147. <view class="fbtns bge" v-if="checkPermi(['system:application:qued'])&&(stepval<3||userId==datainfo.aUserId&&stepval>2)" @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. status:0,
  695. }
  696. getUsernoPageList(params).then(res=>{
  697. if(res.code==200){
  698. this.userList=res.rows
  699. }
  700. })
  701. },
  702. getCommentsList(){
  703. var params={
  704. loanApplicationId:this.id,
  705. }
  706. getCommentsList(params).then(res=>{
  707. if(res.code==200){
  708. var newArr=res.rows;
  709. newArr.forEach(ite=>{
  710. if(ite.imageUrl){
  711. ite.imageUrl=ite.imageUrl.split(',')
  712. }
  713. })
  714. this.shlist=newArr
  715. }
  716. })
  717. },
  718. // 投票结果
  719. getVoteTimeList(){
  720. var params={
  721. loanApplicationId:this.id,
  722. }
  723. getVoteTimeList(params).then(res=>{
  724. if(res.code==200){
  725. var newArr=res.data;
  726. newArr.forEach(ite=>{
  727. ite.check=false
  728. })
  729. this.tplist=JSON.parse(JSON.stringify(newArr))
  730. }
  731. })
  732. },
  733. init(){
  734. // 用户类型
  735. getDictionaryFn('customer_type').then(res=>{
  736. if(res.code==200){
  737. this.yhlxlist = res.data.map(v => {
  738. return {
  739. label: v.dictLabel,
  740. value: v.dictValue
  741. }
  742. })
  743. }
  744. })
  745. // 婚姻状况
  746. getDictionaryFn('marital_status').then(res=>{
  747. if(res.code==200){
  748. this.hyztlist = res.data.map(v => {
  749. return {
  750. label: v.dictLabel,
  751. value: v.dictValue
  752. }
  753. })
  754. }
  755. })
  756. // 申贷银行
  757. getDictionaryFn('shendai_bank').then(res=>{
  758. if(res.code==200){
  759. this.sdyhlist = res.data.map(v => {
  760. return {
  761. label: v.dictLabel,
  762. value: v.dictValue
  763. }
  764. })
  765. }
  766. })
  767. //担保类型
  768. getDictionaryFn('guarantee_type').then(res=>{
  769. if(res.code==200){
  770. this.dblxlist = res.data.map(v => {
  771. return {
  772. label: v.dictLabel,
  773. value: v.dictValue
  774. }
  775. })
  776. }
  777. })
  778. // 附件信息
  779. getDictionaryFn('application_fj_sb').then(res=>{
  780. if(res.code==200){
  781. this.sbfjlist = res.data.map(v => {
  782. return {
  783. label: v.dictLabel,
  784. val: v.dictValue,
  785. fjlist:[]
  786. }
  787. })
  788. }
  789. })
  790. // // 文件出具
  791. getDictionaryFn('application_fj_wjcj').then(res=>{
  792. if(res.code==200){
  793. var obj={}
  794. this.wjcjlist = res.data.map(v => {
  795. // var key=v.dictValue
  796. obj[v.dictValue]=v.dictLabel
  797. return {
  798. label: v.dictLabel,
  799. val: v.dictValue,
  800. fjlist:[]
  801. }
  802. })
  803. this.wjcjobj=obj
  804. }
  805. })
  806. // 保后附件
  807. getDictionaryFn('baohou').then(res=>{
  808. if(res.code==200){
  809. var obj={}
  810. this.bhxxlist = res.data.map(v => {
  811. obj[v.dictValue]=v.dictLabel
  812. return {
  813. label: v.dictLabel,
  814. val: v.dictValue,
  815. }
  816. })
  817. this.bhxxobj=obj
  818. }
  819. })
  820. //审核状态
  821. getDictionaryFn('sh_status').then(res=>{
  822. if(res.code==200){
  823. this.shztlist = res.data.map(v => {
  824. return {
  825. label: v.dictLabel,
  826. value: v.dictValue,
  827. }
  828. })
  829. }
  830. })
  831. // 其他附件
  832. // getDictionaryFn('application_fj_other').then(res=>{
  833. // if(res.code==200){
  834. // var obj={}
  835. // this.qtfjlist = res.data.map(v => {
  836. // // var key=v.dictValue
  837. // obj[v.dictValue]=v.dictLabel
  838. // return {
  839. // label: v.dictLabel,
  840. // val: v.dictValue,
  841. // fjlist:[]
  842. // }
  843. // })
  844. // this.qtfjobj=obj
  845. // console.log(obj,1)
  846. // }
  847. // })
  848. //审核进度
  849. getDictionaryFn('audit_schedule').then(res=>{
  850. if(res.code==200){
  851. this.shjdlist = res.data.map(v => {
  852. return {
  853. label: v.dictLabel,
  854. value: v.dictValue,
  855. }
  856. })
  857. }
  858. })
  859. },
  860. getTab(val){
  861. this.tabval=val;
  862. uni.pageScrollTo({
  863. scrollTop: Number(this.listTop),
  864. duration: 0
  865. })
  866. if(val==5){
  867. this.getCommentsList()
  868. }else if(val==6){
  869. this.getVoteTimeList();
  870. }else if(val==4&&this.iscjflag){
  871. this.iscjflag=false;
  872. this.getDetail();
  873. }
  874. },
  875. // 出具
  876. getIssureFn(type,fileType){
  877. var that=this;
  878. that.iscjflag=true;
  879. var params={
  880. type:type,
  881. loanApplicationId:this.id,
  882. fileType:fileType,
  883. bigType:'c',
  884. customerType:that.datainfo.customerType
  885. }
  886. getExportMb(params).then(res=>{
  887. if(res.code==200){
  888. var data=res.data;
  889. var path=data.path;
  890. var name=data.fileName;
  891. var fileName = name.replace(/.*(\/|\\)/, ""); // 获得文件名
  892. var fileSuffix = (/[.]/.exec(fileName)) ? /[^.]+$/.exec(fileName.toLowerCase()) : ''; // 获得文件后缀
  893. var texthz=fileSuffix[0];
  894. var type=''
  895. // 在线编辑
  896. // 获取后缀
  897. var textType=that.textType;
  898. Object.keys(textType).some((key) => {
  899. if (textType[key].children.indexOf(texthz)!=-1) {
  900. type=`${textType[key].val}`
  901. return true;
  902. }
  903. })
  904. data.type=type
  905. that.$tab.navigateTo('/pages/common/webview/weboffice?data='+encodeURIComponent(JSON.stringify(data)))
  906. }
  907. })
  908. },
  909. getDownloader(path,name){
  910. console.log(path,name)
  911. // #ifdef APP-PLUS
  912. self.getFilePermissions(function(res){
  913. if(res==1){
  914. uni.showLoading({
  915. title: '加载中'
  916. });
  917. var url = baseUrl + path;
  918. let dtask = plus.downloader.createDownload(url, {
  919. filename: 'file://storage/emulated/0/'+baseName+'/' + name
  920. }, (d, status) => {
  921. //d为下载的文件对象
  922. if (status == 200) {
  923. uni.hideLoading();
  924. uni.showToast({
  925. icon: 'none',
  926. mask: true,
  927. title: '已保存到文件夹:/'+baseName+'/'+ name, //保存路径
  928. duration: 3000,
  929. });
  930. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  931. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  932. setTimeout(() => {
  933. plus.runtime.openFile(d.filename); //选择软件打开文件
  934. }, 1500)
  935. } else {
  936. //下载失败
  937. uni.hideLoading();
  938. plus.downloader.clear(); //清除下载任务
  939. uni.showToast({
  940. icon: 'none',
  941. mask: true,
  942. title: '下载失败,请稍后重试',
  943. });
  944. }
  945. })
  946. dtask.start();
  947. }else{
  948. uni.hideLoading();
  949. uni.showToast({
  950. title: '无法获取权限,文件下载将出错!',
  951. icon: 'none',
  952. })
  953. }
  954. })
  955. // #endif
  956. // #ifndef APP-PLUS
  957. this.getDown(path)
  958. // #endif
  959. },
  960. getClose(){
  961. this.type='';
  962. this.mtype='';
  963. },
  964. getupSubmit(data){
  965. this.shinfo=JSON.parse(JSON.stringify(data))
  966. var type=this.type;
  967. if(type=='ajssh'||type=='bjssh'){
  968. this.contype=this.type
  969. this.type='confirm'
  970. this.shtg=data.auditType
  971. }else if(type=='zhfkhgb'){
  972. this.getZanHuanFn()
  973. }else if(type=='shshty'){//上会
  974. this.getReview()
  975. }else if(type=='shsh'){//日期
  976. this.getVoteFive()
  977. }else if(type=='shshtp'){//投票
  978. this.getVoteAdd()
  979. }else if(type=='sssh'){//申诉
  980. this.getSsshFn()
  981. }else if(type=='cxtp'){//重新投票
  982. this.getcxVoteAdd()
  983. }else{
  984. this.getApplicationSh()
  985. }
  986. },
  987. getSure(){
  988. this.getApplicationSh()
  989. },
  990. getfjAdd(data){
  991. var that=this;
  992. var params=JSON.parse(JSON.stringify(data));
  993. var fjUrl=params.fjUrl;
  994. // params.loanApplicationId=this.id;
  995. // params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  996. // params.auditSchedule=this.auditSchedule;
  997. if(that.type=='fjedit'||that.type=='qtfjedit'){
  998. getFjEdit(fjUrl).then(res=>{
  999. if(res.code==200){
  1000. that.$toast('修改附件成功')
  1001. setTimeout(function(){
  1002. that.getDetail();
  1003. uni.$emit('refreshdatalist')
  1004. that.type=''
  1005. },1200)
  1006. }
  1007. })
  1008. }else{
  1009. getFjAdd(fjUrl).then(res=>{
  1010. if(res.code==200){
  1011. that.$toast('上传附件成功')
  1012. // 修改信息
  1013. if(that.type=='jj'){
  1014. var amount=params.actuallyAmount||"";
  1015. var time=params.actuallyTime||"";
  1016. that.getputActually(amount,time)
  1017. }else{
  1018. setTimeout(function(){
  1019. that.getDetail();
  1020. uni.$emit('refreshdatalist')
  1021. that.type=''
  1022. },1200)
  1023. }
  1024. }
  1025. })
  1026. }
  1027. },
  1028. getputActually(amount,time){
  1029. var that=this;
  1030. var params={
  1031. loanApplicationId:this.id,
  1032. actuallyAmount:amount,
  1033. actuallyTime:time,
  1034. }
  1035. getputActually(params).then(res=>{
  1036. if(res.code==200){
  1037. that.getDetail();
  1038. uni.$emit('refreshdatalist')
  1039. that.type=''
  1040. }
  1041. })
  1042. },
  1043. getApplicationSh(){
  1044. var that=this;
  1045. var params=this.shinfo;
  1046. params.loanApplicationId=this.id;
  1047. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1048. params.auditSchedule=this.auditSchedule;
  1049. params.enterpriseName=this.datainfo.enterpriseName;
  1050. getApplicationSh(params).then(res=>{
  1051. if(res.code==200){
  1052. that.$toast('审核成功')
  1053. setTimeout(function(){
  1054. that.getDetail();
  1055. uni.$emit('refreshdatalist')
  1056. that.type=''
  1057. },1200)
  1058. }
  1059. })
  1060. },
  1061. // 上会同意接口
  1062. getReview(data){
  1063. var that=this;
  1064. var params=this.shinfo;
  1065. params.loanApplicationId=this.id;
  1066. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1067. params.auditSchedule=this.auditSchedule;
  1068. params.aUserId=this.datainfo.aUserId;
  1069. params.loanSchedule=this.datainfo.loanSchedule;
  1070. params.auditType=this.datainfo.auditType;
  1071. params.enterpriseName=this.datainfo.enterpriseName;
  1072. getReview(params).then(res=>{
  1073. if(res.code==200){
  1074. that.$toast('审核成功')
  1075. setTimeout(function(){
  1076. that.getDetail();
  1077. uni.$emit('refreshdatalist')
  1078. that.type=''
  1079. },1200)
  1080. }
  1081. })
  1082. },
  1083. // 上会日期
  1084. getVoteFive(data){
  1085. var that=this;
  1086. var params=this.shinfo;
  1087. params.loanApplicationId=this.id;
  1088. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1089. params.enterpriseName=this.datainfo.enterpriseName;
  1090. // params.auditSchedule=this.auditSchedule;
  1091. getVoteFive(params).then(res=>{
  1092. if(res.code==200){
  1093. that.$toast('操作成功')
  1094. setTimeout(function(){
  1095. that.getDetail();
  1096. uni.$emit('refreshdatalist')
  1097. that.type=''
  1098. },1200)
  1099. }
  1100. })
  1101. },
  1102. // 上会投票
  1103. getVoteAdd(data){
  1104. var that=this;
  1105. var params=this.shinfo;
  1106. params.loanApplicationId=this.id;
  1107. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1108. params.auditSchedule=this.auditSchedule;
  1109. params.conferenceTime=this.datainfo.reviewTime;
  1110. getVoteAdd(params).then(res=>{
  1111. if(res.code==200){
  1112. that.$toast('投票成功')
  1113. setTimeout(function(){
  1114. that.getDetail();
  1115. uni.$emit('refreshdatalist')
  1116. that.type=''
  1117. },1200)
  1118. }
  1119. })
  1120. },
  1121. // 重新投票
  1122. getcxVoteAdd(){
  1123. var that=this;
  1124. var params=this.shinfo;
  1125. params.loanApplicationId=this.id;
  1126. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1127. // params.auditSchedule=this.auditSchedule;
  1128. getcxVoteAdd(params).then(res=>{
  1129. if(res.code==200){
  1130. that.$toast('操作成功')
  1131. setTimeout(function(){
  1132. that.getDetail();
  1133. uni.$emit('refreshdatalist')
  1134. that.type=''
  1135. },1200)
  1136. }
  1137. })
  1138. },
  1139. // 一票否决
  1140. getVoteFinish(){
  1141. var that=this;
  1142. uni.showModal({
  1143. title: '确认否决',
  1144. content: "是否一键否决该申请",
  1145. cancelText: '取消',
  1146. confirmText: '确认',
  1147. success: function(res) {
  1148. if (res.confirm) {
  1149. var params={
  1150. loanApplicationId:that.id,
  1151. }
  1152. getVoteFinish(params).then(res=>{
  1153. if(res.code==200){
  1154. that.$toast('一票否决成功')
  1155. setTimeout(function(){
  1156. that.getDetail();
  1157. uni.$emit('refreshdatalist')
  1158. that.type=''
  1159. },1200)
  1160. }
  1161. })
  1162. } else if (res.cancel) {
  1163. }
  1164. }
  1165. });
  1166. },
  1167. // 申诉
  1168. getSsshFn(data){
  1169. var that=this;
  1170. var params=this.shinfo;
  1171. params.loanApplicationId=this.id;
  1172. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1173. params.auditSchedule=this.auditSchedule;
  1174. params.auditType=this.datainfo.auditType;
  1175. params.aUserId=this.datainfo.aUserId;
  1176. params.bUserId=this.datainfo.bUserId;
  1177. params.enterpriseName=this.datainfo.enterpriseName;
  1178. getApplicationSs(params).then(res=>{
  1179. if(res.code==200){
  1180. that.$toast('操作成功')
  1181. setTimeout(function(){
  1182. that.getDetail();
  1183. uni.$emit('refreshdatalist')
  1184. that.type=''
  1185. },1200)
  1186. }
  1187. })
  1188. },
  1189. // 暂缓出具
  1190. getZanHuanFn(data){
  1191. var that=this;
  1192. var params=this.shinfo;
  1193. params.loanApplicationId=this.id;
  1194. params.loanApplicationNumber=this.datainfo.loanApplicationNumber;
  1195. params.aUserId=this.datainfo.aUserId;
  1196. params.enterpriseName=this.datainfo.enterpriseName;
  1197. getZanHuan(params).then(res=>{
  1198. if(res.code==200){
  1199. that.$toast('暂缓成功')
  1200. setTimeout(function(){
  1201. that.getDetail();
  1202. uni.$emit('refreshdatalist')
  1203. that.type=''
  1204. },1200)
  1205. }
  1206. })
  1207. },
  1208. //授权
  1209. getAuthorize(data){
  1210. var that=this;
  1211. uni.showModal({
  1212. title: '确认授权',
  1213. content: "是否授权A角提前开放款通知书?",
  1214. cancelText: '取消',
  1215. confirmText: '确认',
  1216. success: function(res) {
  1217. if (res.confirm) {
  1218. var params={};
  1219. params.loanApplicationId=that.id;
  1220. params.loanApplicationNumber=that.datainfo.loanApplicationNumber;
  1221. getAuthorize(params).then(res=>{
  1222. if(res.code==200){
  1223. that.$toast('授权成功')
  1224. setTimeout(function(){
  1225. that.getDetail();
  1226. uni.$emit('refreshdatalist')
  1227. that.type=''
  1228. },1200)
  1229. }
  1230. })
  1231. } else if (res.cancel) {
  1232. }
  1233. }
  1234. });
  1235. },
  1236. getShFn(type){
  1237. this.type=type;
  1238. this.mtype='';
  1239. },
  1240. getSsFn(){
  1241. var that=this;
  1242. var datainfo=JSON.parse(JSON.stringify(this.datainfo))
  1243. uni.showModal({
  1244. title: '确认申诉',
  1245. content: "是否确认申诉",
  1246. cancelText: '取消',
  1247. confirmText: '确认',
  1248. success: function(res) {
  1249. if (res.confirm) {
  1250. var params={
  1251. loanApplicationId:that.id,
  1252. loanApplicationNumber:datainfo.loanApplicationNumber,
  1253. aUserId:datainfo.aUserId,
  1254. bUserId:datainfo.bUserId,
  1255. auditType:datainfo.auditType,
  1256. enterpriseName:datainfo.enterpriseName,
  1257. ssType:1,
  1258. }
  1259. getApplicationSs(params).then(res=>{
  1260. if(res.code==200){
  1261. that.$toast("申诉成功")
  1262. setTimeout(function(){
  1263. that.getDetail();
  1264. uni.$emit('refreshdatalist')
  1265. },1200)
  1266. }
  1267. })
  1268. } else if (res.cancel) {
  1269. }
  1270. }
  1271. });
  1272. },
  1273. getCxFn(){
  1274. var that=this;
  1275. var datainfo=JSON.parse(JSON.stringify(this.datainfo))
  1276. uni.showModal({
  1277. title: '确认撤销',
  1278. content: "是否确认撤销",
  1279. cancelText: '取消',
  1280. confirmText: '确认',
  1281. success: function(res) {
  1282. if (res.confirm) {
  1283. that.mtype=''
  1284. var params={
  1285. loanApplicationId:that.id,
  1286. loanApplicationNumber:datainfo.loanApplicationNumber,
  1287. auditSchedule:that.auditSchedule,
  1288. loanSchedule:datainfo.loanSchedule,
  1289. loanApplicationType:datainfo.loanApplicationType,
  1290. auditType:datainfo.auditType,
  1291. reviewSchedule:datainfo.reviewSchedule,
  1292. enterpriseName:datainfo.enterpriseName,
  1293. aUserId:datainfo.aUserId,
  1294. bUserId:datainfo.bUserId,
  1295. fUserId:datainfo.fUserId,
  1296. }
  1297. getApplicationCx(params).then(res=>{
  1298. if(res.code==200){
  1299. that.$toast("撤销成功")
  1300. setTimeout(function(){
  1301. that.getDetail()
  1302. uni.$emit('refreshywlist')
  1303. // uni.navigateBack({
  1304. // delta:1
  1305. // })
  1306. },1200)
  1307. }
  1308. })
  1309. } else if (res.cancel) {
  1310. }
  1311. }
  1312. });
  1313. },
  1314. getXybFn(){
  1315. var that=this;
  1316. uni.showModal({
  1317. title: '确认推进',
  1318. content: "是否确认推进",
  1319. cancelText: '取消',
  1320. confirmText: '确认',
  1321. success: function(res) {
  1322. if (res.confirm) {
  1323. var params={
  1324. loanApplicationId:that.id,
  1325. auditSchedule:that.auditSchedule,
  1326. loanSchedule:that.datainfo.loanSchedule,
  1327. aUserId:that.datainfo.aUserId,
  1328. bUserId:that.datainfo.bUserId,
  1329. fUserId:that.datainfo.fUserId,
  1330. loanApplicationNumber:that.datainfo.loanApplicationNumber,
  1331. enterpriseName:that.datainfo.enterpriseName,
  1332. }
  1333. getapplicationXib(params).then(res=>{
  1334. if(res.code==200){
  1335. that.$toast("推进成功")
  1336. setTimeout(function(){
  1337. that.getDetail()
  1338. uni.$emit('refreshywlist')
  1339. },1200)
  1340. }
  1341. })
  1342. } else if (res.cancel) {
  1343. }
  1344. }
  1345. });
  1346. },
  1347. getGdFn(){
  1348. var that=this;
  1349. uni.showModal({
  1350. title: '确认归档',
  1351. content: "是否确认归档",
  1352. cancelText: '取消',
  1353. confirmText: '确认',
  1354. success: function(res) {
  1355. if (res.confirm) {
  1356. var params={
  1357. loanApplicationId:that.id,
  1358. auditSchedule:that.auditSchedule,
  1359. loanSchedule:that.datainfo.loanSchedule,
  1360. loanApplicationType:that.datainfo.loanApplicationType,
  1361. loanApplicationNumber:that.datainfo.loanApplicationNumber,
  1362. enterpriseName:that.datainfo.enterpriseName,
  1363. auditType:that.datainfo.auditType,
  1364. aUserId:that.datainfo.aUserId,
  1365. bUserId:that.datainfo.bUserId,
  1366. fUserId:that.datainfo.fUserId,
  1367. }
  1368. getapplicationGd(params).then(res=>{
  1369. if(res.code==200){
  1370. that.$toast("归档成功")
  1371. setTimeout(function(){
  1372. that.getDetail()
  1373. uni.$emit('refreshywlist')
  1374. // uni.navigateBack({
  1375. // delta:1
  1376. // })
  1377. },1200)
  1378. }
  1379. })
  1380. } else if (res.cancel) {
  1381. }
  1382. }
  1383. });
  1384. },
  1385. getMoreFn(type){
  1386. this.mtype=type;
  1387. this.mval=-1;
  1388. this.mtit=''
  1389. },
  1390. getSpeedFn(){
  1391. if(this.type){
  1392. this.type=''
  1393. }else{
  1394. this.type='ywjd'
  1395. }
  1396. },
  1397. getQmFn(url){
  1398. this.$tab.navigateTo("/work/pages/business/sign?url="+encodeURIComponent(JSON.stringify(url)))
  1399. },
  1400. getDel(){
  1401. var that=this;
  1402. uni.showModal({
  1403. title: '确认删除',
  1404. content: "是否确认删除",
  1405. cancelText: '取消',
  1406. confirmText: '确认',
  1407. success: function(res) {
  1408. if (res.confirm) {
  1409. getApplicationDel(that.id).then(res=>{
  1410. if(res.code==200){
  1411. that.$toast("删除成功")
  1412. setTimeout(function(){
  1413. uni.$emit('refreshdatalist')
  1414. uni.navigateBack({
  1415. delta:1
  1416. })
  1417. },1200)
  1418. }
  1419. })
  1420. } else if (res.cancel) {
  1421. }
  1422. }
  1423. });
  1424. },
  1425. getDetail(){
  1426. getApplicationDet(this.id).then(res=>{
  1427. if(res.code==200){
  1428. this.datainfo=res.data;
  1429. this.auditSchedule=res.data.auditSchedule
  1430. if(res.data.sysUserEnterprise){
  1431. this.qyinfo=res.data.sysUserEnterprise
  1432. }
  1433. // 反担保
  1434. if(res.data.guaranteeInfoList){
  1435. // 数据处理
  1436. var fdarlist=[],fdaqylist=[];
  1437. var gInfoList=res.data.guaranteeInfoList;
  1438. Object.keys(gInfoList).some((key) => {
  1439. var obj=gInfoList[key];
  1440. var fdblist=gInfoList[key].guaranteeInfoFjList;
  1441. fdblist=fdblist.filter((ite) => {
  1442. if(ite.type=='fdbrsfzrmx'||ite.type=='fdbrsfzghm'){
  1443. return ite.remark!=1
  1444. }else{
  1445. return ite.remark==1||this.getFilterFj(ite.url);
  1446. }
  1447. })
  1448. obj.guaranteeInfoFjList=JSON.parse(JSON.stringify(fdblist))
  1449. if(obj.type==1){
  1450. fdarlist.push(obj)
  1451. }else if(obj.type==2){
  1452. fdaqylist.push(obj)
  1453. }
  1454. })
  1455. this.fdarlist=JSON.parse(JSON.stringify(fdarlist));
  1456. this.fdaqylist=JSON.parse(JSON.stringify(fdaqylist));
  1457. }
  1458. if(res.data.basicFj){
  1459. // 数据处理
  1460. var basicFj=res.data.basicFj;
  1461. Object.keys(basicFj).some((key) => {
  1462. // a,b里面的全部都转pdf了,营业执照
  1463. if(key!='gsyyzhz'){
  1464. basicFj[key]=basicFj[key].filter((ite) => {
  1465. return ite.remark==1||this.getFilterFj(ite.url);
  1466. })
  1467. }
  1468. // 公司章程,企业征信,企业法人,实际控股人,配偶征信,个人征信,反担保企业征信
  1469. // if(key=='gszc'||key=='sqqyzxbg'||key=='glqyzxbg'||key=='qyfrzxbg'||key=='sjkgrzxbg'||key=='sj
  1470. // basicFj[key]=basicFj[key].filter((ite) => {
  1471. // return ite.remark==1||this.getFilterFj(ite.url);
  1472. // })
  1473. // }
  1474. })
  1475. this.basicFj=JSON.parse(JSON.stringify(basicFj));
  1476. }
  1477. if(res.data.declareFj){
  1478. // 数据处理
  1479. var declareFj=res.data.declareFj;
  1480. Object.keys(declareFj).some((key) => {
  1481. // a,b里面的全部都转pdf了
  1482. declareFj[key]=declareFj[key].filter((ite) => {
  1483. return ite.remark==1||this.getFilterFj(ite.url);
  1484. })
  1485. })
  1486. this.declareFj=JSON.parse(JSON.stringify(declareFj));
  1487. }
  1488. this.stepval=res.data.loanSchedule||0;
  1489. // var auditSchedule=res.data.auditSchedule
  1490. // if(checkPermi(['system:hyperlink:list'])&&auditSchedule==5){
  1491. // this.getHyperlinkList();//外部链接stepval==4
  1492. // }else if(auditSchedule==1||auditSchedule==7){
  1493. // if(checkPermi(['system:user:noPageList'])){
  1494. // this.getUsernoPageList();//获取用户列表stepval==2||stepval==6
  1495. // }
  1496. // }
  1497. }
  1498. }).catch(error => {
  1499. setTimeout(function(){
  1500. uni.navigateBack({
  1501. delta:1
  1502. })
  1503. },1500)
  1504. })
  1505. },
  1506. // 数据处理
  1507. getFilterFj(url){
  1508. let index1 = url.lastIndexOf("."); // 得到一个索引值
  1509. let index2 = url.length;
  1510. let type = url.substring(index1, index2);
  1511. if ((type.indexOf('jpg') >-1 || type.indexOf('jpeg') > -1 || type.indexOf('png') > -1)) {
  1512. return false
  1513. }else{
  1514. return true
  1515. }
  1516. },
  1517. getHeightFn(){
  1518. let query = uni.createSelectorQuery().in(this);
  1519. //需要给黄色区域设置一个id标识,在这里是demo
  1520. query.select('.zxtop').boundingClientRect(data => {
  1521. this.listTop = data.height//赋值,待会要用
  1522. }).exec();
  1523. },
  1524. getPreview(url) {
  1525. var newArr=[];
  1526. newArr.push(url)
  1527. uni.previewImage({
  1528. urls: newArr,
  1529. current:0,
  1530. success: function(data) {
  1531. },
  1532. fail: function(err) {
  1533. }
  1534. });
  1535. },
  1536. onuploadEnd(item) {
  1537. var newobj={}
  1538. var responseText=JSON.parse(item.responseText)
  1539. newobj.name=responseText.originalFilename;
  1540. newobj.url=responseText.fileName;
  1541. this.filelist.push(newobj)
  1542. // this.datainfo.zsyzFjList=JSON.parse(JSON.stringify(this.filelist))
  1543. },
  1544. getXzFn(ite){
  1545. this.getDownloader(ite.url,ite.name)
  1546. },
  1547. getDown(e){
  1548. uni.showLoading({
  1549. title: '加载中'
  1550. });
  1551. var url=baseUrl+e;
  1552. let index1 = e.lastIndexOf("."); // 得到一个索引值
  1553. let index2 = e.length;
  1554. let type = e.substring(index1, index2);
  1555. if ((type.indexOf('jpg') > -1 || type.indexOf('jpeg') > -1 || type.indexOf('png') > -1)) {
  1556. uni.previewImage({
  1557. current: 0,
  1558. urls: [url],
  1559. // background: '#ffffff'
  1560. });
  1561. uni.hideLoading();
  1562. } else {
  1563. uni.downloadFile({
  1564. url: url,//文件的下载路径
  1565. success(result) {
  1566. uni.hideLoading()
  1567. var filePath = result.tempFilePath;
  1568. uni.openDocument({
  1569. filePath: filePath,
  1570. showMenu: true,
  1571. success: function (res) {
  1572. // console.log('打开文档成功');
  1573. }
  1574. });
  1575. },
  1576. fail(res) {uni.hideLoading()}
  1577. })
  1578. }
  1579. },
  1580. }
  1581. }
  1582. </script>
  1583. <style lang="scss" scoped>
  1584. .failtit{background: #FFECEC;font-weight: 500;font-size: 26rpx;color: #FF6969;text-align: center;line-height: 36rpx;padding: 22rpx;}
  1585. .zxtop{padding-bottom: 2rpx;}
  1586. .detop{background: #FFFFFF;padding:0rpx 24rpx;margin-bottom: 28rpx;flex: 0 0 auto;
  1587. position: relative;
  1588. .head{
  1589. padding: 40rpx 2rpx;border-bottom: 2rpx solid #E6E6E6;
  1590. .top{display: flex;align-items: center;overflow: hidden;
  1591. .toptit{font-weight: bold;font-size: 40rpx;color: #222327;}
  1592. .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;
  1593. image{width: 22rpx;height: 22rpx;margin-left: 6rpx;}
  1594. }
  1595. }
  1596. .adr{font-weight: 500;font-size: 26rpx;color: #666666;margin-top: 12rpx;}
  1597. }
  1598. .deta{display: flex;flex-wrap: wrap;padding: 16rpx 0 28rpx;
  1599. .lists{padding:20rpx 0;width: 33.3%;display: flex;flex-direction: column;align-items: center;position: relative;
  1600. &::after{width: 2rpx;height: 60rpx;background: #E6E6E6;content: '';position: absolute;right: 0;top: 50%;margin-top: -30rpx;}
  1601. &:nth-of-type(3n){
  1602. &::after{display: none;}
  1603. }
  1604. .tit{font-weight: 500;font-size: 26rpx;color: #AAAAAA;margin-bottom: 38rpx;}
  1605. .txt{font-weight: bold;font-size: 30rpx;color: #222327;padding: 0 10rpx;
  1606. text{font-size: 26rpx;color: #666666;font-weight: normal;}
  1607. }
  1608. }
  1609. }
  1610. }
  1611. .details{
  1612. // display: flex;flex-direction: column;height: 100vh;overflow: hidden;
  1613. }
  1614. .main{background-color: #FFFFFF;flex: 1;display: flex;flex-direction: column;overflow: hidden;
  1615. .tabs{padding: 0 6rpx 0 36rpx;display: flex;flex-wrap: nowrap;overflow: auto;flex: 0 0 auto;
  1616. &.tabfix{position: fixed;left: 0;right: 0;z-index: 2;top: 0;background-color: #ffffff;border-bottom: 2rpx solid #E6E6E6;}
  1617. .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;
  1618. &.act{color: #00A9F0;font-weight: bold;
  1619. &::after{width: 100%;background: #00A9F0;position: absolute;left: 0;bottom: 0;
  1620. border-radius: 2rpx;height: 4rpx;content: '';}
  1621. }
  1622. }
  1623. }
  1624. .mainb{flex: 1;overflow: auto;}
  1625. }
  1626. .speed{width: 96rpx;height: 140rpx;background: #FFFFFF;box-shadow: 0px 0px 14rpx 0px rgba(184,184,184,0.76);border-radius: 20rpx;
  1627. display: flex;align-items: center;flex-direction: column;justify-content: center;
  1628. position: absolute;right: 28rpx;top: 86rpx;z-index: 2;padding: 0 6rpx;
  1629. image{width: 26rpx;height: 28rpx;margin-bottom: 8rpx;}
  1630. view{font-weight: 500;font-size: 22rpx;color: #666666;}
  1631. }
  1632. .gdimg{width: 110rpx;height: 86rpx;position: absolute;right: 40rpx;top: 130rpx;}
  1633. //
  1634. .footbtns{width: 100%;height: 100rpx;position: fixed;left: 0;right: 0;bottom: 0;display: flex;
  1635. .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;
  1636. &.bga{background: $com-cd3;color: #FFFFFF;}
  1637. &.bgb{background: #FFFFFF;color: $com-cd3;}
  1638. &.bgc{background: #DF0303;color: #FFFFFF;}
  1639. &.bgd{background: #45cb99;color: #FFFFFF;}
  1640. &.bge{background: #ffac41;color: #FFFFFF;}
  1641. }
  1642. }
  1643. .morebox{
  1644. position: fixed;left: 0;right: 0;bottom: 0;z-index: 10;max-height: calc(100vh - 200rpx);overflow: auto;
  1645. .molists{
  1646. 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;
  1647. box-sizing: border-box;
  1648. &.mcoa{color: #00A9F0;}
  1649. }
  1650. }
  1651. .surbtns{
  1652. width: 100%;height: 100rpx;background: #00A9F0;display: flex;align-items: center;justify-content: center;
  1653. font-size: 30rpx;color: #ffffff;margin-top: 24rpx;
  1654. }
  1655. }
  1656. </style>