timeprogress.vue 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <template>
  2. <view class="timepro">
  3. <view class="flex0">
  4. <view class="zhanline"></view>
  5. <view class="time_top">
  6. <!-- <time-year @bindDateChange="bindDateChange" fields='month' textAlign='right' timetxt='选择日期'></time-year> -->
  7. <view class="time_btn" @click="getCuiFn">一键催报</view>
  8. </view>
  9. </view>
  10. <view class="tablebox">
  11. <table border='0' class='table'>
  12. <thead class='thead'>
  13. <tr class="tr_one">
  14. <th style="width: 351rpx;">
  15. <view class="tit">未汇报项目</view>
  16. <view class="num co1">12</view>
  17. </th>
  18. <th style="width: 351rpx;">
  19. <view class="tit">已汇报项目</view>
  20. <view class="num co2">12</view>
  21. </th>
  22. <!-- <th style="width: 200rpx;">年度完成投资(万元)</th> -->
  23. </tr>
  24. </thead>
  25. <tbody class="tbody">
  26. <tr v-for="(item,index) in list" :key="index">
  27. <td style="width: 351rpx;" >{{item.name}}</td>
  28. <td style="width: 351rpx;" class='co1'>{{item.a}}未汇报项目</td>
  29. </tr>
  30. <!-- <div class="shax" v-if="list.length>0">
  31. {{wtdt}}
  32. </div>
  33. <div class="shax" v-else><span>暂无数据</span></div> -->
  34. <!-- 查看更多 -->
  35. <view class="listmore">
  36. 查看更多
  37. <image :src="moredimg"></image>
  38. </view>
  39. </tbody>
  40. </table>
  41. </view>
  42. <!-- 弹窗 -->
  43. <view class="bgbox" @click="getClose" v-if="cuiflag"></view>
  44. <view class="fixedbox" v-if="cuiflag">
  45. <image :src="closeimg" class="choseimg" @click="getClose"></image>
  46. <view class="top">一键催报</view>
  47. <view class="boxs">
  48. <view class="c34 f16 fw " style="text-align: center;">您确认要一键催报未汇报单位吗?</view>
  49. </view>
  50. <view class="fixedbtn" @click="getSubmit">确认</view>
  51. </view>
  52. </view>
  53. </template>
  54. <script>
  55. import timeYear from "@/components/timedata/timeyear.vue"
  56. export default{
  57. components:{
  58. timeYear,
  59. },
  60. data(){
  61. return{
  62. list:[{'name':'项目名称'},{'name':'项目名称'},{'name':'项目名称'},{'name':'项目名称'},{'name':'项目名称'}],
  63. wtdt:'',
  64. moredimg:require('@/static/images/new/index/mored.png'),
  65. closeimg:require('@/static/images/close.png'),
  66. cuiflag:false
  67. }
  68. },
  69. methods:{
  70. bindDateChange(){
  71. },
  72. getClose(){
  73. this.cuiflag=false;
  74. },
  75. getCuiFn(){
  76. this.cuiflag=true;
  77. }
  78. }
  79. }
  80. </script>
  81. <style lang="scss" scoped>
  82. .timepro{display: flex;flex-direction: column;height: 100vh;
  83. .time_top{display: flex;align-items: center;justify-content:space-between;padding: 20rpx 24rpx;}
  84. .time_btn{width: 168rpx;height: 60rpx;background: #FD5001;border-radius: 10rpx;display: flex;align-items: center;justify-content: center;font-size: 30rpx;font-weight: 500;
  85. color: #FFFFFF;}
  86. }
  87. // 表格
  88. .tablebox{padding:10rpx 24rpx 0;flex: 1;display: flex;flex-direction: column;overflow: hidden;
  89. th{padding:10rpx 8rpx;box-sizing: border-box;font-size: 28rpx;color: #343434;font-weight: bold;text-align: center;
  90. .num{font-size: 24rpx;margin-top: 8rpx;
  91. &.co1{color: #FE3155;}
  92. &.co2{color:#1686F6;}
  93. }
  94. }
  95. }
  96. .table{border-spacing: 0;width: 100%;display: flex;flex-direction: column;overflow: hidden;}
  97. .thead{width: 100%;background-color: #F1F1F1;flex: 0 0 auto;border-radius: 10rpx;
  98. }
  99. .tbody {flex: 1;overflow: auto;}
  100. .tbody td{height: 120rpx;box-sizing: border-box;padding: 24rpx 14rpx;font-weight: 500;color: #343434;font-size: 28rpx;border-bottom: 2rpx solid #CDCDCD;text-align: center;word-break: break-all;
  101. &.co1{color: #FE3155;}
  102. &.co2{color:#1686F6;}
  103. }
  104. // 更多
  105. .listmore{display: flex;align-items: center;justify-content: center;font-size: 30rpx;color: #aaaaaa;font-weight: 500;padding: 40rpx 24rpx;
  106. image{width: 24rpx;height: 24rpx;margin-left: 12rpx;}
  107. }
  108. .fixedbox{box-sizing: border-box;padding:42rpx 46rpx 60rpx;min-height: auto;
  109. .choseimg{top: 50rpx;}
  110. .boxs{padding: 60rpx 0 70rpx;}
  111. .fixedbtn{width:100%;height: 80rpx;background: #FF6400;
  112. border-radius: 10rpx;display: flex;align-items: center;justify-content: center;font-size: 32rpx;font-weight: bold;color: #FFFFFF;
  113. &.btn1{background-color: #20ACCF;margin-bottom: 36rpx;}
  114. }
  115. }
  116. </style>