planDetailDone.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <template>
  2. <view>
  3. <form action="" class="planDetailDone" >
  4. <view class="form-item">
  5. <view class="title">
  6. <text class="necessary">*</text>
  7. 上报名称:
  8. </view>
  9. <view>市光四村221号楼</view>
  10. </view>
  11. <view class="form-item">
  12. <view class="title">
  13. <text class="necessary">*</text>
  14. 巡检状态:
  15. </view>
  16. <radio-group name="gender" @change="radioChange">
  17. <label class="margin-right-xs">
  18. <radio value="2" checked /><text>正常</text>
  19. </label>
  20. <label class="margin-right-xs">
  21. <radio value="3" /><text>异常</text>
  22. </label>
  23. <label class="margin-right-xs">
  24. <radio value="2" checked /><text>供电</text>
  25. </label>
  26. <label>
  27. <radio value="3" /><text>其他</text>
  28. </label>
  29. </radio-group>
  30. </view>
  31. <view class="form-item">
  32. <view class="title">
  33. <text class="necessary">*</text>
  34. 上传图片:
  35. </view>
  36. <view>151198415.jpg</view>
  37. </view>
  38. <view class="form-item">
  39. <view class="title">
  40. <text class="necessary">*</text>
  41. 巡检描述:
  42. </view>
  43. <view>描述信息</view>
  44. </view>
  45. </form>
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. data() {
  51. return {
  52. }
  53. },
  54. methods: {
  55. radioChange(e) {
  56. console.log('type:' + e.detail.value);
  57. this.radioOne = e.detail.value;
  58. },
  59. }
  60. }
  61. </script>
  62. <style lang="scss">
  63. </style>