fix(system): 修复用户定位卡号更新逻辑和CORS配置问题
- 修复CORSFilter中content type拼写错误,从textml改为text/html - 优化用户定位卡号更新逻辑,添加空值检查和相同卡号判断 - 启用风险管理系统数据获取功能,取消相关注释代码 - 添加调试日志输出,便于排查盲板措施相关问题 - 修复选择措施组件中的选中状态处理逻辑 - 添加页面重置时的调试日志输出dev
parent
bc44fbf4b4
commit
5fdaf22e67
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue