sasp-flow-render 1.1.31-decoupling → 1.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +0 -16
- package/package.json +1 -1
- package/src/assets/js/api/apiFlow.js +0 -2
- package/src/components/flowInst/flowInstTab.vue +2471 -261
- package/src/views/popup/event/compoment/system/flowEditContentConfig.vue +1 -2
- package/src/views/popup/event/js/loadFlowEventPlugin.js +14 -15
- package/src/components/flowInst/js/workflow.js +0 -2396
- package/src/components/flowInst/popup/flowDialog.vue +0 -1085
- package/src/components/flowInst/popup/renderForm.vue +0 -19
package/index.js
CHANGED
|
@@ -17,9 +17,6 @@ import axios from 'axios';
|
|
|
17
17
|
import qs from "qs";
|
|
18
18
|
import flowInstView from './src/views/flowInstView';
|
|
19
19
|
import {isAxiosFormData, SaspModuleUtil} from "sasp-base";
|
|
20
|
-
import flowDialog from "./src/components/flowInst/popup/flowDialog.vue";
|
|
21
|
-
import workflowEngine from "./src/components/flowInst/js/workflow.js";
|
|
22
|
-
|
|
23
20
|
/**
|
|
24
21
|
* 注册复合视图组件
|
|
25
22
|
* @param Vue
|
|
@@ -122,18 +119,6 @@ let initAxios = (Vue, props) => {
|
|
|
122
119
|
);
|
|
123
120
|
};
|
|
124
121
|
|
|
125
|
-
let loadFlowDialog = (Vue,opts) => {
|
|
126
|
-
// 创建 Dialog 实例并挂载到 body
|
|
127
|
-
const DialogConstructor = Vue.extend(flowDialog);
|
|
128
|
-
let router = opts.router;
|
|
129
|
-
const instance = new DialogConstructor({router}).$mount();
|
|
130
|
-
document.body.appendChild(instance.$el);
|
|
131
|
-
|
|
132
|
-
// 将实例挂载到 Vue 原型,方便全局调用
|
|
133
|
-
Vue.prototype.$flowDialog = instance;
|
|
134
|
-
Vue.prototype.WORK_FLOW_UTIL = workflowEngine.workflow;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
122
|
const install = function (Vue, opts = {}) {
|
|
138
123
|
SaspModuleUtil.registerModuleName(Vue, "flow");
|
|
139
124
|
window.FLOW_RENDER_URL = opts.SERVICE_URL || window.JAVA_URL;
|
|
@@ -145,7 +130,6 @@ const install = function (Vue, opts = {}) {
|
|
|
145
130
|
|
|
146
131
|
initAxios(Vue, opts);
|
|
147
132
|
initViewData(Vue, opts);
|
|
148
|
-
loadFlowDialog(Vue,opts);
|
|
149
133
|
|
|
150
134
|
components.forEach(component => {
|
|
151
135
|
Vue.component(component.name, component);
|
package/package.json
CHANGED
|
@@ -165,7 +165,6 @@ let objResult = {
|
|
|
165
165
|
batchUpdateFlowStatus:"/plFlowInstController/batchUpdateFlowStatus", //新版流程批量处理的批量修改流程状态
|
|
166
166
|
batchExecuteNextStep:"/plFlowInstController/batchExecuteNextStep", //新版流程批量处理的批量执行下一步
|
|
167
167
|
recoverNode:"/plFlowInstController/recoverNode", //恢复指定节点
|
|
168
|
-
getFlowInstByFlowDataId:"/plFlowInstController/getFlowInstByFlowDataId", // 根据表单id及流程id获取流程实例
|
|
169
168
|
},
|
|
170
169
|
|
|
171
170
|
plFlowSetting:{
|
|
@@ -251,7 +250,6 @@ let objResult = {
|
|
|
251
250
|
saveDataFlowDrafts: "/flowEngine/saveDataFlowDrafts",
|
|
252
251
|
startFlow: "/flowEngine/startFlow",
|
|
253
252
|
completeTask: "/flowEngine/completeTask",
|
|
254
|
-
saveFlowDraft: "/flowEngine/saveFlowDraft",
|
|
255
253
|
}
|
|
256
254
|
};
|
|
257
255
|
|