|
|
|
@ -882,6 +882,22 @@ var table = {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 弹出层指定宽度
|
|
|
|
|
openNOButton: function (title, url, width, height, callback) {
|
|
|
|
|
var _url = $.common.isEmpty(url) ? "/404.html" : url;
|
|
|
|
|
var options = {
|
|
|
|
|
title: table.options.modalName + "详细",
|
|
|
|
|
width: width,
|
|
|
|
|
height: height,
|
|
|
|
|
url: _url,
|
|
|
|
|
skin: 'layui-layer-gray',
|
|
|
|
|
btn: ['关闭'],
|
|
|
|
|
yes: function (index, layero) {
|
|
|
|
|
$.modal.close(index);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
$.modal.openOptions(options);
|
|
|
|
|
},
|
|
|
|
|
// 弹出层指定参数选项
|
|
|
|
|
openOptions: function (options) {
|
|
|
|
|
var _url = $.common.isEmpty(options.url) ? "/404.html" : options.url;
|
|
|
|
|