删除考试明细确定按钮

pg_adapter
dshclm 8 months ago
parent 27c559794f
commit 7dd5285ea9

@ -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) { openOptions: function (options) {
var _url = $.common.isEmpty(options.url) ? "/404.html" : options.url; var _url = $.common.isEmpty(options.url) ? "/404.html" : options.url;

@ -88,7 +88,7 @@
/*资产列表-详细*/ /*资产列表-详细*/
function detail(id,userId) { function detail(id,userId) {
var url = prefix + '/detail/' + id +'/'+userId; var url = prefix + '/detail/' + id +'/'+userId;
$.modal.open("考试明细", url); $.modal.openNOButton("考试明细", url);
} }

@ -100,7 +100,7 @@
/*资产列表-详细*/ /*资产列表-详细*/
function detail(id,userId) { function detail(id,userId) {
var url = prefix + '/detail/' + id +'/'+userId; var url = prefix + '/detail/' + id +'/'+userId;
$.modal.open("考试明细", url); $.modal.openNOButton("考试明细", url);
} }
</script> </script>
</body> </body>

@ -185,7 +185,7 @@
}, },
handleEdit(index,row){ handleEdit(index,row){
var url = prefix + '/examnum/' + row.examId var url = prefix + '/examnum/' + row.examId
$.modal.openTab("考试明细", url); $.modal.openNOButton("考试明细", url);
} }
} }
}) })

@ -94,7 +94,7 @@
/*资产列表-详细*/ /*资产列表-详细*/
function detail(id,userId) { function detail(id,userId) {
var url = prefixUser + '/detail/' + id +'/'+userId; var url = prefixUser + '/detail/' + id +'/'+userId;
$.modal.open("考试明细", url); $.modal.openNOButton("考试明细", url);
} }
</script> </script>
</body> </body>

@ -310,7 +310,7 @@
}, },
handleEdit(index,row){ handleEdit(index,row){
var url = prefix + '/examnum/' + row.examId var url = prefix + '/examnum/' + row.examId
$.modal.openTab("考试明细", url); $.modal.openNOButton("详情", url);
} }
} }
}) })

Loading…
Cancel
Save