diff --git a/src/views/projectFront/safeManage/v2/hiddenTroubleComponents/hazardousWorkDistribution.vue b/src/views/projectFront/safeManage/v2/hiddenTroubleComponents/hazardousWorkDistribution.vue index b0045ecd..7aba1cef 100644 --- a/src/views/projectFront/safeManage/v2/hiddenTroubleComponents/hazardousWorkDistribution.vue +++ b/src/views/projectFront/safeManage/v2/hiddenTroubleComponents/hazardousWorkDistribution.vue @@ -1267,6 +1267,7 @@ export default { pageNo: this.queryParams.pageNo, pageSize: this.queryParams.pageSize, inspectManId: this.$store.state.userInfo.userId, + isGenerate: 0, }; getSecurityQualityInspectionRecordDraftPageApi(data).then((res) => { console.log(res); diff --git a/src/views/projectFront/safeSame/rectificationRecord.vue b/src/views/projectFront/safeSame/rectificationRecord.vue index fb3dcee2..23e003c7 100644 --- a/src/views/projectFront/safeSame/rectificationRecord.vue +++ b/src/views/projectFront/safeSame/rectificationRecord.vue @@ -3894,7 +3894,7 @@ export default { }, changeRegion(val) { console.log(11114444, val, this.checkPointList, this.recordType); - console.log(this.$refs["formRegion1"][0].getCheckedNodes()); + // console.log(this.$refs["formRegion1"][0].getCheckedNodes()); if (this.recordType == 1) { this.addForm1.enterpriseSns = ""; this.addForm1.enterpriseName = ""; @@ -5047,7 +5047,7 @@ export default { data.recordType = this.recordType; data.projectSn = this.projectSn; console.log("data", data); - if (data.verifyManIds.includes(this.$store.state.userInfo.realName)) { + if (data.recordType == 2 || data.verifyManIds.includes(this.$store.state.userInfo.realName)) { data.verifyManIds = this.$store.state.userInfo.userId; } data.inspectManId = this.$store.state.userInfo.userId; @@ -5128,6 +5128,7 @@ export default { ...this.addForm2, regionIds: this.addForm2.regionIds.join(","), enterpriseIds: this.addForm2.enterpriseIds.join(","), + verifyManIds: this.addForm2.verifyManIds.join(","), dangerItemId: this.addForm2.dangerItemId[ this.addForm2.dangerItemId.length - 1