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.
28 lines
819 B
28 lines
819 B
@{
|
|
ViewBag.Title = "克隆按钮";
|
|
Layout = "~/Views/Shared/_Form.cshtml";
|
|
}
|
|
<script>
|
|
var moduleId = $.request("moduleId");
|
|
$(function () {
|
|
$("#itemTree").treeview({
|
|
showcheck: true,
|
|
url: "/SystemManage/ModuleButton/GetCloneButtonTreeJson"
|
|
});
|
|
});
|
|
function submitForm() {
|
|
var Ids = $("#itemTree").getCheckedNodes();
|
|
$.submitForm({
|
|
url: "/SystemManage/ModuleButton/SubmitCloneButton",
|
|
param: { moduleId: moduleId, Ids: String(Ids) },
|
|
success: function () {
|
|
top.modulebutton.$("#gridList").resetSelection();
|
|
top.modulebutton.$("#gridList").trigger("reloadGrid");
|
|
}
|
|
})
|
|
}
|
|
</script>
|
|
|
|
<div style="margin: 10px;">
|
|
<div id="itemTree"></div>
|
|
</div>
|