接口对接
This commit is contained in:
@@ -40,17 +40,22 @@ import tabs from '../userCenter/processCenter/tabs.vue'
|
||||
;
|
||||
},
|
||||
mounted () {
|
||||
;
|
||||
},
|
||||
this.$bus.$on('clearForm',()=>{
|
||||
this.form={}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
//查询
|
||||
search() {
|
||||
this.$bus.$emit('getSearchItem',this.form)
|
||||
// this.$api.processCenter.search({})
|
||||
this.tableData=[{createTime:'1999-10-1'}]
|
||||
},
|
||||
//重置
|
||||
reset(){
|
||||
this.form={}
|
||||
this.$forceUpdate()
|
||||
this.$bus.$emit('getSearchItem',this.form)
|
||||
this.tableData=[{createTime:'3000-10-1'}]
|
||||
// this.$api.processCenter.reset({})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user