| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- Ext.define('erp.view.oa.persontask.workDaily.AddWorkDaily',{
- extend: 'Ext.Viewport',
- layout: 'fit',
- hideBorders: true,
- initComponent : function(){
- var me = this;
- Ext.apply(me, {
- items: [{
- id:'desk',
- layout: 'anchor',
- items: [{
- xtype: 'erpFormPanel',
- anchor: '100% 100%',
- saveUrl: 'oa/persontask/workDaily/saveWorkDaily.action',
- deleteUrl: 'oa/persontask/workDaily/deleteWorkDaily.action',
- updateUrl: 'oa/persontask/workDaily/updateWorkDaily.action',
- getIdUrl: 'common/getId.action?seq=WORKDAILY_SEQ',
- keyField: 'wd_id',
- items:[{
- xtype: 'fieldset',
- columnWidth: 1,
- id:'fieldset',
- minHeight: 220,
- title: '<img src="' + basePath + 'resource/images/renderer/remind2.png" width=20 height=20/> 待办任务',
- collapsible: true,
- collapsed: true,
- items:[{
- xtype: 'erpDatalistGridPanel',
- minHeight: 220,
- anchor: '100% 100%',
- listeners:{
- afterrender: function(){
- Ext.getCmp('fieldset').setTitle('<img src="' + basePath + 'resource/images/renderer/remind2.png" width=20 height=20/> 待办任务 ('+dataCount+')');
- }
- }
- }]
- }],
- tbar:[ {
- iconCls: 'x-button-icon-save',
- id: 'save',
- text: $I18N.common.button.erpSaveButton
- },'-',{
- id: 'addwd',
- text: '日报补录'
- },'-',{
- id: 'see',
- text: '查看月计划'
- },'-',{
- id: 'daily',
- text: '生成日报'
- }]
- }]
- }]
- });
- me.callParent(arguments);
- }
- });
|