@model string
<div class="main" id="main">
    <script type="text/javascript" src="/incs/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="~/incs/ueditor/ueditor.all.js"></script>
    <el-form ref="form" label-width="130px" label-position="left">
        <el-form-item label="注册协议">
            <ui-editor  v-model="Content" :height="500" toolbars="simple"></ui-editor>
            <span class="help-block" id="_ValidateTips_columnContent_Content"></span>
        </el-form-item>
    </el-form>
    <div class="footer-submit-bar" style="padding-left:100px">
        <el-button type="primary" v-on:click="postSubmit">提交</el-button>
        <el-button onclick="closeSelf()">关闭</el-button>
    </div>
</div>
<script type="text/javascript">
    var formData = { Content:"@Html.RawModel(Model)"}
    var vue = new Vue({
        el: "#main",
        data: formData,
        methods: {
            postSubmit: function () {
                var validated = this.validateForm({});//jquery表单验证
                if (validated) {
                    this.submit({ url: "@Url.ActionUrl()", data: formData});
                }
            }
        }
    });

</script>

