伊利项目 模型转换放开epc转bpmn
This commit is contained in:
parent
3c7f0bdbb4
commit
d60479f712
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user