diff --git a/src/views/statement/condition/index.vue b/src/views/statement/condition/index.vue index 9ab3999..971c3c1 100644 --- a/src/views/statement/condition/index.vue +++ b/src/views/statement/condition/index.vue @@ -43,6 +43,7 @@ const query =ref({ const reset =()=>{ query.value={ reportType:'all', + code:'dszd', size:10, current:1 } diff --git a/src/views/statement/conditionCollect/index.vue b/src/views/statement/conditionCollect/index.vue index f976f79..43e75e0 100644 --- a/src/views/statement/conditionCollect/index.vue +++ b/src/views/statement/conditionCollect/index.vue @@ -38,15 +38,15 @@ const getList = async ()=>{ total.value=res.total loading.value=false; } -//重置数据 -const reset =()=>{ - query.value={ - reportType:'all', - size:10, - current:1 + //重置数据 + const reset =()=>{ + query.value={ + reportType:'all', + size:10, + current:1 + } + getList(); } - getList(); -} //获取详情 const getDetail =(row)=>{ let query ={ diff --git a/src/views/statement/index.vue b/src/views/statement/index.vue index 70ed65e..6c67c40 100644 --- a/src/views/statement/index.vue +++ b/src/views/statement/index.vue @@ -39,15 +39,16 @@ const getList = async ()=>{ total.value=res.total loading.value=false; } -//重置数据 -const reset =()=>{ - query.value={ - reportType:'all', - size:10, - current:1 + //重置数据 + const reset =()=>{ + query.value={ + reportType:'all', + code:'self', + size:10, + current:1 + } + getList(); } - getList(); -} //获取详情 const getDetail =(row)=>{ let query ={