investmentApp.html 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>同心共享APP</title>
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  7. <meta name="apple-mobile-web-app-capable" content="yes" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  9. <script src="investJs//vue.min.js"></script>
  10. <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  11. <!-- 引入样式 -->
  12. <link rel="stylesheet" href="https://unpkg.com/mint-ui/lib/style.css">
  13. <!-- 引入组件库 -->
  14. <script src="https://unpkg.com/mint-ui/lib/index.js"></script>
  15. <style>
  16. .Body {
  17. width: 100%;
  18. height: 100%;
  19. }
  20. .UserInfo {
  21. display: flex;
  22. flex-direction: row;
  23. align-items: center;
  24. height: 5rem;
  25. border-bottom: 0.4rem solid #ff802c;
  26. }
  27. .Tx {
  28. width: 3rem;
  29. height: 3rem;
  30. margin-left: 1rem;
  31. }
  32. .Name {
  33. font-size: 1.3rem;
  34. }
  35. .Details {
  36. color: #b3b3b3;
  37. font-size: 0.7rem;
  38. margin-top: 0.1rem;
  39. }
  40. .One {
  41. width: 45%;
  42. min-height: 3rem;
  43. margin-top: 5%;
  44. padding-bottom: 0.1rem
  45. }
  46. .row {
  47. display: flex;
  48. flex-direction: row;
  49. text-align: center;
  50. }
  51. .center {
  52. align-items: center;
  53. justify-content: center;
  54. margin-top: 5%;
  55. }
  56. .img {
  57. width: 25%;
  58. height: 25%;
  59. margin-right: 5%;
  60. }
  61. .txt {
  62. font-size: 1rem;
  63. color: #ff802c;
  64. font-weight: bold
  65. }
  66. </style>
  67. </head>
  68. <!-- <body style="background-color: gray"> -->
  69. <body onload="load()">
  70. <div id="app">
  71. <!-- <div id="app"> -->
  72. <mt-header title="同心共享" style="height:4rem;font-size:1.3rem;backgroundColor:#ff802c">
  73. <router-link to="/" slot="left">
  74. <mt-button icon="back" onclick="javascript:history.back();"></mt-button>
  75. </router-link>
  76. </mt-header>
  77. <div class="Body">
  78. <div class="UserInfo">
  79. <img class="Tx" src="./investImg/tx.png">
  80. <div style="margin-left:0.5rem">
  81. <div class="Name">{{investProjectExcelVOList[0].userName}}</div>
  82. <div class="Details">您的同心共享在
  83. <span style="color:#ff802c">{{investProjectExcelVOList[0].regionName}}</span>下面的投资明细</div>
  84. </div>
  85. </div>
  86. <div style="overflow-x:auto;">
  87. <div style="margin-top:1vh">
  88. <span style="background-color: #ff802c;color: #ff802c">1</span>
  89. <span>投资明细列表</span></div>
  90. <table border="1" cellspacing="0" width="2500" height="150" style="margin-top:2vh">
  91. <!--crowspan中必须指定要合并的行数目-->
  92. <!--colspan中必须指定要合并的列数目-->
  93. <tr>
  94. <th rowspan="2">跟投项目</th>
  95. <th colspan="2">房产发放利润(累计数)</th>
  96. <th colspan="2">已发放个人利润(累计数)</th>
  97. <th colspan="2">未发放个人利润(累计数)</th>
  98. <th rowspan="2">资金池跟投本金</th>
  99. <th rowspan="2">资金池跟投时间</th>
  100. <th rowspan="2">单独资金账户跟投本金</th>
  101. <th rowspan="2">单独资金账户跟投时间</th>
  102. <th colspan="2">区域跟投金额</th>
  103. <th colspan="2">利润分配</th>
  104. <th colspan="2">募集资金余额</th>
  105. <th colspan="2">可用资金余额(区域募集资金本金+利润分配+阶段性现金余额)</th>
  106. </tr>
  107. <tr>
  108. <th>资金池</th>
  109. <th>单独资金账户</th>
  110. <th>资金池</th>
  111. <th>单独资金账户</th>
  112. <th>资金池</th>
  113. <th>单独资金账户</th>
  114. <th>资金池</th>
  115. <th>单独资金账户</th>
  116. <th>资金池</th>
  117. <th>单独资金账户</th>
  118. <th>资金池</th>
  119. <th>单独资金账户</th>
  120. <th>资金池</th>
  121. <th>单独资金账户</th>
  122. </tr>
  123. <div>
  124. <tr v-for="(item,index) in investProjectExcelVOList" :key="index">
  125. <td>{{item.projectName}}</td>
  126. <td>{{item.propertyDistributionCapital}}</td>
  127. <td>{{item.propertyDistributionCapitalAccount}}</td>
  128. <td>{{item.issuedCapital}}</td>
  129. <td>{{item.issuedCapitalAccount}}</td>
  130. <td>{{item.unissuedCapital}}</td>
  131. <td>{{item.unissuedCapitalAccount}}</td>
  132. <td :rowspan="investProjectExcelVOList.length" v-show="index == 0">{{item.followCapital}}</td>
  133. <td :rowspan="investProjectExcelVOList.length" v-show="index == 0">{{item.followTime}}</td>
  134. <!-- cell = sheet.getRow((count)).getCell(11);// 跟投(独资金账户) -->
  135. <td>{{item.regionFollowCapitalAccount}}</td>
  136. <!-- cell = sheet.getRow((count)).getCell(12);// 跟投时间(独资金账户) -->
  137. <td>{{item.followCapitalAccountTime}}</td>
  138. <!-- cell = sheet.getRow(count).getCell(13);// 资金池(区域跟投) -->
  139. <td>{{item.regionFollowCapital}}</td>
  140. <!-- cell = sheet.getRow(count).getCell(14);// 单独资金账户(区域跟投) -->
  141. <td>{{item.regionFollowCapitalAccount}}</td>
  142. <td>{{item.profitDistributionCapital}}</td>
  143. <td>{{item.profitDistributionCapitalAccount}}</td>
  144. </tr>
  145. <tr>
  146. <td v-if="tableFlag==true">合计</td>
  147. <td>{{investProjectProfitVo.propertyDistributionCapitalTotal}}</td>
  148. <td>{{investProjectProfitVo.propertyDistributionCapitalAccountTotal}}</td>
  149. <td>{{investProjectProfitVo.issuedCapitalTotal}}</td>
  150. <td>{{investProjectProfitVo.issuedCapitalAccountTotal}}</td>
  151. <td>{{investProjectProfitVo.unissuedCapitalTotal}}</td>
  152. <td>{{investProjectProfitVo.unissuedCapitalAccountTotal}}</td>
  153. <td>{{investProjectExcelVOList[0].followCapital}}</td>
  154. <td></td>
  155. <td>{{investProjectExcelVOList[0].followCapitalAccount}}</td>
  156. <td></td>
  157. <td>{{investProjectProfitVo.regionFollowCapitalTotal}}</td>
  158. <td>{{investProjectProfitVo.regionFollowCapitalAccountTotal}}</td>
  159. <td>{{investProjectProfitVo.profitDistributionCapitalTotal}}</td>
  160. <td>{{investProjectProfitVo.profitDistributionCapitalAccountTotal}}</td>
  161. <td>{{investProjectExcelVOList[0].raisingBalanceCapital}}</td>
  162. <td>{{investProjectExcelVOList[0].raisingBalanceCapitalAccount}}</td>
  163. <td>{{investProjectExcelVOList[0].availableBalanceCapital}}</td>
  164. <td>{{investProjectExcelVOList[0].availableBalanceCapitalAccount}}</td>
  165. </tr>
  166. </div>
  167. </table>
  168. </div>
  169. </div>
  170. </div>
  171. <script src="https://unpkg.com/mint-ui/lib/index.js"></script>
  172. <script src="investJs//vue.js"></script>
  173. <script type="text/javascript">
  174. function load() {
  175. var urlParameters = location.search;
  176. var requestParameters = new Object();
  177. var parameters;
  178. if (urlParameters.indexOf('?') != -1) {
  179. parameters = decodeURI(urlParameters.substr(1));
  180. }
  181. var domain = location.hostname;
  182. var backDomain = domain + ":";//后端域名
  183. if (domain === 'localhost') { //开发
  184. backDomain = "http://localhost:8080/DPshow_depart/";
  185. } else if (domain === 'duptest.bgyfw.com') { //测试
  186. backDomain = "http://duptest.bgyfw.com:8002/DPshow_depart/";
  187. } else if (domain === 'duprc.bgyfw.com') { //预生产
  188. backDomain = "http://duprc.bgyfw.com:8012/DPshow_depart/";
  189. } else if (domain === 'dup.bgyfw.com') { //正式
  190. backDomain = "https://dup.bgyfw.com:8443/DPshow_depart/";
  191. }
  192. const service = axios.create({
  193. baseURL: backDomain, // node环境的不同,对应不同的baseURL
  194. timeout: 5000, // 请求的超时时间
  195. withCredentials: true // 允许携带cookie
  196. })
  197. service.get(backDomain + 'api/invest/region/investment/investmentAppInfo?' + parameters, { 'xhrFields': { withCredentials: true }, crossDomain: true }
  198. )
  199. .then(function (response) {
  200. if (app.investProjectExcelVOList.length >0) {
  201. app.tableFlag=true;
  202. app.investProjectProfitVo = response.data.data.investProjectProfitVo;
  203. app.investProjectExcelVOList = response.data.data.investProjectExcelVOList;
  204. }
  205. })
  206. .catch(function (error) {
  207. })
  208. }
  209. </script>
  210. </body>
  211. </html>