@lambo-design/workflow-approve 1.0.0-beta.35 → 1.0.0-beta.37

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/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 == '30'){
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 {