king
2020-03-17 5c8860f3cd8921e7eb0da7749628e9dc669b3203
src/templates/formtabconfig/index.jsx
@@ -426,10 +426,21 @@
      })
    }
    let roleList = []
    if (menu.roleList && menu.roleList.length > 0) {
      roleList = menu.roleList.map(role => {
        return {
          uuid: role.uuid,
          field: role.value,
          label: role.text
        }
      })
    }
    this.setState({
      modaltype: 'search',
      card: card,
      formlist: getModalForm(card, _inputfields, _linkableFields, _linksupFields)
      formlist: getModalForm(card, _inputfields, _linkableFields, _linksupFields, false, roleList)
    })
  }