20221019 人员派遣功能实现
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="部门员工" EnableHeaderMenu="true"
|
||||
runat="server" DataKeyNames="PersonId" DataIDField="PersonId" AllowSorting="true"
|
||||
SortField="PersonName" EnableColumnLines="true" BoxFlex="1" PageSize="10" ForceFit="true"
|
||||
SortField="PersonName" EnableColumnLines="true" BoxFlex="1" PageSize="10" ForceFit="true"
|
||||
SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true" IsDatabasePaging="true"
|
||||
OnPageIndexChange="Grid1_PageIndexChange" EnableRowDoubleClickEvent="true"
|
||||
OnRowDoubleClick="Grid1_RowDoubleClick" EnableTextSelection="True">
|
||||
@@ -188,6 +188,9 @@
|
||||
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
|
||||
Hidden="true" runat="server" Text="编辑" Icon="Pencil">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDispatch" OnClick="btnMenuDispatch_Click" EnablePostBack="true"
|
||||
Hidden="true" runat="server" Text="派遣" Icon="TableEdit">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
|
||||
Hidden="true" ConfirmText="确定删除选中行?" ConfirmTarget="Parent" runat="server"
|
||||
Icon="Delete" Text="删除">
|
||||
@@ -232,6 +235,12 @@
|
||||
var rowData = getRowDataViaMenuItem(this);
|
||||
__doPostBack('', 'editit$Action1$' + rowData.index + '$' + rowData.id);
|
||||
}
|
||||
}, {
|
||||
type: 'menuitem', text: '派遣', icon: '../res/icon/application_form_edit.png',
|
||||
handler: function () {
|
||||
var rowData = getRowDataViaMenuItem(this);
|
||||
__doPostBack('', 'dispatch$Action5$' + rowData.index + '$' + rowData.id);
|
||||
}
|
||||
}, {
|
||||
type: 'menuitem', text: '人员详情', icon: '../res/icon/folder_user.png',
|
||||
handler: function () {
|
||||
@@ -251,7 +260,8 @@
|
||||
var rowData = getRowDataViaMenuItem(this);
|
||||
__doPostBack('', 'salary$Action4$' + rowData.index + '$' + rowData.id);
|
||||
}
|
||||
}]
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user