mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化diamante
This commit is contained in:
parent
486f6fdf84
commit
31c8c92eba
@ -10,7 +10,7 @@ var ACTIVITI = ACTIVITI || {};
|
|||||||
|
|
||||||
ACTIVITI.CONFIG = {
|
ACTIVITI.CONFIG = {
|
||||||
'onPremise' : true,
|
'onPremise' : true,
|
||||||
'contextRoot' : '/',
|
'contextRoot' : '/app/activiti',
|
||||||
'webContextRoot' : '/activiti-app'
|
'webContextRoot' : '/activiti-app'
|
||||||
};
|
};
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -18,7 +18,7 @@ KISBPM.URL = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getStencilSet: function() {
|
getStencilSet: function() {
|
||||||
return ACTIVITI.CONFIG.contextRoot + '/editor/stencilset?version=' + Date.now();
|
return '/stencilset.json?version=' + Date.now();
|
||||||
},
|
},
|
||||||
|
|
||||||
putModel: function(modelId) {
|
putModel: function(modelId) {
|
||||||
|
|||||||
@ -8286,7 +8286,7 @@ ORYX.Core.StencilSet.StencilSet = Clazz.extend({
|
|||||||
this._baseUrl = "editor/stencilsets/bpmn2.0/";
|
this._baseUrl = "editor/stencilsets/bpmn2.0/";
|
||||||
this._source = "stencilsets/bpmn2.0/bpmn2.0.json";
|
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,
|
asynchronous: false,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
onSuccess: this._init.bind(this),
|
onSuccess: this._init.bind(this),
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
3374
public/i18n/en.json
3374
public/i18n/en.json
File diff suppressed because it is too large
Load Diff
1818
public/i18n/en_01.json
Normal file
1818
public/i18n/en_01.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -70,11 +70,15 @@
|
|||||||
<tr v-for="oaWorkflow in oaWorkflowManageInfo.oaWorkflows">
|
<tr v-for="oaWorkflow in oaWorkflowManageInfo.oaWorkflows">
|
||||||
<td class="text-center">{{oaWorkflow.flowId}}</td>
|
<td class="text-center">{{oaWorkflow.flowId}}</td>
|
||||||
<td class="text-center">{{oaWorkflow.flowName}}</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.modelId}}</td>
|
||||||
<td class="text-center">{{oaWorkflow.flowKey}}</td>
|
<td class="text-center">{{oaWorkflow.flowKey}}</td>
|
||||||
<td class="text-center">{{oaWorkflow.createTime}}</td>
|
<td class="text-center">{{oaWorkflow.createTime}}</td>
|
||||||
<td class="text-center">
|
<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">
|
<div class="btn-group">
|
||||||
<button class="btn-white btn btn-xs"
|
<button class="btn-white btn btn-xs"
|
||||||
v-on:click="_openEditOaWorkflowModel(oaWorkflow)">修改</button>
|
v-on:click="_openEditOaWorkflowModel(oaWorkflow)">修改</button>
|
||||||
|
|||||||
@ -76,6 +76,9 @@
|
|||||||
} else {
|
} else {
|
||||||
vc.component.oaWorkflowManageInfo.moreCondition = true;
|
vc.component.oaWorkflowManageInfo.moreCondition = true;
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
_openWorkflowEditorApp:function(_oaWorkflow){
|
||||||
|
window.open('/editorIndex.html#/editor/'+_oaWorkflow.modelId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user