Browse Source

checkItem属性名修改

master
liujiangyong 2 years ago
parent
commit
3dbb71025f
  1. 4
      web/client/src/sections/patrolManage/components/planTemplateModal.js

4
web/client/src/sections/patrolManage/components/planTemplateModal.js

@ -61,7 +61,7 @@ const PlanModal = ({ visible, onCancel, dispatch, type, curRecord, tableRef, che
name="form_in_modal"
initialValues={{
...curRecord,
checkItems: curRecord?.check_items?.map(c => c.id)
checkItems: curRecord?.checkItems?.map(c => c.id)
}}
>
<Form.Item
@ -96,7 +96,7 @@ const PlanModal = ({ visible, onCancel, dispatch, type, curRecord, tableRef, che
checkItemsGroup.map(g => {
return {
label: g.name,
options: g.check_items.map(c => {
options: g.checkItems.map(c => {
return {
label: c.name,
value: c.id,

Loading…
Cancel
Save