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