|
|
@ -146,6 +146,7 @@ |
|
|
|
</template> |
|
|
|
<script setup lang="ts"> |
|
|
|
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' |
|
|
|
import { emit } from 'process' |
|
|
|
const type = ref(1)//质量通知类型 |
|
|
|
|
|
|
|
// 质量通知类型数据 |
|
|
@ -188,6 +189,7 @@ const rules3 =ref({ |
|
|
|
woContact: [required], |
|
|
|
}) |
|
|
|
const changeType =(e)=>{ |
|
|
|
emit('changeType',e) |
|
|
|
// if(e == 1){ |
|
|
|
// form.value = q1.value |
|
|
|
// }else if(e == 2){ |
|
|
@ -196,6 +198,8 @@ const changeType =(e)=>{ |
|
|
|
// form.value = form3.value |
|
|
|
// } |
|
|
|
} |
|
|
|
// 传递给父类 |
|
|
|
const emit = defineEmits(['changeType']) |
|
|
|
defineExpose({type,formRef1,formRef2,formRef3,q1,q2,q3}) |
|
|
|
</script> |
|
|
|
<style scoped lang="scss"> |
|
|
|