create_base.php 723 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!DOCTYPE html>
  2. <!--suppress JSAnnotator -->
  3. <html lang="zh-CN">
  4. <head>
  5. {include file="public/head"}
  6. <title>{$title}</title>
  7. </head>
  8. <body>
  9. <div id="form-add" class="mp-form" v-cloak>
  10. <form-builder></form-builder>
  11. </div>
  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>