index.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <template>
  2. <view class="content">
  3. <page-title>更多操作</page-title>
  4. <view class="btnlist-box">
  5. <view class="btn color1" @click="goToReport('yearly',parmasInfo.subId,parmasInfo.subName)">
  6. <view class="btn-icon">
  7. <image src="@/static/func/ndjhss-icon.svg" mode=""></image>
  8. </view>
  9. <view class="name">
  10. 年度计划
  11. </view>
  12. </view>
  13. <view class="btn color1" @click="goToReport('wtdb',parmasInfo.subId,parmasInfo.subName)">
  14. <view class="btn-icon">
  15. <image src="@/static/func/wtdbss-icon.svg" mode=""></image>
  16. </view>
  17. <view class="name">
  18. 问题督办
  19. </view>
  20. </view>
  21. <view class="btn color1" @click="goToReport('qtldjbm',parmasInfo.subId,parmasInfo.subName)">
  22. <view class="btn-icon">
  23. <image src="@/static/func/qtldjbm-icon.svg" mode=""></image>
  24. </view>
  25. <view class="name">
  26. 牵头领导及部门
  27. </view>
  28. </view>
  29. <view class="btn color1" @click="goToReport('xcyx',parmasInfo.subId,parmasInfo.subName)">
  30. <view class="btn-icon">
  31. <image src="@/static/func/xcyx-icon.svg" mode=""></image>
  32. </view>
  33. <view class="name">
  34. 现场影像
  35. </view>
  36. </view>
  37. <view class="btn color1" @click="goToReport('qqsxblqk',parmasInfo.subId,parmasInfo.subName)">
  38. <view class="btn-icon">
  39. <image src="@/static/func/qqsxblqk-icon.svg" mode=""></image>
  40. </view>
  41. <view class="name">
  42. 前期手续办理情况
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. </template>
  48. <script setup>
  49. import {
  50. ref
  51. } from 'vue';
  52. import {
  53. onLoad
  54. } from "@dcloudio/uni-app";
  55. function goToReport(type, subId, subName) {
  56. if (type === 'wtdb') {
  57. uni.navigateTo({
  58. url: `/pages/problemSupervision/index?type=${type}&subId=${subId}&subName=${subName}`
  59. })
  60. } else if (type === 'qtldjbm') {
  61. uni.navigateTo({
  62. url: `/pages/leadersList/index?type=${type}&subId=${subId}&subName=${subName}`
  63. })
  64. } else if (type === 'xcyx') {
  65. uni.navigateTo({
  66. url: `/pages/projectImageAndVideo/index?type=${type}&subId=${subId}&subName=${subName}`
  67. })
  68. }else if( type === 'more'){
  69. uni.navigateTo({
  70. url: `/pages/projectBtnList/index?type=${type}&subId=${subId}&subName=${subName}`
  71. })
  72. } else if( type === 'qqsxblqk'){
  73. uni.navigateTo({
  74. url: `/pages/preFlow/detail/index?type=${type}&subId=${subId}&subName=${subName}`
  75. })
  76. }else {
  77. uni.navigateTo({
  78. url: `/pages/projectInfo/report/index?type=${type}&subId=${subId}&subName=${subName}`
  79. })
  80. }
  81. }
  82. let parmasInfo = ref()
  83. onLoad((e)=>{
  84. parmasInfo.value = e
  85. })
  86. </script>
  87. <style lang="scss" scoped>
  88. .content {
  89. padding-top: 100px;
  90. position: relative;
  91. width: 100%;
  92. height: 100%;
  93. background: #EAF1FF;
  94. }
  95. .btnlist-box {
  96. width: 100%;
  97. display: flex;
  98. flex-direction: column;
  99. align-items: center;
  100. margin-top: 50rpx;
  101. justify-content: flex-start;
  102. gap: 50rpx;
  103. .btn {
  104. display: flex;
  105. justify-content: center;
  106. align-items: center;
  107. width: 498rpx;
  108. height: 142rpx;
  109. background: #FFFFFF;
  110. border-radius: 20rpx 20rpx 20rpx 20rpx;
  111. box-shadow: 0rpx 8rpx 20rpx 0rpx rgba(12, 69, 167, 0.35);
  112. font-weight: 500;
  113. font-size: 32rpx;
  114. font-family: OPPOSans-M;
  115. .btn-icon {
  116. width: 74rpx;
  117. height: 74rpx;
  118. margin-right: 40rpx;
  119. image {
  120. width: 100%;
  121. height: 100%;
  122. }
  123. }
  124. .name {
  125. text-align: center;
  126. width: 300rpx;
  127. margin-right: 10rpx;
  128. }
  129. }
  130. }
  131. </style>