Remotecontrol.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <view>
  3. <view class="header"></view>
  4. <view class="position">
  5. <u-icon name="map-fill"></u-icon>
  6. <text>{{name}}</text>
  7. <u-icon name="arrow-rightward"></u-icon>
  8. </view>
  9. <view class="form">
  10. <view class="topbilledit">
  11. <view class="changetime1">
  12. <picker mode="date" :value="myday" fields="month" @change="dateChange">
  13. <view class="selestDate">{{myday}}</view>
  14. </picker>
  15. </view>
  16. <view class="changetime2">
  17. <u-icon name="arrow-down-fill" color="#666666" size="20"></u-icon>
  18. </view>
  19. </view>
  20. <view class="topbilledit" @click="typechange">
  21. <view class="changetime1">
  22. {{mytype}}
  23. </view>
  24. <view class="changetime2">
  25. <u-icon name="arrow-down-fill" color="#666666" size="20"></u-icon>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. </template>
  31. <script>
  32. export default {
  33. data() {
  34. return {
  35. name:'',
  36. }
  37. },
  38. methods: {
  39. getDeviceTypeList() {
  40. this.deviceTypeList = JSON.parse(
  41. JSON.stringify(getDictDataList("DeviceCategory"))
  42. );
  43. this.deviceTypeList.forEach((item) => {
  44. item.text = item.dictLabel;
  45. item.value = item.dictValue;
  46. });
  47. this.deviceTypeList = this.deviceTypeList.filter(
  48. (item) => item.value != "Relay"
  49. );
  50. },
  51. }
  52. }
  53. </script>
  54. <style>
  55. </style>