@ebiz/designer-components 0.1.133 → 0.1.134

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": "@ebiz/designer-components",
3
- "version": "0.1.133",
3
+ "version": "0.1.134",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -323,7 +323,7 @@ const distributeApproversToNodes = (approvers: any) => {
323
323
  const node = nodeConfigs.value.find(n => n.collection === k)
324
324
  if (node && nodeApproverMap.value.has(node.nodeId)) {
325
325
  const nodeData = nodeApproverMap.value.get(node.nodeId)!
326
- if (approvers[k].length > 0 && (k === 'approverList' || node.needManualConfig)) {
326
+ if (approvers[k].length > 0 && (k === 'approverList' || node.needManualConfig) && node.ruleType !== 'user') {
327
327
  nodeData.approvers = []
328
328
  nodeData.selectedIds = []
329
329
  approvers[k].forEach((info: Employee) => {
@@ -407,9 +407,9 @@ const fetchEmployeeList = async () => {
407
407
  try {
408
408
  const response = await dataService.fetch({}, {}, '/process/userList')
409
409
  employeeList.value = response || []
410
- if (props.id) {
411
- fetchHistory()
412
- }
410
+ // if (props.id) {
411
+ // fetchHistory()
412
+ // }
413
413
  } catch (error) {
414
414
  employeeList.value = []
415
415
  }
@@ -537,7 +537,7 @@ const autoFill = () => {
537
537
  }
538
538
 
539
539
  onMounted(() => {
540
- fetchEmployeeList()
540
+ // fetchEmployeeList()
541
541
  if (props.workFlowKey) {
542
542
  fetchProcessConfig().then(autoFill)
543
543
  }