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/OA/Viewsjs/WorkFlow/WorkFlowModel.js

83 lines
2.9 KiB
JavaScript

Ext.define('WorkFlowmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'TYPE', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATEUSER_REF', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDUSER_REF', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' },
{ name: 'COMPANYID', type: 'string' },
{ name: 'COMPANY_REF', type: 'string' },
{ name: 'ISCONDITION', type: 'bool' },
{ name: 'SORTNO', type: 'number' },
{ name: 'CONDITIONSQL', type: 'string' },
{ name: 'ISDEFAULT', type: 'string' }/*,
{ name: 'DEPTGID', type: 'string' },
{ name: 'DEPT_REF', type: 'string' }*/
]
});
Ext.define('WorkFlowTypemb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'NAME', type: 'string' },
{ name: 'TYPENO', type: 'string' }
]
});
Ext.define('WorkFlowStepmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'WORKFLOWID', type: 'string' },
{ name: 'STEPNO', type: 'string' },
{ name: 'AUDITOR', type: 'string' },
{ name: 'AUDITOR_REF', type: 'string' },
{ name: 'ISLAST', type: 'string' },
{ name: 'ISLAST_REF', type: 'string' },
{ name: 'GROUPID', type: 'string' },
{ name: 'NEXTGROUP', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATEUSER_REF', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDUSER_REF', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('companymb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'name', type: 'string' }
]
});
Ext.define('WorkFlowUserPathmb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'USERID', type: 'string' },
{ name: 'DEPTNAME', type: 'string' },
{ name: 'USERNAME', type: 'string' },
{ name: 'WORKFLOWNAME', type: 'string' },
{ name: 'WORKFLOWTYPENO', type: 'string' }
]
});