details.vue 58 KB

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