From a111355d8c45ea394fcc7913901faf52e8ee9bde Mon Sep 17 00:00:00 2001 From: Rain_ <904416525@qq.com> Date: Wed, 3 Sep 2025 13:51:10 +0800 Subject: [PATCH] =?UTF-8?q?flx=EF=BC=9A=E4=BC=98=E5=8C=96=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=AE=89=E5=85=A8=E6=A3=80=E6=9F=A5=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E6=8E=92=E6=9F=A5=E8=AE=B0=E5=BD=95=E6=B2=A1=E6=9C=89=E9=BB=98?= =?UTF-8?q?=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/projectEnd/safeSame/addIssue.vue | 4 +++- pages/projectEnd/safeSame/editIssue.vue | 2 +- pages/projectEnd/safeSame/reply.vue | 13 ++++++------- 3 files changed, 10 insertions(+), 9 deletions(-) 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 = {