index.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <template>
  2. <view class="total-page page-env-160 page-box">
  3. <!-- <Nav :title="'工作台导航'" :back="false" :is_fixed="true" :opacity="scrollTop" :justify="'left'" :color="'#fff'">
  4. <view class="p-20">
  5. <IndexPersonal ref="memberObj" @setMemberData="setMemberData"></IndexPersonal>
  6. <IndexColumn ref="columnObj" :memberData="memberData" :model-time="modelTime"></IndexColumn>
  7. </view>
  8. </Nav> -->
  9. <view class="p-20">
  10. <view class="personal m-lr10 row-justify-sb center">
  11. <text class="sys-weight-600">我的待办</text>
  12. <view class="row-justify-sb center">
  13. <view class="personal_text">
  14. <uni-datetime-picker type="date">
  15. <view class="personal sys-background-fff size-24 sys-weight-600 p-lr30 r-40">{{indexTime}}
  16. </view>
  17. </uni-datetime-picker>
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. <TaskItem :type="5" :taskList="backlogList"></TaskItem>
  23. <Tab class="tabs_height" :tab-index="0"></Tab>
  24. </view>
  25. </template>
  26. <script>
  27. import TaskItem from "@/common/task/task-item.vue"
  28. import PieChart from "@/common/chart/pie_chart.vue"
  29. import CircleChart from "@/common/chart/circle_chart.vue"
  30. // 个人信息
  31. import IndexColumn from "./module/index_column.vue"
  32. // 顶部栏目
  33. import IndexPersonal from "./module/index_personal.vue"
  34. import {
  35. getDateBacklogStatistics,
  36. getDayBacklogList
  37. } from "@/api/task";
  38. import {
  39. date
  40. } from "@/uni_modules/uv-ui-tools/libs/function/test";
  41. export default {
  42. components: {
  43. TaskItem,
  44. PieChart,
  45. CircleChart,
  46. IndexColumn,
  47. IndexPersonal
  48. },
  49. data() {
  50. return {
  51. modelTime: this.$tools.getDate('-'),
  52. indexTime: this.$tools.getDate('-'),
  53. is_admin: false,
  54. scrollTop: 0,
  55. topNavHeight: 0,
  56. chartList: [{
  57. name: "超期",
  58. color: '#DE5847',
  59. value: "0"
  60. }, {
  61. name: "滞后",
  62. color: '#EF8F27',
  63. value: "0"
  64. }, {
  65. name: "正常",
  66. color: '#3ABF7D',
  67. value: "0"
  68. }, ],
  69. memberData: {
  70. draftNum: 0,
  71. creditNum: 0,
  72. noticeNum: 0,
  73. take_num: 0,
  74. unreadNum: 0,
  75. },
  76. statisticsData: {
  77. endNum: 0,
  78. exceedDate: 0,
  79. lagDate: 0,
  80. totalNum: 0,
  81. },
  82. backlogList: [{
  83. img: 'https://copyright.bdstatic.com/vcg/creative/d6c6a351be227d5d3b3e8c1f96f56e50.jpg@h_1280',
  84. proportion: '37',
  85. name: 'Downtown Office Tower -Prime Location',
  86. live: false,
  87. percentage: '3.1',
  88. description: 'Metro Properties LLC',
  89. amount: '5.0',
  90. trend: '7.5',
  91. risk: 'LTV 37%',
  92. time: '2024-001',
  93. id: 1,
  94. },
  95. {
  96. img: 'https://pic.rmb.bdstatic.com/bjh/3ea195479f8a/250303/f53064611fee7c092312f3b6ea8e439d.jpeg',
  97. proportion: '71',
  98. name: 'Tower -Prime Location',
  99. live: true,
  100. percentage: '5.1',
  101. description: 'Healthcare Properties Inc',
  102. amount: '5.0',
  103. trend: '7.5',
  104. risk: 'LTV 37%',
  105. time: '2024-001',
  106. id: 2,
  107. }
  108. ],
  109. weekData: [],
  110. weekNum: 1,
  111. dayNum: 0,
  112. day: '',
  113. month: '',
  114. page: 1,
  115. isAjax: false,
  116. total: null
  117. }
  118. },
  119. watch: {},
  120. onLoad() {},
  121. onShow() {},
  122. onPageScroll(res) {
  123. this.scrollTop = res.scrollTop / 120
  124. },
  125. onReachBottom() {},
  126. methods: {},
  127. }
  128. </script>
  129. <style lang="scss" scoped>
  130. .personal {
  131. height: 55rpx;
  132. line-height: 55rpx;
  133. }
  134. .pie_chart {
  135. width: 135px
  136. }
  137. .circle_chart {
  138. width: 135px;
  139. padding-top: 20rpx;
  140. }
  141. .chart_dot {
  142. width: 16rpx;
  143. height: 16rpx;
  144. border-radius: 50%;
  145. }
  146. </style>