details.vue 58 KB

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