evaluationList.vue 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. <template>
  2. <view class="rf-category">
  3. <view class="icoStyle">
  4. <view style="width:90%;height:99upx">
  5. <rf-search-bar @search="navToSearch" icon="iconkuaijiecaidan" style="z-index: 99;" />
  6. </view>
  7. </view>
  8. <PageMenu :currentIndex="2" />
  9. <view style="">
  10. <image src="../../../static/img/finance/titleContent.png" style="width: 100%;"></image>
  11. </view>
  12. <view class="desc">
  13. <text style="font-size: 30upx;font-weight: 600;">
  14. {{$t('common.ProjectEaluationService')}}
  15. </text>
  16. <view class="descList">
  17. <ul>
  18. <li>
  19. <view class="iconBox">
  20. <image src="../../../static/img/finance/projectIcon1.png" style="width: 34upx;height:34upx;"></image>
  21. </view>
  22. <span style="float: left;width: 90%;margin-left: 14upx;">{{$t('common.Quantitative')}}</span>
  23. <div style="clear: both;"></div>
  24. </li>
  25. <li>
  26. <view class="iconBox">
  27. <image src="../../../static/img/finance/projectIcon2.png" style="width: 34upx;height: 34upx"></image>
  28. </view>
  29. <span style="float: left;width: 90%;margin-left: 14upx;">{{$t('common.MicroBenefitAnalysis')}}</span>
  30. <div style="clear: both;"></div>
  31. </li>
  32. </ul>
  33. </view>
  34. </view>
  35. <view class="analyBox">
  36. <view v-for="(item,index) in Analysis" class="analyList">
  37. <view style="font-size: 30upx;font-weight: 600;text-align: center;">{{$t(item.title)}}</view>
  38. <text style="font-size: 24upx;margin-top:40upx;">{{$t(item.label)}}</text>
  39. </view>
  40. </view>
  41. <view class="reportBox">
  42. <view class="reportTitle">
  43. {{$t('common.ExamplesProject')}}
  44. </view>
  45. <view class="reportList">
  46. <ul v-for="reportItem in reportList" style="padding: 0 20upx;background: #EFF6FF;">
  47. <li class="reportName" @click="goproject('/pages/country/projectPresentation/projectPresentationDetails',reportItem.projectId)">
  48. {{reportItem.projectName}}
  49. </li>
  50. <li class="reportMessage" @click="gopage('projectEvaluation/evaluationPdfDetsils',reportItem)">
  51. <!-- <image src="../../../static/img/finance/reportIcon/pdf.png" alt="" class="iconMark"> -->
  52. {{reportItem.projectReportName}}
  53. </li>
  54. </ul>
  55. </view>
  56. </view>
  57. <rf-back-top :scrollTop="scrollTop"></rf-back-top>
  58. </view>
  59. </template>
  60. <script>
  61. import rfSearchBar from '@/components/rf-search-bar-xiangmu';
  62. import PageMenu from '../dom/pageMenu';
  63. import {getBaseProjectEvaluationReportInfos} from "@/api/financialService/baseProjectEvaluationReportInfo";
  64. export default {
  65. components: {
  66. rfSearchBar,
  67. PageMenu
  68. },
  69. data() {
  70. return {
  71. scrollTop: 0,
  72. Analysis:[
  73. {
  74. id:1,
  75. title:"common.AnalysisOfEconomic",
  76. label:"common.SocialEnvironment"
  77. },
  78. {
  79. id:2,
  80. title:'common.EnergyAndElectricity',
  81. label:'common.EnergyProduct'
  82. },
  83. {
  84. id:3,
  85. title:'common.socialBenefitAnalysis',
  86. label:'common.SocialBenefit'
  87. },
  88. {
  89. id:4,
  90. title:'common.economicBenefitAnalysis',
  91. label:'common.EnergyAndPower'
  92. }
  93. ],
  94. progectReport:[],
  95. reportList:[],
  96. params:{
  97. language:'',
  98. statusDict:'2'
  99. },
  100. }
  101. },
  102. async onShow(){
  103. this.getInitData()
  104. },
  105. onPageScroll(e) {
  106. this.scrollTop = e.scrollTop;
  107. },
  108. methods: {
  109. back() {
  110. uni.navigateBack();
  111. },
  112. gopage(path,item){
  113. uni.navigateTo({
  114. url:'/pages/financialService/'+path +'?key='+item.baseEntityId
  115. })
  116. },
  117. //搜索
  118. navToSearch(keyword){
  119. uni.navigateTo({
  120. url:'/pages/index/search/search?data='+keyword
  121. })
  122. },
  123. goproject(src,data){
  124. this.$mRouter.push({
  125. route: src + '?id=' + data
  126. });
  127. },
  128. async getInitData(){
  129. let params = {
  130. language:this.$i18n.locale.toUpperCase(),
  131. statusDict:'2'
  132. }
  133. const res = await this.$myRequest({
  134. url: '/project/baseProjectEvaluationReportInfos/',
  135. data: params
  136. })
  137. // let res = await getBaseProjectEvaluationReportInfos(params);
  138. if(res.data){
  139. this.reportList = res.data.baseProjectEvaluationReportInfos;
  140. }
  141. },
  142. i18n(data) {
  143. return this.$t('common.' + data);
  144. },
  145. }
  146. }
  147. </script>
  148. <style lang="scss" scoped>
  149. .rf-category {
  150. // background-color: $color-white;
  151. color: #666666;
  152. // margin-top: calc(20upx + var(--status-bar-height));
  153. .icoStyle {
  154. display:flex;
  155. align-items:center;
  156. .leftArrow {
  157. /* #ifdef APP-PLUS */
  158. padding-top: calc(28upx + var(--status-bar-height));
  159. /* #endif */
  160. .text{
  161. color:#fff;
  162. }
  163. }
  164. }
  165. .desc{
  166. background-color: #ffffff;
  167. padding: 20upx 40upx;
  168. .descList{
  169. ul{
  170. margin-left: -80upx;
  171. margin-top: 40upx;
  172. width: 100%;
  173. li{
  174. list-style: none;
  175. margin-bottom: 44upx;
  176. }
  177. }
  178. }
  179. }
  180. }
  181. .analyBox{
  182. background-color: #ffffff;
  183. margin-top: 20upx;
  184. padding: 20upx 40upx;
  185. color: #666666;
  186. .analyList{
  187. width: 100%;
  188. margin-bottom: 30upx;
  189. }
  190. }
  191. .reportBox{
  192. margin-top: 20upx;
  193. padding: 20upx 40upx;
  194. background-color: #ffffff;
  195. .reportTitle{
  196. font-size: 30upx;
  197. font-weight: 600;
  198. text-align: center;
  199. color: #666666;
  200. }
  201. .reportList{
  202. ul{
  203. margin-top: 40upx;
  204. height: 186upx;
  205. padding: 0;
  206. line-height: 98upx;
  207. font-size: 24upx;
  208. color: #4F81BD;
  209. font-weight: 700;
  210. border: 2upx solid #0091FF;
  211. border-radius: 40upx;
  212. .reportName{
  213. border-bottom: 2upx solid rgba(0,145,255,.5);
  214. color: #666666;
  215. font-size: 30upx;
  216. }
  217. li{
  218. height: 50%;
  219. list-style: none;
  220. overflow: hidden;
  221. text-overflow: ellipsis;
  222. white-space: nowrap;
  223. .iconMark{
  224. width:50upx;
  225. height: 50upx;
  226. float: left;
  227. margin: 22upx 40upx 0 20upx;
  228. }
  229. }
  230. }
  231. }
  232. }
  233. .iconBox{
  234. width: 40upx;
  235. height: 40upx;
  236. border: 1px solid #6784AB;
  237. border-radius: 100upx;
  238. display: inline-block;
  239. float:left;
  240. text-align: center;
  241. line-height: 50upx;
  242. }
  243. </style>