All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.sys.dict.dict-index.js Maven / Gradle / Ivy

The newest version!
define(['text!sys/dict/dict-index.html'], function (Template) {
    var component = {
        template: Template,
        components: {
            'group': function (resolve) {
                require(['sys/dict/dict-group'], resolve);
            },
            'item': function (resolve) {
                require(['sys/dict/dict-item'], resolve);
            }
        },
        methods: {
            searchItem: function (groupRow) {
                var item = this.$refs.item;
                item.cacheDictId(groupRow.id)
                item.search();
            }
        }
    };

    return {
        component: component         //返回组件
    }

});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy