popup.vue 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338
  1. <template>
  2. <view>
  3. <!-- 弹窗 -->
  4. <view class="bgbox" @click="getClose" v-if="type"></view>
  5. <!-- 业务进度 -->
  6. <view class="speedbox" v-if="type=='ywjd'">
  7. <view class="tit">业务进度</view>
  8. <view class="lists" v-for="(ite,idx) in stepList" :key='idx'>
  9. <view class="listl">
  10. <image :src="stepa" class="imga" v-if="Number(stepval)>Number(ite.loanScheduleValue)"></image>
  11. <image :src="stepb" v-else-if="stepval==ite.loanScheduleValue"></image>
  12. <image :src="stepc" v-else></image>
  13. </view>
  14. <view class="listr">
  15. <view class="ltit" :class="stepval==ite.loanScheduleValue?'act':''">{{ite.loanScheduleName}}</view>
  16. <view class="ltxt">{{ite.loanScheduleTime}}</view>
  17. </view>
  18. </view>
  19. </view>
  20. <!-- 业务审核 -->
  21. <view class="fixbox" v-if="type=='sh'">
  22. <view class="cloimg" @click="getClose">
  23. <image :src="closeimg"></image>
  24. </view>
  25. <view class="ttit">业务审核</view>
  26. <view class="mb16">
  27. <view class="ttxt mb18">是否同意进入初审</view>
  28. <uni-data-checkbox :selectedColor="actcolor" v-model="isty" :localdata="tyList" />
  29. </view>
  30. <view class="mb16">
  31. <view class="ttxt mb18">审核意见</view>
  32. <textarea class="textar" style="min-height: 156rpx;" maxlength="-1" autoHeight="true" v-model="shtext" placeholder="若不同意进入初审,请填写理由…"></textarea>
  33. </view>
  34. <block v-if="isty!=3">
  35. <view class="mb16">
  36. <!-- :chosevalue="datainfo.name" -->
  37. <view class="ttxt mb18">分配A角</view>
  38. <w-select
  39. :list='userList'
  40. valueName='userName'
  41. keyName="userId"
  42. :filterable='filterable'
  43. width='100%'
  44. height="44px"
  45. @change='getchangea'
  46. >
  47. </w-select>
  48. </view>
  49. <view class="mb16">
  50. <view class="ttxt mb18">分配B角</view>
  51. <w-select
  52. :list='userList'
  53. valueName='userName'
  54. keyName="userId"
  55. :filterable='filterable'
  56. width='100%'
  57. height="44px"
  58. @change='getchangeb'
  59. >
  60. </w-select>
  61. <!-- <uni-data-select v-model="mycdtxt" placeholder="请选择B角" :localdata="mycdlist" ></uni-data-select> -->
  62. </view>
  63. <view class="mb16">
  64. <view class="ttxt mb18">分配风险人员</view>
  65. <w-select
  66. :list='userList'
  67. valueName='userName'
  68. keyName="userId"
  69. :filterable='filterable'
  70. width='100%'
  71. height="44px"
  72. @change='getchangec'
  73. >
  74. </w-select>
  75. <!-- <uni-data-select v-model="mycdtxt" placeholder="请选择B角" :localdata="mycdlist" ></uni-data-select> -->
  76. </view>
  77. </block>
  78. <!-- <view class="btns" @click="getupSubmit">确认<block v-if="isty!=3">并生成担保意向函</block></view> -->
  79. <view class="btns" @click="getupSubmit">确认</view>
  80. </view>
  81. <!-- a,b角色审核 -->
  82. <view class="fixbox" v-if="type=='ajssh'||type=='bjssh'">
  83. <view class="cloimg" @click="getClose">
  84. <image :src="closeimg"></image>
  85. </view>
  86. <view class="ttit">担保初审</view>
  87. <view class="mb16">
  88. <view class="ttxt mb18">是否通过</view>
  89. <uni-data-checkbox :selectedColor="actcolor" v-model="isty" :localdata="tgList" />
  90. </view>
  91. <view >
  92. <view class="ttxt mb18">审核意见</view>
  93. <textarea class="textar" style="min-height: 156rpx;" maxlength="-1" autoHeight="true" v-model="shtext" placeholder="若资料不予通过,请填写理由…"></textarea>
  94. </view>
  95. <view class="btns" @click="getupSubmit">确认</view>
  96. <view class="shtips" v-if="type=='ajssh'">* 提交后将交由B角复核,误操可撤回</view>
  97. <view class="shtips" v-if="type=='bjssh'">* 提交后将交由风险部进行风险审核,误操可撤回</view>
  98. </view>
  99. <!-- 风险部审核 fxsh-->
  100. <view class="fixbox" v-if="type=='fxsh'">
  101. <view class="cloimg" @click="getClose">
  102. <image :src="closeimg"></image>
  103. </view>
  104. <view class="ttit">风险审核</view>
  105. <view class="mb16">
  106. <view class="ttxt mb18">是否通过</view>
  107. <uni-data-checkbox :selectedColor="actcolor" v-model="isty" :localdata="tgList" />
  108. </view>
  109. <view class="mb16">
  110. <view class="ttxt mb18">审核意见</view>
  111. <textarea class="textar" style="min-height: 156rpx;" maxlength="-1" autoHeight="true" v-model="shtext" placeholder="若资料不予通过,请填写理由…"></textarea>
  112. </view>
  113. <view class="btns" @click="getupSubmit">确认</view>
  114. </view>
  115. <!-- 初审风险审核 -->
  116. <view class="fixbox" v-if="type=='fxbmsh'">
  117. <view class="cloimg" @click="getClose">
  118. <image :src="closeimg"></image>
  119. </view>
  120. <view class="ttit">风险审核</view>
  121. <view class="mb16">
  122. <view class="ttxt mb18">是否通过</view>
  123. <uni-data-checkbox :selectedColor="actcolor" v-model="isty" :localdata="tgList" />
  124. </view>
  125. <view class="mb16">
  126. <view class="ttxt mb18">审核意见</view>
  127. <textarea class="textar" style="min-height: 156rpx;" maxlength="-1" autoHeight="true" v-model="shtext" placeholder="若资料不予通过,请填写理由…"></textarea>
  128. </view>
  129. <view class="mb16">
  130. <!-- 担保项目合法合规表 -->
  131. <view class="ttxt mb18 flexcj">附件信息
  132. <lsj-upload ref="lsjUpload" childId="upload1" :loanApplicationId="loanApplicationId" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  133. @progress="" @uploadEnd="onuploadEnd" :fileName="wjcjobj.dbxmhfhgb" fileVal='dbxmhfhgb' bigType="c">
  134. <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
  135. </lsj-upload>
  136. </view>
  137. <view class="fjlists" v-for="(fite,fidx) in filelist" :key='fidx'>
  138. <view class="flext" @click="getDown(fite.url)">
  139. <view class="imgl"><image :src="filico" ></image></view>
  140. <view class="tit">{{fite.name}}</view>
  141. </view>
  142. <view class="delimg flex0" @click.stop="getDelFj(fidx)">
  143. <image :src="fdelimg"></image>
  144. </view>
  145. </view>
  146. </view>
  147. <view class="btns" @click="getupSubmit">确认</view>
  148. </view>
  149. <!-- 上会同意 1-->
  150. <view class="fixbox" v-if="type=='shshty'">
  151. <view class="cloimg" @click="getClose">
  152. <image :src="closeimg"></image>
  153. </view>
  154. <view class="ttit">上会审核</view>
  155. <view class="mb16">
  156. <view class="ttxt mb18">是否同意上评审会</view>
  157. <uni-data-checkbox :selectedColor="actcolor" v-model="isty" :localdata="tyList" />
  158. </view>
  159. <view class="mb16">
  160. <view class="ttxt mb18">审核意见</view>
  161. <textarea class="textar" v-model="shtext" style="min-height: 156rpx;" maxlength="-1" autoHeight="true" placeholder="若不同意上会,请填写理由…"></textarea>
  162. </view>
  163. <view class="btns" style="margin-top: 18rpx;" @click="getupSubmit">确认</view>
  164. </view>
  165. <!-- 上会管理员审核2 shsh -->
  166. <view class="fixbox" v-if="type=='shsh'">
  167. <view class="cloimg" @click="getClose">
  168. <image :src="closeimg"></image>
  169. </view>
  170. <view class="ttit">上会日期</view>
  171. <!-- <view class="mb16">
  172. <view class="ttxt mb18">是否同意上评审会</view>
  173. <uni-data-checkbox :selectedColor="actcolor" v-model="isty" :localdata="tyList" />
  174. </view> -->
  175. <view class="mb16" v-if="isty!=3">
  176. <view class="ttxt mb18">评审会日期</view>
  177. <picker mode="date" @change='bindDateChangea'>
  178. <view class="chekt">
  179. <view :class="jtri?'':'coa'">{{jtri|| "请选择具体日期"}}</view>
  180. <image :src="upimg"></image>
  181. </view>
  182. </picker>
  183. </view>
  184. <view class="mb16" v-if="isty!=3">
  185. <view class="ttxt mb18">评审会时间</view>
  186. <picker mode="time" @change='bindDateChangeb'>
  187. <view class="chekt">
  188. <view :class="jtsj?'':'coa'">{{jtsj|| "请选择具体时间"}}</view>
  189. <image :src="upimg"></image>
  190. </view>
  191. </picker>
  192. </view>
  193. <!-- <view class="mb16">
  194. <view class="ttxt mb18">审核意见</view>
  195. <textarea class="textar" v-model="shtext" style="min-height: 156rpx;" maxlength="-1" autoHeight="true" placeholder="若不同意上会,请填写理由…"></textarea>
  196. </view> -->
  197. <!-- <view class="mb16" v-if="isty!=3">
  198. <view class="ttxt mb18 flexcj">评委
  199. <view class="addsh" @click="getAddFn" >
  200. <image :src="addpeimg"></image>添加评委
  201. </view>
  202. </view>
  203. <view class="peolists">
  204. <view class="plist" v-for="(ite,idx) in shrylist" :key="idx">
  205. <view class="flex1 over">{{ite.realName}}</view>
  206. <image :src="fdelimg" @click="getDelRy(idx)"></image>
  207. </view>
  208. </view>
  209. </view> -->
  210. <!-- <view class="shshtips">* 确认上会后,即出具评审意见签批表、股东会决议</view> -->
  211. <view class="btns" style="margin-top: 18rpx;" @click="getupSubmit">确认</view>
  212. </view>
  213. <!-- 上会投票3 shshtp -->
  214. <view class="fixbox" v-if="type=='shshtp'">
  215. <view class="cloimg" @click="getClose">
  216. <image :src="closeimg"></image>
  217. </view>
  218. <view class="ttit">上会投票</view>
  219. <view class="mb16">
  220. <view class="ttxt mb18">是否同意</view>
  221. <uni-data-checkbox :selectedColor="actcolor" v-model="issf" :localdata="sfList" />
  222. </view>
  223. <view class="mb16">
  224. <view class="ttxt mb18">担保额度</view>
  225. <view class="flexc chektinp">
  226. <input placeholder="请输入担保额度" type="number" v-model="dbed" placeholder-class="coa" class="flex1"/>
  227. <view class="ltit flex0 ml8">万元</view>
  228. </view>
  229. </view>
  230. <view class="mb16">
  231. <view class="ttxt mb18">担保期限</view>
  232. <view class="flexc chektinp">
  233. <input placeholder="请输入担保期限" type="number" v-model="dbqx" placeholder-class="coa" class="flex1"/>
  234. <view class="ltit flex0 ml8">月</view>
  235. </view>
  236. </view>
  237. <view class="mb16">
  238. <view class="ttxt mb18">意见</view>
  239. <textarea class="textar" v-model="shtext" style="min-height: 156rpx;" maxlength="-1" autoHeight="true" placeholder="若不同意上会,请填写理由…"></textarea>
  240. </view>
  241. <!-- <view class="shshtips">* 确认上会后,即出具评审意见签批表、股东会决议</view> -->
  242. <view class="btns" style="margin-top: 18rpx;" @click="getupSubmit">确认</view>
  243. </view>
  244. <!-- 重新投票 cxtp -->
  245. <view class="fixbox" v-if="type=='cxtp'">
  246. <view class="cloimg" @click="getClose">
  247. <image :src="closeimg"></image>
  248. </view>
  249. <view class="ttit">投票日期</view>
  250. <view class="mb16" v-if="isty!=3">
  251. <view class="ttxt mb18">投票日期</view>
  252. <picker mode="date" @change='bindDateChangea'>
  253. <view class="chekt">
  254. <view :class="jtri?'':'coa'">{{jtri|| "请选择投票日期"}}</view>
  255. <image :src="upimg"></image>
  256. </view>
  257. </picker>
  258. </view>
  259. <view class="mb16" v-if="isty!=3">
  260. <view class="ttxt mb18">投票时间</view>
  261. <picker mode="time" @change='bindDateChangeb'>
  262. <view class="chekt">
  263. <view :class="jtsj?'':'coa'">{{jtsj|| "请选择投票时间"}}</view>
  264. <image :src="upimg"></image>
  265. </view>
  266. </picker>
  267. </view>
  268. <view class="btns" style="margin-top: 18rpx;" @click="getupSubmit">确认</view>
  269. </view>
  270. <!-- 申诉 -->
  271. <view class="fixbox" v-if="type=='sssh'">
  272. <view class="cloimg" @click="getClose">
  273. <image :src="closeimg"></image>
  274. </view>
  275. <view class="ttit">申诉</view>
  276. <view class="mb16">
  277. <view class="ttxt mb18">是否通过</view>
  278. <uni-data-checkbox :selectedColor="actcolor" v-model="isty" :localdata="tgList" />
  279. </view>
  280. <view class="mb16">
  281. <view class="ttxt mb18">审核意见</view>
  282. <textarea class="textar" style="min-height: 156rpx;" maxlength="-1" autoHeight="true" v-model="shtext" placeholder="若资料不予通过,请填写理由…"></textarea>
  283. </view>
  284. <!-- 其他附件 -->
  285. <view class="mb16">
  286. <view class="ttxt mb18 flexcj">附件信息
  287. <lsj-upload ref="lsjUpload" childId="upload1" :loanApplicationId="loanApplicationId" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  288. @progress="" @uploadEnd="onuploadEnd" :fileName="qtfjobj.qtfj" fileVal='qtfj' bigType="d">
  289. <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
  290. </lsj-upload>
  291. </view>
  292. <view class="fjlists" v-for="(fite,fidx) in filelist" :key='fidx'>
  293. <view class="flext" @click="getDown(fite.url)">
  294. <view class="imgl"><image :src="filico" ></image></view>
  295. <view class="tit">{{fite.name}}</view>
  296. </view>
  297. <view class="delimg flex0" @click.stop="getDelFj(fidx)">
  298. <image :src="fdelimg"></image>
  299. </view>
  300. </view>
  301. </view>
  302. <view class="btns" @click="getupSubmit">确认</view>
  303. </view>
  304. <!-- 保后上传附件 -->
  305. <view class="fixbox" v-if="type=='bhfjadd'">
  306. <view class="cloimg" @click="getClose">
  307. <image :src="closeimg"></image>
  308. </view>
  309. <view class="ttit">上传附件</view>
  310. <view class="mb16">
  311. <view class="ttxt mb18 flexcj" v-if="bhxxobj[fjval]">附件信息
  312. <lsj-upload ref="lsjUpload" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  313. @progress="" @uploadEnd="onuploadEnd" :fileName="bhxxobj[fjval]" :fileVal='fjval' bigType="f">
  314. <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
  315. </lsj-upload>
  316. </view>
  317. <view class="fjlists" v-for="(fite,fidx) in filelist" :key='fidx'>
  318. <view class="flext" @click="getDown(fite.url)">
  319. <view class="imgl"><image :src="filico" ></image></view>
  320. <view class="tit">{{fite.name}}</view>
  321. </view>
  322. <view class="delimg flex0" @click.stop="getDelFj(fidx)">
  323. <image :src="fdelimg"></image>
  324. </view>
  325. </view>
  326. </view>
  327. <view class="conbtns flexcj">
  328. <view class="cbtns bgb" @click="getfjAdd">确认</view>
  329. </view>
  330. </view>
  331. <!-- 上传借据 -->
  332. <view class="fixbox" v-if="type=='jj'">
  333. <view class="cloimg" @click="getClose">
  334. <image :src="closeimg"></image>
  335. </view>
  336. <view class="ttit">上传附件</view>
  337. <view class="mb16">
  338. <!-- 借据 -->
  339. <view class="ttxt mb18 flexcj">附件信息
  340. <lsj-upload ref="lsjUpload" childId="upload1" :width="width" :height="height" :option="jjoption" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  341. @progress="" @uploadEnd="jjonuploadEnd" :fileName="wjcjobj.jj" fileVal='jj' bigType="c">
  342. <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
  343. </lsj-upload>
  344. </view>
  345. <view class="fjlists" v-for="(fite,fidx) in filelist" :key='fidx'>
  346. <view class="flext" @click="getDown(fite.url)">
  347. <view class="imgl"><image :src="filico" ></image></view>
  348. <view class="tit">{{fite.name}}</view>
  349. </view>
  350. <view class="delimg flex0" @click.stop="getDelFj(fidx)">
  351. <image :src="fdelimg"></image>
  352. </view>
  353. </view>
  354. </view>
  355. <view class="conbtns flexcj">
  356. <view class="cbtns bgb" @click="getfjAdd">确认</view>
  357. </view>
  358. <view class="shshtips">* 识别最新一条借据信息</view>
  359. </view>
  360. <!-- 上会上传附件 -->
  361. <view class="fixbox" v-if="type=='shpsyj'||type=='shshjy'">
  362. <view class="cloimg" @click="getClose">
  363. <image :src="closeimg"></image>
  364. </view>
  365. <view class="ttit">上传附件</view>
  366. <view class="mb16">
  367. <!-- 评审意见签批表 -->
  368. <view class="ttxt mb18 flexcj" v-if="type=='shpsyj'">附件信息
  369. <lsj-upload ref="lsjUpload" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  370. @progress="" @uploadEnd="onuploadEnd" :fileName="wjcjobj.psyjqpb" fileVal='psyjqpb' bigType="c">
  371. <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
  372. </lsj-upload>
  373. </view>
  374. <!-- 上会纪要 -->
  375. <view class="ttxt mb18 flexcj" v-if="type=='shshjy'">附件信息
  376. <lsj-upload ref="lsjUpload" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  377. @progress="" @uploadEnd="onuploadEnd" :fileName="wjcjobj.gdhyjy" fileVal='gdhyjy' bigType="c">
  378. <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
  379. </lsj-upload>
  380. </view>
  381. <view class="fjlists" v-for="(fite,fidx) in filelist" :key='fidx'>
  382. <view class="flext" @click="getDown(fite.url)">
  383. <view class="imgl"><image :src="filico" ></image></view>
  384. <view class="tit">{{fite.name}}</view>
  385. </view>
  386. <view class="delimg flex0" @click.stop="getDelFj(fidx)">
  387. <image :src="fdelimg"></image>
  388. </view>
  389. </view>
  390. </view>
  391. <view class="conbtns flexcj">
  392. <!-- <view class="cbtns bga">暂存</view> -->
  393. <view class="cbtns bgb" @click="getfjAdd">确认</view>
  394. </view>
  395. </view>
  396. <!-- 上传附件 -->
  397. <view class="fixbox" v-if="type=='fjadd'">
  398. <view class="cloimg" @click="getClose">
  399. <image :src="closeimg"></image>
  400. </view>
  401. <view class="ttit">上传附件</view>
  402. <view class="mb16">
  403. <view class="ttxt mb18 flexcj" v-if="wjcjobj[fjval]">附件信息
  404. <lsj-upload ref="lsjUpload" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  405. @progress="" @uploadEnd="onuploadEnd" :fileName="wjcjobj[fjval]" :fileVal='fjval' bigType="c">
  406. <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
  407. </lsj-upload>
  408. </view>
  409. <view class="fjlists" v-for="(fite,fidx) in filelist" :key='fidx'>
  410. <view class="flext" @click="getDown(fite.url)">
  411. <view class="imgl"><image :src="filico" ></image></view>
  412. <view class="tit">{{fite.name}}</view>
  413. </view>
  414. <view class="delimg flex0" @click.stop="getDelFj(fidx)">
  415. <image :src="fdelimg"></image>
  416. </view>
  417. </view>
  418. </view>
  419. <view class="conbtns flexcj">
  420. <!-- <view class="cbtns bga">暂存</view> -->
  421. <view class="cbtns bgb" @click="getfjAdd">确认</view>
  422. </view>
  423. </view>
  424. <!-- 修改附件 -->
  425. <view class="fixbox" v-if="type=='fjedit'">
  426. <view class="cloimg" @click="getClose">
  427. <image :src="closeimg"></image>
  428. </view>
  429. <view class="ttit">上传附件</view>
  430. <view class="mb16">
  431. <view class="ttxt mb18 flexcj" v-if="wjcjobj[fjval]">附件信息
  432. <lsj-upload ref="lsjUpload" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  433. @progress="" @uploadEnd="editonuploadEnd" :fileName="wjcjobj[fjval]" :fileVal='fjval' bigType="c">
  434. <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
  435. </lsj-upload>
  436. </view>
  437. <view class="fjlists" v-for="(fite,fidx) in filelist" :key='fidx'>
  438. <view class="flext" @click="getDown(fite.url)">
  439. <view class="imgl"><image :src="filico" ></image></view>
  440. <view class="tit">{{fite.name}}</view>
  441. </view>
  442. <view class="delimg flex0" @click.stop="getDelFj(fidx)">
  443. <image :src="fdelimg"></image>
  444. </view>
  445. </view>
  446. </view>
  447. <view class="conbtns flexcj">
  448. <view class="cbtns bgb" @click="getfjAdd">确认</view>
  449. </view>
  450. <view class="shshtips">* 修改为最新一条附件信息</view>
  451. </view>
  452. <!-- 修改其他附件 -->
  453. <view class="fixbox" v-if="type=='qtfjedit'">
  454. <view class="cloimg" @click="getClose">
  455. <image :src="closeimg"></image>
  456. </view>
  457. <view class="ttit">上传附件</view>
  458. <view class="mb16">
  459. <view class="ttxt mb18 flexcj" v-if="qtfjobj[fjval]">附件信息
  460. <lsj-upload ref="lsjUpload" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  461. @progress="" @uploadEnd="editonuploadEnd" :fileName="qtfjobj[fjval]" :fileVal='fjval' bigType="d">
  462. <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
  463. </lsj-upload>
  464. </view>
  465. <view class="fjlists" v-for="(fite,fidx) in filelist" :key='fidx'>
  466. <view class="flext" @click="getDown(fite.url)">
  467. <view class="imgl"><image :src="filico" ></image></view>
  468. <view class="tit">{{fite.name}}</view>
  469. </view>
  470. <view class="delimg flex0" @click.stop="getDelFj(fidx)">
  471. <image :src="fdelimg"></image>
  472. </view>
  473. </view>
  474. </view>
  475. <view class="conbtns flexcj">
  476. <!-- <view class="cbtns bga">暂存</view> -->
  477. <view class="cbtns bgb" @click="getfjAdd">确认</view>
  478. </view>
  479. </view>
  480. <!-- 其他附件 -->
  481. <view class="fixbox" v-if="type=='qtfjadd'">
  482. <view class="cloimg" @click="getClose">
  483. <image :src="closeimg"></image>
  484. </view>
  485. <view class="ttit">上传附件</view>
  486. <view class="mb16">
  487. <view class="ttxt mb18 flexcj" v-if="qtfjobj[fjval]">附件信息
  488. <lsj-upload ref="lsjUpload" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  489. @progress="" @uploadEnd="onuploadEnd" :fileName="qtfjobj[fjval]" :fileVal='fjval' bigType="d">
  490. <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
  491. </lsj-upload>
  492. </view>
  493. <view class="fjlists" v-for="(fite,fidx) in filelist" :key='fidx'>
  494. <view class="flext" @click="getDown(fite.url)">
  495. <view class="imgl"><image :src="filico" ></image></view>
  496. <view class="tit">{{fite.name}}</view>
  497. </view>
  498. <view class="delimg flex0" @click.stop="getDelFj(fidx)">
  499. <image :src="fdelimg"></image>
  500. </view>
  501. </view>
  502. </view>
  503. <view class="conbtns flexcj">
  504. <view class="cbtns bgb" @click="getfjAdd">确认</view>
  505. </view>
  506. </view>
  507. <!-- 审核结果二次确认弹窗 -->
  508. <view class="fixbox con" v-if="type=='confirm'">
  509. <view class="cloimg" @click="getClose">
  510. <image :src="closeimg"></image>
  511. </view>
  512. <view class="ttit">确认提交审核意见</view>
  513. <view class="conttxt">请您二次确认对该项目资料提交 “<text>
  514. {{shtg==3?'不通过':'通过'}}
  515. </text>”的审核意见吗?</view>
  516. <view class="conbtns flexcj">
  517. <view class="cbtns bga" @click="getClose">取消</view>
  518. <view class="cbtns bgb" @click="getSure">确认</view>
  519. </view>
  520. </view>
  521. <!-- 尽职调查反馈 -->
  522. <view class="fixbox" v-if="type=='jztcsh'">
  523. <view class="cloimg" @click="getClose">
  524. <image :src="closeimg"></image>
  525. </view>
  526. <view class="ttit">业务审核</view>
  527. <!-- <view class="mb16">
  528. <view class="ttxt mb18">是否通过</view>
  529. <uni-data-checkbox :selectedColor="actcolor" v-model="isty" :localdata="tgList" />
  530. </view> -->
  531. <!-- <view class="mb16">
  532. <view class="ttxt mb18">审核意见</view>
  533. <textarea class="textar" v-model="shtext" style="height: 156rpx;" placeholder="若不同意,请填写理由…"></textarea>
  534. </view> -->
  535. <view class="mb16">
  536. <view class="ttxt mb18">上传照片</view>
  537. <view class="addpbox">
  538. <view class="plist addpimg" @click="getaddImage">
  539. <image :src="addpimg"></image>
  540. </view>
  541. <view class="plist" v-for="(ite,idx) in phofile" :key="idx">
  542. <image :src="baseUrl+ite" class="img"></image>
  543. <image :src="fdelimg" class="del" @click="getDelPh(idx)"></image>
  544. </view>
  545. </view>
  546. </view>
  547. <view class="ptips">* 点击添加照片可实时拍摄照片上传,也可由手 机相册中上传</view>
  548. <view class="mb16">
  549. <!-- 尽职调查报告 -->
  550. <view class="ttxt mb18 flexcj">附件信息
  551. <lsj-upload ref="lsjUpload" childId="upload1" :fileName="wjcjobj.jzdcbg" fileVal='jzdcbg' bigType="c" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  552. @progress="" @uploadEnd="onuploadEnd" >
  553. <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
  554. </lsj-upload>
  555. </view>
  556. <view class="fjlists" v-for="(fite,fidx) in filelist" :key='fidx'>
  557. <view class="flext" @click="getDown(fite.url)">
  558. <view class="imgl"><image :src="filico" ></image></view>
  559. <view class="tit">{{fite.name}}</view>
  560. </view>
  561. <view class="delimg flex0" @click.stop="getDelFj(fidx)">
  562. <image :src="fdelimg"></image>
  563. </view>
  564. </view>
  565. </view>
  566. <view class="conbtns flexcj">
  567. <view class="cbtns bga" @click="getClose">取消</view>
  568. <view class="cbtns bgb" @click="getupSubmit">确认</view>
  569. </view>
  570. </view>
  571. <!-- 人员弹窗 -->
  572. <block v-if="addflag">
  573. <view class="addboxbg" @click="getCloseAdd"></view>
  574. <view class="addbox">
  575. <view class="cloimg" @click="getCloseAdd">
  576. <image :src="closeimg"></image>
  577. </view>
  578. <view class="ttit">添加人员</view>
  579. <view class="peolists">
  580. <view class="plist" :class="shrylist.findIndex(text => text.userId === ite.userId)!=-1?'act':''" v-for="(ite,idx) in userList" :key="idx">
  581. <view class="flex1" @click="getChose(ite)">{{ite.userName}}</view>
  582. </view>
  583. </view>
  584. </view>
  585. </block>
  586. <!-- 富文本弹窗 -->
  587. <view class="fixbox con" v-if="type=='fwb'">
  588. <view class="cloimg" @click="getClose">
  589. <image :src="closeimg"></image>
  590. </view>
  591. <view class="ttit">小微企业说明</view>
  592. <view class="conttxt">
  593. <block v-if="xwimgList&&xwimgList.length">
  594. <image :src="baseUrl+ite" v-for="(ite,idx) in xwimgList" :key="idx" class="imgs" @click="getPreviewImage(xwimgList,idx)"></image>
  595. </block>
  596. <rich-text :nodes="content" v-else></rich-text>
  597. </view>
  598. <view class="conbtns flexcj">
  599. <view class="cbtns bga" @click="getClose">取消</view>
  600. <!-- <view class="cbtns bgb">确认</view> -->
  601. </view>
  602. </view>
  603. <!-- 暂缓出具弹窗 -->
  604. <view class="fixbox" v-if="type=='zhfkhgb'">
  605. <view class="cloimg" @click="getClose">
  606. <image :src="closeimg"></image>
  607. </view>
  608. <view class="ttit">风险审核</view>
  609. <view class="mb16">
  610. <view class="ttxt mb18">暂缓原因</view>
  611. <textarea class="textar" style="min-height: 156rpx;" maxlength="-1" autoHeight="true" v-model="shtext" placeholder="请填写理由…"></textarea>
  612. </view>
  613. <view class="btns" @click="getupSubmit">确认</view>
  614. </view>
  615. </view>
  616. </template>
  617. <script>
  618. import config from '@/config'
  619. const baseUrl = config.baseUrl
  620. import { getToken } from '@/utils/auth'
  621. import {uploadmore} from '@/utils/common.js'
  622. import wSelect from "@/work/components/w-select/w-select.vue"
  623. export default{
  624. components:{wSelect},
  625. props:{
  626. type: {
  627. type: String,
  628. default () {
  629. return ''
  630. }
  631. },
  632. stepList:{
  633. type: Array,
  634. default () {
  635. return []
  636. }
  637. },
  638. userList:{
  639. type: Array,
  640. default () {
  641. return []
  642. }
  643. },
  644. stepval:{
  645. type: [Number,String],
  646. default () {
  647. return 0
  648. }
  649. },
  650. content:{
  651. type: [Number,String],
  652. default () {
  653. return ''
  654. }
  655. },
  656. xwimgList:{
  657. type: Array,
  658. default () {
  659. return []
  660. }
  661. },
  662. shtg:{
  663. type: [Number,String],
  664. default () {
  665. return ''
  666. }
  667. },
  668. loanApplicationId:{
  669. type: [Number,String],
  670. default () {
  671. return ''
  672. }
  673. },
  674. loanApplicationNumber:{
  675. type: [Number,String],
  676. default () {
  677. return ''
  678. }
  679. },
  680. wjcjobj:{
  681. type: Object,
  682. default () {
  683. return {}
  684. }
  685. },
  686. bhxxobj:{
  687. type: Object,
  688. default () {
  689. return {}
  690. }
  691. },
  692. qtfjobj:{
  693. type: Object,
  694. default () {
  695. return {}
  696. }
  697. },
  698. fjval:{
  699. type: String,
  700. default () {
  701. return ''
  702. }
  703. },
  704. fjId:{
  705. type: String,
  706. default () {
  707. return ''
  708. }
  709. },
  710. startady:{
  711. type: String,
  712. default () {
  713. return ''
  714. }
  715. }
  716. },
  717. data(){
  718. return{
  719. //附件
  720. option: {
  721. // 上传服务器地址,需要替换为你的接口地址
  722. url: baseUrl+'/common/uploadNew', // 该地址非真实路径,需替换为你项目自己的接口地址
  723. // 上传附件的key
  724. name: 'file',
  725. // 根据你接口需求自定义请求头,默认不要写content-type,让浏览器自适配
  726. header: {
  727. // 示例参数可删除
  728. 'Authorization': 'Bearer ' + getToken(),
  729. },
  730. // 根据你接口需求自定义body参数
  731. formData: {
  732. loanApplicationNumber:'',
  733. loanApplicationId:'',
  734. }
  735. },
  736. // 借据上传
  737. jjoption: {
  738. // 上传服务器地址,需要替换为你的接口地址
  739. url: baseUrl+'/common/uploadNewOcr', // 该地址非真实路径,需替换为你项目自己的接口地址
  740. // 上传附件的key
  741. name: 'file',
  742. // 根据你接口需求自定义请求头,默认不要写content-type,让浏览器自适配
  743. header: {
  744. // 示例参数可删除
  745. 'Authorization': 'Bearer ' + getToken(),
  746. },
  747. // 根据你接口需求自定义body参数
  748. formData: {
  749. loanApplicationNumber:'',
  750. loanApplicationId:'',
  751. }
  752. },
  753. // 选择文件后是否立即自动上传,true=选择后立即上传
  754. instantly: true,
  755. // 必传宽高且宽高应与slot宽高保持一致
  756. width: '',
  757. height: '40rpx',
  758. // 限制允许上传的格式,空串=不限制,默认为空
  759. formats: 'doc,docx,xls,xlsx,ppt,txt,pdf,zip,rar,word,png,jpg,jpeg',
  760. // 文件上传大小限制
  761. size: 100,
  762. // 文件数量限制 默认10
  763. count: 5,
  764. // 文件回显列表
  765. files: new Map(),
  766. // 微信小程序Map对象for循环不显示,所以转成普通数组,不要问为什么,我也不知道
  767. wxFiles: [],
  768. // 是否打印日志
  769. debug: false,
  770. filelist:[],
  771. stepa:require('@/work/static/images/busin/stepa.png'),
  772. stepb:require('@/work/static/images/busin/stepb.png'),
  773. stepc:require('@/work/static/images/busin/stepc.png'),
  774. closeimg:require('@/work/static/images/close.png'),
  775. filico:require('@/work/static/images/filico.png'),
  776. fdelimg:require('@/work/static/images/del.png'),
  777. addpimg:require('@/work/static/images/addp.png'),
  778. upimg:require('@/work/static/images/aup.png'),
  779. addpeimg:require('@/work/static/images/aap.png'),
  780. actcolor:'#00A9F0',
  781. tyList:[{text: '同意',value: '2'},{text: '不同意',value: '3'}],
  782. tgList:[{text: '通过',value: '2'},{text: '不通过',value: '3'}],
  783. sfList:[{text: '是',value: 'Y'},{text: '否',value: 'N'}],
  784. issf:'Y',
  785. mycdlist:[{text: 'a',value: '0'},{text: 'b',value: '1'}],
  786. isty:'2',//同意
  787. shtext:'',//审核意见
  788. dbed:'',//担保额度
  789. dbqx:'',//担保期限
  790. aUserId:'',//A角色用户ID
  791. aUserName:'',//A角色用户名称
  792. bUserId:'',//B角色用户ID
  793. bUserName:'',//B角色用户名称
  794. fUserId:'',//风险用户id
  795. fUserName:'',//风险用户名称
  796. mycdtxt:'',
  797. jtri:'',//具体日期
  798. jtsj:'',//具体时间
  799. filterable:true,
  800. chooseValue:'',
  801. phofile:[],
  802. baseUrl:'',
  803. shrylist:[],//参会人员
  804. addflag:false,
  805. actuallyAmount:'',//实际放贷金额(万元)
  806. actuallyTime:'',//实际放款时间
  807. }
  808. },
  809. mounted() {
  810. this.baseUrl=baseUrl
  811. },
  812. watch:{
  813. loanApplicationNumber(val){
  814. this.option.formData.loanApplicationNumber=val
  815. this.jjoption.formData.loanApplicationNumber=val
  816. },
  817. loanApplicationId(val){
  818. this.option.formData.loanApplicationId=val
  819. this.jjoption.formData.loanApplicationId=val
  820. },
  821. type(val){
  822. this.filelist=[];
  823. this.shtext='';
  824. this.isty='2';
  825. this.phofile=[];
  826. }
  827. },
  828. methods:{
  829. getClose(){
  830. this.$emit('getClose')
  831. },
  832. getAddFn(){
  833. this.addflag=true;
  834. },
  835. getCloseAdd(){
  836. this.addflag=false;
  837. },
  838. getPreviewImage(arr,idx){
  839. var newArr=[];
  840. arr.forEach(ite=>{
  841. var ds=this.baseUrl+ite
  842. newArr.push(ds)
  843. })
  844. uni.previewImage({
  845. urls: newArr,
  846. current:idx,
  847. success: function(data) {
  848. },
  849. fail: function(err) {
  850. }
  851. });
  852. },
  853. getChose(ite,idx){
  854. const index = this.shrylist.findIndex(text => text.userId === ite.userId);
  855. var obj={
  856. userId:ite.userId,
  857. realName:ite.userName,
  858. loanApplicationId:this.loanApplicationId,
  859. }
  860. if(index!=-1){
  861. this.shrylist.splice(index,1)
  862. }else{
  863. this.shrylist.push(obj)
  864. }
  865. },
  866. getchangea(e){
  867. this.aUserId=e.userId;
  868. this.aUserName=e.userName;
  869. },
  870. getchangeb(e){
  871. this.bUserId=e.userId;
  872. this.bUserName=e.userName;
  873. },
  874. getchangec(e){//风险人员
  875. this.fUserId=e.userId;
  876. this.fUserName=e.userName;
  877. },
  878. getupSubmit(){
  879. var type=this.type;
  880. var data={}
  881. if(type=='sh'){
  882. data={
  883. auditType:this.isty,
  884. auditView:this.shtext,
  885. }
  886. if(this.isty==3&&!this.shtext){
  887. this.$toast("请输入审核意见")
  888. return
  889. }
  890. if(this.isty!=3){
  891. if(!this.aUserName){
  892. this.$toast("请选择分配A角")
  893. return
  894. }
  895. if(!this.bUserName){
  896. this.$toast("请选择分配B角")
  897. return
  898. }
  899. if(!this.fUserName){
  900. this.$toast("请选择分配风险用户人员")
  901. return
  902. }
  903. data.aUserId=this.aUserId;
  904. data.aUserName=this.aUserName;
  905. data.bUserId=this.bUserId;
  906. data.bUserName=this.bUserName;
  907. data.fUserId=this.fUserId;
  908. data.fUserName=this.fUserName;
  909. }
  910. }else if(type=='ajssh'||type=='bjssh'||type=='fxsh'){
  911. data={
  912. auditType:this.isty,
  913. auditView:this.shtext,
  914. }
  915. if(this.isty==3&&!this.shtext){
  916. this.$toast("请输入审核意见")
  917. return
  918. }
  919. }else if(type=='fxbmsh'){
  920. data={
  921. auditType:this.isty,
  922. fjUrl:this.filelist,
  923. auditView:this.shtext,
  924. }
  925. if(this.isty==3&&!this.shtext){
  926. this.$toast("请输入审核意见")
  927. return
  928. }
  929. // if(this.isty!=3&&(!this.filelist||this.filelist.length<1)){
  930. // this.$toast("请上传附件")
  931. // return
  932. // }
  933. }else if(type=='jztcsh'){
  934. data={
  935. // auditType:this.isty,
  936. auditType:2,
  937. // auditView:this.shtext,
  938. fjUrl:this.filelist,
  939. imageUrl:this.phofile.join(',')
  940. }
  941. if(!this.phofile||this.phofile.length<1){
  942. this.$toast("请上传图片")
  943. return
  944. }
  945. if(!this.filelist||this.filelist.length<1){
  946. this.$toast("请上传附件")
  947. return
  948. }
  949. }else if(type=='shshty'){
  950. data={
  951. auditView:this.shtext,
  952. }
  953. if(this.isty==2){
  954. data.reviewSchedule=3
  955. }else if(this.isty==3){
  956. data.reviewSchedule=2
  957. }
  958. if(this.isty==3&&!this.shtext){
  959. this.$toast("请输入审核意见")
  960. return
  961. }
  962. }else if(type=='sssh'){//申诉
  963. data={
  964. auditView:this.shtext,
  965. fjUrl:this.filelist,
  966. }
  967. if(this.isty==2){
  968. data.ssType=1
  969. }else if(this.isty==3){
  970. data.ssType=2
  971. }
  972. if(this.isty==3&&!this.shtext){
  973. this.$toast("请输入审核意见")
  974. return
  975. }
  976. }else if(type=='shsh'||type=='cxtp'){
  977. var str='评审会'
  978. if(type=='cxtp'){
  979. str='投票'
  980. }
  981. data={
  982. // auditType:this.isty,
  983. // auditView:this.shtext,
  984. }
  985. if(!this.jtri){
  986. this.$toast("请选择"+str+"日期")
  987. return
  988. }
  989. if(!this.jtsj){
  990. this.$toast("请选择"+str+"时间")
  991. return
  992. }
  993. var time=this.jtri+' '+this.jtsj
  994. data.conferenceTime=time;
  995. }else if(type=='shshtp'){
  996. data={
  997. votingResult:this.issf,
  998. argument:this.shtext,
  999. lineGuarantee:this.dbed,
  1000. guaranteePeriod:this.dbqx,
  1001. }
  1002. if(this.issf=='N'&&!this.shtext){
  1003. this.$toast("请输入意见")
  1004. return
  1005. }
  1006. if(this.issf=='Y'){
  1007. if(!this.dbed||this.dbed<0){
  1008. this.$toast("请输入担保额度")
  1009. return
  1010. }
  1011. if(!this.dbqx||this.dbqx<0){
  1012. this.$toast("请输入担保期限")
  1013. return
  1014. }
  1015. }
  1016. }else if(type=='zhfkhgb'){
  1017. if(!this.shtext){
  1018. this.$toast("请输入暂缓原因")
  1019. return
  1020. }
  1021. data={
  1022. remark:this.shtext,
  1023. }
  1024. }
  1025. this.$emit('getupSubmit',data)
  1026. },
  1027. getfjAdd(){
  1028. var type=this.type;
  1029. if(this.filelist&&this.filelist.length>0){
  1030. var data={
  1031. fjUrl:this.filelist,
  1032. actuallyAmount:this.actuallyAmount,
  1033. actuallyTime:this.actuallyTime,
  1034. }
  1035. this.$emit('getfjAdd',data)
  1036. }else{
  1037. this.$toast("请上传附件")
  1038. return
  1039. }
  1040. },
  1041. bindDateChangea(e){
  1042. var val=e.detail.value;
  1043. this.jtri=val;
  1044. },
  1045. bindDateChangeb(e){
  1046. var val=e.detail.value;
  1047. this.jtsj=val+':00';
  1048. },
  1049. getSure(){
  1050. this.$emit('getSure')
  1051. },
  1052. // 上传图片
  1053. getaddImage(e){
  1054. let that = this;
  1055. let file =[],count=9
  1056. // if(e=='zj'){
  1057. // file = that.zjfile;
  1058. // count=9
  1059. // }else{
  1060. // file = that.mjfile;
  1061. // count=9
  1062. // }
  1063. uni.chooseImage({
  1064. // count: 1,
  1065. success:function(res){
  1066. let img= res.tempFilePaths;
  1067. if(img.length + file.length > count){
  1068. uni.showToast({
  1069. title: '最多上传'+count+'张图片',
  1070. icon: 'none',
  1071. duration: 2000
  1072. })
  1073. }else{
  1074. let imglen = res.tempFilePaths.length;
  1075. var fuwufile = [];
  1076. uploadmore('/common/upload',img,0,0,0,imglen,fuwufile,function(rs){
  1077. that.phofile = that.phofile.concat(rs);
  1078. // if(e=='zj'){
  1079. // that.datainfo.identificationPhoto=that.zjfile.join(',')
  1080. // }
  1081. })
  1082. }
  1083. }
  1084. });
  1085. },
  1086. onuploadEnd(item,fileVal,bigType) {
  1087. var newobj={}
  1088. var responseText=JSON.parse(item.responseText)
  1089. if(responseText.code==200){
  1090. if(fileVal=='qtfj'){
  1091. newobj.name=responseText.originalFilename;
  1092. }else{
  1093. newobj.name=responseText.newFileName;
  1094. }
  1095. newobj.oldName=responseText.originalFilename;
  1096. newobj.url=responseText.fileName;
  1097. newobj.type=fileVal;
  1098. newobj.bigType=bigType;
  1099. newobj.loanApplicationId=this.loanApplicationId;
  1100. newobj.loanApplicationNumber=this.loanApplicationNumber;
  1101. this.filelist.push(newobj)
  1102. }else{
  1103. this.$toast(responseText.msg)
  1104. }
  1105. },
  1106. editonuploadEnd(item,fileVal,bigType) {
  1107. var newobj={}
  1108. var responseText=JSON.parse(item.responseText)
  1109. if(responseText.code==200){
  1110. newobj.name=responseText.newFileName;
  1111. newobj.oldName=responseText.originalFilename;
  1112. newobj.url=responseText.fileName;
  1113. newobj.type=fileVal;
  1114. newobj.bigType=bigType;
  1115. newobj.loanApplicationId=this.loanApplicationId;
  1116. newobj.loanApplicationNumber=this.loanApplicationNumber;
  1117. newobj.fjId=this.fjId;
  1118. var newArr=[];
  1119. newArr.push(newobj);
  1120. this.filelist=JSON.parse(JSON.stringify(newArr))
  1121. }else{
  1122. this.$toast(responseText.msg)
  1123. }
  1124. },
  1125. // 借据上传
  1126. jjonuploadEnd(item,fileVal,bigType){
  1127. var newobj={}
  1128. var responseText=JSON.parse(item.responseText)
  1129. if(responseText.code==200){
  1130. this.actuallyAmount=responseText.actuallyAmount;
  1131. this.actuallyTime=responseText.actuallyTime;
  1132. newobj.name=responseText.newFileName;
  1133. newobj.oldName=responseText.originalFilename;
  1134. newobj.url=responseText.fileName;
  1135. newobj.type=fileVal;
  1136. newobj.bigType=bigType;
  1137. newobj.loanApplicationId=this.loanApplicationId;
  1138. newobj.loanApplicationNumber=this.loanApplicationNumber;
  1139. var newArr=[];
  1140. newArr.push(newobj);
  1141. this.filelist=JSON.parse(JSON.stringify(newArr))
  1142. }else{
  1143. this.$toast(responseText.msg)
  1144. }
  1145. },
  1146. getDelFj(idx){
  1147. var that=this;
  1148. uni.showModal({
  1149. title: '确认删除',
  1150. content: "是否确认删除",
  1151. cancelText: '取消',
  1152. confirmText: '确认',
  1153. success: function(res) {
  1154. if (res.confirm) {
  1155. that.filelist.splice(idx,1)
  1156. } else if (res.cancel) {
  1157. }
  1158. }
  1159. });
  1160. },
  1161. getDelPh(idx){
  1162. this.phofile.splice(idx,1)
  1163. },
  1164. getDelRy(idx){
  1165. this.shrylist.splice(idx,1)
  1166. },
  1167. getDown(e){
  1168. uni.showLoading({
  1169. title: '加载中'
  1170. });
  1171. var url=baseUrl+e;
  1172. let index1 = e.lastIndexOf("."); // 得到一个索引值
  1173. let index2 = e.length;
  1174. let type = e.substring(index1, index2);
  1175. if ((type.indexOf('jpg') > -1 || type.indexOf('jpeg') > -1 || type.indexOf('png') > -1)) {
  1176. uni.previewImage({
  1177. current: 0,
  1178. urls: [url],
  1179. // background: '#ffffff'
  1180. });
  1181. uni.hideLoading();
  1182. } else {
  1183. uni.downloadFile({
  1184. url: url,//文件的下载路径
  1185. success(result) {
  1186. uni.hideLoading()
  1187. var filePath = result.tempFilePath;
  1188. uni.openDocument({
  1189. filePath: filePath,
  1190. showMenu: true,
  1191. success: function (res) {
  1192. // console.log('打开文档成功');
  1193. }
  1194. });
  1195. },
  1196. fail(res) {uni.hideLoading()}
  1197. })
  1198. }
  1199. },
  1200. }
  1201. }
  1202. </script>
  1203. <style lang="scss" scoped>
  1204. // 进度
  1205. .speedbox{background: #FFFFFF;box-shadow: 0px 0px 14rpx 0px rgba(184,184,184,0.76);border-radius: 20rpx;padding: 44rpx 40rpx 0;
  1206. position: fixed;z-index: 10;left: 220rpx;top: 50%;transform: translateY(-50%);max-height: calc(100vh - 200rpx);overflow: auto;
  1207. .tit{font-weight: bold;font-size: 30rpx;color: #222327;margin-bottom: 36rpx;}
  1208. .lists{display: flex;align-items: flex-start;position: relative;padding-bottom: 52rpx;
  1209. &::after{content: '';width: 2rpx;position: absolute;left: 15rpx;top: 56rpx;bottom: 56rpx;height: 60rpx;background: #E6E6E6;}
  1210. &:last-child{
  1211. &::after{display: none;}
  1212. // .ltit{color: #01A9F0 !important;}
  1213. }
  1214. .listl{width: 32rpx;height: 32rpx;margin-right: 22rpx;display: flex;align-items: center;justify-content: center;
  1215. image{width: 32rpx;height: 32rpx;
  1216. &.imga{width: 30rpx;height: 30rpx;}
  1217. }
  1218. }
  1219. .listr{
  1220. .ltit{font-weight: 500;font-size: 26rpx;color: #222327;margin-bottom: 22rpx;
  1221. &.act{color: #01A9F0;}
  1222. }
  1223. .ltxt{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  1224. }
  1225. }
  1226. }
  1227. .fixbox /deep/ .uni-select{border: none;background-color: #EEEEEE;height: 88rpx;}
  1228. .fixbox /deep/ .uni-select__input-placeholder{font-size: 30rpx;color: #AAAAAA;}
  1229. .fixbox /deep/ .uni-textarea-placeholder{font-size: 26rpx;color: #AAAAAA;}
  1230. .textar{width: 100%;border-radius: 10rpx;padding: 26rpx 30rpx;font-size: 26rpx;color: #222327;height: 400rpx;background: #EEEEEE;
  1231. &.texthe{height: 190rpx;}
  1232. }
  1233. .fixbox{position: fixed;left: 56rpx;right: 56rpx;background: #FFFFFF;max-height: calc(100vh - 200rpx);overflow: auto;
  1234. border-radius: 20rpx;z-index: 10;top: 50%;transform: translateY(-50%);padding: 40rpx 48rpx 52rpx;
  1235. .ttxt{font-weight: bold;font-size: 30rpx;color: #222327;}
  1236. .btns{margin-top: 70rpx;width: 100%;background: #00A9F0;border-radius:10rpx;height: 88rpx;display: flex;align-items: center;justify-content: center;font-weight: 500;font-size: 30rpx;color: #FFFFFF;}
  1237. .shtips{font-weight: 500;text-align: center;margin-top: 36rpx;font-size: 24rpx;color: #FF6969;padding-bottom: 20rpx;}
  1238. //按钮
  1239. .conbtns{margin-top: 66rpx;
  1240. .cbtns{flex:1;display: flex;align-items: center;justify-content: center;box-sizing: border-box;height: 88rpx;font-weight: 500;
  1241. font-size: 30rpx;background: #FFFFFF;border-radius: 10rpx;
  1242. &.bga{border: 1px solid #00A9F0;background: #FFFFFF;color: #01A9F0;margin-right: 24rpx;}
  1243. &.bgb{background: #00A9F0;color: #FFFFFF;}
  1244. }
  1245. }
  1246. // 二次确认弹窗
  1247. &.con{
  1248. left: 80rpx;right: 80rpx;padding-bottom: 60rpx;
  1249. .conttxt{font-weight: bold;font-size: 30rpx;color: #222327;padding: 0 34rpx;text-align: center;
  1250. padding-top: 36rpx;
  1251. text{color: #00A9F0;}
  1252. .imgs{margin-bottom: 10rpx;}
  1253. }
  1254. }
  1255. // 上传图片
  1256. .addpbox{display: flex;flex-wrap: wrap;
  1257. .plist{width: 160rpx;height: 160rpx;background: #FFFFFF;border-radius: 20rpx;position: relative;margin-bottom: 10rpx;
  1258. margin-right: 30rpx;border: 2rpx dashed #CDCDCD;display: flex;align-items: center;justify-content: center;
  1259. &:nth-of-type(3n){margin-right: 0;}
  1260. &.addpimg{
  1261. border: 0;
  1262. image{width: 100%;height: 100%;}
  1263. }
  1264. .img{width: 150rpx;height: 150rpx;}
  1265. .del{width: 24rpx;height: 24rpx;position: absolute;right: -6rpx;top: -6rpx;}
  1266. }
  1267. }
  1268. // 选择日期
  1269. .chekt{
  1270. background-color: #EEEEEE;height: 88rpx;border-radius: 8rpx;display: flex;align-items: center;padding: 0 40rpx 0 24rpx;
  1271. view{font-size: 30rpx;flex: 1;}
  1272. image{width: 16rpx;height: 10rpx;flex: 0 0 auto;margin-left: 12rpx;}
  1273. }
  1274. .chektinp{background-color: #EEEEEE;height: 88rpx;border-radius: 8rpx;display: flex;align-items: center;padding-left: 24rpx;padding-right: 10rpx;}
  1275. // 上会人员添加
  1276. .shshtips{font-weight: 500;padding-top: 14rpx;font-size: 24rpx;color: #FF6969;}
  1277. .addsh{font-weight: 500;flex:0 0 auto; font-size: 30rpx;color: #00A9F0;display: flex;align-items: center;
  1278. image{width: 24rpx;height: 24rpx;margin-right: 8rpx;}
  1279. }
  1280. .peolists{
  1281. display: flex;flex-wrap: wrap;
  1282. .plist{background-color: rgba(0, 169, 240, 0.1);font-weight: 500;font-size: 26rpx;border-radius:10rpx;width: 172rpx;margin: 0 12rpx 18rpx 0;display: flex;align-items: center;padding: 18rpx 16rpx;box-sizing: border-box;
  1283. color: #666666;overflow: hidden;
  1284. &:nth-of-type(3n){margin-right: 0;}
  1285. image{width: 26rpx;height: 26rpx;}
  1286. }
  1287. }
  1288. .ptips{font-weight: 500;font-size: 26rpx;color: #FF6969;margin-bottom: 40rpx;}
  1289. // 附件
  1290. .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 20rpx;
  1291. &:last-child{margin-bottom: 0;}
  1292. .imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;flex: 0 0 auto;
  1293. image{width: 26rpx;height: 24rpx;}
  1294. }
  1295. .tit{font-size: 26rpx;color: #222327;font-weight: 500;margin-top: 4rpx;word-break: break-all;}
  1296. .delimg{width: 40rpx;height:40rpx;margin-left: 16rpx;display: flex;align-items: center;justify-content: center;flex: 0 0 auto;
  1297. image{width: 24rpx;height: 24rpx;}
  1298. }
  1299. .txta{color: #28C529;font-weight: 500;line-height: 40rpx;flex: 0 0 auto;margin-left: 18rpx;padding: 0 6rpx;}
  1300. }
  1301. }
  1302. .addboxbg{background-color: rgba(0, 0, 0, 0.5);position: fixed;left: 0;right: 0;top: 0;bottom: 0;z-index: 50;
  1303. }
  1304. .addbox{z-index: 55;width: 100%;position: fixed;left:0;right: 0;bottom: 0;max-height: calc(100vh - 400rpx);overflow: auto;
  1305. padding: 40rpx 48rpx 52rpx;background-color: #FFFFFF;
  1306. .peolists{display: flex;flex-wrap: wrap;
  1307. .plist{width: auto !important;background: #FFFFFF;font-weight: 500;font-size: 26rpx;border-radius:10rpx;min-width: 172rpx;margin: 0 12rpx 18rpx 0;display: flex;align-items: center;padding: 18rpx 16rpx;box-sizing: border-box;
  1308. color: #666666;overflow: hidden;text-align: center;border: 2rpx solid rgba(0, 169, 240, 0.1);
  1309. &.act{
  1310. background-color: rgba(0, 169, 240, 0.1);
  1311. }
  1312. }
  1313. }
  1314. }
  1315. .cloimg{display: flex;align-items: center;justify-content: center;position: absolute;width: 40rpx;height: 40rpx;
  1316. top: 40rpx;left: 40rpx;
  1317. image{width: 22rpx;height: 22rpx;}
  1318. }
  1319. .ttit{font-weight: bold;text-align: center;font-size: 30rpx;color: #222327;margin-bottom:50rpx;}
  1320. </style>