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

Merge pull request !26 from 乾坤平台/master
This commit is contained in:
乾坤平台
2019-02-19 21:53:44 +08:00
committed by 季圣华
4 changed files with 1935 additions and 1935 deletions

View File

@@ -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, "");

View File

@@ -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, "");

View File

@@ -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;

View File

@@ -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;