提交 0c6b87fa 编写于 作者: doc_wei's avatar doc_wei

动态表单关联的工作流整改完成

上级 3d0053b3
......@@ -27,13 +27,13 @@ layui.config({
form.on('submit(formAddBean)', function (data) {
if (winui.verifyForm(data.elem)) {
activitiUtil.startProcess(parent.dsFormId, null, function (approvalId) {
activitiUtil.startProcess(actFlowId, null, function (approvalId) {
if(isNull(actFlowId)){
winui.window.msg('流程对象为空,无法启动.', {icon: 2, time: 2000});
return false;
}
var jStr = {
keyName: actFlowId,
actFlowId: actFlowId,
jsonStr: JSON.stringify(dsFormUtil.getPageData($("#showForm"))),
pageId: parent.dsFormId,
approvalId: approvalId
......
......@@ -29,7 +29,7 @@ layui.config({
var str = "";
if(v1 == 1){
// icon
str = '<i class="fa fa-fw ' + v3 + '" style="font-size: 18px; line-height: 30px; width: 100%; color: ' + v4 + '"></i>';
str = '<i class="fa fa-fw ' + v3 + '" style="font-size: 18px; line-height: 30px; color: ' + v4 + '"></i>';
} else {
str = '<img src="' + reqBasePath + v2 + '" class="photo-img" style="width: 25px; height: 25px">';
}
......
......@@ -126,6 +126,13 @@ var initTableSearchUtil = {
$(".winui-tool").append(jsCon);
}
}
// 监听搜索的回车按钮
$("#" + tableId + "KeyWord").keypress(function (event) {
if (event.keyCode == 13) {
// 回车搜索
$("#" + tableId + "SearchTable").click();
}
});
},
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册