|
@@ -614,7 +614,10 @@ var bootstrap = function ($, learun) { |
|
|
|
|
|
|
|
|
// 加载审批按钮 |
|
|
// 加载审批按钮 |
|
|
var $signBtn = $('#sign'); |
|
|
var $signBtn = $('#sign'); |
|
|
$.each(nwflow.currentNode.btnList || [{ id: "1", name: "同意", code: "agree", file: "1", next: "1" }, { id: "2", name: "不同意", code: "disagree", file: "1", next: "1" }], function (_index, _item) { |
|
|
|
|
|
|
|
|
$.each(nwflow.currentNode.btnList || [{ id: "1", name: "领导审批", code: "agree", file: "1", next: "1" }, { id: "2", name: "不同意", code: "disagree", file: "1", next: "1" }], function (_index, _item) { |
|
|
|
|
|
if (_item.name == "同意") { |
|
|
|
|
|
_item.name = "领导审批"; |
|
|
|
|
|
} |
|
|
if (_item.isHide != '1') { |
|
|
if (_item.isHide != '1') { |
|
|
var _class = ' btn-warning'; |
|
|
var _class = ' btn-warning'; |
|
|
if (_item.code == 'agree') { |
|
|
if (_item.code == 'agree') { |
|
|