create_base.php 752 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. // console.log(rules);
  16. _mpApi = parent._mpApi;
  17. mpFrame.start(function(Vue){
  18. require(['axios','system/util/mpFormBuilder'],function(axios,mpFormBuilder){
  19. Vue.use(mpFormBuilder,_mpApi,rules,{
  20. action:'{$save}'
  21. });
  22. new Vue({
  23. el:"#form-add",
  24. mounted:function(){
  25. }
  26. })
  27. });
  28. });
  29. </script>
  30. </body>