mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-09 19:04:44 +08:00
fix css bugs
This commit is contained in:
@@ -161,13 +161,22 @@ function detail() {
|
||||
if (selected == null) {
|
||||
return;
|
||||
}
|
||||
$(this).dialog({
|
||||
BJUI.dialog({
|
||||
id: 'detailDlg',
|
||||
url: '/GoodsApplies/Detail?id=' + selected.Id,
|
||||
title: '进度详情',
|
||||
width: 800,
|
||||
height:600
|
||||
height: 600,
|
||||
mask:true
|
||||
});
|
||||
$(document)
|
||||
.on('bjui.beforeCloseDialog',
|
||||
function(e) {
|
||||
var $dialog = $(e.target);
|
||||
if ($dialog.id == "detailDlg") {
|
||||
list.reload();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function add() {
|
||||
|
||||
@@ -39,9 +39,8 @@ $(function () {
|
||||
$(".btn-cmd")
|
||||
.on("click", function () { //执行命令
|
||||
$.post("/GoodsApplies/ExeCmd?id=" +$("#processId").val() +"&cmd=" +$(this).val() ,
|
||||
{ name: "John", time: "2pm" },
|
||||
function (data) {
|
||||
console.log("Data Loaded: " + data);
|
||||
BJUI.dialog('refresh', 'detailDlg');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user