Lou
2024-02-20 d6c777cc8c6a4f48704620dc2ca60d001ae7538a
更新
6 files modified
34 ■■■■■ changed files
subPackage/article/list.vue 3 ●●●● patch | view | raw | blame | history
subPackage/bs/views/repairList.vue 3 ●●●● patch | view | raw | blame | history
subPackage/label/check.vue 10 ●●●●● patch | view | raw | blame | history
subPackage/workbench/views/patrol.vue 2 ●●● patch | view | raw | blame | history
subPackage/workbench/views/reportAudit.vue 2 ●●● patch | view | raw | blame | history
subPackage/workbench/views/selfCheckDetail.vue 14 ●●●● patch | view | raw | blame | history
subPackage/article/list.vue
@@ -106,7 +106,8 @@
                    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);
                })
subPackage/bs/views/repairList.vue
@@ -182,7 +182,8 @@
            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`)
            }
        }
subPackage/label/check.vue
@@ -99,7 +99,8 @@
    import {
        savePlaceCheck,
        getPlaceCheckDetail,
        updatePlaceCheck
        updatePlaceCheck,
        auditPlaceCheck
    } from "@/api/reporting/reporting.js"
    export default {
@@ -192,6 +193,8 @@
                            }
                        }
                    }
                    this.info.id = data.id;
                    this.info.taskId = data.taskId;
                    this.info.remark = data.remark;
                    if (data.signaturePath) {
                        this.signatureUrl = this.$setFullUrl(data.signaturePath);
@@ -369,12 +372,10 @@
                    })
                    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',
@@ -402,6 +403,7 @@
                }
            },
            previewImg() {
                uni.previewImage({
                    urls: [this.signatureUrl],
subPackage/workbench/views/patrol.vue
@@ -147,7 +147,7 @@
            setImages() {
                let urls = [];
                for (let i of this.form.images) {
                    urls.push(i.url);
                    urls.push(i.name);
                }
                return urls.join(",")
            },
subPackage/workbench/views/reportAudit.vue
@@ -71,7 +71,7 @@
            </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"
subPackage/workbench/views/selfCheckDetail.vue
@@ -183,7 +183,8 @@
                label: "",
                itemList: [],
                roleType: '', //1.民警/系统管理员   2.场所负责人
                ids: []
                ids: [],
                taskId: ""
            }
        },
        async onLoad(option) {
@@ -198,14 +199,21 @@
            }
            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;