| | |
| | | |
| | | let _this = this |
| | | let data = record || selectedData || [] |
| | | |
| | | |
| | | if (btn.Ot !== 'notRequired' && data.length === 0) { |
| | | // 需要选择行时,校验数据 |
| | | notification.warning({ |
| | |
| | | _param.miniprogram.pagepath = `/pages/index/index?MenuId=${verify.wxNoteLinkMenuId}` |
| | | } |
| | | } |
| | | |
| | | let keys = [] |
| | | |
| | | verify.wxNoteKeys.forEach(item => { |
| | | keys.push(item.key) |
| | | |
| | | _param.data[item.key] = {value: '', color: item.color} |
| | | }) |
| | | |
| | |
| | | m.client_msg_id = item.send_id |
| | | } |
| | | |
| | | keys.forEach(key => { |
| | | if (item[key] !== undefined) { |
| | | m.data[key].value = item[key] |
| | | verify.wxNoteKeys.forEach(note => { |
| | | if (item[note.value] !== undefined) { |
| | | m.data[note.key].value = item[note.value] |
| | | } |
| | | }) |
| | | |