salecontract.vue 39 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316
  1. <template>
  2. <view class="container">
  3. <view class="headInfo">
  4. <view class="headInfo_left">
  5. <u-icon name="checkmark" color="#22C572" size="30" v-if="auditCheck=='success'"></u-icon>
  6. <u-icon name="close" color="#FB2323" size="24" v-if="auditCheck=='error'"></u-icon>
  7. <u-icon name="clock-fill" color="#FE6430" size="30" v-if="auditCheck=='question'"></u-icon>
  8. </view>
  9. <view class="headInfo_middle">
  10. <view class="headInfo_title">销售合同审批</view>
  11. <view class="headInfo_No">{{list.contractNo}}</view>
  12. </view>
  13. <view class="headInfo_right">
  14. <view class="char_a" v-if="auditCheck == 'success'">审批通过</view>
  15. <view class="char_b" v-if="auditCheck == 'question'">审核中</view>
  16. <view class="char_c" v-if="auditCheck == 'error'">审批未通过</view>
  17. </view>
  18. <view class="adopt" v-if="auditCheck == 'success'">
  19. <image src="../../../static/img/oa_office/adopt.png" class="adopt_img" mode=""></image>
  20. </view>
  21. </view>
  22. <u-form ref="uForm" >
  23. <view class="form_top">基本信息</view>
  24. <u-form-item label-width='260' :borderBottom="false" class="label_css" label="合同编号">
  25. <u-input v-model="list.contractNo" input-align="right" placeholder="--" disabled />
  26. </u-form-item>
  27. <u-form-item label-width='260' :borderBottom="false" label="买方">
  28. <u-input v-model="list.buyer" input-align="right" placeholder="--" disabled />
  29. </u-form-item>
  30. <u-form-item label-width='260' :borderBottom="false" label="买方电话">
  31. <u-input v-model="list.buyerPhone" input-align="right" placeholder="--" disabled />
  32. </u-form-item>
  33. <u-form-item label-width='260' :borderBottom="false" label="卖方">
  34. <u-input v-model="list.seller" input-align="right" placeholder="--" disabled />
  35. </u-form-item>
  36. <u-form-item label-width='260' :borderBottom="false" label="卖方电话">
  37. <u-input v-model="list.sellerPhone" input-align="right" placeholder="--" disabled />
  38. </u-form-item>
  39. <u-form-item label-width='260' label="合营方" :borderBottom="false" v-show="list.jointVentureParties">
  40. <u-input v-model="list.jointVentureParties" input-align="right" placeholder="--" disabled />
  41. </u-form-item>
  42. <u-form-item label-width='260' label="合营方电话" :borderBottom="false" v-show="list.jointPhone">
  43. <u-input v-model="list.jointPhone" input-align="right" placeholder="--" disabled />
  44. </u-form-item>
  45. <u-form-item label-width='260' :borderBottom="false" label="中转公司">
  46. <u-input v-model="list.transitCompany" input-align="right" placeholder="--" disabled />
  47. </u-form-item>
  48. <u-form-item label-width='260' :borderBottom="false" label="交货日期(起 - 止)" v-show="list.deliveryDateStart">
  49. <view class="textCss">
  50. {{list.deliveryDateStart }} ~ {{list.deliveryDateEnd}}
  51. </view>
  52. </u-form-item>
  53. <!-- <u-form-item label-width='260' :borderBottom="false" label="交货日期(止)">
  54. <u-input v-model="list.deliveryDateEnd" input-align="right" placeholder="--" disabled />
  55. </u-form-item> -->
  56. <u-form-item label-width='150' :borderBottom="false" label="签订日期">
  57. <u-input v-model="list.signingDate" input-align="right" placeholder="--" disabled />
  58. </u-form-item>
  59. <u-form-item label-width='230' :borderBottom="false" label="合同总价(元)">
  60. <u-input v-model="list.totalContractPrice" input-align="right" placeholder="--" disabled />
  61. </u-form-item>
  62. <u-form-item label-width='260' :borderBottom="false" label="合同单价(元/吨)">
  63. <u-input v-model="list.unitContractPrice" input-align="right" placeholder="--" disabled />
  64. </u-form-item>
  65. <u-form-item label-width='260' :borderBottom="false" label="货源所在地区" v-show="list.sourceProvince">
  66. <view class="textCss">
  67. {{list.sourceProvince}}{{list.sourceCity}}{{list.sourceArea}}
  68. </view>
  69. </u-form-item>
  70. <u-form-item label-width='260' :borderBottom="false" label="货源详细地址" v-show="list.sourceGoods">
  71. <u-input v-model="list.sourceGoods" input-align="right" placeholder="--" disabled />
  72. </u-form-item>
  73. <u-form-item label-width='260' :borderBottom="false" label="交货地所在地区" v-show="list.deliveryProvince">
  74. <view class="textCss">
  75. {{list.deliveryProvince}}{{list.deliveryCity}}{{list.deliveryArea}}
  76. </view>
  77. </u-form-item>
  78. <u-form-item label-width='260' :borderBottom="false" label="交货地详细地址" v-show="list.placeDelivery">
  79. <u-input v-model="list.placeDelivery" input-align="right" placeholder="--" disabled />
  80. </u-form-item>
  81. <u-form-item label-width='300' :borderBottom="false" label="最终实际交易量(吨)">
  82. <u-input v-model="list.finalTradingVolume" input-align="right" placeholder="--" disabled />
  83. </u-form-item>
  84. <u-form-item label-width='300' :borderBottom="false" label="结算单价(元/吨)" v-show="list.settlementPrice">
  85. <u-input v-model="list.settlementPrice" input-align="right" placeholder="--" disabled />
  86. </u-form-item>
  87. <u-form-item label-width='260' :borderBottom="false" label="合同收入(元)" v-show="list.contractProcessInfo.goodsNameKey">
  88. <u-input v-model="list.contractProcessInfo.goodsNameKey" input-align="right" placeholder="--" disabled />
  89. </u-form-item>
  90. <u-form-item label-width='260' :borderBottom="false" label="已开发票(元)" v-show="list.contractProcessInfo.goodsName">
  91. <u-input v-model="list.contractProcessInfo.goodsName" input-align="right" placeholder="--" disabled />
  92. </u-form-item>
  93. <u-form-item label-width='260' :borderBottom="false" label="费用支出(元)" v-show="list.contractProcessInfo.waterContent">
  94. <u-input v-model="list.contractProcessInfo.waterContent" input-align="right" placeholder="--" disabled />
  95. </u-form-item>
  96. <u-form-item label-width='260' :borderBottom="false" label="未开发票(元)" v-show="list.contractProcessInfo.impurity">
  97. <u-input v-model="list.contractProcessInfo.impurity" input-align="right" placeholder="--" disabled />
  98. </u-form-item>
  99. <u-form-item label-width='260' :borderBottom="false" label="未回款(元)" v-show="list.contractProcessInfo.mildewGrain">
  100. <u-input v-model="list.contractProcessInfo.mildewGrain" input-align="right" placeholder="--" disabled />
  101. </u-form-item>
  102. <u-form-item label-width='260' :borderBottom="false" label="双章原件回收情况" v-show="list.contractProcessInfo.grade">
  103. <u-input v-model="list.contractProcessInfo.grade" input-align="right" placeholder="--" disabled />
  104. </u-form-item>
  105. <u-form-item label-width='260' :borderBottom="false" label="备注信息" v-show="list.contractProcessInfo.grade">
  106. </u-form-item>
  107. <!-- <view class="form_top">备注信息</view> -->
  108. <u-form-item>
  109. <textarea class='textarea' autoHeight v-model="list.remarks" input-align="right" placeholder="暂无备注信息" disabled />
  110. </u-form-item>
  111. </u-form>
  112. <u-form ref="uForm">
  113. <view class="form_top">货物信息</view>
  114. <view class="form_view" style="background: #F9F9FA;">
  115. <u-row customStyle="margin-bottom: 10px;">
  116. <u-col span="6">
  117. <u-form-item label-width='100' :borderBottom="false" label="货名" class="label_css">
  118. <u-input v-model="list.contractGoodsInfo.goodsName" class="input_css" input-align="right" placeholder="--"
  119. disabled />
  120. </u-form-item>
  121. </u-col>
  122. <u-col span="6">
  123. <u-form-item label-width='150' :borderBottom="false" label="品级" class="label_css">
  124. <u-input v-model="list.contractGoodsInfo.grade" class="input_css" input-align="right" placeholder="--"
  125. disabled />
  126. </u-form-item>
  127. </u-col>
  128. </u-row>
  129. <u-row customStyle="margin-bottom: 10px;">
  130. <u-col span="6">
  131. <u-form-item label-width='230' :borderBottom="false" label="容重(克/升)>=" class="label_css">
  132. <u-input v-model="list.contractGoodsInfo.bulkDensity" class="input_css" input-align="right" placeholder="--"
  133. disabled />
  134. </u-form-item>
  135. </u-col>
  136. <u-col span="6">
  137. <u-form-item label-width='230' :borderBottom="false" label="水分(%)<=" class="label_css">
  138. <u-input v-model="list.contractGoodsInfo.waterContent" class="input_css" input-align="right" placeholder="--"
  139. disabled />
  140. </u-form-item>
  141. </u-col>
  142. </u-row>
  143. <u-row customStyle="margin-bottom: 10px;">
  144. <u-col span="6">
  145. <u-form-item label-width='230' :borderBottom="false" label="热损伤(%)<=" class="label_css">
  146. <u-input v-model="list.contractGoodsInfo.jiaorenli" class="input_css" input-align="right" placeholder="--"
  147. disabled />
  148. </u-form-item>
  149. </u-col>
  150. <u-col span="6">
  151. <u-form-item label-width='230' :borderBottom="false" label="杂质(%)<=" class="label_css">
  152. <u-input v-model="list.contractGoodsInfo.impurity" class="input_css" input-align="right" placeholder="--"
  153. disabled />
  154. </u-form-item>
  155. </u-col>
  156. </u-row>
  157. <u-row customStyle="margin-bottom: 10px;">
  158. <u-col span="6">
  159. <u-form-item label-width='230' :borderBottom="false" label="霉变粒(%)<=" class="label_css">
  160. <u-input v-model="list.contractGoodsInfo.mildewGrain" class="input_css" input-align="right" placeholder="--"
  161. disabled />
  162. </u-form-item>
  163. </u-col>
  164. <u-col span="6">
  165. <u-form-item label-width='240' :borderBottom="false" label="不完善粒(%)<=" class="label_css">
  166. <u-input v-model="list.contractGoodsInfo.imperfectGrain" class="input_css" input-align="right" placeholder="--"
  167. disabled />
  168. </u-form-item>
  169. </u-col>
  170. </u-row>
  171. </view>
  172. </u-form>
  173. <u-form ref="uForm">
  174. <view class="form_top">约定信息</view>
  175. <view class="form_view">
  176. <u-row customStyle="margin-bottom: 10px;">
  177. <u-col span="6">
  178. <u-form-item label-width='150' :borderBottom="false" label="结算方式" class="label_css">
  179. <u-input v-model="list.settlementMethod" class="input_css" input-align="right" placeholder="--" disabled />
  180. </u-form-item>
  181. </u-col>
  182. <u-col span="6">
  183. <u-form-item label-width='150' :borderBottom="false" label="交货方式" class="label_css">
  184. <u-input v-model="list.deliverType1" class="input_css" input-align="right" placeholder="--" disabled />
  185. </u-form-item>
  186. </u-col>
  187. </u-row>
  188. <u-row customStyle="margin-bottom: 10px;">
  189. <u-col span="6">
  190. <u-form-item label-width='150' :borderBottom="false" label="运输方式" class="label_css">
  191. <u-input v-model="list.shippingType" input-align="right" class="input_css" placeholder="--" disabled />
  192. </u-form-item>
  193. </u-col>
  194. <u-col span="6">
  195. <u-form-item label-width='150' :borderBottom="false" label="交易主体" class="label_css">
  196. <u-input v-model="list.transactionSubject" input-align="right" class="input_css" placeholder="--" disabled />
  197. </u-form-item>
  198. </u-col>
  199. </u-row>
  200. <u-row customStyle="margin-bottom: 10px;">
  201. <u-col span="6">
  202. <u-form-item label-width='150' :borderBottom="false" label="验收方式" class="label_css">
  203. <u-input v-model="list.acceptanceMethod" input-align="right" class="input_css" placeholder="--" disabled />
  204. </u-form-item>
  205. </u-col>
  206. <u-col span="6">
  207. <u-form-item label-width='150' :borderBottom="false" label="包装方式" class="label_css">
  208. <u-input v-model="list.packingMethod" input-align="right" class="input_css" placeholder="--" disabled />
  209. </u-form-item>
  210. </u-col>
  211. </u-row>
  212. <u-row customStyle="margin-bottom: 10px;">
  213. <u-col span="6">
  214. <u-form-item label-width='150' :borderBottom="false" label="重量(吨)" class="label_css">
  215. <u-input v-model="list.weight" input-align="right" class="input_css" placeholder="--" disabled />
  216. </u-form-item>
  217. </u-col>
  218. <u-col span="6">
  219. <u-form-item label-width='180' :borderBottom="false" label="溢短装(%)" class="label_css">
  220. <u-input v-model="list.overShort" input-align="right" class="input_css" placeholder="--" disabled />
  221. </u-form-item>
  222. </u-col>
  223. </u-row>
  224. </view>
  225. </u-form>
  226. <u-form ref="uForm">
  227. <view class="form_top">共{{imglist.length}}个附件</view>
  228. <view v-if='imglist.length>0'>
  229. <view style="justify-content: space-between;" class='flex' v-for='item in imglist'>
  230. <view class="img_item">
  231. <view class="" style="width: 16%;">
  232. <image
  233. v-if="item.type == 'pdf'"
  234. class="imgsign" src="../../../static/img/oa_office/pdf3.png"
  235. mode=""></image>
  236. <image v-else-if="item.type == 'xls'||item.type == 'xlsx'"
  237. class="imgsign" src="../../../static/img/oa_office/excle3.png"
  238. mode=""></image>
  239. <image v-else-if="item.type == 'doc'||item.type == 'docx'"
  240. class="imgsign" src="../../../static/img/oa_office/word3.png"
  241. mode=""></image>
  242. <image v-else class="imgsign" :src="item.appendixPath" mode="">
  243. </image>
  244. </view>
  245. <view class="" style="width: 70%;">
  246. <view class="char_css">{{item.appendixName}}</view>
  247. <u-line-progress v-if='item.progressstatus' :striped="true" :percent="item.progress" :striped-active="true"></u-line-progress>
  248. <view class="img_size">{{item.appendixSize}}</view>
  249. </view>
  250. <view style="color: #22C572;" class="img_dowload" @click="openDocument(item)">
  251. 下载
  252. </view>
  253. </view>
  254. </view>
  255. </view>
  256. </u-form>
  257. <u-form ref="uForm">
  258. <view class="form_top">流程</view>
  259. <view class="content2">
  260. <view v-for="(item,index) in auditList" :key='index' class="audit">
  261. <view class="row" v-if='item.desc!="_PLACEHOLDER_"'>
  262. <view class="left">
  263. <view class="item1">
  264. <view class="item-content">{{item.operatorTitle}}</view>
  265. <view v-if="item.status=='success'" class='status success'>
  266. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  267. </view>
  268. <view v-if="item.status=='error'" class='status error'>
  269. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  270. </view>
  271. <view v-if="item.status=='question'" class='status question'>
  272. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  273. </view>
  274. </view>
  275. </view>
  276. <view class="right">
  277. <view class="right-item">
  278. <view class="item2">
  279. <view class="name">{{item.desc}}
  280. </view>
  281. <!-- <view class='time'>{{item.updateDate}}</view> -->
  282. <view v-if="item.status=='success'" class="status success">
  283. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  284. v-if='!item.commonStaffs1&&index!=0'>已审核</text>
  285. </view>
  286. <view v-if="item.status=='error'" class="status error">
  287. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  288. v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text>
  289. </view>
  290. <view v-if="item.status=='question'" class="status question">
  291. {{item.commonStaffs1?item.staffscontent:''}}<text
  292. v-if='!item.commonStaffs1'>未审核</text>
  293. </view>
  294. <!-- <view class="status success">吕波(已审核)</view> -->
  295. </view>
  296. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0'
  297. class='time'>
  298. {{item.updateDate}}
  299. </view>
  300. </view>
  301. <view v-if='item.auditMind' class="right-content">
  302. {{item.auditMind}}
  303. </view>
  304. <view class="flex audit_img">
  305. <view v-for="(items,indexs) in item.fileUrl" class="url_css">
  306. <image :src="items" mode="" class="url_img" @click="auditFile(items)"></image>
  307. </view>
  308. </view>
  309. </view>
  310. <view v-if='item.commonStaffs1' class="right">
  311. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28">
  312. </u-icon>
  313. </view>
  314. </view>
  315. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  316. <view class='row2'>
  317. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  318. <view class="item-content">
  319. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  320. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  321. </view>
  322. <view class="name">{{item1.staffName}}</view>
  323. </view>
  324. </view>
  325. </view>
  326. <view class="row-line" v-if="index!= auditList.length - 1&&item.desc!='_PLACEHOLDER_'"></view>
  327. </view>
  328. </view>
  329. </u-form>
  330. <view v-if='list.taskId' style='padding:10px;' class='flex bottom-btn'>
  331. <u-button v-if='list.approveStatus||isSHowBtn' @click='reject' type="error" class="btn1" hover-class='none'>
  332. 驳回
  333. </u-button>
  334. <u-button v-if='list.approveStatus||isSHowBtn' @click='pass' type="success" class="btn2">通过
  335. </u-button>
  336. </view>
  337. <view v-if='show' class="shade">
  338. <view class="wrap">
  339. <view class="alert-top">
  340. <view class="title">
  341. {{title}}
  342. </view>
  343. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  344. </view>
  345. <view class="u-textarea-style">
  346. <view class="right-bottom">
  347. {{auditMind.length}}/1000个字
  348. </view>
  349. <textarea maxlength="1000" v-model='auditMind' placeholder="请在此输入审核意见" name="" id="" cols="30" rows="11"></textarea>
  350. </view>
  351. <view class="upload_css">
  352. 上传附件
  353. <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="2"
  354. :size-type="['compressed']" @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
  355. @on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload>
  356. </view>
  357. <view @click='close()' class="cancel">取消</view>
  358. <view @click='passSubmit()' class="confirm">确定</view>
  359. </view>
  360. </view>
  361. <view @click='imgShow=false' v-if="imgShow" class="shade">
  362. <image style='position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;' :src="url" mode=""></image>
  363. </view>
  364. </view>
  365. </template>
  366. <script>
  367. import upload from '@/components/upload.vue';
  368. import helper from '@/common/helper.js';
  369. export default {
  370. components: {
  371. upload
  372. },
  373. data() {
  374. return {
  375. everyCheck: '',
  376. id: "",
  377. currentPage: 1,
  378. pageSize: 10,
  379. list: {
  380. status: "",
  381. contractGoodsInfo: {},
  382. contractProcessInfo: {}
  383. },
  384. imglist: [],
  385. title: '',
  386. auditMind: '',
  387. auditList: [],
  388. show: false,
  389. contractNo: "",
  390. action: this.$uploadUrl,
  391. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  392. isAdd: true,
  393. url: "",
  394. imgShow: false,
  395. height: 200,
  396. autoHeight: true,
  397. border: false,
  398. rejectInfo: "",
  399. rejectInfo1: "",
  400. isSHowBtn: true,
  401. auditCheck:"question",//判断审核是否通过
  402. // 上传附件、
  403. action: this.$uploadUrl,
  404. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  405. isAdd: true,
  406. fileUrl: []
  407. }
  408. },
  409. onBackPress(e) {
  410. if (this.everyCheck) {
  411. uni.navigateTo({
  412. url: "/pages/task/my_task"
  413. })
  414. return true;
  415. }
  416. },
  417. onLoad(options) {
  418. this.id = options.id
  419. this.everyCheck = uni.getStorageSync("everyTask")
  420. this.isSHowBtn = options.isShowbtn
  421. this.getList()
  422. },
  423. methods: {
  424. auditFile(src) {
  425. uni.downloadFile({
  426. url: src,
  427. success: function(res) {
  428. var filePath = res.tempFilePath;
  429. uni.openDocument({
  430. filePath: filePath,
  431. showMenu: true,
  432. success: function(res) {
  433. console.log('打开文档成功');
  434. }
  435. });
  436. }
  437. });
  438. },
  439. getImgUrl(res) {
  440. this.fileUrl.push(res)
  441. },
  442. onError(error) {
  443. alert(error)
  444. console.log('------------error-----------')
  445. console.log(error)
  446. },
  447. onProgress(e) {
  448. console.log(e)
  449. },
  450. onRemove(index) {
  451. this.fileUrl.splice(index, 1)
  452. },
  453. openDocument(item) {
  454. this.$set(item,'progressstatus',true)
  455. this.$forceUpdate()
  456. const downloadTask =uni.downloadFile({
  457. url: item.appendixPath,
  458. success: function(res) {
  459. var filePath = res.tempFilePath;
  460. if(item.type=='pdf'||item.type == 'xls'||item.type == 'xlsx'||item.type == 'doc'||item.type == 'docx'){
  461. uni.openDocument({
  462. filePath: filePath,
  463. showMenu: true,
  464. success: function(res) {
  465. console.log('打开文档成功');
  466. }
  467. });
  468. }else{
  469. uni.previewImage({
  470. current: 0, //预览图片的下标
  471. urls: [item.appendixPath]
  472. })
  473. }
  474. }
  475. });
  476. downloadTask.onProgressUpdate((res) => {
  477. this.$set(item,'progress',res.progress)
  478. this.$forceUpdate()
  479. console.log('下载进度' + res.progress);
  480. console.log('已经下载的数据长度' + res.totalBytesWritten);
  481. console.log('预期需要下载的数据总长度' + res.totalBytesExpectedToWrite);
  482. // 满足测试条件,取消下载任务。
  483. // if (res.progress > 50) {
  484. // downloadTask.abort();
  485. // }
  486. });
  487. },
  488. shadeshow(url) {
  489. this.imgShow = true
  490. this.url = url
  491. },
  492. showcontent(item) {
  493. item.showflow = !item.showflow
  494. },
  495. getList(id) {
  496. var that = this
  497. uni.showLoading({
  498. title: '加载中',
  499. mask: true
  500. })
  501. this.$api.doRequest('get', '/contractManagementInfo/getInfo', {
  502. id: this.id
  503. }).then(res => {
  504. if (res.data.code == 200) {
  505. this.list = res.data.data
  506. if (this.list.deliverType == 1) {
  507. this.list.deliverType1 = '我方送货'
  508. } else if (this.list.deliverType == 2) {
  509. this.list.deliverType1 = '对方自提'
  510. }
  511. this.$api.doRequest('get', '/appendix/query/getFileList', {
  512. appendixIds: that.list.addressUrl
  513. }).then(res1 => {
  514. that.imglist = res1.data.data
  515. for (let i = 0; i < that.imglist.length; i++) {//获取后缀
  516. that.imglist[i].progressstatus=false
  517. that.imglist[i].progress=0
  518. if (that.imglist[i].appendixName) {
  519. let index = that.imglist[i].appendixName.lastIndexOf(".")
  520. that.imglist[i].type = that.imglist[i].appendixName.substring(index+1)
  521. }
  522. }
  523. // 审核流程
  524. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  525. businessCode: 'SALE-CONTRACT-APPROVE',
  526. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  527. }).then(res1 => {
  528. this.$api.doRequest('get', '/commonUser/getHis', {
  529. workflowId: res1.data.data[0].id,
  530. businessKey: this.id,
  531. branch:that.list.jointVentureParties?that.list.jointVentureParties:'zt'
  532. }).then(response => {
  533. uni.hideLoading()
  534. for (let i = 0; i < response.data.data.length; i++) {
  535. this.$set(response.data.data[i], 'status', 'question')
  536. // console.log(response.data.data[i].workflowHistoricTasks,i)
  537. if (response.data.data[i].commonStaffs) {
  538. response.data.data[i].showflow = false
  539. response.data.data[i].operatorTitle = response.data.data[i]
  540. .desc.substring(0, 2)
  541. response.data.data[i].operatorName = response.data.data[i]
  542. .desc
  543. response.data.data[i].staffscontent = '共' + response.data
  544. .data[i].commonStaffs.length + '人,当前审核' + response.data
  545. .data[i].workflowHistoricTasks.length + '人'
  546. if (response.data.data[i].workflowHistoricTasks && response
  547. .data.data[i].workflowHistoricTasks.length > 0) {
  548. if (response.data.data[i].workflowHistoricTasks
  549. .length != response.data.data[i].commonStaffs
  550. .length) {
  551. // response.data.data[i].status='question'
  552. this.$set(response.data.data[i], 'status',
  553. 'question')
  554. } else {
  555. this.$set(response.data.data[i], 'status',
  556. 'success')
  557. // response.data.data[i].status='success'
  558. }
  559. response.data.data[i].workflowlen = response.data.data[
  560. i].workflowHistoricTasks.length
  561. var workflowdata = response.data.data[i]
  562. .workflowHistoricTasks
  563. var staffsdata = response.data.data[i].commonStaffs
  564. for (let q = 0; q < staffsdata.length; q++) {
  565. staffsdata[q].status = false
  566. staffsdata[q].staffTitle = staffsdata[q].staffName
  567. for (let k = 0; k < workflowdata.length; k++) {
  568. if (staffsdata[q].staffId == workflowdata[k]
  569. .operatorId) {
  570. staffsdata[q].status = true
  571. }
  572. }
  573. }
  574. }
  575. response.data.data[i].commonStaffs1 = response.data.data[i]
  576. .commonStaffs
  577. } else {
  578. if (response.data.data[i].workflowHistoricTasks && response
  579. .data.data[i].workflowHistoricTasks.length > 0) {
  580. var len = response.data.data[i].workflowHistoricTasks
  581. .length - 1
  582. if (response.data.data[i].workflowHistoricTasks[len]
  583. .approved) {
  584. this.$set(response.data.data[i], 'status',
  585. 'success')
  586. } else {
  587. this.$set(response.data.data[i], 'status', 'error')
  588. }
  589. response.data.data[i].operatorTitle = response.data
  590. .data[i].workflowHistoricTasks[len].operatorName
  591. .substring(response.data.data[i]
  592. .workflowHistoricTasks[0].operatorName.length -
  593. 2)
  594. response.data.data[i].operatorName = response.data
  595. .data[i].workflowHistoricTasks[len].operatorName
  596. var time = new Date(response.data.data[i]
  597. .workflowHistoricTasks[len].claimTime)
  598. .getTime()
  599. response.data.data[i].updateDate = this.$u.timeFormat(
  600. time, 'mm.dd hh:MM')
  601. // response.data.data[i].auditMind = response.data.data[i]
  602. // .workflowHistoricTasks[len].auditMind
  603. // 显示附件和审核意见
  604. if (response.data.data[i].workflowHistoricTasks[len].auditMind && response.data.data[i].workflowHistoricTasks[len].auditMind.indexOf("##") !=-1) {
  605. response.data.data[i].auditMind = response.data.data[i].workflowHistoricTasks[len].auditMind.split("##")[0]
  606. response.data.data[i].fileUrl = response.data.data[i].workflowHistoricTasks[len].auditMind.split("##")[1].split(",")
  607. }else{
  608. response.data.data[i].auditMind = response.data.data[i].workflowHistoricTasks[len].auditMind
  609. }
  610. } else {
  611. this.$set(response.data.data[i], 'status', 'question')
  612. // response.data.data[i].status='question'
  613. if (response.data.data[i].desc == '总经理助理审核') {
  614. response.data.data[i].operatorTitle = '总助'
  615. } else if (response.data.data[i].desc == '杜大光审核') {
  616. response.data.data[i].operatorTitle = '大光'
  617. } else {
  618. response.data.data[i].operatorTitle = response.data
  619. .data[i].desc.substring(0, 2)
  620. }
  621. response.data.data[i].operatorName = response.data
  622. .data[i].desc
  623. var time1 = new Date(response.data.data[i].updateDate)
  624. .getTime()
  625. response.data.data[i].updateDate = this.$u.timeFormat(
  626. time1, 'mm.dd hh:MM')
  627. response.data.data[i].auditMind = ''
  628. }
  629. }
  630. }
  631. console.log(response.data.data)
  632. for(let i = 0 ;i<response.data.data.length;i++){
  633. if(response.data.data[i].status == "error"){
  634. this.auditCheck = "error"
  635. break;
  636. }else if(response.data.data[i].status == "question"){
  637. this.auditCheck = "question"
  638. break;
  639. }else{
  640. this.auditCheck = "success"
  641. }
  642. }
  643. this.auditList = response.data.data
  644. var time2 = new Date(this.list.createDate).getTime()
  645. var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
  646. this.auditList.unshift({
  647. operatorTitle: this.list.creater.substring(0, 2),
  648. operatorName: this.list.creater,
  649. updateDate: time3,
  650. auditMind: '',
  651. desc: '发起申请',
  652. showflow: false,
  653. commonStaffs1: null,
  654. commonStaffs: null,
  655. workflowHistoricTasks: [],
  656. status: 'success'
  657. })
  658. })
  659. })
  660. })
  661. }
  662. })
  663. },
  664. onRemove() {
  665. return
  666. },
  667. filterFileType(index, lists) {
  668. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  669. lists.splice(index, 1);
  670. // 当前文件不支持
  671. uni.showModal({
  672. title: '暂不支持当前图片类型',
  673. showCancel: false
  674. });
  675. } else {
  676. this.isAdd = false;
  677. }
  678. },
  679. close() {
  680. this.show = false
  681. this.fileUrl = []//清除审核附件
  682. },
  683. pass() {
  684. this.show = true
  685. this.title = '审核意见(通过)'
  686. },
  687. reject() {
  688. this.show = true
  689. this.title = '驳回原因(驳回)'
  690. },
  691. //驳回
  692. rejectSubmit() {
  693. var that = this
  694. uni.showLoading({
  695. title: '加载中',
  696. mask: true
  697. });
  698. var info = that.auditMind
  699. if (that.fileUrl.length > 0) {
  700. info = that.auditMind + "##" + that.fileUrl.toString()
  701. }
  702. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  703. taskId: that.list.taskId,
  704. approved: false,
  705. auditMind: info?info:"",
  706. needReapply: true,
  707. }).then(res => {
  708. that.$api.msg('驳回成功')
  709. that.show = false
  710. setTimeout(function() {
  711. if (that.everyCheck) {
  712. helper.setAudit(that.list)
  713. } else {
  714. uni.navigateBack()
  715. }
  716. uni.hideLoading()
  717. }, 1000);
  718. })
  719. },
  720. pass() {
  721. this.show = true
  722. this.title = '审核意见'
  723. },
  724. reject() {
  725. this.show = true
  726. this.title = '驳回原因(驳回)'
  727. },
  728. //通过
  729. passSubmit() {
  730. var that = this
  731. if (this.title == '驳回原因(驳回)') {
  732. this.rejectSubmit()
  733. } else {
  734. uni.showLoading({
  735. title: '加载中',
  736. mask: true
  737. });
  738. var info = that.auditMind
  739. if (that.fileUrl.length > 0) {
  740. info = that.auditMind + "##" + that.fileUrl.toString()
  741. }
  742. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  743. taskId: that.list.taskId,
  744. approved: true,
  745. auditMind: info?info:"",
  746. needReapply: true,
  747. }).then(res => {
  748. that.$api.msg('通过成功')
  749. that.show = false
  750. setTimeout(function() {
  751. if (that.everyCheck) {
  752. helper.setAudit(that.list)
  753. } else {
  754. uni.navigateBack()
  755. }
  756. uni.hideLoading()
  757. }, 1000);
  758. })
  759. }
  760. },
  761. //审核方法
  762. audit(item, index, status, status2, reason) {
  763. if (index < this.list.length) {
  764. this.$api.doRequest('post', '/newWorkflow/api/handle', {
  765. taskId: item.taskId,
  766. approved: status,
  767. auditMind: reason != undefined ? '已驳回' : '34',
  768. needReapply: status2 != undefined ? true : false,
  769. }).then(res => {
  770. this.audit(this.list[index + 1], index + 1, status)
  771. })
  772. } else {
  773. if (status == true) {
  774. that.$api.msg('通过成功')
  775. this.getList()
  776. } else if (status == false) {
  777. that.$api.msg('驳回成功')
  778. this.getList()
  779. }
  780. }
  781. },
  782. }
  783. }
  784. </script>
  785. <style scoped lang="scss">
  786. .container {
  787. padding: 20rpx 20rpx 250rpx 20rpx;
  788. }
  789. .u-form {
  790. margin-bottom: 20rpx;
  791. background: #fff;
  792. border-radius: 10px;
  793. padding: 30rpx 10px;
  794. .u-form-item {
  795. line-height: 30px;
  796. padding: 0px 0;
  797. font-size: 26rpx;
  798. color: #878C9C;
  799. }
  800. }
  801. .content {
  802. margin-top: 30rpx;
  803. .top {
  804. display: flex;
  805. justify-content: space-between;
  806. }
  807. .content-item {
  808. border-radius: 20rpx;
  809. background: white;
  810. padding: 40rpx 20rpx;
  811. margin-bottom: 30rpx;
  812. }
  813. .title {
  814. font-size: 32rpx;
  815. font-weight: 600;
  816. color: #333333;
  817. text-align: left;
  818. margin: 20rpx 0;
  819. }
  820. .car-container {
  821. border-bottom: 2rpx solid #EEEEEE;
  822. }
  823. .car-type-item {
  824. font-size: 28rpx;
  825. margin: 20rpx 0;
  826. color: #878C9C;
  827. }
  828. .weightInfoCss {
  829. font-size: 28rpx;
  830. color: #333333;
  831. font-weight: 500;
  832. }
  833. .row {
  834. display: flex;
  835. justify-content: space-between;
  836. // .right,
  837. // input {
  838. // font-size: 28rpx;
  839. // // color: #333333;
  840. // }
  841. }
  842. .money {
  843. font-size: 32rpx;
  844. font-weight: 500;
  845. margin-bottom: 30rpx;
  846. }
  847. .moneyInfo {
  848. color: #22C572;
  849. font-size: 32rpx;
  850. }
  851. }
  852. .bottom-btn {
  853. width: 100%;
  854. position: fixed;
  855. bottom: 0;
  856. display: flex;
  857. z-index: 2;
  858. left: 0;
  859. background-color: #f8f8f8;
  860. flex-direction: column;
  861. .btn1,
  862. .btn2 {
  863. width: 100%;
  864. margin-bottom: 26rpx;
  865. border-radius: 90rpx;
  866. }
  867. .btn1 {
  868. background: white;
  869. color: #00C265;
  870. }
  871. }
  872. .topInfo {
  873. height: 210rpx;
  874. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  875. padding: 30rpx;
  876. .topInfo-item {
  877. height: 150rpx;
  878. background-color: #FFFFFF;
  879. border-radius: 20rpx;
  880. padding: 40rpx;
  881. .logo {
  882. width: 40rpx;
  883. height: 40rpx;
  884. margin-top: 8rpx;
  885. }
  886. .infoText {
  887. font-size: 36rpx;
  888. font-weight: 600;
  889. margin-left: 20rpx;
  890. }
  891. .infoData {
  892. color: #878C9C;
  893. font-size: 26rpx;
  894. margin-top: 10rpx;
  895. }
  896. }
  897. }
  898. .shade {
  899. position: fixed;
  900. top: 0;
  901. left: 0;
  902. height: 100%;
  903. width: 100%;
  904. background: rgba(0, 0, 0, 0.4);
  905. z-index: 3;
  906. .wrap {
  907. position: absolute;
  908. left: 0;
  909. top: 0;
  910. right: 0;
  911. bottom: 0;
  912. margin: auto;
  913. background: #fff;
  914. width: calc(100% - 198rpx);
  915. height: 820rpx;
  916. border-radius: 20rpx;
  917. .alert-top {
  918. padding: 33rpx;
  919. display: flex;
  920. justify-content: center;
  921. align-items: center;
  922. position: relative;
  923. }
  924. .title {
  925. font-size: 32rpx;
  926. font-weight: 600;
  927. color: #333333;
  928. }
  929. .close {
  930. position: absolute;
  931. right: 33rpx;
  932. }
  933. .upload_css {
  934. margin-left: 20rpx;
  935. }
  936. }
  937. }
  938. .cancel,
  939. .confirm {
  940. position: absolute;
  941. display: inline-block;
  942. width: 50%;
  943. text-align: center;
  944. bottom: 0;
  945. padding: 10px;
  946. border-top: 1px solid #eee;
  947. font-size: 34rpx;
  948. }
  949. .cancel {
  950. left: 0;
  951. border-right: 1px solid #eee;
  952. color: #AFB3BF;
  953. }
  954. .confirm {
  955. right: 0;
  956. color: #22C572;
  957. }
  958. .textarea {
  959. margin: 18rpx auto;
  960. width: 100%;
  961. background: #F9F9FA;
  962. border-radius: 10px;
  963. border: 1px solid #EEEEEE;
  964. font-size: 28rpx;
  965. padding: 10px;
  966. }
  967. .textCss {
  968. display: flex;
  969. justify-content: flex-end;
  970. width: 100%;
  971. text-align: right;
  972. color: #333333;
  973. }
  974. .u-textarea-style {
  975. margin: 20rpx;
  976. background: #F9F9FA;
  977. border-radius: 10px;
  978. border: 1px solid #EEEEEE;
  979. padding: 10rpx 20rpx;
  980. position: relative;
  981. height:280rpx;
  982. overflow: scroll;
  983. /deep/.uni-textarea-textarea{
  984. width: 80%;
  985. }
  986. .right-bottom {
  987. position: absolute;
  988. right: 20rpx;
  989. bottom: 20rpx;
  990. color: #AFB3BF;
  991. }
  992. }
  993. /deep/.u-input__textarea {
  994. height: 300rpx !important;
  995. }
  996. .content2 {
  997. background: white;
  998. margin: 20rpx 0;
  999. border-radius: 20rpx;
  1000. padding: 20rpx;
  1001. .row {
  1002. display: flex;
  1003. .left {
  1004. display: flex;
  1005. align-items: center;
  1006. .item1 {
  1007. position: relative;
  1008. .item-content {
  1009. background: #617AE0;
  1010. width: 44px;
  1011. height: 44px;
  1012. border-radius: 22px;
  1013. line-height: 44px;
  1014. text-align: center;
  1015. font-size: 15px;
  1016. color: #fff;
  1017. }
  1018. .status {
  1019. position: absolute;
  1020. border-radius: 50%;
  1021. padding: 0px 2px;
  1022. right: -3px;
  1023. bottom: -3px;
  1024. background: #fff;
  1025. }
  1026. .status.success {
  1027. border: 1px solid rgb(60, 156, 255);
  1028. }
  1029. .status.error {
  1030. border: 1px solid rgb(245, 108, 108);
  1031. }
  1032. .status.question {
  1033. border: 1px solid #f9ae3d;
  1034. }
  1035. }
  1036. }
  1037. .right {
  1038. width: 80%;
  1039. // color: #B0B1B5;
  1040. margin-top: 10px;
  1041. .right-content {
  1042. background: #F2F3F7;
  1043. margin-left: 10px;
  1044. margin-top: 10px;
  1045. padding: 10px;
  1046. border-radius: 5px;
  1047. color: #B0B1B5;
  1048. }
  1049. .right-item {
  1050. display: flex;
  1051. justify-content: space-between;
  1052. .time {
  1053. color: #999;
  1054. }
  1055. .item2 {
  1056. margin-left: 20rpx;
  1057. margin-top: -7px;
  1058. .name {
  1059. font-size: 28rpx;
  1060. font-weight: 800;
  1061. margin-bottom: 4px;
  1062. }
  1063. .status.success {
  1064. color: #6CC48C;
  1065. }
  1066. .status.error {
  1067. color: rgb(245, 108, 108);
  1068. }
  1069. .status.question {
  1070. color: #f9ae3d;
  1071. }
  1072. }
  1073. }
  1074. .audit_img {
  1075. flex-wrap: wrap;
  1076. margin: 0 20rpx;
  1077. .url_css {
  1078. border: 1px solid #999999;
  1079. border-radius: 10px;
  1080. margin-top: 10px;
  1081. margin-right: 10px;
  1082. .url_img {
  1083. width: 80px;
  1084. height: 80px;
  1085. border-radius: 10px;
  1086. }
  1087. }
  1088. }
  1089. }
  1090. }
  1091. .row2 {
  1092. display: flex;
  1093. .item-content {
  1094. background: #22C572;
  1095. width: 30px;
  1096. height: 30px;
  1097. border-radius: 50%;
  1098. line-height: 30px;
  1099. text-align: center;
  1100. font-size: 12px;
  1101. color: #fff;
  1102. padding: 0 2px;
  1103. margin: 0 auto;
  1104. }
  1105. .status {
  1106. position: absolute;
  1107. top: 0;
  1108. right: 0;
  1109. }
  1110. }
  1111. .row-line {
  1112. width: 1px;
  1113. height: 30px;
  1114. background: #F2F2F2;
  1115. margin: 10rpx 50rpx;
  1116. }
  1117. .audit {
  1118. margin-top: 20rpx;
  1119. }
  1120. }
  1121. .form_top {
  1122. border-bottom: 1px solid #F5F6FA;
  1123. padding-bottom: 10px;
  1124. margin-bottom: 18rpx;
  1125. font-size: 30rpx;
  1126. font-weight: 600;
  1127. }
  1128. .form_view{
  1129. margin: 20rpx 0;
  1130. border-radius: 20rpx;
  1131. background: #F9F9FA;
  1132. padding: 30rpx 20rpx;
  1133. margin-top: 30rpx;
  1134. }
  1135. .label_css{
  1136. font-size: 26rpx;
  1137. color: #878C9C;
  1138. }
  1139. .input_css{
  1140. font-size: 20rpx;
  1141. }
  1142. /deep/.uni-textarea-wrapper{
  1143. height:200px;
  1144. }
  1145. // .fujian_title{
  1146. // font-size: 34rpx;
  1147. // margin-top: 20px;
  1148. // font-weight: 600;
  1149. // // margin-left: 10px;
  1150. // }
  1151. .headInfo{
  1152. height: 100px;
  1153. background-color: #FFFFFF;
  1154. margin-bottom: 20rpx;
  1155. border-radius: 10px;
  1156. padding: 30rpx 10px;
  1157. display: flex;
  1158. .headInfo_left{
  1159. width: 10%;
  1160. line-height: 60px;
  1161. text-align: center;
  1162. }
  1163. .headInfo_middle{
  1164. width: 60%;
  1165. padding-left: 10px;
  1166. margin-top: 10px;
  1167. }
  1168. .headInfo_right{
  1169. width: 30%;
  1170. line-height: 60px;
  1171. .char_a{
  1172. color: #22C572;
  1173. }
  1174. .char_b{
  1175. color: #FE6430;
  1176. }
  1177. .char_c{
  1178. color: #FB2323;
  1179. }
  1180. .char_a,.char_b,.char_c{
  1181. font-size: 16px;
  1182. }
  1183. }
  1184. .adopt{
  1185. position: absolute;
  1186. right: 30px;
  1187. top: 60px;
  1188. .adopt_img{
  1189. width: 90px;
  1190. height: 90px;
  1191. }
  1192. }
  1193. .headInfo_title{
  1194. font-size: 19px;
  1195. color: #333333;
  1196. font-weight: 600;
  1197. }
  1198. .headInfo_No{
  1199. color: #878C9C;
  1200. font-size: 13px;
  1201. margin-top: 6px;
  1202. }
  1203. }
  1204. .img_item {
  1205. display: flex;
  1206. width: 100%;
  1207. margin: 10px 0;
  1208. padding: 0 10rpx;
  1209. .imgsign{
  1210. width: 25px;
  1211. height: 25px;
  1212. margin-top: 6px;
  1213. }
  1214. .char_css {
  1215. font-size: 28rpx;
  1216. font-weight: 600;
  1217. display: -webkit-box;
  1218. overflow: hidden;
  1219. /*! autoprefixer: off; */
  1220. -webkit-box-orient: vertical;
  1221. -webkit-line-clamp: 1;
  1222. -webkit-box-orient: vertical;
  1223. text-overflow: ellipsis;
  1224. word-break: break-all;
  1225. }
  1226. .img_size{
  1227. color: #B0B3BF;
  1228. font-size: 12px;
  1229. margin-top: 5px;
  1230. }
  1231. .img_dowload {
  1232. width: 14%;
  1233. color: #22C572;
  1234. text-align: right;
  1235. }
  1236. }
  1237. </style>