details.vue 57 KB

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