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.
DS7/DSWeb/Areas/MvcShipping/Viewsjs/MsUserAuthority/MsUserAuthorityModel.js

52 lines
1.8 KiB
JavaScript

3 years ago
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: 'VSSQL', 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',
fields: [
{ name: 'id', type: 'string' },
{ 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' },
{ name: 'PARENTID', type: 'string' },
{ name: 'leaf', type: 'bool' },
{ name: 'expanded', type: 'bool' },
{ name: 'checked', type: 'bool' }
]
});