salecontract.vue 39 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333
  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="aspectFill" 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" :width="150" ref="upload" :action="action" :max-size="maxSize" :max-count="99"
  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 class="audit_btn">
  358. <view @click='close()' class="cancel">取消</view>
  359. <view @click='passSubmit()' class="confirm">确定</view>
  360. </view>
  361. </view>
  362. </view>
  363. <view @click='imgShow=false' v-if="imgShow" class="shade">
  364. <image style='position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;' :src="url" mode=""></image>
  365. </view>
  366. </view>
  367. </template>
  368. <script>
  369. import upload from '@/components/upload.vue';
  370. import helper from '@/common/helper.js';
  371. export default {
  372. components: {
  373. upload
  374. },
  375. data() {
  376. return {
  377. everyCheck: '',
  378. id: "",
  379. currentPage: 1,
  380. pageSize: 10,
  381. list: {
  382. status: "",
  383. contractGoodsInfo: {},
  384. contractProcessInfo: {}
  385. },
  386. imglist: [],
  387. title: '',
  388. auditMind: '',
  389. auditList: [],
  390. show: false,
  391. contractNo: "",
  392. action: this.$uploadUrl,
  393. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  394. isAdd: true,
  395. url: "",
  396. imgShow: false,
  397. height: 200,
  398. autoHeight: true,
  399. border: false,
  400. rejectInfo: "",
  401. rejectInfo1: "",
  402. isSHowBtn: true,
  403. auditCheck:"question",//判断审核是否通过
  404. // 上传附件、
  405. action: this.$uploadUrl,
  406. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  407. isAdd: true,
  408. fileUrl: []
  409. }
  410. },
  411. onBackPress(e) {
  412. if (this.everyCheck) {
  413. uni.navigateTo({
  414. url: "/pages/task/my_task"
  415. })
  416. return true;
  417. }
  418. },
  419. onLoad(options) {
  420. this.id = options.id
  421. this.everyCheck = uni.getStorageSync("everyTask")
  422. this.isSHowBtn = options.isShowbtn
  423. this.getList()
  424. },
  425. methods: {
  426. auditFile(src) {
  427. uni.downloadFile({
  428. url: src,
  429. success: function(res) {
  430. var filePath = res.tempFilePath;
  431. uni.openDocument({
  432. filePath: filePath,
  433. showMenu: true,
  434. success: function(res) {
  435. console.log('打开文档成功');
  436. }
  437. });
  438. }
  439. });
  440. },
  441. getImgUrl(res) {
  442. this.fileUrl.push(res)
  443. },
  444. onError(error) {
  445. alert(error)
  446. console.log('------------error-----------')
  447. console.log(error)
  448. },
  449. onProgress(e) {
  450. console.log(e)
  451. },
  452. onRemove(index) {
  453. this.fileUrl.splice(index, 1)
  454. },
  455. openDocument(item) {
  456. this.$set(item,'progressstatus',true)
  457. this.$forceUpdate()
  458. const downloadTask =uni.downloadFile({
  459. url: item.appendixPath,
  460. success: function(res) {
  461. var filePath = res.tempFilePath;
  462. if(item.type=='pdf'||item.type == 'xls'||item.type == 'xlsx'||item.type == 'doc'||item.type == 'docx'){
  463. uni.openDocument({
  464. filePath: filePath,
  465. showMenu: true,
  466. success: function(res) {
  467. console.log('打开文档成功');
  468. }
  469. });
  470. }else{
  471. uni.previewImage({
  472. current: 0, //预览图片的下标
  473. urls: [item.appendixPath]
  474. })
  475. }
  476. }
  477. });
  478. downloadTask.onProgressUpdate((res) => {
  479. this.$set(item,'progress',res.progress)
  480. this.$forceUpdate()
  481. console.log('下载进度' + res.progress);
  482. console.log('已经下载的数据长度' + res.totalBytesWritten);
  483. console.log('预期需要下载的数据总长度' + res.totalBytesExpectedToWrite);
  484. // 满足测试条件,取消下载任务。
  485. // if (res.progress > 50) {
  486. // downloadTask.abort();
  487. // }
  488. });
  489. },
  490. shadeshow(url) {
  491. this.imgShow = true
  492. this.url = url
  493. },
  494. showcontent(item) {
  495. item.showflow = !item.showflow
  496. },
  497. getList(id) {
  498. var that = this
  499. uni.showLoading({
  500. title: '加载中',
  501. mask: true
  502. })
  503. this.$api.doRequest('get', '/contractManagementInfo/getInfo', {
  504. id: this.id
  505. }).then(res => {
  506. if (res.data.code == 200) {
  507. this.list = res.data.data
  508. if (this.list.deliverType == 1) {
  509. this.list.deliverType1 = '我方送货'
  510. } else if (this.list.deliverType == 2) {
  511. this.list.deliverType1 = '对方自提'
  512. }
  513. this.$api.doRequest('get', '/appendix/query/getFileList', {
  514. appendixIds: that.list.addressUrl
  515. }).then(res1 => {
  516. that.imglist = res1.data.data
  517. for (let i = 0; i < that.imglist.length; i++) {//获取后缀
  518. that.imglist[i].progressstatus=false
  519. that.imglist[i].progress=0
  520. if (that.imglist[i].appendixName) {
  521. let index = that.imglist[i].appendixName.lastIndexOf(".")
  522. that.imglist[i].type = that.imglist[i].appendixName.substring(index+1)
  523. }
  524. }
  525. // 审核流程
  526. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  527. businessCode: 'SALE-CONTRACT-APPROVE',
  528. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  529. }).then(res1 => {
  530. this.$api.doRequest('get', '/commonUser/getHis', {
  531. workflowId: res1.data.data[0].id,
  532. businessKey: this.id,
  533. branch:that.list.jointVentureParties?that.list.jointVentureParties:'zt'
  534. }).then(response => {
  535. uni.hideLoading()
  536. for (let i = 0; i < response.data.data.length; i++) {
  537. this.$set(response.data.data[i], 'status', 'question')
  538. // console.log(response.data.data[i].workflowHistoricTasks,i)
  539. if (response.data.data[i].commonStaffs) {
  540. response.data.data[i].showflow = false
  541. response.data.data[i].operatorTitle = response.data.data[i]
  542. .desc.substring(0, 2)
  543. response.data.data[i].operatorName = response.data.data[i]
  544. .desc
  545. response.data.data[i].staffscontent = '共' + response.data
  546. .data[i].commonStaffs.length + '人,当前审核' + response.data
  547. .data[i].workflowHistoricTasks.length + '人'
  548. if (response.data.data[i].workflowHistoricTasks && response
  549. .data.data[i].workflowHistoricTasks.length > 0) {
  550. if (response.data.data[i].workflowHistoricTasks
  551. .length != response.data.data[i].commonStaffs
  552. .length) {
  553. // response.data.data[i].status='question'
  554. this.$set(response.data.data[i], 'status',
  555. 'question')
  556. } else {
  557. this.$set(response.data.data[i], 'status',
  558. 'success')
  559. // response.data.data[i].status='success'
  560. }
  561. response.data.data[i].workflowlen = response.data.data[
  562. i].workflowHistoricTasks.length
  563. var workflowdata = response.data.data[i]
  564. .workflowHistoricTasks
  565. var staffsdata = response.data.data[i].commonStaffs
  566. for (let q = 0; q < staffsdata.length; q++) {
  567. staffsdata[q].status = false
  568. staffsdata[q].staffTitle = staffsdata[q].staffName
  569. for (let k = 0; k < workflowdata.length; k++) {
  570. if (staffsdata[q].staffId == workflowdata[k]
  571. .operatorId) {
  572. staffsdata[q].status = true
  573. }
  574. }
  575. }
  576. }
  577. response.data.data[i].commonStaffs1 = response.data.data[i]
  578. .commonStaffs
  579. } else {
  580. if (response.data.data[i].workflowHistoricTasks && response
  581. .data.data[i].workflowHistoricTasks.length > 0) {
  582. var len = response.data.data[i].workflowHistoricTasks
  583. .length - 1
  584. if (response.data.data[i].workflowHistoricTasks[len]
  585. .approved) {
  586. this.$set(response.data.data[i], 'status',
  587. 'success')
  588. } else {
  589. this.$set(response.data.data[i], 'status', 'error')
  590. }
  591. response.data.data[i].operatorTitle = response.data
  592. .data[i].workflowHistoricTasks[len].operatorName
  593. .substring(response.data.data[i]
  594. .workflowHistoricTasks[0].operatorName.length -
  595. 2)
  596. response.data.data[i].operatorName = response.data
  597. .data[i].workflowHistoricTasks[len].operatorName
  598. var time = new Date(response.data.data[i]
  599. .workflowHistoricTasks[len].claimTime)
  600. .getTime()
  601. response.data.data[i].updateDate = this.$u.timeFormat(
  602. time, 'mm.dd hh:MM')
  603. // response.data.data[i].auditMind = response.data.data[i]
  604. // .workflowHistoricTasks[len].auditMind
  605. // 显示附件和审核意见
  606. if (response.data.data[i].workflowHistoricTasks[len].auditMind && response.data.data[i].workflowHistoricTasks[len].auditMind.indexOf("##") !=-1) {
  607. response.data.data[i].auditMind = response.data.data[i].workflowHistoricTasks[len].auditMind.split("##")[0]
  608. response.data.data[i].fileUrl = response.data.data[i].workflowHistoricTasks[len].auditMind.split("##")[1].split(",")
  609. }else{
  610. response.data.data[i].auditMind = response.data.data[i].workflowHistoricTasks[len].auditMind
  611. }
  612. } else {
  613. this.$set(response.data.data[i], 'status', 'question')
  614. // response.data.data[i].status='question'
  615. if (response.data.data[i].desc == '总经理助理审核') {
  616. response.data.data[i].operatorTitle = '总助'
  617. } else if (response.data.data[i].desc == '杜大光审核') {
  618. response.data.data[i].operatorTitle = '大光'
  619. } else {
  620. response.data.data[i].operatorTitle = response.data
  621. .data[i].desc.substring(0, 2)
  622. }
  623. response.data.data[i].operatorName = response.data
  624. .data[i].desc
  625. var time1 = new Date(response.data.data[i].updateDate)
  626. .getTime()
  627. response.data.data[i].updateDate = this.$u.timeFormat(
  628. time1, 'mm.dd hh:MM')
  629. response.data.data[i].auditMind = ''
  630. }
  631. }
  632. }
  633. console.log(response.data.data)
  634. for(let i = 0 ;i<response.data.data.length;i++){
  635. if(response.data.data[i].status == "error"){
  636. this.auditCheck = "error"
  637. break;
  638. }else if(response.data.data[i].status == "question"){
  639. this.auditCheck = "question"
  640. break;
  641. }else{
  642. this.auditCheck = "success"
  643. }
  644. }
  645. this.auditList = response.data.data
  646. var time2 = new Date(this.list.createDate).getTime()
  647. var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
  648. this.auditList.unshift({
  649. operatorTitle: this.list.creater.substring(0, 2),
  650. operatorName: this.list.creater,
  651. updateDate: time3,
  652. auditMind: '',
  653. desc: '发起申请',
  654. showflow: false,
  655. commonStaffs1: null,
  656. commonStaffs: null,
  657. workflowHistoricTasks: [],
  658. status: 'success'
  659. })
  660. })
  661. })
  662. })
  663. }
  664. })
  665. },
  666. onRemove() {
  667. return
  668. },
  669. filterFileType(index, lists) {
  670. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  671. lists.splice(index, 1);
  672. // 当前文件不支持
  673. uni.showModal({
  674. title: '暂不支持当前图片类型',
  675. showCancel: false
  676. });
  677. } else {
  678. this.isAdd = false;
  679. }
  680. },
  681. close() {
  682. this.show = false
  683. this.fileUrl = []//清除审核附件
  684. },
  685. pass() {
  686. this.show = true
  687. this.title = '审核意见(通过)'
  688. },
  689. reject() {
  690. this.show = true
  691. this.title = '驳回原因(驳回)'
  692. },
  693. //驳回
  694. rejectSubmit() {
  695. var that = this
  696. uni.showLoading({
  697. title: '加载中',
  698. mask: true
  699. });
  700. var info = that.auditMind
  701. if (that.fileUrl.length > 0) {
  702. info = that.auditMind + "##" + that.fileUrl.toString()
  703. }
  704. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  705. taskId: that.list.taskId,
  706. approved: false,
  707. auditMind: info?info:"",
  708. needReapply: true,
  709. }).then(res => {
  710. that.$api.msg('驳回成功')
  711. that.show = false
  712. setTimeout(function() {
  713. if (that.everyCheck) {
  714. helper.setAudit(that.list)
  715. } else {
  716. uni.navigateBack()
  717. }
  718. uni.hideLoading()
  719. }, 1000);
  720. })
  721. },
  722. pass() {
  723. this.show = true
  724. this.title = '审核意见'
  725. },
  726. reject() {
  727. this.show = true
  728. this.title = '驳回原因(驳回)'
  729. },
  730. //通过
  731. passSubmit() {
  732. var that = this
  733. if (this.title == '驳回原因(驳回)') {
  734. this.rejectSubmit()
  735. } else {
  736. uni.showLoading({
  737. title: '加载中',
  738. mask: true
  739. });
  740. var info = that.auditMind
  741. if (that.fileUrl.length > 0) {
  742. info = that.auditMind + "##" + that.fileUrl.toString()
  743. }
  744. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  745. taskId: that.list.taskId,
  746. approved: true,
  747. auditMind: info?info:"",
  748. needReapply: true,
  749. }).then(res => {
  750. that.$api.msg('通过成功')
  751. that.show = false
  752. setTimeout(function() {
  753. if (that.everyCheck) {
  754. helper.setAudit(that.list)
  755. } else {
  756. uni.navigateBack()
  757. }
  758. uni.hideLoading()
  759. }, 1000);
  760. })
  761. }
  762. },
  763. //审核方法
  764. audit(item, index, status, status2, reason) {
  765. if (index < this.list.length) {
  766. this.$api.doRequest('post', '/newWorkflow/api/handle', {
  767. taskId: item.taskId,
  768. approved: status,
  769. auditMind: reason != undefined ? '已驳回' : '34',
  770. needReapply: status2 != undefined ? true : false,
  771. }).then(res => {
  772. this.audit(this.list[index + 1], index + 1, status)
  773. })
  774. } else {
  775. if (status == true) {
  776. that.$api.msg('通过成功')
  777. this.getList()
  778. } else if (status == false) {
  779. that.$api.msg('驳回成功')
  780. this.getList()
  781. }
  782. }
  783. },
  784. }
  785. }
  786. </script>
  787. <style scoped lang="scss">
  788. .container {
  789. padding: 20rpx 20rpx 250rpx 20rpx;
  790. }
  791. .u-form {
  792. margin-bottom: 20rpx;
  793. background: #fff;
  794. border-radius: 10px;
  795. padding: 30rpx 10px;
  796. .u-form-item {
  797. line-height: 30px;
  798. padding: 0px 0;
  799. font-size: 26rpx;
  800. color: #878C9C;
  801. }
  802. }
  803. .content {
  804. margin-top: 30rpx;
  805. .top {
  806. display: flex;
  807. justify-content: space-between;
  808. }
  809. .content-item {
  810. border-radius: 20rpx;
  811. background: white;
  812. padding: 40rpx 20rpx;
  813. margin-bottom: 30rpx;
  814. }
  815. .title {
  816. font-size: 32rpx;
  817. font-weight: 600;
  818. color: #333333;
  819. text-align: left;
  820. margin: 20rpx 0;
  821. }
  822. .car-container {
  823. border-bottom: 2rpx solid #EEEEEE;
  824. }
  825. .car-type-item {
  826. font-size: 28rpx;
  827. margin: 20rpx 0;
  828. color: #878C9C;
  829. }
  830. .weightInfoCss {
  831. font-size: 28rpx;
  832. color: #333333;
  833. font-weight: 500;
  834. }
  835. .row {
  836. display: flex;
  837. justify-content: space-between;
  838. // .right,
  839. // input {
  840. // font-size: 28rpx;
  841. // // color: #333333;
  842. // }
  843. }
  844. .money {
  845. font-size: 32rpx;
  846. font-weight: 500;
  847. margin-bottom: 30rpx;
  848. }
  849. .moneyInfo {
  850. color: #22C572;
  851. font-size: 32rpx;
  852. }
  853. }
  854. .bottom-btn {
  855. width: 100%;
  856. position: fixed;
  857. bottom: 0;
  858. display: flex;
  859. z-index: 2;
  860. left: 0;
  861. background-color: #f8f8f8;
  862. flex-direction: column;
  863. .btn1,
  864. .btn2 {
  865. width: 100%;
  866. margin-bottom: 26rpx;
  867. border-radius: 90rpx;
  868. }
  869. .btn1 {
  870. background: white;
  871. color: #00C265;
  872. }
  873. }
  874. .topInfo {
  875. height: 210rpx;
  876. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  877. padding: 30rpx;
  878. .topInfo-item {
  879. height: 150rpx;
  880. background-color: #FFFFFF;
  881. border-radius: 20rpx;
  882. padding: 40rpx;
  883. .logo {
  884. width: 40rpx;
  885. height: 40rpx;
  886. margin-top: 8rpx;
  887. }
  888. .infoText {
  889. font-size: 36rpx;
  890. font-weight: 600;
  891. margin-left: 20rpx;
  892. }
  893. .infoData {
  894. color: #878C9C;
  895. font-size: 26rpx;
  896. margin-top: 10rpx;
  897. }
  898. }
  899. }
  900. .shade {
  901. position: fixed;
  902. top: 0;
  903. left: 0;
  904. height: 100%;
  905. width: 100%;
  906. background: rgba(0, 0, 0, 0.4);
  907. z-index: 3;
  908. overflow-y: scroll;
  909. .wrap {
  910. position: absolute;
  911. left: 0;
  912. top: 0;
  913. right: 0;
  914. bottom: 0;
  915. margin: auto;
  916. background: #fff;
  917. width: calc(100% - 198rpx);
  918. height: 770rpx;
  919. overflow-y: scroll;
  920. // overflow: hidden;
  921. border-radius: 20rpx;
  922. .alert-top {
  923. padding: 33rpx;
  924. display: flex;
  925. justify-content: center;
  926. align-items: center;
  927. position: relative;
  928. }
  929. .title {
  930. font-size: 32rpx;
  931. font-weight: 600;
  932. color: #333333;
  933. }
  934. .close {
  935. position: absolute;
  936. right: 33rpx;
  937. }
  938. .upload_css {
  939. margin-left: 20rpx;
  940. .upload {
  941. // width: 80px;
  942. // height: 80px;
  943. }
  944. }
  945. }
  946. }
  947. .audit_btn {
  948. display: flex;
  949. top: 0px;
  950. }
  951. .cancel,
  952. .confirm {
  953. // position: absolute;
  954. // display: inline-block;
  955. width: 50%;
  956. text-align: center;
  957. // bottom: 0;
  958. padding: 10px;
  959. border-top: 1px solid #eee;
  960. font-size: 34rpx;
  961. margin: auto;
  962. }
  963. .cancel {
  964. left: 0;
  965. border-right: 1px solid #eee;
  966. color: #AFB3BF;
  967. }
  968. .confirm {
  969. right: 0;
  970. color: #22C572;
  971. }
  972. .textarea {
  973. margin: 18rpx auto;
  974. width: 100%;
  975. background: #F9F9FA;
  976. border-radius: 10px;
  977. border: 1px solid #EEEEEE;
  978. font-size: 28rpx;
  979. padding: 10px;
  980. }
  981. .textCss {
  982. display: flex;
  983. justify-content: flex-end;
  984. width: 100%;
  985. text-align: right;
  986. color: #333333;
  987. }
  988. .u-textarea-style {
  989. margin: 20rpx;
  990. background: #F9F9FA;
  991. border-radius: 10px;
  992. border: 1px solid #EEEEEE;
  993. padding: 10rpx 20rpx;
  994. position: relative;
  995. height:280rpx;
  996. overflow: scroll;
  997. /deep/.uni-textarea-textarea{
  998. width: 80%;
  999. }
  1000. .right-bottom {
  1001. position: absolute;
  1002. right: 20rpx;
  1003. bottom: 20rpx;
  1004. color: #AFB3BF;
  1005. }
  1006. }
  1007. /deep/.u-input__textarea {
  1008. height: 300rpx !important;
  1009. }
  1010. .content2 {
  1011. background: white;
  1012. margin: 20rpx 0;
  1013. border-radius: 20rpx;
  1014. padding: 20rpx;
  1015. .row {
  1016. display: flex;
  1017. .left {
  1018. display: flex;
  1019. align-items: center;
  1020. .item1 {
  1021. position: relative;
  1022. .item-content {
  1023. background: #617AE0;
  1024. width: 44px;
  1025. height: 44px;
  1026. border-radius: 22px;
  1027. line-height: 44px;
  1028. text-align: center;
  1029. font-size: 15px;
  1030. color: #fff;
  1031. }
  1032. .status {
  1033. position: absolute;
  1034. border-radius: 50%;
  1035. padding: 0px 2px;
  1036. right: -3px;
  1037. bottom: -3px;
  1038. background: #fff;
  1039. }
  1040. .status.success {
  1041. border: 1px solid rgb(60, 156, 255);
  1042. }
  1043. .status.error {
  1044. border: 1px solid rgb(245, 108, 108);
  1045. }
  1046. .status.question {
  1047. border: 1px solid #f9ae3d;
  1048. }
  1049. }
  1050. }
  1051. .right {
  1052. width: 80%;
  1053. // color: #B0B1B5;
  1054. margin-top: 10px;
  1055. .right-content {
  1056. background: #F2F3F7;
  1057. margin-left: 10px;
  1058. margin-top: 10px;
  1059. padding: 10px;
  1060. border-radius: 5px;
  1061. color: #B0B1B5;
  1062. }
  1063. .right-item {
  1064. display: flex;
  1065. justify-content: space-between;
  1066. .time {
  1067. color: #999;
  1068. }
  1069. .item2 {
  1070. margin-left: 20rpx;
  1071. margin-top: -7px;
  1072. .name {
  1073. font-size: 28rpx;
  1074. font-weight: 800;
  1075. margin-bottom: 4px;
  1076. }
  1077. .status.success {
  1078. color: #6CC48C;
  1079. }
  1080. .status.error {
  1081. color: rgb(245, 108, 108);
  1082. }
  1083. .status.question {
  1084. color: #f9ae3d;
  1085. }
  1086. }
  1087. }
  1088. .audit_img {
  1089. flex-wrap: wrap;
  1090. margin: 0 20rpx;
  1091. .url_css {
  1092. // border: 1px solid #999999;
  1093. border-radius: 10px;
  1094. margin-top: 10px;
  1095. margin-right: 10px;
  1096. .url_img {
  1097. width: 66px;
  1098. height: 66px;
  1099. border-radius: 10px;
  1100. }
  1101. }
  1102. }
  1103. }
  1104. }
  1105. .row2 {
  1106. display: flex;
  1107. .item-content {
  1108. background: #22C572;
  1109. width: 30px;
  1110. height: 30px;
  1111. border-radius: 50%;
  1112. line-height: 30px;
  1113. text-align: center;
  1114. font-size: 12px;
  1115. color: #fff;
  1116. padding: 0 2px;
  1117. margin: 0 auto;
  1118. }
  1119. .status {
  1120. position: absolute;
  1121. top: 0;
  1122. right: 0;
  1123. }
  1124. }
  1125. .row-line {
  1126. width: 1px;
  1127. height: 30px;
  1128. background: #F2F2F2;
  1129. margin: 10rpx 50rpx;
  1130. }
  1131. .audit {
  1132. margin-top: 20rpx;
  1133. }
  1134. }
  1135. .form_top {
  1136. border-bottom: 1px solid #F5F6FA;
  1137. padding-bottom: 10px;
  1138. margin-bottom: 18rpx;
  1139. font-size: 30rpx;
  1140. font-weight: 600;
  1141. }
  1142. .form_view{
  1143. margin: 20rpx 0;
  1144. border-radius: 20rpx;
  1145. background: #F9F9FA;
  1146. padding: 30rpx 20rpx;
  1147. margin-top: 30rpx;
  1148. }
  1149. .label_css{
  1150. font-size: 26rpx;
  1151. color: #878C9C;
  1152. }
  1153. .input_css{
  1154. font-size: 20rpx;
  1155. }
  1156. /deep/.uni-textarea-wrapper{
  1157. height:200px;
  1158. }
  1159. // .fujian_title{
  1160. // font-size: 34rpx;
  1161. // margin-top: 20px;
  1162. // font-weight: 600;
  1163. // // margin-left: 10px;
  1164. // }
  1165. .headInfo{
  1166. height: 100px;
  1167. background-color: #FFFFFF;
  1168. margin-bottom: 20rpx;
  1169. border-radius: 10px;
  1170. padding: 30rpx 10px;
  1171. display: flex;
  1172. .headInfo_left{
  1173. width: 10%;
  1174. line-height: 60px;
  1175. text-align: center;
  1176. }
  1177. .headInfo_middle{
  1178. width: 60%;
  1179. padding-left: 10px;
  1180. margin-top: 10px;
  1181. }
  1182. .headInfo_right{
  1183. width: 30%;
  1184. line-height: 60px;
  1185. .char_a{
  1186. color: #22C572;
  1187. }
  1188. .char_b{
  1189. color: #FE6430;
  1190. }
  1191. .char_c{
  1192. color: #FB2323;
  1193. }
  1194. .char_a,.char_b,.char_c{
  1195. font-size: 16px;
  1196. }
  1197. }
  1198. .adopt{
  1199. position: absolute;
  1200. right: 30px;
  1201. top: 60px;
  1202. .adopt_img{
  1203. width: 90px;
  1204. height: 90px;
  1205. }
  1206. }
  1207. .headInfo_title{
  1208. font-size: 19px;
  1209. color: #333333;
  1210. font-weight: 600;
  1211. }
  1212. .headInfo_No{
  1213. color: #878C9C;
  1214. font-size: 13px;
  1215. margin-top: 6px;
  1216. }
  1217. }
  1218. .img_item {
  1219. display: flex;
  1220. width: 100%;
  1221. margin: 10px 0;
  1222. padding: 0 10rpx;
  1223. .imgsign{
  1224. width: 25px;
  1225. height: 25px;
  1226. margin-top: 6px;
  1227. }
  1228. .char_css {
  1229. font-size: 28rpx;
  1230. font-weight: 600;
  1231. display: -webkit-box;
  1232. overflow: hidden;
  1233. /*! autoprefixer: off; */
  1234. -webkit-box-orient: vertical;
  1235. -webkit-line-clamp: 1;
  1236. -webkit-box-orient: vertical;
  1237. text-overflow: ellipsis;
  1238. word-break: break-all;
  1239. }
  1240. .img_size{
  1241. color: #B0B3BF;
  1242. font-size: 12px;
  1243. margin-top: 5px;
  1244. }
  1245. .img_dowload {
  1246. width: 14%;
  1247. color: #22C572;
  1248. text-align: right;
  1249. }
  1250. }
  1251. </style>