伊利项目 模型转换放开epc转bpmn

This commit is contained in:
qinoy 2022-12-12 13:52:00 +08:00
parent 3c7f0bdbb4
commit d60479f712

View File

@ -532,7 +532,7 @@
checkTargetMethod: '',
targetMethodArr: [
{value: 'process.flowchart',text: 'FlowChart',disabled: false},
{value: 'process.bpmn',text: 'BPMN',disabled: true},
{value: 'process.bpmn2',text: 'BPMN',disabled: false},
],
repositoryId: '',
sourceMethod: '',
@ -618,18 +618,18 @@
data.data.sourceMethod = that.modelConvertDialog.sourceMethod;
data.data.duplicateName = that.modelConvertDialog.duplicateName;
}else if (type === 'batch') {
console.log('batch',that.modelConvertDialog.repositoryIds);
// console.log('batch',that.modelConvertDialog.repositoryIds);
data.data.cmd = 'com.actionsoft.apps.coe.pal.handle_epc_to_flowchart_batch';
data.data.repositoryIds = JSON.stringify(that.modelConvertDialog.repositoryIds);
data.data.targetMethod = that.modelConvertDialog.checkTargetMethod;
data.data.sourceMethod = 'process.epc';
data.data.duplicateName = that.modelConvertDialog.duplicateName;
}
console.log('=======',data,type);
// console.log('=======',data,type);
//
awsuiAxios.post(data).then(function (ro) {
if(ro.result == 'ok') {
console.log('转换结果',ro);
// console.log('',ro);
that.$message({type: 'success',message: '转换成功'});
that.initData();
that.modelConvertDialog.loading = false;
@ -653,7 +653,7 @@
targetMethod: that.modelConvertDialog.checkTargetMethod,
}
};
console.log('modelConvertFn',that.modelConvertDialog.repositoryIds);
// console.log('modelConvertFn',that.modelConvertDialog.repositoryIds);
if (that.modelConvertDialog.type === 'single') {
data.data.cmd = 'com.actionsoft.apps.coe.pal.check_repository_name_exist';
data.data.repositoryId = that.modelConvertDialog.repositoryId;
@ -1098,7 +1098,7 @@
}
}
console.log(this.singleSelectedRepository)
// console.log(this.singleSelectedRepository)
//repository
if(undefined == this.singleSelectedRepository.id || null == this.singleSelectedRepository.id){
this.singleSelectedRepository = this.mainRepository;