repeal.vue 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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>
  19. </template>
  20. <script>
  21. import {parseTime} from '@/libs/index.js'
  22. export default {
  23. data() {
  24. return {
  25. item:{
  26. title:"水位预{2号-770-32002}:采空区封堵完好,无渗水情况。"
  27. },
  28. flow:{
  29. status:"",
  30. time:"",
  31. desc:"",
  32. attachList:[]
  33. }
  34. }
  35. },
  36. onLoad() {
  37. this.init()
  38. },
  39. methods: {
  40. parseTime,
  41. init(){
  42. },
  43. onSubmit(){
  44. uni.navigateTo({
  45. url:'/pages/risk/review/form/form'
  46. })
  47. }
  48. },
  49. destroyed() {
  50. uni.removeStorageSync('task-item')
  51. }
  52. }
  53. </script>
  54. <style lang="scss" scoped>
  55. .task-page{
  56. background-color: #F3F5FB;
  57. height: 100vh;
  58. .title{
  59. font-family: 'Source Han Sans CN';
  60. font-style: normal;
  61. font-weight: 700;
  62. font-size: 36rpx;
  63. line-height: 54rpx;
  64. color: #212121;
  65. padding:0 32rpx;
  66. }
  67. .info{
  68. padding: 0 32rpx;
  69. margin: 40rpx 0;
  70. background: #FFFFFF;
  71. border-radius: 32rpx 32rpx 0px 0px;
  72. .item{
  73. border-bottom: 1rpx solid #EFF1F3;
  74. padding: 40rpx 32rpx;
  75. .name{
  76. font-size: 28rpx;
  77. color: #999999;
  78. line-height: 1;
  79. }
  80. .cont{
  81. font-size: 30rpx;
  82. color: #212121;
  83. line-height: 1.5;
  84. padding-top: 12rpx;
  85. }
  86. &:last-child{
  87. border-bottom:none;
  88. }
  89. }
  90. }
  91. }
  92. </style>