chartAll.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <template>
  2. <view style="margin-top: 80rpx;">
  3. <view class="font-senventy-two">
  4. 基础信息
  5. </view>
  6. <view class="square" @click="gotochart('/pages/chart/chartList')">
  7. <image src="/static/icon/project.png" mode="" class="icon"></image>
  8. <view class="font-thirty-six">
  9. 工程管理
  10. </view>
  11. </view>
  12. <view class="font-senventy-two">
  13. 统计信息
  14. </view>
  15. <view style="background: #fcfcfe; margin-bottom: 15rpx;margin-top: 40rpx;">
  16. <view style="padding-top:20rpx;text-align: center;font-size: 50rpx;font-weight: 900;">小区合格率</view><newchartDetail ref='tj1' :allType='examineArea' ></newchartDetail>
  17. </view>
  18. <view style="background: #fcfcfe; margin-bottom: 15rpx;">
  19. <view style="padding-top:20rpx;text-align: center;font-size: 50rpx;font-weight: 900;">职工合格率</view><newchartDetail ref='tj2' :allType='ExamineWorker' ></newchartDetail>
  20. </view>
  21. <view style="background: #fcfcfe; margin-bottom: 15rpx;">
  22. <view style="padding-top:20rpx;text-align: center;font-size: 50rpx;font-weight: 900;">小区服务</view><newchartDetail ref='tj3' :allType='getExamineServe' ></newchartDetail>
  23. </view>
  24. <view style="background: #fcfcfe; margin-bottom: 15rpx;">
  25. <view style="padding-top:20rpx;text-align: center;font-size: 50rpx;font-weight: 900;">管材类别设计</view><newchartDetail ref='tj4' :allType='getExaminePipeType' ></newchartDetail>
  26. </view>
  27. <view style="background: #fcfcfe; margin-bottom: 15rpx;">
  28. <view style="padding-top:20rpx;text-align: center;font-size: 50rpx;font-weight: 900;">管材长度</view><newchartDetail ref='tj5' :allType='getExaminePipeLength' ></newchartDetail>
  29. </view>
  30. <view style="background: #fcfcfe; margin-bottom: 15rpx;">
  31. <view style="padding-top:20rpx;text-align: center;font-size: 50rpx;font-weight: 900;">自闭阀类别</view><newchartDetail ref='tj6' :allType='getExamineValveType' ></newchartDetail>
  32. </view>
  33. <view style="background: #fcfcfe; margin-bottom: 15rpx;">
  34. <view style="padding-top:20rpx;text-align: center;font-size: 50rpx;font-weight: 900;">小区汇总</view><newchartDetail ref='tj7' :allType='getAreaSum' ></newchartDetail>
  35. </view>
  36. </view>
  37. </template>
  38. <script>
  39. import service from '@/api/index.js';
  40. import newchartDetail from './newchartDetail.vue';
  41. export default {
  42. components: {
  43. newchartDetail,
  44. },
  45. data() {
  46. return {
  47. examineArea:'examineArea',
  48. ExamineWorker:'ExamineWorker',
  49. getExamineServe:'getExamineServe',
  50. getExaminePipeType:'getExaminePipeType',
  51. getExaminePipeLength:'getExaminePipeLength',
  52. getExamineValveType:'getExamineValveType',
  53. getAreaSum:'getAreaSum',
  54. }
  55. },
  56. methods: {
  57. gotochart(url) {
  58. uni.navigateTo({
  59. url,
  60. })
  61. },
  62. }
  63. }
  64. </script>
  65. <style lang="scss" scoped>
  66. .choose {
  67. text-align: center;
  68. padding: 20rpx;
  69. margin: 30rpx;
  70. color: #FFFFFF;
  71. background: #43CEB1;
  72. border-radius: 64rpx;
  73. }
  74. .square{
  75. margin: 25rpx;
  76. .icon{
  77. margin-left: 22rpx;
  78. width: 100rpx;
  79. height: 100rpx;
  80. }
  81. }
  82. </style>