@lambo-design/workflow-approve 1.0.0-beta.11 → 1.0.0-beta.12
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lambo-design/workflow-approve",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "lambo",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"axios": "^0.24.0",
|
|
14
14
|
"axios-cache-plugin": "^0.1.0",
|
|
15
|
-
"@lambo-design/shared": "^1.0.0-beta.
|
|
15
|
+
"@lambo-design/shared": "^1.0.0-beta.204",
|
|
16
16
|
"@lambo-design/core": "^4.7.1-beta.139"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
@@ -188,15 +188,15 @@ export default {
|
|
|
188
188
|
if (result.code == '200') {
|
|
189
189
|
self.loading = false
|
|
190
190
|
self.$Message.success(result.message);
|
|
191
|
-
if (
|
|
192
|
-
|
|
191
|
+
if (self.executionCompleted) {
|
|
192
|
+
self.executionCompleted(true, self.data.instanceId, self.data.taskId, auditResult, self.data.taskId);
|
|
193
193
|
}
|
|
194
194
|
self.toBeDoneListDoSearch();
|
|
195
195
|
} else {
|
|
196
196
|
self.loading = false
|
|
197
197
|
self.$Message.error(result.message)
|
|
198
|
-
if (
|
|
199
|
-
|
|
198
|
+
if (self.executionCompleted) {
|
|
199
|
+
self.executionCompleted(false, null, null, auditResult, self.data.taskId);
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
})
|
package/src/portrait.vue
CHANGED
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
@on-current-change="selectNode">
|
|
178
178
|
</Table>
|
|
179
179
|
</Modal>
|
|
180
|
-
<assigneeBox ref="assigneeHelpBox" :
|
|
180
|
+
<assigneeBox ref="assigneeHelpBox" :execution-completed="executionCompleted" @update-selected="handleSelectedUser"
|
|
181
181
|
:data="assigneeBoxData" :smart-flow-server-context="smartFlowServerContext" :upms-server-context="upmsServerContext"/>
|
|
182
182
|
<Modal v-model="modalBoxShow" width="1000" title="流程跟踪图">
|
|
183
183
|
<Workflow_Diagram ref="processTrace" :instanceId="process.instanceId" :applyId="process.applyId"
|
|
@@ -885,6 +885,7 @@ export default {
|
|
|
885
885
|
this.auditResult = '';
|
|
886
886
|
},
|
|
887
887
|
ok() {
|
|
888
|
+
let self = this;
|
|
888
889
|
this.modal = false
|
|
889
890
|
let auditResult = {
|
|
890
891
|
code: self.auditResult,
|
|
@@ -919,8 +920,8 @@ export default {
|
|
|
919
920
|
self.disable = false
|
|
920
921
|
self.$Message.success("审批成功");
|
|
921
922
|
if (self.executionCompleted) {
|
|
922
|
-
let taskIds = result.data.
|
|
923
|
-
self.executionCompleted(true, result.data
|
|
923
|
+
let taskIds = result.data.id;
|
|
924
|
+
self.executionCompleted(true, result.data.processInstanceId, taskIds, auditResult, self.taskId)
|
|
924
925
|
}
|
|
925
926
|
bus.$emit('triggerTimer')
|
|
926
927
|
}, 500)
|