| | |
| | | <view class="f-30 c-33"> |
| | | {{i.title}} |
| | | </view> |
| | | <u-form-item labelWidth="90" label="隐患" prop="gateStatus"> |
| | | <u-form-item labelWidth="90" prop="gateStatus"> |
| | | <view class="btn-group flex"> |
| | | <view class="value-item" :class="i.state == 0?'active bgc-main c-ff':''" |
| | | @click="changeStatus(0,i,index,k)"> |
| | | 存在 |
| | | 是 |
| | | </view> |
| | | <view class="value-item" :class="i.state == 1?'active bgc-main c-ff':''" |
| | | @click="changeStatus(1,i,index,k)"> |
| | | 不存在 |
| | | 否 |
| | | </view> |
| | | </view> |
| | | </u-form-item> |
| | | <view class="" v-if="i.state == 0"> |
| | | <!-- <view class="" v-if="i.state == 0"> |
| | | <u-form-item labelWidth="100" label="照片" prop="gateStatus"> |
| | | <u-upload :fileList="i.urls" :previewFullImage="uploadConfig.previewFullImage" |
| | | :accept="uploadConfig.acceptImg" :multiple="uploadConfig.multiple" |
| | |
| | | <u-textarea v-model="i.remark" placeholder="请输入描述" |
| | | placeholderClass="c-99 f-26"></u-textarea> |
| | | </u-form-item> |
| | | </view> |
| | | </view> --> |
| | | </block> |
| | | </u-form> |
| | | </u-collapse-item> |
| | |
| | | images: [] |
| | | }, |
| | | info: { |
| | | remark: "", |
| | | imageUrls: "", |
| | | houseCode: "" |
| | | }, |
| | | |
| | |
| | | arr.push({ |
| | | itemId: this.questionList[i].children[k].id, |
| | | state: this.questionList[i].children[k].state, |
| | | imageUrls: this.setImages(this.questionList[i].children[k].urls), |
| | | remark: this.questionList[i].children[k].remark || "", |
| | | // imageUrls: this.setImages(this.questionList[i].children[k].urls), |
| | | // remark: this.questionList[i].children[k].remark || "", |
| | | type: 3 |
| | | }) |
| | | if (this.questionList[i].children[k].state == 0) { |
| | | if (this.questionList[i].children[k].state == 1) { |
| | | count += 1; |
| | | } |
| | | } |
| | |
| | | this.info.rectificationNoticeImgUrl = urls.join(",") |
| | | } |
| | | this.info.taskPlaceRecordVOList = this.getSelected() |
| | | this.info.status = 1; |
| | | if (this.dangerCount == 0) { |
| | | this.info.status = 2; |
| | | } |
| | | this.info.type = 2; |
| | | if (this.isEdit) { |
| | | auditPlaceCheck(this.info).then(res => { |