bug
This commit is contained in:
		| @@ -115,6 +115,11 @@ export default { | ||||
|   }, | ||||
|   mounted() {}, | ||||
|   methods: { | ||||
|     getListInit() { | ||||
|       this.data = [] | ||||
|       this.current = 1 | ||||
|       this.getList() | ||||
|     }, | ||||
|     getList() { | ||||
|       this.$http | ||||
|         .post('/app/appvisitvondolence/list', null, { | ||||
| @@ -140,17 +145,14 @@ export default { | ||||
|     areaSelect(e) { | ||||
|       this.data = [] | ||||
|       this.areaId = e | ||||
|       this.current = 1 | ||||
|       this.getList() | ||||
|       this.getListInit() | ||||
|     }, | ||||
|  | ||||
|     change(index) { | ||||
|       this.data = [] | ||||
|       this.areaId = this.user.areaId | ||||
|       this.keyword = '' | ||||
|       this.currentTabs = index | ||||
|       this.current = 1 | ||||
|       this.getList() | ||||
|       this.getListInit() | ||||
|     }, | ||||
|  | ||||
|     goDetail(item, hint) { | ||||
| @@ -183,21 +185,19 @@ export default { | ||||
|       this.$http.post(`/app/appvisitvondolence/delete?ids=${this.deletId}`).then((res) => { | ||||
|         if (res.code == 0) { | ||||
|           this.$u.toast('删除成功!') | ||||
|           this.getList() | ||||
|           this.getListInit() | ||||
|         } | ||||
|       }) | ||||
|     }, | ||||
|  | ||||
|     handerSearch(e) { | ||||
|       this.keyword = e | ||||
|       this.current = 1 | ||||
|       this.getList() | ||||
|       this.getListInit() | ||||
|     }, | ||||
|  | ||||
|     handerClear() { | ||||
|       this.keyword = '' | ||||
|       this.current = 1 | ||||
|       this.getList() | ||||
|       this.getListInit() | ||||
|     }, | ||||
|  | ||||
|     previewImage(images, img) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user