|
@@ -51,6 +51,15 @@ const confirmClick = (value: DataSelectionItem) => {
|
|
|
|
|
|
dataSelectionRef.value?.hideView();
|
|
dataSelectionRef.value?.hideView();
|
|
};
|
|
};
|
|
|
|
+const addPerformAction = () => {
|
|
|
|
+ props.form.alarmNotifyMethod = undefined;
|
|
|
|
+ props.form.alarmContact = undefined;
|
|
|
|
+ props.form.alarmAlertContent = undefined;
|
|
|
|
+ props.form.alarmWaitTime = undefined;
|
|
|
|
+ props.form.paramCode = '';
|
|
|
|
+ props.form.alarmAdjustmentValue = '';
|
|
|
|
+ props.form.paramName = '';
|
|
|
|
+};
|
|
|
|
|
|
const deleteExecutionConditions = () => {
|
|
const deleteExecutionConditions = () => {
|
|
emit('deleteClick', props.index);
|
|
emit('deleteClick', props.index);
|
|
@@ -77,6 +86,7 @@ defineExpose({
|
|
:options="executionAction"
|
|
:options="executionAction"
|
|
:field-names="{ label: 'dictValue', value: 'dictEngValue' }"
|
|
:field-names="{ label: 'dictValue', value: 'dictEngValue' }"
|
|
:placeholder="t('common.plzSelect')"
|
|
:placeholder="t('common.plzSelect')"
|
|
|
|
+ @change="addPerformAction"
|
|
/>
|
|
/>
|
|
</AFormItem>
|
|
</AFormItem>
|
|
<AFormItem
|
|
<AFormItem
|
|
@@ -119,7 +129,6 @@ defineExpose({
|
|
class="select-input select-right"
|
|
class="select-input select-right"
|
|
v-model:value="form.alarmWaitTime"
|
|
v-model:value="form.alarmWaitTime"
|
|
format="mm:ss"
|
|
format="mm:ss"
|
|
- value-format="mm:ss"
|
|
|
|
:allow-clear="false"
|
|
:allow-clear="false"
|
|
/>
|
|
/>
|
|
</AFormItem>
|
|
</AFormItem>
|