FinancialServiceProjectEvaluation.vue 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. <template>
  2. <div>
  3. <div class="autoBox box">
  4. <div class="crumbs">
  5. <el-breadcrumb separator="/" style="float: left">
  6. <el-breadcrumb-item :to="{ path: 'home' }">{{$t('common.Home')}}</el-breadcrumb-item>
  7. <el-breadcrumb-item :to="{ path: 'financialServices' }">{{$t('common.FinancialServices')}}</el-breadcrumb-item>
  8. <el-breadcrumb-item>{{$t('common.ProjectAppraisal')}}</el-breadcrumb-item>
  9. </el-breadcrumb>
  10. <!-- <el-breadcrumb separator="/" style="float: right;margin:0px 15px 0 0">-->
  11. <!-- <span class="cursor"-->
  12. <!-- v-for="(menuItem,index) in menuList"-->
  13. <!-- :class="menuIndex==menuItem.id?'menu1':'menu2'"-->
  14. <!-- @click="toViewMenu(menuItem.id,menuItem)">-->
  15. <!-- &nbsp;&nbsp;{{$t(menuItem.title)}}&nbsp; <span v-if="(index+1)!==menuItem.length">/</span>-->
  16. <!-- </span>-->
  17. <!-- </el-breadcrumb>-->
  18. <div style="clear:both;"></div>
  19. </div>
  20. <div style="width: 100%;height:50px;color: #fff;background: #2C558A;text-align: center;font-size: 30px;line-height: 50px;margin-top: 14px;border-radius: 6px;border-radius: 6px;">{{$t('common.ProjectAppraisal')}}</div>
  21. <div style="width: 100%;margin-top: 20px;">
  22. <div style="width:316px;height: 236px;float: left">
  23. <img src="@/assets/img/financialService/titleContent.png" alt="" width="100%;height:100%">
  24. </div>
  25. <div style="width: 70%;float: right;margin:0 10px;color: #666666">
  26. <p style="text-indent:2em;font-size: 16px;line-height: 32px">
  27. {{$t('common.ProjectEaluationService')}}
  28. </p>
  29. <div style="width: 100%" class="projectList">
  30. <ul>
  31. <li>
  32. <div style="float: left">
  33. <img src="@/assets/img/financialService/projectIcon1.png" alt="" style="width: 27px;height: 27px;margin-top: 4px;">
  34. </div>
  35. <span style="margin-left: 5px;">{{$t('common.Quantitative')}}</span>
  36. </li>
  37. <li>
  38. <div style="float: left">
  39. <img src="@/assets/img/financialService/projectIcon2.png" alt="" style="width: 27px;height: 27px;margin-top: 4px;">
  40. </div>
  41. <span style="margin-left: 5px;"> {{$t('common.MicroBenefitAnalysis')}}</span>
  42. </li>
  43. </ul>
  44. </div>
  45. </div>
  46. <div style="clear: both"></div>
  47. <div style="width: 100%;margin-top: 30px;display: flex;flex-wrap: wrap;justify-content: space-between;">
  48. <div class="EvaList" v-for="(item,index) in Analysis">
  49. <div style="width:50px;height:50px;position:absolute;right: 23px;top:23px;background: #fff;">
  50. <img :src="getImg('icon'+(++index)+'.png')" alt="" style="width: 60px;height: 65px">
  51. </div>
  52. <div class="analy">
  53. <div>
  54. <div class="rectangleOne"></div>
  55. <span style="font-size: 20px;color: #666666;font-weight: 700;width: 90%;margin-left: 6px;float: left">{{$t(item.title)}}</span>
  56. <div style="clear: both"></div>
  57. </div>
  58. <p v-html="$t(item.label)" class="analyLabel" :class="$i18n.locale=='zh'?'analyLabelZh':'analyLabelEn'"></p>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. <!--评估概要报告实例-->
  64. <div style="width: 100%;margin: 30px 0" class="reportList">
  65. <div style="font-size: 20px;color:#2C558A;font-weight: 700;height: 35px;border-bottom: 1px solid #2C558A">
  66. <img src="@/assets/img/cooperationExchange/20200608_03.gif" alt="" style="width: 6px;height:18px">
  67. {{$t('common.ExamplesOfProject')}}
  68. </div>
  69. <div style="width:100%;margin-top: 20px;border-top: 1px dashed rgba(204, 204, 204,0.5)">
  70. <ul class="ulOne">
  71. <li v-if="Listitem.projectName&&Listitem.pdfToPictureFileIds" v-for="(Listitem,index) in progectReport" style="cursor: pointer;padding: 20px 0;border-bottom: 1px dashed rgba(204, 204, 204,0.5);" @click="toView('projectPresentationDetails',Listitem.projectId)">
  72. <div>
  73. <img v-if="Listitem.technicalCategories=='ZNDW'" src="@/assets/img/financialService/reportIcon/smart1.png" alt="" style="width:50px;height: 50px;float: left;margin: 22px 40px 0 20px;">
  74. <img v-if="Listitem.technicalCategories=='DKYGM'" src="@/assets/img/financialService/reportIcon/electnicity2.png" alt="" style="width:50px;height: 50px;float: left;margin: 22px 40px 0 20px;">
  75. <img v-if="Listitem.technicalCategories=='DWGZ'" src="@/assets/img/financialService/reportIcon/transformation3.png" alt="" style="width:50px;height: 50px;float: left;margin: 22px 40px 0 20px;">
  76. <img v-if="Listitem.technicalCategories=='DWHL'" src="@/assets/img/financialService/reportIcon/interconnection4.png" alt="" style="width:50px;height: 50px;float: left;margin: 22px 40px 0 20px;">
  77. <img v-if="Listitem.technicalCategories=='DYGZ'" src="@/assets/img/financialService/reportIcon/supply5.png" alt="" style="width:50px;height: 50px;float: left;margin: 22px 40px 0 20px;">
  78. <img v-if="Listitem.technicalCategories=='QJNY'" src="@/assets/img/financialService/reportIcon/cleanEnergy6.png" alt="" style="width:50px;height: 50px;float: left;margin: 22px 40px 0 20px;">
  79. <img v-if="Listitem.technicalCategories=='LCAR'" src="@/assets/img/financialService/reportIcon/lcar7.png" alt="" style="width:50px;height: 50px;float: left;margin: 22px 40px 0 20px;">
  80. <img v-if="!Listitem.technicalCategories" src="@/assets/img/financialService/reportIcon/u20188.png" alt="" style="width:50px;height: 50px;float: left;margin: 22px 40px 0 20px;">
  81. <!-- <p style="height: 86px">{{Listitem.projectName}}</p>-->
  82. <div style="height: 86px;width: 80%;border: none;background: none;float: right">
  83. <span style="display: inline-block;margin-top:20px">{{Listitem.projectName}}</span>
  84. </div>
  85. <p style="clear: both"></p>
  86. </div>
  87. </li>
  88. </ul>
  89. <ul class="ulTwo">
  90. <li v-if="Listitem.pdfToPictureFileIds" v-for="(Listitem,index) in progectReport" style="cursor: pointer;padding: 20px 0;border-bottom: 1px dashed rgba(204, 204, 204,0.5); " @click="Listitem.pdfToPictureFileIds?toView('FinancialServiceEvaluationPdfDetails',Listitem):''">
  91. <div>
  92. <img src="@/assets/img/financialService/pdf.png" alt="" style="width:50px;height: 50px;float: left;margin: 22px 40px 0 20px;">
  93. <div style="height: 86px;width: 80%;border: none;background: none;float: right">
  94. <span style="display: inline-block;margin-top:20px">{{Listitem.projectReportName}}</span>
  95. </div>
  96. <p style="clear: both"></p>
  97. </div>
  98. </li>
  99. <div style="width: 100%;margin: 20px 0;"></div>
  100. </ul>
  101. <div style="clear: both"></div>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. </template>
  107. <script>
  108. import {getBaseProjectEvaluationReportInfos} from "@/api/financialService/baseProjectEvaluationReportInfo";
  109. import {sysAttachmentInfos} from '@/api/cooperation/baseCooperationUnit';
  110. export default{
  111. name:'FinancialServiceProjectEvaluation',
  112. data(){
  113. return{
  114. progectReport:[],
  115. menuIndex:this.$route.query.key,
  116. num:1,
  117. Analysis:[
  118. {
  119. id:1,
  120. title:'common.AnalysisOfEconomic',
  121. label:'common.SocialEnvironment'
  122. },
  123. {
  124. id:2,
  125. title:'common.EnergyAndElectricity',
  126. label:'common.EnergyProduct'
  127. },
  128. {
  129. id:3,
  130. title:'common.economicBenefitAnalysis',
  131. label:'common.EnergyAndPower'
  132. },
  133. {
  134. id:4,
  135. title:'common.socialBenefitAnalysis',
  136. label:'common.SocialBenefit'
  137. }
  138. ],
  139. menuList: [
  140. {
  141. id:1,
  142. title:'common.FinancialInstitutions',
  143. value:'FinancialInstitutions',
  144. },
  145. {
  146. id:2,
  147. title:'common.InvestmentGuide',
  148. value:'FinancialServiceInvestmentGuide',
  149. },
  150. {
  151. id:3,
  152. title:'common.ProjectAppraisal',
  153. // value:'FinancialServiceProjectEvaluation',
  154. },
  155. {
  156. id:4,
  157. title:'common.FundIdeas',
  158. value:'FinancialServicesFundIdeas',
  159. },
  160. ],
  161. params:{
  162. // pageSize:"5",
  163. // pageNo:"1",
  164. language:'',
  165. statusDict:'2'
  166. },
  167. }
  168. },
  169. mounted() {
  170. this.getData();
  171. },
  172. watch: {
  173. '$i18n.locale'(){
  174. this.getData();
  175. },
  176. },
  177. methods:{
  178. getData(){
  179. const that = this;
  180. this.params.language = this.$i18n.locale.toUpperCase();
  181. getBaseProjectEvaluationReportInfos(this.params).then((res)=>{
  182. this.progectReport = res.data.baseProjectEvaluationReportInfos;
  183. })
  184. },
  185. toView(router,json){
  186. console.log(router,json)
  187. this.$router.push(
  188. {
  189. name:router,
  190. query:{
  191. key:json
  192. }
  193. }
  194. )
  195. },
  196. getImg(url){
  197. return require("@/assets/img/financialService/" + url);
  198. },
  199. }
  200. }
  201. </script>
  202. <style scoped>
  203. .box {
  204. margin-top: 10px;
  205. background: #fff;
  206. /* height: 500px; */
  207. padding: 20px 0;
  208. }
  209. .crumbs {
  210. margin-left: 20px;
  211. }
  212. body {
  213. margin: 0;
  214. }
  215. p{
  216. margin: 0;
  217. padding: 0;
  218. }
  219. .projectList{
  220. margin-top: 34px;
  221. }
  222. .projectList ul li{
  223. font-size: 20px;
  224. /*margin-left: 20px;*/
  225. line-height: 32px;
  226. font-weight:400;
  227. overflow: hidden;
  228. text-overflow: ellipsis;
  229. white-space: nowrap;
  230. }
  231. .reportList{
  232. color: #666666;
  233. }
  234. .reportList .ulOne{
  235. width: 48%;
  236. font-size: 16px;
  237. color: #4F81BD;
  238. float: left;
  239. margin-bottom: 20px;
  240. }
  241. .reportList .ulTwo{
  242. width: 48%;
  243. font-size: 16px;
  244. color: #4F81BD;
  245. float: right;
  246. margin-bottom: 20px;
  247. }
  248. .ulOne li:nth-child(n) div{
  249. border: 1px solid #0091FF;
  250. border-radius: 10px;
  251. background: rgba(0, 145, 255, 0.05);
  252. }
  253. .ulOne li:nth-child(2n) div{
  254. border: 1px solid #57AC22;
  255. border-radius: 10px;
  256. background: rgba(89, 175, 34, 0.05);
  257. }
  258. .ulTwo li:nth-child(n) div{
  259. border: 1px solid #0091FF;
  260. border-radius: 10px;
  261. background: rgba(0, 145, 255, 0.05);
  262. }
  263. .ulTwo li:nth-child(2n) div{
  264. border: 1px solid #57AC22;
  265. border-radius: 10px;
  266. background: rgba(89, 175, 34, 0.05);
  267. }
  268. .reportList ul li{
  269. height: 86px;
  270. font-size: 16px;
  271. /*line-height: 86px;*/
  272. font-weight: 700;
  273. overflow: hidden;
  274. text-overflow: ellipsis;
  275. display: -webkit-box;
  276. -webkit-box-orient:vertical;
  277. -webkit-line-clamp:3;
  278. /*white-space: nowrap;*/
  279. }
  280. .EvaList{
  281. width:48%;
  282. height: 328px;
  283. margin-bottom: 40px;
  284. display: inline-block;
  285. position: relative;
  286. overflow: hidden;
  287. text-overflow: ellipsis;
  288. }
  289. .EvaList:nth-child(1),.EvaList:nth-child(4){
  290. border: 1px solid #57AC22;
  291. background: rgba(89, 175, 34, 0.05);
  292. }
  293. .EvaList:nth-child(2),.EvaList:nth-child(3){
  294. border: 1px solid #0091FF;
  295. background: rgba(0, 145, 255, 0.05);
  296. }
  297. .analy{
  298. padding:50px 50px;
  299. color: #666666;
  300. overflow: hidden;
  301. text-overflow: ellipsis;
  302. }
  303. .analyLabel{
  304. margin-top: 10px;
  305. font-size: 16px;
  306. }
  307. .analyLabelZh{
  308. line-height: 30px;
  309. }
  310. .analyLabelEn{
  311. line-height: 20px;
  312. }
  313. .rectangleOne{
  314. width: 20px;
  315. height: 20px;
  316. background: #92CB74;
  317. float: left;
  318. }
  319. </style>