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/SysMng/ViewJs/SysTask/SysTaskModel.js

75 lines
2.5 KiB
JavaScript

3 years ago
Ext.define('SysTaskStatemb', {
extend: 'Ext.data.Model',
idProperty: 'ID',
fields: [
{ name: 'ID', type: 'string' },
{ name: 'STATEKEY', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'PROP1', type: 'string' },
{ name: 'PROP2', type: 'string' },
{ name: 'PROP3', type: 'string' },
{ name: 'PROP4', type: 'string' },
{ name: 'PROP5', type: 'string' },
{ name: 'NAMEREF', type: 'string' }
]
});
Ext.define('SysTaskExecutionmb', {
extend: 'Ext.data.Model',
idProperty: 'ID',
fields: [
{ name: 'ID', type: 'string' },
{ name: 'STATEKEY', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'PROP1', type: 'string' },
{ name: 'PROP2', type: 'string' },
{ name: 'PROP3', type: 'string' },
{ name: 'PROP4', type: 'string' },
{ name: 'PROP5', type: 'string' },
{ name: 'NAMEREF', type: 'string' }
]
});
Ext.define('SysTaskProgressIndexmb', {
extend: 'Ext.data.Model',
idProperty: 'ID',
fields: [
{ name: 'ID', type: 'string' },
{ name: 'EXECUTIONID', type: 'string' },
{ name: 'EXECUTIONREF', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'CURRENTSTATEID', type: 'string' },
{ name: 'CURRENTSTATEREF', type: 'string' },
{ name: 'FINISHSTATEID', type: 'string' },
{ name: 'FINISHSTATEREF', type: 'string' },
{ name: 'PROP1', type: 'string' },
{ name: 'PROP2', type: 'string' },
{ name: 'PROP3', type: 'string' },
{ name: 'PROP4', type: 'string' },
{ name: 'PROP5', type: 'string' }
]
});
Ext.define('SysRolemb', {
extend: 'Ext.data.Model',
idProperty: 'ID',
fields: [
{ name: 'ID', type: 'string' },
{ name: 'GID', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'datetime' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' },
{ name: 'STATE', type: 'string' },
{ name: 'STATE_ref', type: 'string' },
{ name: 'SORT', type: 'string' },
{ name: 'DEPTID', type: 'string' },
{ name: 'DEPT_ref', type: 'string' },
{ name: 'TimeMark', type: 'string' }
]
});