@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/dist/designer-components.css +1 -1
- package/dist/index.mjs +5044 -5062
- package/package.json +1 -1
- package/src/components/EbizApproval.vue +5 -5
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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
|
}
|