index.wxml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <view class="container">
  2. <view class="top-container">
  3. <image class='bg-img' src="../../static/images/my/pic_statistics@3x.png"></image>
  4. <view class="padding-xl text-white" style="z-index:2">
  5. <view class="padding-xs text-xl">
  6. 设备总数(台)
  7. </view>
  8. <view class="padding-xs">
  9. {{deviceNum}}
  10. </view>
  11. </view>
  12. <view class="flex padding-xs text-white" style="z-index:2">
  13. <view class="flex-sub padding-lr-xl">
  14. <view class="text-sm">
  15. 在线设备(台)
  16. </view>
  17. <view class="padding-xs">
  18. {{deviceNum}}
  19. </view>
  20. </view>
  21. <view class="flex-sub padding-lr-xl">
  22. <view class="padding-xs text-sm">
  23. 缺货设备(台)
  24. </view>
  25. <view class="padding-xs">
  26. {{stockDeviceNum}}
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. <view class="grid col-2">
  32. <view bindtap="toRouter" data-url="settledStore">
  33. <view class="margin-xs padding radius shadow-warp common-list-row">
  34. <tui-icon name="house" size="30" color="#5677fc"></tui-icon>
  35. <text class='item-name'>设备入驻</text>
  36. </view>
  37. </view>
  38. <view wx:if="{{userInfo.mgvmRole!=2&&userInfo.mgvmRole!=4}}" bindtap="toRouter" data-url="/pages/product/index">
  39. <view class="margin-xs padding radius shadow-warp common-list-row">
  40. <tui-icon name="bag" size="30" color="#5677fc"></tui-icon>
  41. <text class='item-name'>商品管理</text>
  42. </view>
  43. </view>
  44. <view wx:if="{{userInfo.mgvmRole!=2&&userInfo.mgvmRole!=4}}" bindtap="toRouter" data-url="/pages/scheme/index">
  45. <view class="margin-xs padding radius shadow-warp common-list-row">
  46. <tui-icon name="evaluate" size="30" color="#5677fc"></tui-icon>
  47. <text class='item-name'>方案管理</text>
  48. </view>
  49. </view>
  50. <view wx:if="{{userInfo.mgvmRole!=2&&userInfo.mgvmRole!=4}}" bindtap="toRouter" data-url="/pages/stock/index">
  51. <view class="margin-xs padding radius shadow-warp common-list-row">
  52. <tui-icon name="manage" size="30" color="#5677fc"></tui-icon>
  53. <text class='item-name'>库存管理</text>
  54. </view>
  55. </view>
  56. <view wx:if="{{userInfo.mgvmRole!=2&&userInfo.mgvmRole!=4}}" bindtap="toRouter" data-url="/pages/orderGoods/index">
  57. <view class="margin-xs padding radius shadow-warp common-list-row">
  58. <tui-icon name="cart" size="30" color="#5677fc"></tui-icon>
  59. <text class='item-name'>订货管理</text>
  60. </view>
  61. </view>
  62. <!-- <view wx:if="{{userInfo.mgvmRole!=2&&userInfo.mgvmRole!=4}}" bindtap="toRouter" data-url="/pages/scheme/sync">
  63. <view class="margin-xs padding radius shadow-warp common-list-row">
  64. <tui-icon name="square-selected" size="30" color="#5677fc"></tui-icon>
  65. <text class='item-name'>方案同步</text>
  66. </view>
  67. </view> -->
  68. <view wx:if="{{userInfo.mgvmRole!=2&&userInfo.mgvmRole!=4}}" bindtap="toRouter" data-url="/pages/pssRecord/index">
  69. <view class="margin-xs padding radius shadow-warp common-list-row">
  70. <tui-icon name="order" size="30" color="#5677fc"></tui-icon>
  71. <text class='item-name'>进销存记录</text>
  72. </view>
  73. </view>
  74. </view>
  75. </view>