diff --git a/activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessAdd.js b/activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessAdd.js index 6c6dc705e5e36cfbfe19a81011d8196a58ee850f..948542fa2d01cfa51f85c585980f4b55332c2f3f 100644 --- a/activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessAdd.js +++ b/activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessAdd.js @@ -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('
' + '' + diff --git a/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationChooseByFirstTypeCode.js b/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationChooseByFirstTypeCode.js index f8474645053ac9294859b7f808f2f167c8e296d3..e0a731c0662181d6ad13835c217f7e2c64290a56 100644 --- a/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationChooseByFirstTypeCode.js +++ b/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationChooseByFirstTypeCode.js @@ -14,6 +14,7 @@ layui.config({ var firstTypeCode = GetUrlParam("firstTypeCode"); + // todo 待替换 /********* tree 处理 start *************/ var orderType = ""; var ztree = null; diff --git a/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationDetails.js b/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationDetails.js index 546483f597967d167b1da0b9cdd41516c908b66c..05d79fdc8c99ab41a8455482bd38460f9e313eb8 100644 --- a/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationDetails.js +++ b/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationDetails.js @@ -12,7 +12,7 @@ layui.config({ showGrid({ id: "showForm", - url: flowableBasePath + "dsFormObjectRelation004", + url: reqBasePath + "dsFormObjectRelation004", params: {id: parent.rowId}, pagination: false, method: 'GET', diff --git a/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationEdit.js b/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationEdit.js index 2fb014e492c330f96738097cf3cf2e5253a7fe4e..6b5b15409acdb8080eb78a763af66110bae0ba0e 100644 --- a/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationEdit.js +++ b/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationEdit.js @@ -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'; }}); diff --git a/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationList.js b/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationList.js index 0b4968378da3866fd8408cc3d7187964784aecfd..39f7928da670346b0002a23dd98d2c4b5e6d0da1 100644 --- a/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationList.js +++ b/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationList.js @@ -16,7 +16,7 @@ layui.config({ id: 'messageTable', elem: '#messageTable', method: 'post', - url: flowableBasePath + 'dsFormObjectRelation001', + url: reqBasePath + 'dsFormObjectRelation001', where: getTableParams(), even: true, page: true, diff --git a/dsform/src/main/resources/template/js/dsFormPage/dsFormPageDesign.js b/dsform/src/main/resources/template/js/dsFormPage/dsFormPageDesign.js index 9dc2e449b31c9b46ff6f747bf33825825533a852..a42c04b3f420a166647bb5c1682c1bb5d41d9597 100644 --- a/dsform/src/main/resources/template/js/dsFormPage/dsFormPageDesign.js +++ b/dsform/src/main/resources/template/js/dsFormPage/dsFormPageDesign.js @@ -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(); // 加载拖拽 diff --git a/ifs/src/main/resources/template/js/income/incomeList.js b/ifs/src/main/resources/template/js/income/incomeList.js index a403280434a72c3b6e2cb890b7207baa9565d636..eb53ab84135b84b04370f2def3e2e555fbf5c73d 100644 --- a/ifs/src/main/resources/template/js/income/incomeList.js +++ b/ifs/src/main/resources/template/js/income/incomeList.js @@ -82,6 +82,7 @@ layui.config({ }); /********* tree 处理 start *************/ + // todo 待替换 var orderType = ""; var ztree = null; fsTree.render({ diff --git a/web/src/main/resources/template/assets/lib/layui/customer/dsFormUtil.js b/web/src/main/resources/template/assets/lib/layui/customer/dsFormUtil.js index ab21d31db270a850b8306e42bb10d23960f50a47..26e43545775bfcbca94a0b748c85cb8264e25513 100644 --- a/web/src/main/resources/template/assets/lib/layui/customer/dsFormUtil.js +++ b/web/src/main/resources/template/assets/lib/layui/customer/dsFormUtil.js @@ -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}); },