|
@@ -1,5 +1,5 @@
|
|
|
<script setup>
|
|
|
-import { ref, onMounted, toRefs, toRef, watch, watchEffect } from 'vue';
|
|
|
+import { ref, onMounted, toRefs, toRef, watch, defineExpose } from 'vue';
|
|
|
import { Message } from "@arco-design/web-vue";
|
|
|
import { Getdictionary } from '@/mixins/index.js'
|
|
|
import { createWarning, updateWarning } from '@/api/path/flowPool.api.js'
|
|
@@ -119,8 +119,8 @@ const handleDictValue = async () => {
|
|
|
earlyList.value = await Getdictionary('forewarning')
|
|
|
}
|
|
|
|
|
|
-watch(() => FormDataList.value, val => {
|
|
|
|
|
|
+const detaile = (val)=>{
|
|
|
formWarning.value.userId = val.userId;
|
|
|
formWarning.value.poolId = val.id;
|
|
|
|
|
@@ -137,9 +137,9 @@ watch(() => FormDataList.value, val => {
|
|
|
if (val.alert.id !== '') {
|
|
|
formWarning.value.id = val.alert.id
|
|
|
}
|
|
|
+}
|
|
|
|
|
|
-})
|
|
|
-
|
|
|
+defineExpose({detaile})
|
|
|
|
|
|
onMounted(() => {
|
|
|
handleDictValue()
|