From 5fdaf22e6714a939593a0e75fa94d5599fd7e0f2 Mon Sep 17 00:00:00 2001 From: wangyan Date: Thu, 8 Jan 2026 15:29:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(system):=20=E4=BF=AE=E5=A4=8D=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=AE=9A=E4=BD=8D=E5=8D=A1=E5=8F=B7=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E5=92=8CCORS=E9=85=8D=E7=BD=AE=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复CORSFilter中content type拼写错误,从textml改为text/html - 优化用户定位卡号更新逻辑,添加空值检查和相同卡号判断 - 启用风险管理系统数据获取功能,取消相关注释代码 - 添加调试日志输出,便于排查盲板措施相关问题 - 修复选择措施组件中的选中状态处理逻辑 - 添加页面重置时的调试日志输出 --- components/select_measures/index.vue | 11 ++++++++++- .../blindboard-measures-detail.vue | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/components/select_measures/index.vue b/components/select_measures/index.vue index 2c5edfe..f617df6 100644 --- a/components/select_measures/index.vue +++ b/components/select_measures/index.vue @@ -91,6 +91,8 @@ export default { getWithSelectMeasuresList() { const {allSelectedMeasuresList, currentIndexSelectedMeasuresList} = this.getSelectedMeasuresList() const withSelectMeasuresList = [...this.measuresList] + + // 移除所有已选项目 if (allSelectedMeasuresList.length > 0) { for (let i = 0; i < allSelectedMeasuresList.length; i++) { for (let j = 0; j < withSelectMeasuresList.length; j++) { @@ -100,8 +102,15 @@ export default { } } } + + // 只添加当前页面的选中项 withSelectMeasuresList.push(...currentIndexSelectedMeasuresList) - this.withSelectMeasuresList = withSelectMeasuresList + + // 确保选中状态正确 + this.withSelectMeasuresList = withSelectMeasuresList.map(item => ({ + ...item, + check: item.check || false + })) }, change(event) { this.selectValue = event.detail.value diff --git a/pages/application/blindboard/blindboard-measures/blindboard-measures-detail.vue b/pages/application/blindboard/blindboard-measures/blindboard-measures-detail.vue index 63d51b1..70f67e0 100644 --- a/pages/application/blindboard/blindboard-measures/blindboard-measures-detail.vue +++ b/pages/application/blindboard/blindboard-measures/blindboard-measures-detail.vue @@ -494,6 +494,8 @@ export default { }) } } + console.log(signers.length) + console.log(this.measuresList.length) if (signers.length !== this.measuresList.length) { uni.showToast({ icon: 'none',