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

META-INF.resources.modules.sys.dictionary.ctrl.dictionary.js Maven / Gradle / Ivy

There is a newer version: 5.0.2101
Show newest version
define(function (require) {
  var Page = require('core/page');

  var DictionaryAdd = require('../ctrl/dictionary.add');
  var DictionaryEdit = require('../ctrl/dictionary.edit');
  var DictionaryItem = require('../ctrl/dictionary.item');
  var DictionaryRemove = require('../ctrl/dictionary.remove');

  // 数据字典列表
  return Page.extend(function () {
    this.injecte([
      new DictionaryAdd('dictionary_add'),
      new DictionaryEdit('dictionary_edit'),
      new DictionaryItem('dictionary_item'),
      new DictionaryRemove('dictionary_remove')
    ]);

    this.isAdmin = false;

    // @override
    this.load = function (panel) {
      this.$autoHeight();
      this.table = panel.find('table').cdatagrid({
        controller: this
      });
    };
  });
});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy