查询重置功能实现
This commit is contained in:
@@ -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({})
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user