Learn extjs5 with me (41 -- add a custom module (source code download) [2 sales contract adding menu and module display]), extjs541 --
Learn extjs5 with me (41 -- add a custom module [2 add sales contract to menu and module display])
After the information of the sales contract module in the previous section is imported into the system, you need to add this module to the menu, but now the menu module cannot use this system for editing (the multi-module hierarchy has not been added yet), so only one record can be added to the database:
After adding the product, restart tomcat and enter the system. Under the "Contract Management" menu, you can see the "Sales Contract" menu. Click here to see the result.
The above is the module interface that automatically generates the "Sales Contract". This is the list of modules first introduced. Next let's take a look at the automatically generated form.
Because multiple modules are not implemented, you cannot modify the list and form definitions for the moment. Therefore, you can only use the default style. CRUD can operate the list and form normally. In the future, the function design and addition of a single module are based on this module. Because it is the development of blog writing, it is very different from the official use, and many error handling operations are not done, and there are some restrictions on operations, for example, you cannot click the secondary menu to execute a menu item. All operations are performed without errors.
The following provides all source code and databases so far. If anyone can score the architecture and run the system, paste it back and let me know how many people are interested in the system and provide me with the motivation to continue writing. In order to write this, my development progress is very late, and every aspect cannot be further improved.
: Http://pan.baidu.com/s/1o6zBq6e