流程跳转

This commit is contained in:
yubaolee
2016-09-05 20:07:10 +08:00
parent 8f2ae61905
commit d5d476bae4
21 changed files with 269 additions and 58 deletions

View File

@@ -139,7 +139,6 @@ function del() {
$.getJSON('/GoodsApplies/Delete?Id=' + selected.Id, function (data) {
if (data.statusCode == "200") {
list.reload();
ztree.reload();
}
else {
$(this).alertmsg('warn', data.message);
@@ -179,4 +178,4 @@ function refresh() {
list.reload();
}
//@@ sourceURL=StockManager.js
//@@ sourceURL=goodsApply.js

View File

@@ -35,6 +35,15 @@ function wfdesignerRedraw() {
wfdesignerRedraw();
$(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);
});
});
});
//@@ sourceURL=processDetail.js