diff --git a/activiti/src/main/resources/template/js/approvalActiviti/approvalProcess.js b/activiti/src/main/resources/template/js/approvalActiviti/approvalProcess.js index 697baabfb57d44e671e726921007df1a7172cfca..b6b473f0c1440bac7dece444741505a0dee24c00 100644 --- a/activiti/src/main/resources/template/js/approvalActiviti/approvalProcess.js +++ b/activiti/src/main/resources/template/js/approvalActiviti/approvalProcess.js @@ -59,7 +59,7 @@ layui.config({ tplContent = getDataUseHandlebars(formItem.templateContent, obj); formItem.context = tplContent; }else if(formItem.associatedDataTypes == 2){//接口 - AjaxPostUtil.request({url:reqBasePath + "dsformpage011", params:{interfa: formItem.aData}, type: 'json', callback: function(j){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpage011", params:{interfa: formItem.aData}, type: 'json', callback: function(j){ if(j.returnCode == 0){ var obj = JSON.parse(j.bean.aData); tplContent = getDataUseHandlebars(formItem.templateContent, obj); diff --git a/activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessAdd.js b/activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessAdd.js index 630a064ea6aa554dddb7f996cff9a0e9d03e8454..b41dad6eaef8458532256ed0816ec1b2c4fab700 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 actKey = parent.actKey; // 加载动态表单页 - AjaxPostUtil.request({url:reqBasePath + "dsformpage004", params:{rowId: parent.dsFormId}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpage004", params:{rowId: parent.dsFormId}, type: 'json', callback: function(json){ if(json.returnCode == 0){ dsFormUtil.loadDsFormItemToEdit("showForm", json.rows); $("#showForm").append('
' + diff --git a/code-doc/src/main/resources/template/js/codemodelgroup/addcontenttohtmlorjs.js b/code-doc/src/main/resources/template/js/codemodelgroup/addcontenttohtmlorjs.js index aa7875f9cec122c1488dcadf7638ebdb424688c0..1e0375c6f08f9f5df1e3a05e9e9ee0a3f454b0d8 100644 --- a/code-doc/src/main/resources/template/js/codemodelgroup/addcontenttohtmlorjs.js +++ b/code-doc/src/main/resources/template/js/codemodelgroup/addcontenttohtmlorjs.js @@ -25,7 +25,7 @@ layui.config({ }); form.on('select(showModel)', function(data){ - AjaxPostUtil.request({url:reqBasePath + "dsform007", params:{rowId: data.value}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsform007", params:{rowId: data.value}, type: 'json', callback: function(json){ if(json.returnCode == 0){ var mode = returnModel(json.bean.htmlType); if (!isNull(mode.length)) { @@ -54,7 +54,7 @@ layui.config({ //展现形式 showGrid({ id: "showModel", - url: reqBasePath + "dsform006", + url: flowableBasePath + "dsform006", params: {}, pagination: false, template: getFileContent('tpl/template/select-option.tpl'), @@ -65,7 +65,7 @@ layui.config({ //限制条件 showGrid({ id: "limitRequire", - url: reqBasePath + "dsformlimitrequirement006", + url: flowableBasePath + "dsformlimitrequirement006", params: {}, pagination: false, template: getFileContent('tpl/template/checkbox-limit.tpl'), diff --git a/crm/src/main/resources/template/js/crmOpportunity/crmOpportunityList.js b/crm/src/main/resources/template/js/crmOpportunity/crmOpportunityList.js index c5f4c0bfe95c3dc6b42a21913b6d91e97314f1b3..28199981ad7068080dd79d09ef736730080ef905 100644 --- a/crm/src/main/resources/template/js/crmOpportunity/crmOpportunityList.js +++ b/crm/src/main/resources/template/js/crmOpportunity/crmOpportunityList.js @@ -101,7 +101,7 @@ layui.config({ function revoke(data){ layer.confirm('确认撤销该商机审批申请吗?', { icon: 3, title: '撤销操作' }, function (index) { layer.close(index); - AjaxPostUtil.request({url:flowableBasePath + "opportunity027", params:{processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "opportunity027", params:{processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){ if(json.returnCode == 0){ winui.window.msg("提交成功", {icon: 1, time: 2000}); loadTable(); diff --git a/crm/src/main/resources/template/js/crmOpportunity/myCrmOpportunityList.js b/crm/src/main/resources/template/js/crmOpportunity/myCrmOpportunityList.js index 3fcf741fbfbe1c230bf704e21f9e42e420d7aa52..479b18b548abf22dccffe65bf221eb041f291d8d 100644 --- a/crm/src/main/resources/template/js/crmOpportunity/myCrmOpportunityList.js +++ b/crm/src/main/resources/template/js/crmOpportunity/myCrmOpportunityList.js @@ -99,7 +99,7 @@ layui.config({ function revoke(data){ layer.confirm('确认撤销该商机审批申请吗?', { icon: 3, title: '撤销操作' }, function (index) { layer.close(index); - AjaxPostUtil.request({url:flowableBasePath + "opportunity027", params:{rowId: data.id, processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "opportunity027", params:{rowId: data.id, processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){ if(json.returnCode == 0){ winui.window.msg("提交成功", {icon: 1, time: 2000}); loadTable(); diff --git a/crm/src/main/resources/template/js/crmOpportunity/stateChange.js b/crm/src/main/resources/template/js/crmOpportunity/stateChange.js index 0a4b06882ec74c43b4ece74380852c8664db510d..30a24ca9ffcd735275315ae192e5c45665bd19f6 100644 --- a/crm/src/main/resources/template/js/crmOpportunity/stateChange.js +++ b/crm/src/main/resources/template/js/crmOpportunity/stateChange.js @@ -59,7 +59,7 @@ layui.config({ var msg = '确认【' + stateChangeData.title + '】进入初期沟通状态吗?'; layer.confirm(msg, { icon: 3, title: '初期沟通' }, function (i) { layer.close(i); - AjaxPostUtil.request({url:flowableBasePath + "opportunity019", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "opportunity019", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; @@ -75,7 +75,7 @@ layui.config({ var msg = '确认【' + stateChangeData.title + '】进入方案与报价状态吗?'; layer.confirm(msg, { icon: 3, title: '方案与报价' }, function (i) { layer.close(i); - AjaxPostUtil.request({url:flowableBasePath + "opportunity020", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "opportunity020", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; @@ -91,7 +91,7 @@ layui.config({ var msg = '确认【' + stateChangeData.title + '】进入竞争与投标状态吗?'; layer.confirm(msg, { icon: 3, title: '竞争与投标' }, function (i) { layer.close(i); - AjaxPostUtil.request({url:flowableBasePath + "opportunity021", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "opportunity021", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; @@ -107,7 +107,7 @@ layui.config({ var msg = '确认【' + stateChangeData.title + '】进入商务谈判状态吗?'; layer.confirm(msg, { icon: 3, title: '商务谈判' }, function (i) { layer.close(i); - AjaxPostUtil.request({url:flowableBasePath + "opportunity022", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "opportunity022", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; @@ -123,7 +123,7 @@ layui.config({ var msg = '确认【' + stateChangeData.title + '】进入成交状态吗?'; layer.confirm(msg, { icon: 3, title: '成交' }, function (i) { layer.close(i); - AjaxPostUtil.request({url:flowableBasePath + "opportunity023", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "opportunity023", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; @@ -139,7 +139,7 @@ layui.config({ var msg = '确认【' + stateChangeData.title + '】进入丢单状态吗?'; layer.confirm(msg, { icon: 3, title: '丢单' }, function (i) { layer.close(i); - AjaxPostUtil.request({url:flowableBasePath + "opportunity024", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "opportunity024", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; @@ -155,7 +155,7 @@ layui.config({ var msg = '确认【' + stateChangeData.title + '】进入搁置状态吗?'; layer.confirm(msg, { icon: 3, title: '搁置' }, function (i) { layer.close(i); - AjaxPostUtil.request({url:flowableBasePath + "opportunity025", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "opportunity025", params:{rowId: stateChangeData.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; diff --git a/crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractlist.js b/crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractlist.js index 1f7f3c200ec6536bf3a5bfd08702b66cd86075fe..fefd0389a27ce5c54896a6b5d4c4dbf72958415d 100644 --- a/crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractlist.js +++ b/crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractlist.js @@ -193,7 +193,7 @@ layui.config({ var msg = '确认执行该合同吗?'; layer.confirm(msg, { icon: 3, title: '执行申请提交' }, function (index) { layer.close(index); - AjaxPostUtil.request({url:flowableBasePath + "mycrmcontract010", params:{rowId: data.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "mycrmcontract010", params:{rowId: data.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ winui.window.msg("提交成功", {icon: 1, time: 2000}); loadTable(); @@ -209,7 +209,7 @@ layui.config({ var msg = '确认关闭该合同吗?'; layer.confirm(msg, { icon: 3, title: '关闭申请提交' }, function (index) { layer.close(index); - AjaxPostUtil.request({url:flowableBasePath + "mycrmcontract011", params:{rowId: data.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "mycrmcontract011", params:{rowId: data.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ winui.window.msg("提交成功", {icon: 1, time: 2000}); loadTable(); @@ -225,7 +225,7 @@ layui.config({ var msg = '确认搁置该合同吗?'; layer.confirm(msg, { icon: 3, title: '搁置申请提交' }, function (index) { layer.close(index); - AjaxPostUtil.request({url:flowableBasePath + "mycrmcontract012", params:{rowId: data.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "mycrmcontract012", params:{rowId: data.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ winui.window.msg("提交成功", {icon: 1, time: 2000}); loadTable(); @@ -241,7 +241,7 @@ layui.config({ var msg = '确认恢复该合同吗?'; layer.confirm(msg, { icon: 3, title: '恢复申请提交' }, function (index) { layer.close(index); - AjaxPostUtil.request({url:flowableBasePath + "mycrmcontract013", params:{rowId: data.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "mycrmcontract013", params:{rowId: data.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ winui.window.msg("提交成功", {icon: 1, time: 2000}); loadTable(); @@ -257,7 +257,7 @@ layui.config({ var msg = '确认撤销该合同吗?'; layer.confirm(msg, { icon: 3, title: '撤销申请提交' }, function (index) { layer.close(index); - AjaxPostUtil.request({url:flowableBasePath + "mycrmcontract016", params:{processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "mycrmcontract016", params:{processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){ if(json.returnCode == 0){ winui.window.msg("提交成功", {icon: 1, time: 2000}); loadTable(); diff --git a/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationAdd.js b/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationAdd.js index f33459234b24015c40dd8dbacbd37263b33b80fb..f64b4191291e0895629c24d7a4ab87464c02021c 100644 --- a/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationAdd.js +++ b/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationAdd.js @@ -41,7 +41,7 @@ layui.config({ remark: $("#remark").val(), dsFormPageIds: formPageId.join(",") }; - AjaxPostUtil.request({url: reqBasePath + "dsFormObjectRelation002", params: params, type: 'json', method: "POST", callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsFormObjectRelation002", params: params, type: 'json', method: "POST", callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; diff --git a/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationDetails.js b/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationDetails.js index 05d79fdc8c99ab41a8455482bd38460f9e313eb8..546483f597967d167b1da0b9cdd41516c908b66c 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: reqBasePath + "dsFormObjectRelation004", + url: flowableBasePath + "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 1ede1d05804f6bd59c3a4af4f189a5a2da606b93..6917b5eff7db1cce341e442c60884d045639b11e 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: reqBasePath + "dsFormObjectRelation004", + url: flowableBasePath + "dsFormObjectRelation004", params: {id: parent.rowId}, pagination: false, method: 'GET', @@ -64,7 +64,7 @@ layui.config({ dsFormPageIds: formPageId.join(","), id: parent.rowId }; - AjaxPostUtil.request({url: reqBasePath + "dsFormObjectRelation005", params: params, type: 'json', method: "PUT", callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsFormObjectRelation005", params: params, type: 'json', method: "PUT", callback: function(json){ if(json.returnCode == 0){ 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 0c913ad6c6131b0f18f94b7d922917a17dbf6101..e72ef21c073d72243e46cc08feb6336cea402ca1 100644 --- a/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationList.js +++ b/dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationList.js @@ -25,7 +25,7 @@ layui.config({ id: 'messageTable', elem: '#messageTable', method: 'post', - url: reqBasePath + 'dsFormObjectRelation001', + url: flowableBasePath + 'dsFormObjectRelation001', where: getTableParams(), even: true, page: true, @@ -84,7 +84,7 @@ layui.config({ function delet(data){ layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){ layer.close(index); - AjaxPostUtil.request({url: reqBasePath + "dsFormObjectRelation003", params: {id: data.id}, type: 'json', method: "DELETE", callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsFormObjectRelation003", params: {id: data.id}, type: 'json', method: "DELETE", callback: function(json){ if(json.returnCode == 0){ winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); loadTable(); diff --git a/dsform/src/main/resources/template/js/dsFormPage/dsFormPageDesign.js b/dsform/src/main/resources/template/js/dsFormPage/dsFormPageDesign.js index 639fa8b9eb23ab23d91489ac519a94789e8efc57..4ebb3fa1387d5d9f7cb750a0604897e288328b20 100644 --- a/dsform/src/main/resources/template/js/dsFormPage/dsFormPageDesign.js +++ b/dsform/src/main/resources/template/js/dsFormPage/dsFormPageDesign.js @@ -20,7 +20,7 @@ layui.config({ authBtn('1567732055673');//保存控件 - AjaxPostUtil.request({url:reqBasePath + "dsformpage004", params:{rowId: parent.rowId}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpage004", params:{rowId: parent.rowId}, type: 'json', callback: function(json){ if(json.returnCode == 0){ // 加载表单控件 loadLeftBoxItem(); @@ -42,7 +42,7 @@ layui.config({ } item.context = getDataUseHandlebars(item.templateContent, obj); }else if(item.associatedDataTypes == 2){//接口 - AjaxPostUtil.request({url:reqBasePath + "dsformpage011", params:{interfa: item.aData}, type: 'json', callback: function(j){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpage011", params:{interfa: item.aData}, type: 'json', callback: function(j){ if(j.returnCode == 0){ var obj = JSON.parse(j.bean.aData); item.context = getDataUseHandlebars(item.templateContent, obj); @@ -98,7 +98,7 @@ layui.config({ function loadLeftBoxItem(){ showGrid({ id: "btnBox", - url: reqBasePath + "dsform006", + url: flowableBasePath + "dsform006", params: {rowId: parent.rowId}, pagination: false, template: $("#leftBoxItem").html(), @@ -194,7 +194,7 @@ layui.config({ // 获取该控件的脚本信息 function getDataScript(params){ - AjaxPostUtil.request({url:reqBasePath + "dsform007", params:{rowId: params.formContentId}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsform007", params:{rowId: params.formContentId}, type: 'json', callback: function(json){ if(json.returnCode == 0){ params.htmlContent = encodeURIComponent(json.bean.htmlContent); params.jsContent = encodeURIComponent(json.bean.jsContent); @@ -207,7 +207,7 @@ layui.config({ // 保存“新增控件” function reqSaveData(params, templateContent){ - AjaxPostUtil.request({url: reqBasePath + "dsformpage003", params: params, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpage003", params: params, type: 'json', callback: function(json){ if(json.returnCode == 0){ winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); var templateJson = json.bean; @@ -415,7 +415,7 @@ layui.config({ // 初始化限制条件 function initRequire(item){ - AjaxPostUtil.request({url:reqBasePath + "dsformlimitrequirement006", params:{}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformlimitrequirement006", params:{}, type: 'json', callback: function(json){ if(json.returnCode == 0){ var contentModel = getFileContent('tpl/template/select-option.tpl');//获取html模板 var jsonStr = getDataUseHandlebars(contentModel, json);//模板和数据结合 @@ -441,7 +441,7 @@ layui.config({ winui.window.msg('保存页面不能为空!', {icon: 2,time: 2000}); return; } - AjaxPostUtil.request({url:reqBasePath + "dsformpage009", params:{formedit: JSON.stringify(jsonArray)}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpage009", params:{formedit: JSON.stringify(jsonArray)}, type: 'json', callback: function(json){ if(json.returnCode == 0){ winui.window.msg("保存成功", {icon: 1,time: 2000}); parent.refreshCode = '0'; diff --git a/dsform/src/main/resources/template/js/dsFormPage/dsFormPageListChoose.js b/dsform/src/main/resources/template/js/dsFormPage/dsFormPageListChoose.js index 5737b88520c7a6f8b47ccc3236c8781514ca29e6..211abae122472cf4d118f0a62bb4c5cf63d4b9d3 100644 --- a/dsform/src/main/resources/template/js/dsFormPage/dsFormPageListChoose.js +++ b/dsform/src/main/resources/template/js/dsFormPage/dsFormPageListChoose.js @@ -47,7 +47,7 @@ layui.config({ id: 'messageTable', elem: '#messageTable', method: 'post', - url: reqBasePath + 'dsformpage001', + url: flowableBasePath + 'dsformpage001', where: getTableParams(), even: true, page: true, diff --git a/dsform/src/main/resources/template/js/dsFormPage/pageAdd.js b/dsform/src/main/resources/template/js/dsFormPage/pageAdd.js index 1c4e689b3df9c526a28906fb673b788887fc3a53..3e969dbb523bc2777fc31e050212881e1ace4e6f 100644 --- a/dsform/src/main/resources/template/js/dsFormPage/pageAdd.js +++ b/dsform/src/main/resources/template/js/dsFormPage/pageAdd.js @@ -28,7 +28,7 @@ layui.config({ firstTypeId: $("#firstTypeId").val(), secondTypeId: $("#secondTypeId").val() }; - AjaxPostUtil.request({url:reqBasePath + "dsformpage002", params:params, type: 'json', method: "POST", callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpage002", params:params, type: 'json', method: "POST", callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; diff --git a/dsform/src/main/resources/template/js/dsFormPage/pageEdit.js b/dsform/src/main/resources/template/js/dsFormPage/pageEdit.js index 2221be764825bcd782ac89bd391dc87ce2f5a347..4de2e149183950746b8dbb7ccf29c362cb1fcc3c 100644 --- a/dsform/src/main/resources/template/js/dsFormPage/pageEdit.js +++ b/dsform/src/main/resources/template/js/dsFormPage/pageEdit.js @@ -12,7 +12,7 @@ layui.config({ showGrid({ id: "showForm", - url: reqBasePath + "dsformpage006", + url: flowableBasePath + "dsformpage006", params: {rowId:parent.rowId}, pagination: false, method: "GET", @@ -42,7 +42,7 @@ layui.config({ firstTypeId: $("#firstTypeId").val(), secondTypeId: $("#secondTypeId").val() }; - AjaxPostUtil.request({url:reqBasePath + "dsformpage007", params:params, type: 'json', method: "PUT", callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpage007", params:params, type: 'json', method: "PUT", callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; diff --git a/dsform/src/main/resources/template/js/dsFormPage/pageList.js b/dsform/src/main/resources/template/js/dsFormPage/pageList.js index 91d3979d94d6f75a2e0712aa2cec133252da907a..d684cd6aed1b723323be14a9165aba6ab81baee8 100644 --- a/dsform/src/main/resources/template/js/dsFormPage/pageList.js +++ b/dsform/src/main/resources/template/js/dsFormPage/pageList.js @@ -24,7 +24,7 @@ layui.config({ id: 'messageTable', elem: '#messageTable', method: 'post', - url: reqBasePath + 'dsformpage001', + url: flowableBasePath + 'dsformpage001', where: getTableParams(), even: true, page: true, @@ -89,7 +89,7 @@ layui.config({ function delet(data){ layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){ layer.close(index); - AjaxPostUtil.request({url:reqBasePath + "dsformpage005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpage005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function(json){ if(json.returnCode == 0){ winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); loadTable(); diff --git a/dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeAdd.js b/dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeAdd.js index e101c9015a579df6dd11efd3e2bd2aa4f8d973b5..af289cdc57ea64e72d0f5e61dc5f65c4e36fbc19 100644 --- a/dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeAdd.js +++ b/dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeAdd.js @@ -22,7 +22,7 @@ layui.config({ encoded: $("#encoded").val(), parentId: isNull($("#parentId").val()) ? "0" : $("#parentId").val() }; - AjaxPostUtil.request({url:reqBasePath + "dsformpagetype002", params:params, type: 'json', method: "POST", callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpagetype002", params:params, type: 'json', method: "POST", callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; diff --git a/dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeEdit.js b/dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeEdit.js index 0325493ef9acef1bb4060d07bd9bbfdb9d838797..4637a5f27b9418b3b5592318eed41bbe590057f8 100644 --- a/dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeEdit.js +++ b/dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeEdit.js @@ -12,7 +12,7 @@ layui.config({ showGrid({ id: "showForm", - url: reqBasePath + "dsformpagetype004", + url: flowableBasePath + "dsformpagetype004", params: {id: parent.rowId}, pagination: false, method: "GET", @@ -33,7 +33,7 @@ layui.config({ encoded: $("#encoded").val(), parentId: isNull($("#parentId").val()) ? "0" : $("#parentId").val() }; - AjaxPostUtil.request({url:reqBasePath + "dsformpagetype005", params:params, type: 'json', method: "PUT", callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpagetype005", params:params, type: 'json', method: "PUT", callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; diff --git a/dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeList.js b/dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeList.js index d524cdb0fd264d7bb284a8c3de49ada87df9da3f..1b0eb287e7db77a142b8ee03e87a4039285bc3d1 100644 --- a/dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeList.js +++ b/dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeList.js @@ -19,7 +19,7 @@ layui.config({ elem: '#messageTable', method: 'post', idField: 'id', - url: reqBasePath + 'dsformpagetype001', + url: flowableBasePath + 'dsformpagetype001', where: getTableParams(), treeId: 'id',//树形id字段名称 treeUpId: 'parentId',//树形父id字段名称 @@ -72,7 +72,7 @@ layui.config({ function delet(data){ layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){ layer.close(index); - AjaxPostUtil.request({url:reqBasePath + "dsformpagetype003", params:{id: data.id}, type: 'json', method: "DELETE", callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpagetype003", params:{id: data.id}, type: 'json', method: "DELETE", callback: function(json){ if(json.returnCode == 0){ winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); loadTable(); diff --git a/dsform/src/main/resources/template/js/dsformcontent/dsformcontentadd.js b/dsform/src/main/resources/template/js/dsformcontent/dsformcontentadd.js index bf0fa47c993808651bb1108a32f3a2b82b8c652e..ea43082b26e0a70591753d47653e6d11da90368a 100644 --- a/dsform/src/main/resources/template/js/dsformcontent/dsformcontentadd.js +++ b/dsform/src/main/resources/template/js/dsformcontent/dsformcontentadd.js @@ -44,7 +44,7 @@ layui.config({ initDatatpl = true; showGrid({ id: "dataShowTpl", - url: reqBasePath + "dsformdisplaytemplate006", + url: flowableBasePath + "dsformdisplaytemplate006", params: {}, pagination: false, template: getFileContent('tpl/template/select-option.tpl'), @@ -190,7 +190,7 @@ layui.config({ params.dataShowTpl = ""; params.defaultData = ""; } - AjaxPostUtil.request({url:reqBasePath + "dsform002", params:params, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsform002", params:params, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; diff --git a/dsform/src/main/resources/template/js/dsformcontent/dsformcontentedit.js b/dsform/src/main/resources/template/js/dsformcontent/dsformcontentedit.js index 0e3fd597ebda0bbf4e39d71eca51566dd25b9d54..d739c74575dc5e29b2ee88430df74e2d525cb624 100644 --- a/dsform/src/main/resources/template/js/dsformcontent/dsformcontentedit.js +++ b/dsform/src/main/resources/template/js/dsformcontent/dsformcontentedit.js @@ -17,7 +17,7 @@ layui.config({ showGrid({ id: "showForm", - url: reqBasePath + "dsform004", + url: flowableBasePath + "dsform004", params: {rowId: parent.rowId}, pagination: false, template: getFileContent('tpl/dsformcontent/dsformcontenteditTemplate.tpl'), @@ -108,7 +108,7 @@ layui.config({ initDatatpl = true; showGrid({ id: "dataShowTpl", - url: reqBasePath + "dsformdisplaytemplate006", + url: flowableBasePath + "dsformdisplaytemplate006", params: {}, pagination: false, template: getFileContent('tpl/template/select-option.tpl'), @@ -230,7 +230,7 @@ layui.config({ params.dataShowTpl = ''; params.defaultData = ""; } - AjaxPostUtil.request({url:reqBasePath + "dsform005", params:params, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsform005", params:params, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; diff --git a/dsform/src/main/resources/template/js/dsformcontent/dsformcontentlist.js b/dsform/src/main/resources/template/js/dsformcontent/dsformcontentlist.js index c2f9c4f6fdfd036684c7c588c26b0cec5986129f..130305a74ad8e635218eb9818385f970f9670854 100644 --- a/dsform/src/main/resources/template/js/dsformcontent/dsformcontentlist.js +++ b/dsform/src/main/resources/template/js/dsformcontent/dsformcontentlist.js @@ -19,7 +19,7 @@ layui.config({ id: 'messageTable', elem: '#messageTable', method: 'post', - url: reqBasePath + 'dsform001', + url: flowableBasePath + 'dsform001', where:{contentName:$("#contentName").val()}, even:true, page: true, @@ -109,7 +109,7 @@ layui.config({ function del(data, obj){ layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){ layer.close(index); - AjaxPostUtil.request({url:reqBasePath + "dsform003", params:{rowId: data.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsform003", params:{rowId: data.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); loadTable(); diff --git a/dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateadd.js b/dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateadd.js index d39d8fbf432c8c45b62bd26e0128946a6a575d67..4c9a0f765a94fcee8b736a6d28fec8fff139a712 100644 --- a/dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateadd.js +++ b/dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateadd.js @@ -40,7 +40,7 @@ layui.config({ templateName:$("#templateName").val(), templateContent:encodeURI(templateContent.getValue().replace(/\+/g, "%2B").replace(/\&/g, "%26")) }; - AjaxPostUtil.request({url:reqBasePath + "dsformdisplaytemplate002", params:params, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformdisplaytemplate002", params:params, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; diff --git a/dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateedit.js b/dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateedit.js index 34d85c31fce865653a7b403eb4f8cd78a529d2f0..067977492ed6eb5b9a7a912ec1f65f53c2115f41 100644 --- a/dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateedit.js +++ b/dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateedit.js @@ -12,7 +12,7 @@ layui.config({ showGrid({ id: "showForm", - url: reqBasePath + "dsformdisplaytemplate004", + url: flowableBasePath + "dsformdisplaytemplate004", params: {rowId: parent.rowId}, pagination: false, template: getFileContent('tpl/dsformdisplaytemplate/dsformdisplaytemplateeditTemplate.tpl'), @@ -52,7 +52,7 @@ layui.config({ templateContent:encodeURI(templateContent.getValue().replace(/\+/g, "%2B").replace(/\&/g, "%26")), rowId:parent.rowId }; - AjaxPostUtil.request({url:reqBasePath + "dsformdisplaytemplate005", params:params, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformdisplaytemplate005", params:params, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; diff --git a/dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplatelist.js b/dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplatelist.js index 16353057cd2e49166f8aa6f5c365235fe661bbc2..f45dd1ca451e11fc5bad51f64ca8e9af86d7855b 100644 --- a/dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplatelist.js +++ b/dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplatelist.js @@ -31,7 +31,7 @@ layui.config({ id: 'messageTable', elem: '#messageTable', method: 'post', - url: reqBasePath + 'dsformdisplaytemplate001', + url: flowableBasePath + 'dsformdisplaytemplate001', where:{templateName: $("#templateName").val()}, even:true, page: true, @@ -88,7 +88,7 @@ layui.config({ function del(data, obj){ layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){ layer.close(index); - AjaxPostUtil.request({url:reqBasePath + "dsformdisplaytemplate003", params:{rowId: data.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformdisplaytemplate003", params:{rowId: data.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); loadTable(); diff --git a/dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementadd.js b/dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementadd.js index 22e2adb60d9fb9b5acace9e93ad7d93850c313b6..72960d79601b9c6d3496a8c20a38952df3ff8330 100644 --- a/dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementadd.js +++ b/dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementadd.js @@ -20,7 +20,7 @@ layui.config({ formerRequirement: $("#formerRequirement").val(), afterRequirement: $("#afterRequirement").val(), }; - AjaxPostUtil.request({url:reqBasePath + "dsformlimitrequirement002", params:params, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformlimitrequirement002", params:params, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; diff --git a/dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementedit.js b/dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementedit.js index a5a2607edc2b25b271b840334b781cab1dc99d85..40f896f1d7a85e6cacd0c881a1bfb1d9e26c57b9 100644 --- a/dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementedit.js +++ b/dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementedit.js @@ -13,7 +13,7 @@ layui.config({ showGrid({ id: "showForm", - url: reqBasePath + "dsformlimitrequirement004", + url: flowableBasePath + "dsformlimitrequirement004", params: {rowId: parent.rowId}, pagination: false, template: getFileContent('tpl/dsformlimitrequirement/dsformlimitrequirementeditTemplate.tpl'), @@ -30,7 +30,7 @@ layui.config({ afterRequirement: $("#afterRequirement").val(), rowId: parent.rowId }; - AjaxPostUtil.request({url:reqBasePath + "dsformlimitrequirement005", params:params, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformlimitrequirement005", params:params, type: 'json', callback: function(json){ if(json.returnCode == 0){ parent.layer.close(index); parent.refreshCode = '0'; diff --git a/dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementlist.js b/dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementlist.js index 0b0e5135b7028b5ad50b4cd7d48208a33f11a0d8..f39c82682eb5101b608e1cc1f4d31671e488bbcd 100644 --- a/dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementlist.js +++ b/dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementlist.js @@ -18,7 +18,7 @@ layui.config({ id: 'messageTable', elem: '#messageTable', method: 'post', - url: reqBasePath + 'dsformlimitrequirement001', + url: flowableBasePath + 'dsformlimitrequirement001', where:{requireName:$("#requireName").val(), formerRequirement:$("#formerRequirement").val(), afterRequirement:$("#afterRequirement").val()}, even:true, page: true, @@ -60,7 +60,7 @@ layui.config({ function del(data, obj){ layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){ layer.close(index); - AjaxPostUtil.request({url:reqBasePath + "dsformlimitrequirement003", params:{rowId: data.id}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsformlimitrequirement003", params:{rowId: data.id}, type: 'json', callback: function(json){ if(json.returnCode == 0){ winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); loadTable(); diff --git a/rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js b/rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js index a5a22f7cecb6e89a7fa7057b4428dac399d4ae10..ffb81563de8e085941276503998976e66e16f122 100644 --- a/rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js +++ b/rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js @@ -92,7 +92,7 @@ layui.config({ //展现形式 showGrid({ id: "dsFormContentId", - url: reqBasePath + "dsform006", + url: flowableBasePath + "dsform006", params: {}, pagination: false, template: getFileContent('tpl/template/select-option.tpl'), @@ -111,7 +111,7 @@ layui.config({ $("#dataShowModel").show(); showGrid({ id: "displayTemplateId", - url: reqBasePath + "dsformdisplaytemplate006", + url: flowableBasePath + "dsformdisplaytemplate006", params: {}, pagination: false, template: getFileContent('tpl/template/select-option.tpl'), @@ -130,7 +130,7 @@ layui.config({ }); form.on('select(selectParent)', function(data){ - AjaxPostUtil.request({url:reqBasePath + "dsform007", params:{rowId: data.value}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsform007", params:{rowId: data.value}, type: 'json', callback: function(json){ if(json.returnCode == 0){ htmlModelContent.setValue(json.bean.htmlContent); jsModelContent.setValue(json.bean.jsContent); diff --git a/rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js b/rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js index 1d7fed76cc07d12446a2b087c0c70eedecb4acde..5073424e61a7277e367cd3a6943bb17ac12baad8 100644 --- a/rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js +++ b/rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js @@ -93,7 +93,7 @@ layui.config({ $("#dataShowModel").show(); showGrid({ id: "displayTemplateId", - url: reqBasePath + "dsformdisplaytemplate006", + url: flowableBasePath + "dsformdisplaytemplate006", params: {}, pagination: false, template: getFileContent('tpl/template/select-option.tpl'), @@ -115,7 +115,7 @@ layui.config({ $("#dataShowModel").show(); showGrid({ id: "displayTemplateId", - url: reqBasePath + "dsformdisplaytemplate006", + url: flowableBasePath + "dsformdisplaytemplate006", params: {}, pagination: false, template: getFileContent('tpl/template/select-option.tpl'), @@ -138,7 +138,7 @@ layui.config({ //展现形式 showGrid({ id: "dsFormContentId", - url: reqBasePath + "dsform006", + url: flowableBasePath + "dsform006", params: {}, pagination: false, template: getFileContent('tpl/template/select-option.tpl'), @@ -161,7 +161,7 @@ layui.config({ }}); form.on('select(selectParent)', function(data){ - AjaxPostUtil.request({url:reqBasePath + "dsform007", params:{rowId: data.value}, type: 'json', callback: function(json){ + AjaxPostUtil.request({url: flowableBasePath + "dsform007", params:{rowId: data.value}, type: 'json', callback: function(json){ if(json.returnCode == 0){ htmlModelContent.setValue(json.bean.htmlContent); jsModelContent.setValue(json.bean.jsContent); diff --git a/rmprogram/src/main/resources/template/js/rmproperty/rmpropertylist.js b/rmprogram/src/main/resources/template/js/rmproperty/rmpropertylist.js index a58ca50034aa21d86b67fdbdc6ac1bdeebea39b5..151c67c9f6829b7298873ff44e683d756c9a22b9 100644 --- a/rmprogram/src/main/resources/template/js/rmproperty/rmpropertylist.js +++ b/rmprogram/src/main/resources/template/js/rmproperty/rmpropertylist.js @@ -144,7 +144,7 @@ layui.config({ //展现形式 showGrid({ id: "dsFormContentId", - url: reqBasePath + "dsform006", + url: flowableBasePath + "dsform006", params: {}, pagination: false, template: getFileContent('tpl/template/select-option.tpl'), diff --git "a/web/src/main/resources/static/\345\205\254\345\205\261\350\257\267\346\261\202" "b/web/src/main/resources/static/\345\205\254\345\205\261\350\257\267\346\261\202" index f2ebf45637194995e03f90a4dc55b6ff072e8ce2..07da3ec72fd7826371ceb160136f378946283699 100644 --- "a/web/src/main/resources/static/\345\205\254\345\205\261\350\257\267\346\261\202" +++ "b/web/src/main/resources/static/\345\205\254\345\205\261\350\257\267\346\261\202" @@ -1,7 +1,7 @@ //下拉框模板 展现形式 例如:输入框,选择框 showGrid({ id: "showModel", - url: reqBasePath + "dsform006", + url: flowableBasePath + "dsform006", params: {}, pagination: false, template: getFileContent('tpl/template/select-option.tpl'), 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 b8b0fd5aebfa670f495d6dac9dc60e1d903ce965..882f166485ee53f6deffa6da5a4c079379d9dd74 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 @@ -93,7 +93,7 @@ var dsFormUtil = { loadDsFormPageTypeByPId: function (domId, parentId){ showGrid({ id: domId, - url: reqBasePath + "dsformpagetype006", + url: flowableBasePath + "dsformpagetype006", params: {parentId: parentId, language: languageType}, pagination: false, method: "GET", @@ -116,7 +116,7 @@ var dsFormUtil = { dsFormObjectRelationCode: isNull(code) ? "" : code, dsFormObjectRelationId: isNull(dsFormObjectRelationId) ? "" : dsFormObjectRelationId }; - AjaxPostUtil.request({url: reqBasePath + "dsFormObjectRelation006", params: params, method: "GET", type: 'json', callback: function(json) { + AjaxPostUtil.request({url: flowableBasePath + "dsFormObjectRelation006", params: params, method: "GET", type: 'json', callback: function(json) { if(json.returnCode == 0) { dsFormUtil.loadDsFormItem(showBoxId, json); } else { @@ -143,7 +143,7 @@ var dsFormUtil = { } item.context = getDataUseHandlebars(item.templateContent, obj); }else if(item.associatedDataTypes == 2){//接口 - AjaxPostUtil.request({url:reqBasePath + "dsformpage011", params:{interfa: item.aData}, type: 'json', callback: function(j){ + AjaxPostUtil.request({url: flowableBasePath + "dsformpage011", params:{interfa: item.aData}, type: 'json', callback: function(j){ if(j.returnCode == 0){ var obj = JSON.parse(j.bean.aData); item.context = getDataUseHandlebars(item.templateContent, obj); @@ -210,7 +210,7 @@ var dsFormUtil = { dataJson: JSON.stringify(result), objectId: objectId } - AjaxPostUtil.request({url: reqBasePath + "dsformpage014", params: params, type: 'json', method: "POST", callback: function(json) { + AjaxPostUtil.request({url: flowableBasePath + "dsformpage014", params: params, type: 'json', method: "POST", callback: function(json) { if(json.returnCode == 0) { } else { @@ -306,7 +306,7 @@ var dsFormUtil = { * @param objectId 绑定的objectId */ loadPageShowDetailsByObjectId: function(showBoxId, objectId){ - AjaxPostUtil.request({url: reqBasePath + "dsformpage015", params: {objectId: objectId}, method: "GET", type: 'json', callback: function(json) { + AjaxPostUtil.request({url: flowableBasePath + "dsformpage015", params: {objectId: objectId}, method: "GET", type: 'json', callback: function(json) { if(json.returnCode == 0) { $.each(json.rows, function(j, bean) { var customBoxId = bean.id; @@ -350,7 +350,7 @@ var dsFormUtil = { * @param objectId 绑定的objectId */ loadPageToEditByObjectId: function(showBoxId, objectId) { - AjaxPostUtil.request({url: reqBasePath + "dsformpage015", params: {objectId: objectId}, method: "GET", type: 'json', callback: function (json) { + AjaxPostUtil.request({url: flowableBasePath + "dsformpage015", params: {objectId: objectId}, method: "GET", type: 'json', callback: function (json) { if (json.returnCode == 0) { dsFormUtil.loadDsFormItem(showBoxId, json); } else {