create.php 723 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. {include file="public/head"}
  5. <title>{$title}</title>
  6. </head>
  7. <body>
  8. <div id="form-add" class="mp-form" v-cloak>
  9. <form-builder></form-builder>
  10. </div>
  11. <!--suppress JSAnnotator -->
  12. <script>
  13. var _vm ;
  14. var rules = {$rules};
  15. _mpApi = parent._mpApi;
  16. mpFrame.start(function(Vue){
  17. require(['axios','system/util/mpFormBuilder'],function(axios,mpFormBuilder){
  18. Vue.use(mpFormBuilder,_mpApi,rules,{
  19. action:'{$save}'
  20. });
  21. new Vue({
  22. el:"#form-add",
  23. mounted:function(){
  24. }
  25. })
  26. });
  27. });
  28. </script>
  29. </body>