2017-01-31 13:13:06 +00:00
|
|
|
import {module} from '../module';
|
2017-02-21 10:36:43 +00:00
|
|
|
import './style.css';
|
|
|
|
import './item-client';
|
2017-01-31 13:13:06 +00:00
|
|
|
|
2017-05-31 08:58:48 +00:00
|
|
|
class Controller {
|
|
|
|
search(index) {
|
|
|
|
index.filter.search = this.model.search;
|
|
|
|
index.accept();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export const NAME = 'vnClientIndex';
|
|
|
|
export const COMPONENT = {
|
|
|
|
template: require('./index.html'),
|
|
|
|
controller: Controller
|
|
|
|
};
|
|
|
|
module.component(NAME, COMPONENT);
|