diff --git a/pages/projectEnd/safeSame/addIssue.vue b/pages/projectEnd/safeSame/addIssue.vue index 508be3a0..b4da460c 100644 --- a/pages/projectEnd/safeSame/addIssue.vue +++ b/pages/projectEnd/safeSame/addIssue.vue @@ -720,7 +720,7 @@ securityDangerListFn(obj, recordType) { this.securityDangerFieldList.forEach((item) => { if (!item.defaultDataType) return; - if (item.originalFieldName == "责任区域") { + if (item.originalFieldName == "责任区域" || item.originalFieldName == "检查部位") { this.$nextTick(() => { const resultList = this.getAllIds(this.checkPointList); obj[item.fieldName] = resultList.map(item => item.id); @@ -1731,7 +1731,9 @@ this.pointList[i].y pointArr.push(obj) } + data.measurePoints = pointArr.join(',') + data.notifyPerson = pointArr.join(',') console.log('data.measurePoints=============', data.measurePoints); if (this.typeCheck == "type1") { console.log(data); diff --git a/pages/projectEnd/safeSame/editIssue.vue b/pages/projectEnd/safeSame/editIssue.vue index c8d672ce..5b89e4e0 100644 --- a/pages/projectEnd/safeSame/editIssue.vue +++ b/pages/projectEnd/safeSame/editIssue.vue @@ -814,7 +814,7 @@ securityDangerListFn(obj, recordType) { this.securityDangerList.forEach((item) => { if (!item.defaultDataType) return; - if (item.originalFieldName == "责任区域") { + if (item.originalFieldName == "责任区域" || item.originalFieldName == "检查部位") { this.$nextTick(() => { const resultList = this.getAllIds(this.checkPointList); obj[item.fieldName] = resultList.map(item => item.id); diff --git a/pages/projectEnd/safeSame/reply.vue b/pages/projectEnd/safeSame/reply.vue index 0e122f44..d10ccad9 100644 --- a/pages/projectEnd/safeSame/reply.vue +++ b/pages/projectEnd/safeSame/reply.vue @@ -54,7 +54,6 @@ - * 违章人员: - *补充说明: + *补充说明: @@ -393,7 +392,7 @@ }, //提交表单 formSubmit() { - if (this.content == '') { + if (this.content == '' && this.type != 3) { uni.showToast({ title: "请输入回复内容", icon: "none" @@ -416,10 +415,10 @@ return } - if (this.violatorId.length == 0 && this.type == 1) { - this.$message.error("请选择违章人员"); - return; - } + // if (this.violatorId.length == 0 && this.type == 1) { + // this.$message.error("请选择违章人员"); + // return; + // } let time = this.getNewDate() let data = {