         window.modal_dialog.set_body( msg.body )
       .error (msg) ->
         console.log(msg)
-
     # 提交表单(创建)
     window.modal_dialog.get_modal_dialog().on "submit",".modal-body .page-levels-new .simple_form", (event) ->
       event.preventDefault()

        jQuery(".modal-content .modal-body .simple_form").addClass("hide")
        jQuery(".modal-content .modal-body .tree").removeClass("hide")
        jQuery(".modal-content .modal-body .tree-button").removeClass("hide")

    # 点击树中的确定按钮，隐藏树 显示表单
    window.modal_dialog.get_modal_dialog().on "click", ".modal-content .modal-body .tree-button", =>
      jQuery(".modal-content .modal-body .tree").addClass("hide")


  bind_events: ->
    that = this
    # 创建岗位
    # 点击创建按钮设置模态框（弹出模态框）
    @$elm.on "click",".post-crt", ->
