popup.vue 46 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331
  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(fileVal=='qtfj'){
  1090. newobj.name=responseText.originalFilename;
  1091. }else{
  1092. newobj.name=responseText.newFileName;
  1093. }
  1094. newobj.oldName=responseText.originalFilename;
  1095. newobj.url=responseText.fileName;
  1096. newobj.type=fileVal;
  1097. newobj.bigType=bigType;
  1098. newobj.loanApplicationId=this.loanApplicationId;
  1099. newobj.loanApplicationNumber=this.loanApplicationNumber;
  1100. this.filelist.push(newobj)
  1101. },
  1102. editonuploadEnd(item,fileVal,bigType) {
  1103. var newobj={}
  1104. var responseText=JSON.parse(item.responseText)
  1105. newobj.name=responseText.newFileName;
  1106. newobj.oldName=responseText.originalFilename;
  1107. newobj.url=responseText.fileName;
  1108. newobj.type=fileVal;
  1109. newobj.bigType=bigType;
  1110. newobj.loanApplicationId=this.loanApplicationId;
  1111. newobj.loanApplicationNumber=this.loanApplicationNumber;
  1112. newobj.fjId=this.fjId;
  1113. var newArr=[];
  1114. newArr.push(newobj);
  1115. this.filelist=JSON.parse(JSON.stringify(newArr))
  1116. },
  1117. // 借据上传
  1118. jjonuploadEnd(item,fileVal,bigType){
  1119. var newobj={}
  1120. var responseText=JSON.parse(item.responseText)
  1121. if(responseText.code==200){
  1122. this.actuallyAmount=responseText.actuallyAmount;
  1123. this.actuallyTime=responseText.actuallyTime;
  1124. newobj.name=responseText.newFileName;
  1125. newobj.oldName=responseText.originalFilename;
  1126. newobj.url=responseText.fileName;
  1127. newobj.type=fileVal;
  1128. newobj.bigType=bigType;
  1129. newobj.loanApplicationId=this.loanApplicationId;
  1130. newobj.loanApplicationNumber=this.loanApplicationNumber;
  1131. var newArr=[];
  1132. newArr.push(newobj);
  1133. this.filelist=JSON.parse(JSON.stringify(newArr))
  1134. }else{
  1135. this.$toast(responseText.msg)
  1136. }
  1137. },
  1138. getDelFj(idx){
  1139. var that=this;
  1140. uni.showModal({
  1141. title: '确认删除',
  1142. content: "是否确认删除",
  1143. cancelText: '取消',
  1144. confirmText: '确认',
  1145. success: function(res) {
  1146. if (res.confirm) {
  1147. that.filelist.splice(idx,1)
  1148. } else if (res.cancel) {
  1149. }
  1150. }
  1151. });
  1152. },
  1153. getDelPh(idx){
  1154. this.phofile.splice(idx,1)
  1155. },
  1156. getDelRy(idx){
  1157. this.shrylist.splice(idx,1)
  1158. },
  1159. getDown(e){
  1160. uni.showLoading({
  1161. title: '加载中'
  1162. });
  1163. var url=baseUrl+e;
  1164. let index1 = e.lastIndexOf("."); // 得到一个索引值
  1165. let index2 = e.length;
  1166. let type = e.substring(index1, index2);
  1167. if ((type.indexOf('jpg') > -1 || type.indexOf('jpeg') > -1 || type.indexOf('png') > -1)) {
  1168. uni.previewImage({
  1169. current: 0,
  1170. urls: [url],
  1171. // background: '#ffffff'
  1172. });
  1173. uni.hideLoading();
  1174. } else {
  1175. uni.downloadFile({
  1176. url: url,//文件的下载路径
  1177. success(result) {
  1178. uni.hideLoading()
  1179. var filePath = result.tempFilePath;
  1180. uni.openDocument({
  1181. filePath: filePath,
  1182. showMenu: true,
  1183. success: function (res) {
  1184. // console.log('打开文档成功');
  1185. }
  1186. });
  1187. },
  1188. fail(res) {uni.hideLoading()}
  1189. })
  1190. }
  1191. },
  1192. }
  1193. }
  1194. </script>
  1195. <style lang="scss" scoped>
  1196. // 进度
  1197. .speedbox{background: #FFFFFF;box-shadow: 0px 0px 14rpx 0px rgba(184,184,184,0.76);border-radius: 20rpx;padding: 44rpx 40rpx 0;
  1198. position: fixed;z-index: 10;left: 220rpx;top: 50%;transform: translateY(-50%);max-height: calc(100vh - 200rpx);overflow: auto;
  1199. .tit{font-weight: bold;font-size: 30rpx;color: #222327;margin-bottom: 36rpx;}
  1200. .lists{display: flex;align-items: flex-start;position: relative;padding-bottom: 52rpx;
  1201. &::after{content: '';width: 2rpx;position: absolute;left: 15rpx;top: 56rpx;bottom: 56rpx;height: 60rpx;background: #E6E6E6;}
  1202. &:last-child{
  1203. &::after{display: none;}
  1204. // .ltit{color: #01A9F0 !important;}
  1205. }
  1206. .listl{width: 32rpx;height: 32rpx;margin-right: 22rpx;display: flex;align-items: center;justify-content: center;
  1207. image{width: 32rpx;height: 32rpx;
  1208. &.imga{width: 30rpx;height: 30rpx;}
  1209. }
  1210. }
  1211. .listr{
  1212. .ltit{font-weight: 500;font-size: 26rpx;color: #222327;margin-bottom: 22rpx;
  1213. &.act{color: #01A9F0;}
  1214. }
  1215. .ltxt{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  1216. }
  1217. }
  1218. }
  1219. .fixbox /deep/ .uni-select{border: none;background-color: #EEEEEE;height: 88rpx;}
  1220. .fixbox /deep/ .uni-select__input-placeholder{font-size: 30rpx;color: #AAAAAA;}
  1221. .fixbox /deep/ .uni-textarea-placeholder{font-size: 26rpx;color: #AAAAAA;}
  1222. .textar{width: 100%;border-radius: 10rpx;padding: 26rpx 30rpx;font-size: 26rpx;color: #222327;height: 400rpx;background: #EEEEEE;
  1223. &.texthe{height: 190rpx;}
  1224. }
  1225. .fixbox{position: fixed;left: 56rpx;right: 56rpx;background: #FFFFFF;max-height: calc(100vh - 200rpx);overflow: auto;
  1226. border-radius: 20rpx;z-index: 10;top: 50%;transform: translateY(-50%);padding: 40rpx 48rpx 52rpx;
  1227. .ttxt{font-weight: bold;font-size: 30rpx;color: #222327;}
  1228. .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;}
  1229. .shtips{font-weight: 500;text-align: center;margin-top: 36rpx;font-size: 24rpx;color: #FF6969;padding-bottom: 20rpx;}
  1230. //按钮
  1231. .conbtns{margin-top: 66rpx;
  1232. .cbtns{flex:1;display: flex;align-items: center;justify-content: center;box-sizing: border-box;height: 88rpx;font-weight: 500;
  1233. font-size: 30rpx;background: #FFFFFF;border-radius: 10rpx;
  1234. &.bga{border: 1px solid #00A9F0;background: #FFFFFF;color: #01A9F0;margin-right: 24rpx;}
  1235. &.bgb{background: #00A9F0;color: #FFFFFF;}
  1236. }
  1237. }
  1238. // 二次确认弹窗
  1239. &.con{
  1240. left: 80rpx;right: 80rpx;padding-bottom: 60rpx;
  1241. .conttxt{font-weight: bold;font-size: 30rpx;color: #222327;padding: 0 34rpx;text-align: center;
  1242. padding-top: 36rpx;
  1243. text{color: #00A9F0;}
  1244. .imgs{margin-bottom: 10rpx;}
  1245. }
  1246. }
  1247. // 上传图片
  1248. .addpbox{display: flex;flex-wrap: wrap;
  1249. .plist{width: 160rpx;height: 160rpx;background: #FFFFFF;border-radius: 20rpx;position: relative;margin-bottom: 10rpx;
  1250. margin-right: 30rpx;border: 2rpx dashed #CDCDCD;display: flex;align-items: center;justify-content: center;
  1251. &:nth-of-type(3n){margin-right: 0;}
  1252. &.addpimg{
  1253. border: 0;
  1254. image{width: 100%;height: 100%;}
  1255. }
  1256. .img{width: 150rpx;height: 150rpx;}
  1257. .del{width: 24rpx;height: 24rpx;position: absolute;right: -6rpx;top: -6rpx;}
  1258. }
  1259. }
  1260. // 选择日期
  1261. .chekt{
  1262. background-color: #EEEEEE;height: 88rpx;border-radius: 8rpx;display: flex;align-items: center;padding: 0 40rpx 0 24rpx;
  1263. view{font-size: 30rpx;flex: 1;}
  1264. image{width: 16rpx;height: 10rpx;flex: 0 0 auto;margin-left: 12rpx;}
  1265. }
  1266. .chektinp{background-color: #EEEEEE;height: 88rpx;border-radius: 8rpx;display: flex;align-items: center;padding-left: 24rpx;padding-right: 10rpx;}
  1267. // 上会人员添加
  1268. .shshtips{font-weight: 500;padding-top: 14rpx;font-size: 24rpx;color: #FF6969;}
  1269. .addsh{font-weight: 500;flex:0 0 auto; font-size: 30rpx;color: #00A9F0;display: flex;align-items: center;
  1270. image{width: 24rpx;height: 24rpx;margin-right: 8rpx;}
  1271. }
  1272. .peolists{
  1273. display: flex;flex-wrap: wrap;
  1274. .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;
  1275. color: #666666;overflow: hidden;
  1276. &:nth-of-type(3n){margin-right: 0;}
  1277. image{width: 26rpx;height: 26rpx;}
  1278. }
  1279. }
  1280. .ptips{font-weight: 500;font-size: 26rpx;color: #FF6969;margin-bottom: 40rpx;}
  1281. // 附件
  1282. .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 20rpx;
  1283. &:last-child{margin-bottom: 0;}
  1284. .imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;flex: 0 0 auto;
  1285. image{width: 26rpx;height: 24rpx;}
  1286. }
  1287. .tit{font-size: 26rpx;color: #222327;font-weight: 500;margin-top: 4rpx;word-break: break-all;}
  1288. .delimg{width: 40rpx;height:40rpx;margin-left: 16rpx;display: flex;align-items: center;justify-content: center;flex: 0 0 auto;
  1289. image{width: 24rpx;height: 24rpx;}
  1290. }
  1291. .txta{color: #28C529;font-weight: 500;line-height: 40rpx;flex: 0 0 auto;margin-left: 18rpx;padding: 0 6rpx;}
  1292. }
  1293. }
  1294. .addboxbg{background-color: rgba(0, 0, 0, 0.5);position: fixed;left: 0;right: 0;top: 0;bottom: 0;z-index: 50;
  1295. }
  1296. .addbox{z-index: 55;width: 100%;position: fixed;left:0;right: 0;bottom: 0;max-height: calc(100vh - 400rpx);overflow: auto;
  1297. padding: 40rpx 48rpx 52rpx;background-color: #FFFFFF;
  1298. .peolists{display: flex;flex-wrap: wrap;
  1299. .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;
  1300. color: #666666;overflow: hidden;text-align: center;border: 2rpx solid rgba(0, 169, 240, 0.1);
  1301. &.act{
  1302. background-color: rgba(0, 169, 240, 0.1);
  1303. }
  1304. }
  1305. }
  1306. }
  1307. .cloimg{display: flex;align-items: center;justify-content: center;position: absolute;width: 40rpx;height: 40rpx;
  1308. top: 40rpx;left: 40rpx;
  1309. image{width: 22rpx;height: 22rpx;}
  1310. }
  1311. .ttit{font-weight: bold;text-align: center;font-size: 30rpx;color: #222327;margin-bottom:50rpx;}
  1312. </style>