<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Gongzuozuzhijiagou.aspx.cs" Inherits="CY.WebForm.Pages.work.Gongzuozuzhijiagou" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head runat="server">
|
<title>设备分类管理</title>
|
<uc:CMSHead ID="CMSHead1" runat="server" />
|
<script type="text/javascript">
|
//修改
|
function onEdit(keyid) {
|
top.Dialog.open({ URL: "/Pages/work/GongzuoneirongCateEdit.aspx?keyid=" + keyid, Title: "设备分类修改", Width: 500, Height: 430 });
|
}
|
|
//添加
|
function addModel() {
|
top.Dialog.open({ URL: "/Pages/work/GongzuoneirongCateEdit.aspx", Title: "新增设备分类", Width: 500, Height: 430 });
|
}
|
|
//删除
|
function onDele(keyid) {
|
top.Dialog.confirm("确定要删除该设备分类吗?", function () {
|
window.location = "/Pages/work/Gongzuozuzhijiagou.aspx?delete=" + keyid;
|
});
|
}
|
|
//批量删除
|
function onAllDelete() {
|
var deleteKeyIds = "";
|
$(":checkbox").each(
|
function () {
|
if ($(this).is(":checked")) {
|
deleteKeyIds += $(this).val() + ",";
|
}
|
}
|
)
|
if (deleteKeyIds == "") {
|
top.Dialog.alert("请选择要删除的设备分类", function () {
|
});
|
return;
|
}
|
else {
|
deleteKeyIds = deleteKeyIds.substring(0, deleteKeyIds.length - 1);
|
top.Dialog.confirm("确定要删除所选设备分类吗?", function () {
|
window.location = "/Pages/work/Gongzuozuzhijiagou.aspx?deleteKeyIds=" + deleteKeyIds;
|
});
|
}
|
}
|
$(function () {
|
$(".AlreadyReply").remove();
|
});
|
</script>
|
<style type="text/css">
|
.AlreadyReply { display: none; }
|
|
.full-image {
|
border: none; /* 移除边框 */
|
}
|
|
</style>
|
</head>
|
<body>
|
<form id="form1" runat="server">
|
|
<img alt="xxxx" class="full-image" width="636" height="662" src="../../images/zuzhijiagou.png" />
|
|
</form>
|
</body>
|
</html>
|