diff --git a/front/core/components/treeview/child.html b/front/core/components/treeview/child.html index 437e7ca7d..af5fe128b 100644 --- a/front/core/components/treeview/child.html +++ b/front/core/components/treeview/child.html @@ -5,7 +5,7 @@ - diff --git a/front/core/components/treeview/index.js b/front/core/components/treeview/index.js index 6449ec450..e732d4347 100644 --- a/front/core/components/treeview/index.js +++ b/front/core/components/treeview/index.js @@ -20,6 +20,7 @@ export default class Treeview extends Component { refresh() { this.model.refresh().then(() => { this.data = this.model.data; + console.log(this.data); this.repaintAll(); }); } diff --git a/modules/agency/front/index/index.js b/modules/agency/front/index/index.js index 6c2d250c5..0958059af 100644 --- a/modules/agency/front/index/index.js +++ b/modules/agency/front/index/index.js @@ -16,7 +16,7 @@ export default class Controller { case 'search': return /^\d+$/.test(value) ? {id: value} - : {name: {regexp: value}}; + : {name: {like: `%${value}%`}}; case 'warehouseFk': case 'agencyModeFk': return {[param]: value};