|
@@ -1710,7 +1710,7 @@ function updateMsg(id)
|
|
|
$("#"+id).submit();
|
|
|
}
|
|
|
|
|
|
-function showAlert(msg, func, title)
|
|
|
+function showAlert(msg, func, title, index)
|
|
|
{
|
|
|
if (!title) {
|
|
|
title = $("#dever-name").html() + '提醒您';
|
|
@@ -1724,14 +1724,22 @@ function showAlert(msg, func, title)
|
|
|
var config = {
|
|
|
type: 0,
|
|
|
title: title,
|
|
|
- shade: 0,
|
|
|
+ shade: 0.1,
|
|
|
shadeClose : true,
|
|
|
content: msg
|
|
|
};
|
|
|
|
|
|
+ config.scrollbar = false;
|
|
|
+
|
|
|
if (type == 1) {
|
|
|
- //config.type = 1;
|
|
|
+ if (index) {
|
|
|
+ config.zIndex = index;
|
|
|
+ config.type = 1;
|
|
|
+ config.btn = ['确定'];
|
|
|
+ }
|
|
|
config.area = '800px';
|
|
|
+ //config.type = 1;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
if (func) {
|
|
@@ -1743,7 +1751,7 @@ function showAlert(msg, func, title)
|
|
|
var index = layer.open(config);
|
|
|
}
|
|
|
|
|
|
-function fastEdit(e, url, title, col)
|
|
|
+function fastEdit(e, url, title, col, index)
|
|
|
{
|
|
|
var func = function()
|
|
|
{
|
|
@@ -1759,7 +1767,13 @@ function fastEdit(e, url, title, col)
|
|
|
var valid = $(t).find('#valid').prop("outerHTML");
|
|
|
html = html + valid;
|
|
|
html = html.replace('left: 740px', 'left:583px;')
|
|
|
- showAlert(html, func, title);
|
|
|
+ if (index == 1) {
|
|
|
+ showAlert(html, func, title, 19850422);
|
|
|
+ } else {
|
|
|
+ showAlert(html, func, title);
|
|
|
+ }
|
|
|
+
|
|
|
+ $('#layui-layer-content').css('overflow-x', 'hidden');
|
|
|
$('#update_button').hide();
|
|
|
layui.use(['formSelects'], function(){
|
|
|
$("select").each(function()
|