@lambo-design/workflow-approve 1.0.0-beta.111 → 1.0.0-beta.113
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 +3 -3
- package/src/workflow-diagram.vue +17 -15
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.113",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "lambo",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"axios": "^0.24.0",
|
|
14
14
|
"axios-cache-plugin": "^0.1.0",
|
|
15
|
-
"@lambo-design/
|
|
16
|
-
"@lambo-design/
|
|
15
|
+
"@lambo-design/core": "^4.7.1-beta.171",
|
|
16
|
+
"@lambo-design/shared": "^1.0.0-beta.316"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"bpmn-js": "^7.3.1",
|
package/src/workflow-diagram.vue
CHANGED
|
@@ -184,18 +184,20 @@ export default {
|
|
|
184
184
|
type: Array,
|
|
185
185
|
default: () => {
|
|
186
186
|
return [
|
|
187
|
-
{
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
},
|
|
198
|
-
{title: '节点', key: 'taskName', minWidth: 130, tree: true},
|
|
187
|
+
// {
|
|
188
|
+
// title: '序号',
|
|
189
|
+
// width: 60,
|
|
190
|
+
// render: (h, {row, index}) => {
|
|
191
|
+
// // 子节点不显示序号
|
|
192
|
+
// if (row._isChildNode) {
|
|
193
|
+
// return h('span', '');
|
|
194
|
+
// }
|
|
195
|
+
// return h('span', index + 1);
|
|
196
|
+
// }
|
|
197
|
+
// },
|
|
198
|
+
// {title: '节点', key: 'taskName', minWidth: 130, tree: true},
|
|
199
|
+
{title: '序号', type: 'index', width: 60},
|
|
200
|
+
{title: '节点', key: 'taskName', minWidth: 130},
|
|
199
201
|
{title: '办理人', key: 'auditName', minWidth: 150, tooltip: true},
|
|
200
202
|
{
|
|
201
203
|
title: '结果', key: 'auditResult', minWidth: 150,
|
|
@@ -455,9 +457,9 @@ export default {
|
|
|
455
457
|
canvas.zoom("fit-viewport", "auto");
|
|
456
458
|
var eventBus = this.bpmnViewer.get("eventBus");
|
|
457
459
|
const getDetailData = () => {
|
|
458
|
-
if (Array.isArray(self.hisAudit) && self.hisAudit.length > 0) {
|
|
459
|
-
|
|
460
|
-
}
|
|
460
|
+
// if (Array.isArray(self.hisAudit) && self.hisAudit.length > 0) {
|
|
461
|
+
// return self.hisAudit;
|
|
462
|
+
// }
|
|
461
463
|
return Array.isArray(self.tableData) ? self.tableData : [];
|
|
462
464
|
};
|
|
463
465
|
// eventBus.on('element.click', function (evt) {
|