优化diamante

This commit is contained in:
java110 2021-08-17 14:08:18 +08:00
parent 486f6fdf84
commit 31c8c92eba
8 changed files with 3561 additions and 1822 deletions

View File

@ -10,7 +10,7 @@ var ACTIVITI = ACTIVITI || {};
ACTIVITI.CONFIG = {
'onPremise' : true,
'contextRoot' : '/',
'contextRoot' : '/app/activiti',
'webContextRoot' : '/activiti-app'
};
/*

View File

@ -18,7 +18,7 @@ KISBPM.URL = {
},
getStencilSet: function() {
return ACTIVITI.CONFIG.contextRoot + '/editor/stencilset?version=' + Date.now();
return '/stencilset.json?version=' + Date.now();
},
putModel: function(modelId) {

View File

@ -8286,7 +8286,7 @@ ORYX.Core.StencilSet.StencilSet = Clazz.extend({
this._baseUrl = "editor/stencilsets/bpmn2.0/";
this._source = "stencilsets/bpmn2.0/bpmn2.0.json";
new Ajax.Request(ACTIVITI.CONFIG.contextRoot + "/editor/stencilset?version=" + Date.now(), {
new Ajax.Request("/stencilset.json?version=" + Date.now(), {
asynchronous: false,
method: 'get',
onSuccess: this._init.bind(this),

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

1818
public/i18n/en_01.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -70,11 +70,15 @@
<tr v-for="oaWorkflow in oaWorkflowManageInfo.oaWorkflows">
<td class="text-center">{{oaWorkflow.flowId}}</td>
<td class="text-center">{{oaWorkflow.flowName}}</td>
<td class="text-center">{{oaWorkflow.flowType}}</td>
<td class="text-center">{{oaWorkflow.flowType == '1001'?'普通流程':'未知'}}</td>
<td class="text-center">{{oaWorkflow.modelId}}</td>
<td class="text-center">{{oaWorkflow.flowKey}}</td>
<td class="text-center">{{oaWorkflow.createTime}}</td>
<td class="text-center">
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openWorkflowEditorApp(oaWorkflow)">流程</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openEditOaWorkflowModel(oaWorkflow)">修改</button>

View File

@ -76,6 +76,9 @@
} else {
vc.component.oaWorkflowManageInfo.moreCondition = true;
}
},
_openWorkflowEditorApp:function(_oaWorkflow){
window.open('/editorIndex.html#/editor/'+_oaWorkflow.modelId);
}