|
@@ -49,7 +49,7 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item v-if="form.delayType === '1'">
|
|
|
- <el-input v-model="fixedDuration" style="max-width: 300px" type="number" class="input-with-select">
|
|
|
+ <el-input v-model="fixedDuration" style="max-width: 300px" type="number" min="0" class="input-with-select">
|
|
|
<template #append>
|
|
|
<el-select v-model="fixedDurationType" style="width: 115px" @change="getLabelValue">
|
|
|
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"></el-option>
|
|
@@ -146,7 +146,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
if (extendConfig.length === 3) {
|
|
|
- this.automaticComputed = extendConfig
|
|
|
+ this.automaticComputed = this.nodeConfig.extendConfig.time
|
|
|
}
|
|
|
this.drawer = true
|
|
|
},
|
|
@@ -176,7 +176,7 @@ export default {
|
|
|
if (nodeConfig.delayType === '1') {
|
|
|
return `等待${this.fixedDuration}${this.selectedLabel}`
|
|
|
} else if (nodeConfig.delayType === '2') {
|
|
|
- return `至当天${this.automaticComputed}`
|
|
|
+ return !this.automaticComputed ? `至当天` : `至当天${this.automaticComputed}`
|
|
|
} else {
|
|
|
return false
|
|
|
}
|