You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.6 KiB
JavaScript

Ext.define('MsUserAuthority', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'USERID', type: 'string' },
{ name: 'VISIBLERANGE', type: 'string' },
{ name: 'VISIBLERANGEREF', type: 'string' },
{ name: 'OPERATERANGE', type: 'string' },
{ name: 'OPERATERANGEREF', type: 'string' },
{ name: 'AUTHORITYID', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'NAME', type: 'string' }
]
});
Ext.define('MsUserAuthorityCompany', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'USERID', type: 'string' },
{ name: 'COMPANY', type: 'string' },
{ name: 'COMPANYID', type: 'string' },
{ name: 'OPERATERANGE', type: 'boolean' },
{ name: 'VISIBLERANGE', type: 'boolean' },
{ name: 'AUTHORITYID', type: 'string' }
]
});
Ext.define('MsUserAuthorityOp', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'USERID', type: 'string' },
{ name: 'OPNAME', type: 'string' },
{ name: 'DEPTNAME', type: 'string' },
{ name: 'OPID', type: 'string' },
{ name: 'OPERATERANGE', type: 'boolean' },
{ name: 'VISIBLERANGE', type: 'boolean' },
{ name: 'AUTHORITYID', type: 'string' }
]
});