Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のアプリには、ユーザーがマスターレコード (医療処方箋) を挿入し、詳細 (薬) を挿入するフォームがあります。
これをすべて 1 回の呼び出しでサーバーに送信する必要があります (現在、Rails を使用しています)。
extjs 4を使用してこれを行うにはどうすればよいですか?
ありがとう。
この問題を解決し、すべての子レコードの内容を含む文字列を作成します。サーバーで、この文字列に「eval」を作成して配列として保存しました。
元。:
[{drug_id:1, morning: "1", night: "2"}, {drug_id:2, morning: "0", night: "1"},...]