@lambo-design/workflow-approve 1.0.0-beta.35 → 1.0.0-beta.36
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 +2 -2
- package/src/components/candidate-groups-box.vue +2072 -2072
- package/src/components/history.vue +400 -395
- package/src/portrait.vue +6 -2
- package/src/workflow-diagram.vue +378 -377
package/src/portrait.vue
CHANGED
|
@@ -658,7 +658,11 @@ export default {
|
|
|
658
658
|
render: (h, {row, column, index}) => {
|
|
659
659
|
let label = "";
|
|
660
660
|
let tagColor = "";
|
|
661
|
-
if (row.auditResult == '
|
|
661
|
+
if (row.auditResult == '00'){
|
|
662
|
+
label = '流程发起';
|
|
663
|
+
tagColor = 'green'; // 绿色
|
|
664
|
+
}
|
|
665
|
+
else if (row.auditResult == '30'){
|
|
662
666
|
label = '通过';
|
|
663
667
|
tagColor = 'green'; // 绿色
|
|
664
668
|
}
|
|
@@ -1172,7 +1176,7 @@ export default {
|
|
|
1172
1176
|
}
|
|
1173
1177
|
})
|
|
1174
1178
|
} else {
|
|
1175
|
-
if (!self.handleButtons || self.handleButtons.includes('appointHandler') || self.handleButtons.includes('appointTimeoutTime')){
|
|
1179
|
+
if (self.auditResult === '30' && (!self.handleButtons || self.handleButtons.includes('appointHandler') || self.handleButtons.includes('appointTimeoutTime'))){
|
|
1176
1180
|
self.getNextNodes()
|
|
1177
1181
|
self.appointBoxShow = true
|
|
1178
1182
|
} else {
|