You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
723 B
61 lines
723 B
<!DOCTYPE html>
|
|
|
|
<html lang="zh-CN">
|
|
|
|
<head>
|
|
|
|
{include file="public/head"}
|
|
|
|
<title>{$title}</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="form-add" class="mp-form" v-cloak>
|
|
|
|
|
|
<form-builder></form-builder>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!--suppress JSAnnotator -->
|
|
<script>
|
|
|
|
var _vm ;
|
|
var rules = {$rules};
|
|
|
|
_mpApi = parent._mpApi;
|
|
|
|
|
|
|
|
mpFrame.start(function(Vue){
|
|
|
|
require(['axios','system/util/mpFormBuilder'],function(axios,mpFormBuilder){
|
|
|
|
Vue.use(mpFormBuilder,_mpApi,rules,{
|
|
|
|
action:'{$save}'
|
|
|
|
});
|
|
|
|
new Vue({
|
|
|
|
el:"#form-add",
|
|
|
|
mounted:function(){
|
|
|
|
}
|
|
|
|
})
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
|