提交 f3103613 编写于 作者: W weizhiqiang

业务数据动态表单关联修改

上级 45cee032
......@@ -15,7 +15,7 @@ layui.config({
var actFlowId = parent.actFlowId;
// 加载动态表单页
AjaxPostUtil.request({url: flowableBasePath + "dsformpage004", params: {rowId: parent.dsFormId}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: flowableBasePath + "dsformpage004", params: {pageId: parent.dsFormId}, type: 'json', method: 'GET', callback: function (json) {
dsFormUtil.loadDsFormItemToEdit("showForm", json.rows);
$("#showForm").append('<div class="layui-form-item layui-col-xs12"><div class="layui-input-block">' +
'<button class="winui-btn" id="cancle">' + systemLanguage["com.skyeye.cancel"][languageType] + '</button>' +
......
......@@ -14,6 +14,7 @@ layui.config({
var firstTypeCode = GetUrlParam("firstTypeCode");
// todo 待替换
/********* tree 处理 start *************/
var orderType = "";
var ztree = null;
......
......@@ -12,7 +12,7 @@ layui.config({
showGrid({
id: "showForm",
url: flowableBasePath + "dsFormObjectRelation004",
url: reqBasePath + "dsFormObjectRelation004",
params: {id: parent.rowId},
pagination: false,
method: 'GET',
......
......@@ -14,7 +14,7 @@ layui.config({
showGrid({
id: "showForm",
url: flowableBasePath + "dsFormObjectRelation004",
url: reqBasePath + "dsFormObjectRelation004",
params: {id: parent.rowId},
pagination: false,
method: 'GET',
......@@ -45,7 +45,7 @@ layui.config({
dsFormPageIds: formPageId.join(","),
id: parent.rowId
};
AjaxPostUtil.request({url: flowableBasePath + "dsFormObjectRelation005", params: params, type: 'json', method: "PUT", callback: function (json) {
AjaxPostUtil.request({url: reqBasePath + "dsFormObjectRelation005", params: params, type: 'json', method: "PUT", callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -16,7 +16,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: flowableBasePath + 'dsFormObjectRelation001',
url: reqBasePath + 'dsFormObjectRelation001',
where: getTableParams(),
even: true,
page: true,
......
......@@ -19,7 +19,7 @@ layui.config({
authBtn('1567732055673');//保存控件
AjaxPostUtil.request({url: flowableBasePath + "dsformpage004", params: {rowId: parent.rowId}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: flowableBasePath + "dsformpage004", params: {pageId: parent.rowId}, type: 'json', method: 'GET', callback: function (json) {
// 加载表单控件
loadLeftBoxItem();
// 加载拖拽
......
......@@ -82,6 +82,7 @@ layui.config({
});
/********* tree 处理 start *************/
// todo 待替换
var orderType = "";
var ztree = null;
fsTree.render({
......
......@@ -113,7 +113,7 @@ var dsFormUtil = {
dsFormObjectRelationCode: isNull(code) ? "" : code,
dsFormObjectRelationId: isNull(dsFormObjectRelationId) ? "" : dsFormObjectRelationId
};
AjaxPostUtil.request({url: flowableBasePath + "dsFormObjectRelation006", params: params, method: "GET", type: 'json', callback: function(json) {
AjaxPostUtil.request({url: reqBasePath + "dsFormObjectRelation006", params: params, method: "GET", type: 'json', callback: function(json) {
dsFormUtil.loadDsFormItem(showBoxId, json);
}, async: false});
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册