运维小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.wxml 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <view class="dailyreport">
  2. <view class="owner_type1">
  3. <picker bindcolumnchange="bindcolumn" bindchange="bindpowerChange" value="{{powerindex}}" range="{{powerdata}}" range-key="powerstationName">
  4. <view class="calculation_top">
  5. <view class="calculation_left">
  6. <text style="color: red;margin-right: 8rpx;">*</text>电站
  7. </view>
  8. <view class="event">
  9. <view class="uni-input" wx:if="{{powerdata[powerindex].powerstationName}}">{{powerdata[powerindex].powerstationName}}</view>
  10. <view class="uni-inputcolor" wx:else>请选择电站</view>
  11. <t-icon name="chevron-right" size="40rpx" data-name="chevron-right"/>
  12. </view>
  13. </view>
  14. </picker>
  15. </view>
  16. <view class="owner_type1">
  17. <picker mode="date" value="{{datestart}}" fields="month" start="2000-01-01" end="2060-09-01" bindchange="bindstartChange">
  18. <view class="calculation_top">
  19. <view class="calculation_left">
  20. <text style="color: red;margin-right: 8rpx;">*</text>
  21. 月份
  22. </view>
  23. <view class="event">
  24. <view class="uni-inputcolor" wx:if="{{datestart==''}}">请选择</view>
  25. <view class="uni-input" wx:else>{{datestart}}</view>
  26. <t-icon name="chevron-right" size="40rpx" data-name="chevron-right"/>
  27. </view>
  28. </view>
  29. </picker>
  30. </view>
  31. <view class="owner_type1x">
  32. <view class="calculation_strategy">
  33. xlsx文件上传
  34. </view>
  35. <view class="event">
  36. <view class="switch-container">
  37. <view class="owner_easyinput1">
  38. <!-- <image class="calculation_image" src="{{file.path}}" mode="aspectFit" data-src="{{item}}" bindtap="previewImage"/> -->
  39. <view class="calculation_usebox1" bind:tap="bindtoXlsx">
  40. <t-icon name="add" size="100rpx" data-name="add"/>
  41. </view>
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="owner_type1x1">
  47. <view wx:for="{{filedata}}" wx:key="path">{{item.name}}</view>
  48. </view>
  49. <view class="block">
  50. <view>日报上传历史</view>
  51. <view style="height: 20rpx;"></view>
  52. <view class="block_box">
  53. <t-steps layout="vertical" readonly theme="dot" current="{{powerstationdata.length}}">
  54. <t-step-item wx:for="{{powerstationdata}}" wx:key="index" title="{{item.partnerName}} - {{item.datatime}}" content="{{item.fisname}}"/>
  55. </t-steps>
  56. <view class="available" wx:if="{{powerstationdata.length==0}}">
  57. <image src="https://esos-iot.com/myminio/project/9efa1691f71a48b6ae20648c0a2dae56.png" mode="aspectFit"/>
  58. </view>
  59. </view>
  60. </view>
  61. <view class="button">
  62. <view class="button_upload" bind:tap="uploadXlsxFile">上传</view>
  63. </view>
  64. </view>
  65. <!--
  66. -->