|
@@ -49,7 +49,6 @@
|
|
const hideSearch = ref(false)
|
|
const hideSearch = ref(false)
|
|
const emit = defineEmits();
|
|
const emit = defineEmits();
|
|
const load = ref(false)
|
|
const load = ref(false)
|
|
- const timeNum = ref(0)
|
|
|
|
const modalShow = ref(false)
|
|
const modalShow = ref(false)
|
|
const config = ref({})
|
|
const config = ref({})
|
|
const calculateCount = ref(0)
|
|
const calculateCount = ref(0)
|
|
@@ -148,6 +147,13 @@
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ const setFormValue = data => {
|
|
|
|
+ nextTick(() => {
|
|
|
|
+ if(that.$refs[formID.value]){
|
|
|
|
+ that.$refs[formID.value].setValue(data);
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
//清除搜索条件
|
|
//清除搜索条件
|
|
const clearSearch = () => {
|
|
const clearSearch = () => {
|
|
that.$refs[searchID].value.clearValue();
|
|
that.$refs[searchID].value.clearValue();
|
|
@@ -279,7 +285,7 @@
|
|
emit('resert')
|
|
emit('resert')
|
|
}
|
|
}
|
|
defineExpose({
|
|
defineExpose({
|
|
- getConfig,setConfig,resertHandle,onRefresh,getQuery,toggleSearch,initFormTool,getFormValue,getFormValidate,setPage,getPage,setTableValue,clearCheckboxRow,getSelectData,closeModal,clearSearch,setTableConfig,initTable
|
|
|
|
|
|
+ getConfig,setConfig,resertHandle,onRefresh,getQuery,toggleSearch,initFormTool,getFormValue,getFormValidate,setPage,getPage,setTableValue,clearCheckboxRow,getSelectData,closeModal,clearSearch,setTableConfig,initTable,setFormValue
|
|
})
|
|
})
|
|
|
|
|
|
if(props.propConfig){
|
|
if(props.propConfig){
|