Commit 9fff3f2a authored by 乾坤平台's avatar 乾坤平台 Committed by 季圣华
Browse files

!26 修改几个不带样式的弹框提示

Merge pull request !26 from 乾坤平台/master
parents a03a9516 8c717145
......@@ -460,7 +460,7 @@
$('#setBuilding').click(function () {
var currentRow = $("#tableData").datagrid("getChecked");
if (currentRow.length == 0) {
alert("请选择一条数据再操作!");
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
return false;
}
parent.addTab(currentRow[0].id + "单元", "/pages/materials/building.jsp?ProjectId=" + currentRow[0].id, "");
......
......@@ -451,7 +451,7 @@
$('#setBuilding').click(function () {
var currentRow = $("#tableData").datagrid("getChecked");
if (currentRow.length == 0) {
alert("请选择一条数据再操作!");
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
return false;
}
parent.addTab(currentRow[0].id + "单元", "/pages/materials/building.jsp?ProjectId=" + currentRow[0].id, "");
......
......@@ -423,7 +423,7 @@
$('#btnSetApp').click(function () {
var currentRow = $("#tableData").datagrid("getSelected");
if (currentRow == null) {
alert("请选择一条数据再操作!");
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
return false;
}
this.href = "/pages/manage/roleApp.html?id=" + currentRow.id;
......@@ -433,7 +433,7 @@
$('#btnSetFunctions').click(function () {
var currentRow = $("#tableData").datagrid("getSelected");
if (currentRow == null) {
alert("请选择一条数据再操作!");
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
return false;
}
this.href = "/pages/manage/roleFunctions.html?id=" + currentRow.id;
......@@ -443,7 +443,7 @@
$('#btnSetPushBtn').click(function () {
var currentRow = $("#tableData").datagrid("getSelected");
if (currentRow == null) {
alert("请选择一条数据再操作!");
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
return false;
}
this.href = "/pages/manage/rolePushBtn.html?id=" + currentRow.id;
......
......@@ -523,7 +523,7 @@
$('#btnSetRole').click(function () {
var currentRow = $("#tableData").datagrid("getSelected");
if (currentRow == null) {
alert("请选择一条数据再操作!");
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
return false;
}
this.href = "/pages/user/userRole.html?id=" + currentRow.id;
......@@ -533,7 +533,7 @@
$('#btnSetDepart').click(function () {
var currentRow = $("#tableData").datagrid("getSelected");
if (currentRow == null) {
alert("请选择一条数据再操作!");
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
return false;
}
this.href = "/pages/user/userDepot.html?id=" + currentRow.id;
......@@ -543,7 +543,7 @@
$('#btnSetCustomer').click(function () {
var currentRow = $("#tableData").datagrid("getSelected");
if (currentRow == null) {
alert("请选择一条数据再操作!");
$.messager.alert('提示',"请选择一条数据再操作!",'warning');
return false;
}
this.href = "/pages/user/userCustomer.html?id=" + currentRow.id;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment