Flow.js 563 B

123456789101112131415161718192021
  1. /**
  2. * 查看审批流按钮
  3. */
  4. Ext.define('erp.view.core.button.Flow',{
  5. extend: 'Ext.Button',
  6. alias: 'widget.erpFlowButton',
  7. iconCls: 'x-button-icon-scan',
  8. cls: 'x-btn-gray',
  9. text: $I18N.common.button.erpFlowButton,
  10. style: {
  11. marginLeft: '10px'
  12. },
  13. width: 90,
  14. initComponent : function(){
  15. this.callParent(arguments);
  16. },
  17. handler: function(){
  18. var form = Ext.getCmp('form');
  19. form.FormUtil.onAdd(caller + '_flow', '已发起的流程', 'jsps/common/jprocessDeal.jsp?whoami=' + caller);
  20. }
  21. });