flx:提交bug

This commit is contained in:
Rain_ 2025-08-26 19:37:51 +08:00
parent 83db8d802f
commit c83c175972
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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