查询重置功能实现

This commit is contained in:
yuekuo
2023-04-14 17:14:41 +08:00
parent df4725c883
commit 4ced830d2d
6 changed files with 77 additions and 7 deletions
+5 -2
View File
@@ -18,7 +18,7 @@
</div>
</div>
<div class="tabs">
<tabs />
<tabs :tableData="tableData"/>
</div>
</div>
</template>
@@ -32,7 +32,8 @@ import tabs from '../userCenter/processCenter/tabs.vue'
},
data() {
return {
form: {}
form: {},
tableData:[]
}
},
created () {
@@ -45,10 +46,12 @@ import tabs from '../userCenter/processCenter/tabs.vue'
//查询
search() {
// this.$api.processCenter.search({})
this.tableData=[{createTime:'1999-10-1'}]
},
//重置
reset(){
this.form={}
this.tableData=[{createTime:'3000-10-1'}]
// this.$api.processCenter.reset({})
}
},