Ext.define('MsCrmKeyCodeSetModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ {name: 'ID', type: 'string' }, //ID {name: 'KEYTYPE', type: 'string' }, //上级ID { name: 'KEYVALUE', type: 'string' }, //上级ID { name: 'KEYVALUE2', type: 'string' } //值 //值 ] }); Ext.define('Sys_EnumerationModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'VALUE', type: 'string' }, { name: 'NAME', type: 'string' }, { name: 'TYPE', type: 'string' } ] });