entities.vue 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. <template>
  2. <view class="m-20">
  3. <view class="title-box p-b20">
  4. <view class="size-32 sys-weight-600">债务</view>
  5. <view class="size-20 title-num">{{stageList.length}}</view>
  6. </view>
  7. <view class="row-c r-20 sys-background-fff m-b20" v-for="(item,index) in stageList" :key="index">
  8. <view class="file-box r-20" @click="openInfo(1,item)">
  9. <view class="file-data">
  10. <view class="file-icon" style="background-color:#FC526A " >
  11. <uni-icons type="calendar" color="#fff" size="20"></uni-icons>
  12. </view>
  13. <view>
  14. <view class="attachment-text">{{item.attachmentName}}</view>
  15. <view class="size-26 text-color-333 m-t20"><text class="text-icon">活跃</text><text>¥116,5710</text></view>
  16. </view>
  17. </view>
  18. <view>
  19. <uni-icons type="right" size="20"></uni-icons>
  20. </view>
  21. </view>
  22. </view>
  23. <view class="title-box p-b20">
  24. <view class="size-32 sys-weight-600">借款人</view>
  25. <view class="size-20 title-num">{{oneList.length}}</view>
  26. </view>
  27. <view class="row-c r-20 sys-background-fff m-b20" v-for="(item,index) in oneList" :key="index">
  28. <view class="file-box r-20" @click="openInfo(2,item)">
  29. <view class="file-data">
  30. <view class="file-icon" style="background-color:#9335FF " >
  31. <uni-icons type="calendar" color="#fff" size="20"></uni-icons>
  32. </view>
  33. <view>
  34. <view class="attachment-text">{{item.attachmentName}}</view>
  35. <view class="size-26 text-color-333 m-t20"><text class="text-icon">活跃</text></view>
  36. </view>
  37. </view>
  38. <view>
  39. <uni-icons type="right" size="20"></uni-icons>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="title-box p-b20">
  44. <view class="size-32 sys-weight-600">担保人</view>
  45. <view class="size-20 title-num">{{twoList.length}}</view>
  46. </view>
  47. <view class="row-c r-20 sys-background-fff m-b20" v-for="(item,index) in twoList" :key="index">
  48. <view class="file-box r-20" @click="openInfo(3,item)">
  49. <view class="file-data">
  50. <view class="file-icon" style="background-color:#009BF2 " >
  51. <uni-icons type="calendar" color="#fff" size="20"></uni-icons>
  52. </view>
  53. <view>
  54. <view class="attachment-text">{{item.attachmentName}}</view>
  55. <view class="size-26 text-color-333 m-t20"><text class="text-icon">活跃</text></view>
  56. </view>
  57. </view>
  58. <view>
  59. <uni-icons type="right" size="20"></uni-icons>
  60. </view>
  61. </view>
  62. </view>
  63. <view class="title-box p-b20">
  64. <view class="size-32 sys-weight-600">抵押物</view>
  65. <view class="size-20 title-num">{{threeList.length}}</view>
  66. </view>
  67. <view class="row-c r-20 sys-background-fff m-b20" v-for="(item,index) in threeList" :key="index">
  68. <view class="file-box r-20" @click="openInfo(4,item)">
  69. <view class="file-data">
  70. <view class="file-icon" style="background-color:#00B05E " >
  71. <uni-icons type="calendar" color="#fff" size="20"></uni-icons>
  72. </view>
  73. <view>
  74. <view class="attachment-text">{{item.attachmentName}}</view>
  75. <view class="size-26 text-color-333 m-t20"><text class="text-icon">活跃</text></view>
  76. </view>
  77. </view>
  78. <view>
  79. <uni-icons type="right" size="20"></uni-icons>
  80. </view>
  81. </view>
  82. </view>
  83. <view class="title-box p-b20">
  84. <view class="size-32 sys-weight-600">债权人</view>
  85. <view class="size-20 title-num">{{fourList.length}}</view>
  86. </view>
  87. <view class="row-c r-20 sys-background-fff m-b20" v-for="(item,index) in fourList" :key="index">
  88. <view class="file-box r-20"@click="openInfo(4,item)">
  89. <view class="file-data">
  90. <view class="file-icon" style="background-color:#FF7E00 " >
  91. <uni-icons type="calendar" color="#fff" size="20"></uni-icons>
  92. </view>
  93. <view>
  94. <view class="attachment-text">{{item.attachmentName}}</view>
  95. <view class="size-26 text-color-333 m-t20"><text class="text-icon">活跃</text></view>
  96. </view>
  97. </view>
  98. <view>
  99. <uni-icons type="right" size="20"></uni-icons>
  100. </view>
  101. </view>
  102. </view>
  103. <popupModuleVue ref="popupModuleRef"></popupModuleVue>
  104. </view>
  105. </template>
  106. <script>
  107. import popupModuleVue from "@/pages/index/module/popup-module.vue";
  108. export default {
  109. name:'entities',
  110. components: {popupModuleVue},
  111. props: {
  112. businessId:{
  113. default:0
  114. }
  115. },
  116. data() {
  117. return {
  118. stageList: [],
  119. oneList: [],
  120. twoList: [],
  121. threeList: [],
  122. fourList: [],
  123. }
  124. },
  125. watch:{
  126. 'businessId':function () {
  127. // this.getStageList()
  128. }
  129. },
  130. mounted() {
  131. this.getStageList()
  132. },
  133. methods: {
  134. openInfo(colorType,data){
  135. this.$refs.popupModuleRef.openPop(colorType,data)
  136. },
  137. getStageList() {
  138. this.stageList=[{'attachmentName':'大连迈世未履行(2024)辽0211民初2861号民事判决书','attachmentFormat':'docx','attachmentSize':1165710},]
  139. this.oneList=[{'attachmentName':'大连迈世农业发展有限公司','attachmentFormat':'docx','attachmentSize':1165710},]
  140. this.twoList=[{'attachmentName':'迈世集团有限公司','attachmentFormat':'docx','attachmentSize':1165710},]
  141. this.fourList=[{'attachmentName':'迈世集团有限公司','attachmentFormat':'docx','attachmentSize':1165710},]
  142. this.threeList=[{'attachmentName':'中信银行股份有限公司大连分行','attachmentFormat':'docx','attachmentSize':1165710},{'attachmentName':'景山东园7号13层2号房屋','attachmentFormat':'docx','attachmentSize':1165710},]
  143. },
  144. },
  145. }
  146. </script>
  147. <style lang="scss" scoped>
  148. .title-box{
  149. display: flex;
  150. justify-content: space-between;
  151. align-items: center;
  152. .title-num{
  153. color: #ee9393;
  154. background-color: #f6e8c4;
  155. padding: 4rpx 16rpx;
  156. border-radius: 12rpx;
  157. }
  158. }
  159. .file-box{
  160. box-shadow: 0 2rpx 6rpx 0 #0000001a, 0 2rpx 2px -2rpx #0000001a;
  161. width: 100%;
  162. padding: 32rpx;
  163. display: flex;
  164. align-items: center;
  165. justify-content: space-between;
  166. .file-data{
  167. display: flex;
  168. justify-content: flex-start;
  169. .attachment-text{
  170. width: 410rpx;
  171. overflow: hidden;
  172. text-overflow: ellipsis;
  173. white-space: nowrap;
  174. }
  175. .file-icon{
  176. display: flex;
  177. justify-content: center;
  178. align-items: center;
  179. width: 96rpx;
  180. height: 96rpx;
  181. border-radius: 20rpx;
  182. margin-right: 32rpx;
  183. background-color: #FA4C78;
  184. }
  185. .text-icon{
  186. padding: 4rpx 8rpx;
  187. background-color: #DBFCE7;
  188. color: #008236;
  189. font-weight: 400;
  190. font-size: 24rpx;
  191. margin-right: 10rpx;
  192. }
  193. .file-icon-pdf{
  194. background-color: #9033FF;
  195. }
  196. .file-icon-excel{
  197. background-color:#00A5EC;
  198. }
  199. .file-icon-excel{
  200. background-color:#00A762;
  201. }
  202. .file-icon-excel{
  203. background-color:#FF7F00;
  204. }
  205. .file-icon-excel{
  206. background-color:#8440FD;
  207. }
  208. }
  209. }
  210. .steps-item:last-child {
  211. margin-bottom: 0;
  212. }
  213. .steps-line {
  214. width: 2rpx;
  215. background-color: #D9D9D9;
  216. height: 90rpx;
  217. }
  218. </style>