review.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <template>
  2. <view class="task-page">
  3. <div class="title">{{item.title}}</div>
  4. <div class="info">
  5. <div class="item">
  6. <view class="name">执行人</view>
  7. <view class="cont">执行人</view>
  8. </div>
  9. <div class="item">
  10. <view class="name">执行部门</view>
  11. <view class="cont">执行部门</view>
  12. </div>
  13. <div class="item">
  14. <view class="name">上报时间</view>
  15. <view class="cont">{{parseTime(new Date())}}</view>
  16. </div>
  17. </div>
  18. <view class="footer" @click="onSubmit">评审</view>
  19. </view>
  20. </template>
  21. <script>
  22. import {parseTime} from '@/libs/index.js'
  23. export default {
  24. data() {
  25. return {
  26. item:{
  27. title:"水位预{2号-770-32002}:采空区封堵完好,无渗水情况。"
  28. },
  29. flow:{
  30. status:"",
  31. time:"",
  32. desc:"",
  33. attachList:[]
  34. }
  35. }
  36. },
  37. onLoad() {
  38. this.init()
  39. },
  40. methods: {
  41. parseTime,
  42. init(){
  43. },
  44. onSubmit(){
  45. uni.navigateTo({
  46. url:'/pages/risk/review/form/form'
  47. })
  48. }
  49. },
  50. destroyed() {
  51. uni.removeStorageSync('task-item')
  52. }
  53. }
  54. </script>
  55. <style lang="scss" scoped>
  56. .task-page{
  57. background-color: #F3F5FB;
  58. height: 100vh;
  59. .title{
  60. font-family: 'Source Han Sans CN';
  61. font-style: normal;
  62. font-weight: 700;
  63. font-size: 36rpx;
  64. line-height: 54rpx;
  65. color: #212121;
  66. padding:0 32rpx;
  67. }
  68. .info{
  69. padding: 0 32rpx;
  70. margin: 40rpx 0;
  71. background: #FFFFFF;
  72. border-radius: 32rpx 32rpx 0px 0px;
  73. .item{
  74. border-bottom: 1rpx solid #EFF1F3;
  75. padding: 40rpx 32rpx;
  76. .name{
  77. font-size: 28rpx;
  78. color: #999999;
  79. line-height: 1;
  80. }
  81. .cont{
  82. font-size: 30rpx;
  83. color: #212121;
  84. line-height: 1.5;
  85. padding-top: 12rpx;
  86. }
  87. &:last-child{
  88. border-bottom:none;
  89. }
  90. }
  91. }
  92. .footer{
  93. width: 100%;
  94. height: 136upx;
  95. background: #FFFFFF;
  96. border-radius: 16upx 16upx 0px 0px;
  97. position: fixed;
  98. left: 0;
  99. bottom: 0;
  100. text-align: center;
  101. color: #168DEC;
  102. font-size: 32upx;
  103. padding-top: 20upx;
  104. letter-spacing: 2px;
  105. }
  106. }
  107. </style>