nimeijian 2019-12-26
1.文件CCFlow\WF\Admin\CCBPMDesigner\NewFlow.htm 中 //要返回的json. function getNewFlowInfo() { return { FlowName: $(‘#TB_FlowName‘).val(), TreeFlowSort: GetQueryString(‘sort‘), FlowSort: flowSort, DataStoreModel: 1, PTable: $(‘#TB_PTable‘).val(), FlowMark: $(‘#TB_FlowMark‘).val(), FlowFrmType: $(‘#DDL_FlowFrmType‘).val(), FrmUrl: $(‘#TB_URL‘).val(), RunModel: model, FlowVersion: 1 }; } 改为 //要返回的json. function getNewFlowInfo() { return { FlowName: $(‘#TB_FlowName‘).val(), TreeFlowSort: GetQueryString(‘sort‘), FlowSort: flowSort, DataStoreModel: 0, PTable: $(‘#TB_PTable‘).val(), FlowMark: $(‘#TB_FlowMark‘).val(), FlowFrmType: $(‘#DDL_FlowFrmType‘).val(), FrmUrl: $(‘#TB_URL‘).val(), RunModel: model, FlowVersion: 1 }; } 2.文件components\bp.wf\httphandler\wf_admin_ccbpmdesigner.cs 中 string flowNo = BP.WF.Template.TemplateGlo.NewFlow(FlowSort, FlowName, Template.DataStoreModel.SpecTable, PTable, FlowMark, FlowVersion); 改为 string flowNo = BP.WF.Template.TemplateGlo.NewFlow(FlowSort, FlowName, (Template.DataStoreModel)DataStoreModel, PTable, FlowMark, FlowVersion);