lin
2024-04-25 af622b6c52154429112ce20c2f3a1f4b304597ec
隐患上报
2 files modified
8 ■■■■ changed files
subPackage/school/trouble.vue 2 ●●● patch | view | raw | blame | history
subPackage/school/troubleList.vue 6 ●●●● patch | view | raw | blame | history
subPackage/school/trouble.vue
@@ -133,8 +133,8 @@
                            urls.push(e.name)
                        })
                        this.info.images = urls.join(",")
                        this.info.houseCode = uni.getStorageSync("siteInfo").houseCode;
                    }
                    this.info.houseCode = uni.getStorageSync("siteInfo").houseCode;
                    addTroubleReport(this.info).then(res => {
                        this.$showTips("提交成功", "success")
                        setTimeout(() => {
subPackage/school/troubleList.vue
@@ -53,12 +53,12 @@
        },
        methods: {
            getList() {
            getList(type) {
                getTroubleReportList({
                    current: this.currentPage,
                    size: 10,
                    houseCode: uni.getStorageSync("siteInfo").houseCode
                    // reportType: 2
                    houseCode: uni.getStorageSync("siteInfo").houseCode,
                    type: type
                    // eventType: type
                }).then(res => {
                    if (res.code != 200) {