| | |
| | | size: pageSize, |
| | | articleType: this.tabId, |
| | | eventType: this.eventType, |
| | | type: this.type |
| | | type: this.type, |
| | | houseCode: uni.getStorageSync("siteInfo").houseCode |
| | | }).then(res => { |
| | | this.$refs.paging.complete(res.data.records); |
| | | }) |
| | |
| | | pushPage(item) { |
| | | const data = JSON.stringify(item) |
| | | // this.$u.func.globalNavigator('/subPackage/workbench/views/reportAudit?id='+id) |
| | | this.$u.func.globalNavigator(`/subPackage/workbench/views/reportAudit?data=${data}&from=record`) |
| | | // this.$u.func.globalNavigator(`/subPackage/workbench/views/reportAudit?data=${data}&from=record`) |
| | | this.$u.func.globalNavigator(`/subPackage/workbench/views/reportDetail?data=${data}&from=record`) |
| | | } |
| | | |
| | | } |
| | |
| | | import { |
| | | savePlaceCheck, |
| | | getPlaceCheckDetail, |
| | | updatePlaceCheck |
| | | updatePlaceCheck, |
| | | auditPlaceCheck |
| | | } from "@/api/reporting/reporting.js" |
| | | |
| | | export default { |
| | |
| | | } |
| | | } |
| | | } |
| | | this.info.id = data.id; |
| | | this.info.taskId = data.taskId; |
| | | this.info.remark = data.remark; |
| | | if (data.signaturePath) { |
| | | this.signatureUrl = this.$setFullUrl(data.signaturePath); |
| | |
| | | }) |
| | | this.info.imageUrls = urls.join(",") |
| | | } |
| | | |
| | | this.info.taskPlaceRecordVOList = this.getSelected() |
| | | this.info.status = 1; |
| | | |
| | | if (this.isEdit) { |
| | | updatePlaceCheck(this.info).then(res => { |
| | | auditPlaceCheck(this.info).then(res => { |
| | | uni.hideLoading(); |
| | | uni.showToast({ |
| | | icon: 'success', |
| | |
| | | } |
| | | }, |
| | | |
| | | |
| | | previewImg() { |
| | | uni.previewImage({ |
| | | urls: [this.signatureUrl], |
| | |
| | | setImages() { |
| | | let urls = []; |
| | | for (let i of this.form.images) { |
| | | urls.push(i.url); |
| | | urls.push(i.name); |
| | | } |
| | | return urls.join(",") |
| | | }, |
| | |
| | | </view>
|
| | | </view>
|
| | |
|
| | | <view class="upload bgc-ff" v-if="(confirmFlag == 1) || (confirmFlag == 3 && form.videoList.length)">
|
| | | <view class="upload bgc-ff" v-if="(confirmFlag == 1 ) || (confirmFlag == 3 && form.videoList.length)">
|
| | | <view class="f-28">视频</view>
|
| | | <view class="mt-20">
|
| | | <u-upload :fileList="form.videoList" :previewFullImage="uploadConfig.previewFullImage"
|
| | |
| | | label: "", |
| | | itemList: [], |
| | | roleType: '', //1.民警/系统管理员 2.场所负责人 |
| | | ids: [] |
| | | ids: [], |
| | | taskId: "" |
| | | } |
| | | }, |
| | | async onLoad(option) { |
| | |
| | | } |
| | | |
| | | await this.getItem(); |
| | | this.getDetail(option.id); |
| | | this.taskId = option.id; |
| | | }, |
| | | |
| | | |
| | | onShow() { |
| | | setTimeout(() => { |
| | | this.getDetail(); |
| | | }, 100) |
| | | }, |
| | | |
| | | methods: { |
| | | |
| | | getDetail(id) { |
| | | getPlaceCheckDetail({ |
| | | taskId: id |
| | | taskId: this.taskId |
| | | }).then(res => { |
| | | let data = res.data; |
| | | // this.info = res.data; |