feat:前后定义 的空值置换数组
This commit is contained in:
@ -750,6 +750,9 @@ const deletePrequalifyAfterEvent = (index) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const addGlobalFinishBeforeEvent = () => {
|
const addGlobalFinishBeforeEvent = () => {
|
||||||
|
if(!processInfo.value.globalFinishBeforeEventConfigs) {
|
||||||
|
processInfo.value.globalFinishBeforeEventConfigs = [];
|
||||||
|
}
|
||||||
processInfo.value.globalFinishBeforeEventConfigs.push({
|
processInfo.value.globalFinishBeforeEventConfigs.push({
|
||||||
type: NodeEventExType.API,
|
type: NodeEventExType.API,
|
||||||
apiConfig: {},
|
apiConfig: {},
|
||||||
@ -761,6 +764,9 @@ const deleteFinishBeforeEvent = (index) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const addGlobalRejectAfterEvent = () => {
|
const addGlobalRejectAfterEvent = () => {
|
||||||
|
if(!processInfo.value.globalRejectAfterEventConfigs) {
|
||||||
|
processInfo.value.globalRejectAfterEventConfigs = [];
|
||||||
|
}
|
||||||
processInfo.value.globalRejectAfterEventConfigs.push({
|
processInfo.value.globalRejectAfterEventConfigs.push({
|
||||||
type: NodeEventExType.API,
|
type: NodeEventExType.API,
|
||||||
apiConfig: {},
|
apiConfig: {},
|
||||||
@ -772,6 +778,9 @@ const deleteRejectAfterEvent = (index) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const addGlobalAgreeAfterEvent = () => {
|
const addGlobalAgreeAfterEvent = () => {
|
||||||
|
if(!processInfo.value.globalAgreeAfterEventConfigs) {
|
||||||
|
processInfo.value.globalAgreeAfterEventConfigs = [];
|
||||||
|
}
|
||||||
processInfo.value.globalAgreeAfterEventConfigs.push({
|
processInfo.value.globalAgreeAfterEventConfigs.push({
|
||||||
type: NodeEventExType.API,
|
type: NodeEventExType.API,
|
||||||
apiConfig: {},
|
apiConfig: {},
|
||||||
@ -783,6 +792,9 @@ const deleteAgreeAfterEvent = (index) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const addGlobalSuspendedBeforeEvent = () => {
|
const addGlobalSuspendedBeforeEvent = () => {
|
||||||
|
if(!processInfo.value.globalSuspendedBeforeEventConfigs) {
|
||||||
|
processInfo.value.globalSuspendedBeforeEventConfigs = [];
|
||||||
|
}
|
||||||
processInfo.value.globalSuspendedBeforeEventConfigs.push({
|
processInfo.value.globalSuspendedBeforeEventConfigs.push({
|
||||||
type: NodeEventExType.API,
|
type: NodeEventExType.API,
|
||||||
apiConfig: {},
|
apiConfig: {},
|
||||||
@ -794,6 +806,9 @@ const deleteSuspendedBeforeEvent = (index) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const addGlobalRestoreAfterEvent = () => {
|
const addGlobalRestoreAfterEvent = () => {
|
||||||
|
if(!processInfo.value.globalRestoreAfterEventConfigs) {
|
||||||
|
processInfo.value.globalRestoreAfterEventConfigs = [];
|
||||||
|
}
|
||||||
processInfo.value.globalRestoreAfterEventConfigs.push({
|
processInfo.value.globalRestoreAfterEventConfigs.push({
|
||||||
type: NodeEventExType.API,
|
type: NodeEventExType.API,
|
||||||
apiConfig: {},
|
apiConfig: {},
|
||||||
@ -805,6 +820,9 @@ const deleteRestoreAfterEvent = (index) => {
|
|||||||
};
|
};
|
||||||
// 全局会签事件添加
|
// 全局会签事件添加
|
||||||
const addGlobalSetSignAfterEvent = () => {
|
const addGlobalSetSignAfterEvent = () => {
|
||||||
|
if(!processInfo.value.globalSetSignAfterEventConfigs) {
|
||||||
|
processInfo.value.globalSetSignAfterEventConfigs = [];
|
||||||
|
}
|
||||||
processInfo.value.globalSetSignAfterEventConfigs.push({
|
processInfo.value.globalSetSignAfterEventConfigs.push({
|
||||||
type: NodeEventExType.API,
|
type: NodeEventExType.API,
|
||||||
apiConfig: {},
|
apiConfig: {},
|
||||||
|
|||||||
Reference in New Issue
Block a user