From ddb0a64cd482639b6df489e263432e25cdccecb2 Mon Sep 17 00:00:00 2001 From: Chendy <596813911@qq.com> Date: Thu, 11 Sep 2025 17:42:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=A7=E6=B3=95=E5=A7=94?= =?UTF-8?q?=E6=89=98=E3=80=81=E6=8A=95=E8=AF=89=E6=96=B0=E9=9C=80=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/enforce/sign.vue | 26 +++++++-------------- src/views/enterprise/complaint.vue | 2 +- src/views/enterprise/registrationDetail.vue | 15 ++++++------ src/views/enterprise/registrationEdit.vue | 17 ++++++++------ 4 files changed, 28 insertions(+), 32 deletions(-) diff --git a/src/views/enforce/sign.vue b/src/views/enforce/sign.vue index c18be60..9fe42f0 100644 --- a/src/views/enforce/sign.vue +++ b/src/views/enforce/sign.vue @@ -184,12 +184,15 @@ - + - + { - if(data.auth_checked===false){ - data.auth_checked===true - // 显示委托执法单位 - }else{ - data.auth_checked===false; - } - } - const showEntrust = () => { data.entrustPopup = true; } @@ -888,7 +880,7 @@ if (data.union_checked == 1) {submitData.hasUnion = 1;} else {submitData.unionNo = null;} submitData.uniteCheck = data.union_checked; // 是否委托执法 - if (data.auth_checked) {submitData.hasAuto = 1;} + submitData.hasAuto=data.auth_checked // 处理回显附件auth_checked for (var k = 0; k < data.fileListObj.length; k++) { @@ -951,7 +943,7 @@ if (data.union_checked == 1) {submitData.hasUnion = 1;} else {submitData.unionNo = null;} submitData.uniteCheck = data.union_checked; // 是否委托执法 - if (data.auth_checked) {submitData.hasAuto = 1;} + submitData.hasAuto=data.auth_checked // 处理回显附件 for (var k = 0; k < data.fileListObj.length; k++) { diff --git a/src/views/enterprise/complaint.vue b/src/views/enterprise/complaint.vue index 681bda4..e5b1e40 100644 --- a/src/views/enterprise/complaint.vue +++ b/src/views/enterprise/complaint.vue @@ -162,7 +162,7 @@ columns: [], selectTypeValue: ref[0], isSelect: true, - isCheckedon: false, + isCheckedon: true, isCheckedoff: false, popupVisible: false, depts: [[{text: "", id: ""}]], diff --git a/src/views/enterprise/registrationDetail.vue b/src/views/enterprise/registrationDetail.vue index 81a57f6..012d229 100644 --- a/src/views/enterprise/registrationDetail.vue +++ b/src/views/enterprise/registrationDetail.vue @@ -102,19 +102,20 @@ /> - + - + -
@@ -559,7 +560,7 @@ const data = reactive({ arrayLength: 1, allNo: 'circle', hasUnion: false, // 联合执法选择 - auth_checked: false, // 委托执法选择 + auth_checked: "0", // 委托执法选择 union_datas: [], // 联合执法用的分组list check_union_no: '', // 选中的联合执法编号 radio_flag: 'circle', // 联合执法单选按钮的选择标识, @@ -991,7 +992,7 @@ const convertReg = (regs) => { obj.lawEnforcementId = dt.lawEnforcementId; obj.lawEnforcementItem = dt.lawEnforcementItem; obj.lawEnforcementItemText = dt.lawEnforcementItemText; - data.auth_checked = dt.hasAuto==0?false:true; + data.auth_checked = String(dt.hasAuto); data.entrustDeptName=dt.entrustDeptName; data.hasUnion = dt.hasUnion==0?false:true; obj.lawEnforcer = nameCorrect(dt.lawEnforcer); diff --git a/src/views/enterprise/registrationEdit.vue b/src/views/enterprise/registrationEdit.vue index d003370..1534e6f 100644 --- a/src/views/enterprise/registrationEdit.vue +++ b/src/views/enterprise/registrationEdit.vue @@ -270,12 +270,15 @@
- + - +