|
@ -134,6 +134,7 @@ |
|
|
@selectChangeDetail="selectChangeDetail" |
|
|
@selectChangeDetail="selectChangeDetail" |
|
|
:formTypeDetail="formTypeDetail" |
|
|
:formTypeDetail="formTypeDetail" |
|
|
:countPlanAllList="countPlanAllList" |
|
|
:countPlanAllList="countPlanAllList" |
|
|
|
|
|
@onChange="detailBasicFormOnChange" |
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
@ -581,7 +582,8 @@ const emit = defineEmits([ |
|
|
'selectChangeDetail', |
|
|
'selectChangeDetail', |
|
|
'detailOpenForm', |
|
|
'detailOpenForm', |
|
|
'tableFormButton', |
|
|
'tableFormButton', |
|
|
'openImage' |
|
|
'openImage', |
|
|
|
|
|
'detailBasicFormOnChange' |
|
|
]) |
|
|
]) |
|
|
/** 删除按钮操作 */ |
|
|
/** 删除按钮操作 */ |
|
|
const handleDelete = async (id: number) => { |
|
|
const handleDelete = async (id: number) => { |
|
@ -630,6 +632,14 @@ const selectChangeDetail = (field, val) => { |
|
|
const openImage=(item)=>{ |
|
|
const openImage=(item)=>{ |
|
|
emit('openImage', item) |
|
|
emit('openImage', item) |
|
|
} |
|
|
} |
|
|
|
|
|
/** |
|
|
|
|
|
* 监听改变事件 |
|
|
|
|
|
* @param field 当前操作字段 |
|
|
|
|
|
* @param cur 改变后值 |
|
|
|
|
|
*/ |
|
|
|
|
|
const detailBasicFormOnChange = (field, cur) => { |
|
|
|
|
|
emit('detailBasicFormOnChange', field, cur) |
|
|
|
|
|
} |
|
|
//监视属性 |
|
|
//监视属性 |
|
|
watch( |
|
|
watch( |
|
|
() => props.apiPage, |
|
|
() => props.apiPage, |
|
|