1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <template>
- <view>
- <form action="" class="planDetailDone" >
-
- <!-- <view class="form-item">
- <view class="title">
- <text class="necessary">*</text>
- 上报名称:
- </view>
- <view>{{this.getData.wx_name}}</view>
- </view> -->
-
- <view class="form-item">
- <view class="title">
- <text class="necessary">*</text>
- 维保状态:
- </view>
- <view>{{this.getData.spot_status}}</view>
- <!-- <radio-group name="gender" @change="radioChange">
- <label class="margin-right-xs">
- <radio value="2" checked /><text>正常</text>
- </label>
- <label class="margin-right-xs">
- <radio value="3" /><text>异常</text>
- </label>
- <label class="margin-right-xs">
- <radio value="2" checked /><text>故障</text>
- </label>
- <label>
- <radio value="3" /><text>其他</text>
- </label>
- </radio-group> -->
- </view>
-
- <view class="form-item">
- <view class="title">
- <text class="necessary">*</text>
- 上传图片:
- </view>
-
- <!-- <img :src="`https://qhome.usky.cn${this.getData.report_photos}`" alt="" style="max-width:50%"> -->
- <img :src="`${this.$websiteUrl}${this.getData.report_photos}`" alt="" style="max-width:50%">
-
- </view>
-
- <view class="form-item">
- <view class="title">
- <text class="necessary">*</text>
- 维保描述:
- </view>
- <view>{{this.getData.dwsb_remarks}}</view>
- </view>
-
- </form>
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- getData:{}
- }
- },
- onLoad:function(option){
- this.getPlanDetail({"zb_id":option.zb_id,"spot_id":option.id})
- },
- methods: {
- radioChange(e) {
- console.log('type:' + e.detail.value);
- this.radioOne = e.detail.value;
- },
-
- async getPlanDetail(params = {}) {
- const res = await this.$myRequest({
- url: 'Inspection/getPatrolDetailss',
- data:params,
- showLoading: true
- })
- this.getData=res.data.data[0];
-
- console.log(this.getData)
- },
-
-
-
- }
- }
- </script>
- <style lang="scss">
-
-
- </style>
|