@@ -460,7 +460,7 @@
|
|||||||
$('#setBuilding').click(function () {
|
$('#setBuilding').click(function () {
|
||||||
var currentRow = $("#tableData").datagrid("getChecked");
|
var currentRow = $("#tableData").datagrid("getChecked");
|
||||||
if (currentRow.length == 0) {
|
if (currentRow.length == 0) {
|
||||||
alert("请选择一条数据再操作!");
|
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
parent.addTab(currentRow[0].id + "单元", "/pages/materials/building.jsp?ProjectId=" + currentRow[0].id, "");
|
parent.addTab(currentRow[0].id + "单元", "/pages/materials/building.jsp?ProjectId=" + currentRow[0].id, "");
|
||||||
|
|||||||
@@ -451,7 +451,7 @@
|
|||||||
$('#setBuilding').click(function () {
|
$('#setBuilding').click(function () {
|
||||||
var currentRow = $("#tableData").datagrid("getChecked");
|
var currentRow = $("#tableData").datagrid("getChecked");
|
||||||
if (currentRow.length == 0) {
|
if (currentRow.length == 0) {
|
||||||
alert("请选择一条数据再操作!");
|
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
parent.addTab(currentRow[0].id + "单元", "/pages/materials/building.jsp?ProjectId=" + currentRow[0].id, "");
|
parent.addTab(currentRow[0].id + "单元", "/pages/materials/building.jsp?ProjectId=" + currentRow[0].id, "");
|
||||||
|
|||||||
@@ -423,7 +423,7 @@
|
|||||||
$('#btnSetApp').click(function () {
|
$('#btnSetApp').click(function () {
|
||||||
var currentRow = $("#tableData").datagrid("getSelected");
|
var currentRow = $("#tableData").datagrid("getSelected");
|
||||||
if (currentRow == null) {
|
if (currentRow == null) {
|
||||||
alert("请选择一条数据再操作!");
|
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.href = "/pages/manage/roleApp.html?id=" + currentRow.id;
|
this.href = "/pages/manage/roleApp.html?id=" + currentRow.id;
|
||||||
@@ -433,7 +433,7 @@
|
|||||||
$('#btnSetFunctions').click(function () {
|
$('#btnSetFunctions').click(function () {
|
||||||
var currentRow = $("#tableData").datagrid("getSelected");
|
var currentRow = $("#tableData").datagrid("getSelected");
|
||||||
if (currentRow == null) {
|
if (currentRow == null) {
|
||||||
alert("请选择一条数据再操作!");
|
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.href = "/pages/manage/roleFunctions.html?id=" + currentRow.id;
|
this.href = "/pages/manage/roleFunctions.html?id=" + currentRow.id;
|
||||||
@@ -443,7 +443,7 @@
|
|||||||
$('#btnSetPushBtn').click(function () {
|
$('#btnSetPushBtn').click(function () {
|
||||||
var currentRow = $("#tableData").datagrid("getSelected");
|
var currentRow = $("#tableData").datagrid("getSelected");
|
||||||
if (currentRow == null) {
|
if (currentRow == null) {
|
||||||
alert("请选择一条数据再操作!");
|
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.href = "/pages/manage/rolePushBtn.html?id=" + currentRow.id;
|
this.href = "/pages/manage/rolePushBtn.html?id=" + currentRow.id;
|
||||||
|
|||||||
@@ -523,7 +523,7 @@
|
|||||||
$('#btnSetRole').click(function () {
|
$('#btnSetRole').click(function () {
|
||||||
var currentRow = $("#tableData").datagrid("getSelected");
|
var currentRow = $("#tableData").datagrid("getSelected");
|
||||||
if (currentRow == null) {
|
if (currentRow == null) {
|
||||||
alert("请选择一条数据再操作!");
|
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.href = "/pages/user/userRole.html?id=" + currentRow.id;
|
this.href = "/pages/user/userRole.html?id=" + currentRow.id;
|
||||||
@@ -533,7 +533,7 @@
|
|||||||
$('#btnSetDepart').click(function () {
|
$('#btnSetDepart').click(function () {
|
||||||
var currentRow = $("#tableData").datagrid("getSelected");
|
var currentRow = $("#tableData").datagrid("getSelected");
|
||||||
if (currentRow == null) {
|
if (currentRow == null) {
|
||||||
alert("请选择一条数据再操作!");
|
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.href = "/pages/user/userDepot.html?id=" + currentRow.id;
|
this.href = "/pages/user/userDepot.html?id=" + currentRow.id;
|
||||||
@@ -543,7 +543,7 @@
|
|||||||
$('#btnSetCustomer').click(function () {
|
$('#btnSetCustomer').click(function () {
|
||||||
var currentRow = $("#tableData").datagrid("getSelected");
|
var currentRow = $("#tableData").datagrid("getSelected");
|
||||||
if (currentRow == null) {
|
if (currentRow == null) {
|
||||||
alert("请选择一条数据再操作!");
|
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.href = "/pages/user/userCustomer.html?id=" + currentRow.id;
|
this.href = "/pages/user/userCustomer.html?id=" + currentRow.id;
|
||||||
|
|||||||
Reference in New Issue
Block a user