<commit_before>/**
 * osd催缴
 */
OsdSendPanel = Ext.extend(Ext.FormPanel, {
    constructor: function () {
        OsdSendPanel.superclass.constructor.call(this, {
            id: 'OsdSendPanelId',
            region: 'center',
            layout: 'column',
            border: false,
            fileUpload: true,
            bodyStyle:'padding-top:10px',
            defaults: {
				layout: 'form',
				border: false,
				columnWidth : 0.5,
				baseCls: 'x-plain'				
			},
			items:[{
					columnWidth : 0.3,
					items:[{
	                        xtype: 'datefield',
	                        fieldLabel: lbc('home.tools.osdSend.forms.begin_date'),
	                        format: 'Y-m-d',
	                        allowBlank: false,
	                        editable: false,
	                        name: 'begin_date'
	                    }]
					
				},{
					columnWidth : 0.7,
					items:[{
	                        xtype: 'datefield',
	                        fieldLabel:  lbc('home.tools.osdSend.forms.end_date'),
	                        format: 'Y-m-d',
	                        allowBlank: false,
	                        editable: false,
	                        name: 'end_date'
	                    }]
					
				},{
					columnWidth : 1,
					items:[{
						fieldLabel: lbc('home.tools.osdSend.forms.osd_call_type'),
						xtype:'paramcombo',
						allowBlank:false,
						anchor:'50%',
						hiddenName:'osd_call_type',
						paramName:'OSD_CALL_TYPE',
						defaultValue:'ROLL'
					}]
				},{
					columnWidth:0.6,
					items:[{
	                        xtype: 'textfield',
	                        anchor:'96%',
	                        fieldLabel: lbc('home.tools.osdSend.forms.detail_time'),
	                        allowBlank: false,
	                        name: 'detail_time'
	                    }]
					
				},{
					labelWidth :1,
					columnWidth:0.4,
					items:[{
			                xtype: 'displayfield',
			               	anchor:'96%',
			                value:"<font style='font-size:10px;color:red'>"+lbc('home.tools.osdSend.msg.detail_time_info')+"</font>"
						}]
					
				},{
					columnWidth:0.5,
                    items: [{
                        fieldLabel: lbc('home.tools.osdSend.forms.send_title'),
                        name: 'send_title',
                        xtype: 'textfield',
                        anchor:'98%'
                    },{
						fieldLabel: lbc('home.tools.osdSend.forms.template'),
						xtype:'paramcombo',
						allowBlank:false,
						anchor:'98%',
						isContrary:true,
						hiddenName:'template',
						paramName:'OSD_CALL_CONTENT',
//						defaultValue:'RESIDENT',
						listeners:{
							scope: this,
							'select': function(combo,rec){
								Ext.getCmp('messageOsd').setValue(combo.getValue());
							}
						}
					}]
                },{
                	columnWidth:0.5,
                    items: [{
                        fieldLabel: lbc('home.tools.osdSend.forms.send_optr'), 
                        name: 'send_optr',
                        xtype: 'textfield',
                        anchor:'90%'
                    },{
                	id:'dataOsdFileId',xtype:'textfield',fieldLabel: lbc('home.tools.osdSend.forms.file') ,inputType:'file',
                	allowBlank:false,anchor:'95%',name:'files'}]
                },{
	                columnWidth: 1,
                    items: [{
                        fieldLabel: lbc('home.tools.osdSend.forms.message'), 
                        xtype: 'textarea',
                        id: 'messageOsd',
                        anchor:'96%',
                        allowBlank: false,
                        height: 150,
                        name: 'message'
               		 }]
				}]
        });

    },
    initComponent : function() {
		OsdSendPanel.superclass.initComponent.call(this);
		// 初始化下拉框的参数
		var comboes = this.findByType("paramcombo");
		App.form.initComboData(comboes, this, this);
	},<commit_msg>osd催缴调整<commit_after>/**
 * osd催缴
 */
OsdSendPanel = Ext.extend(Ext.FormPanel, {
    constructor: function () {
        OsdSendPanel.superclass.constructor.call(this, {
            id: 'OsdSendPanelId',
            region: 'center',
            layout: 'column',
            border: false,
            fileUpload: true,
            bodyStyle:'padding-top:10px',
            defaults: {
				layout: 'form',
				border: false,
				columnWidth : 0.5,
				baseCls: 'x-plain'				
			},
			items:[{
					columnWidth : 0.3,
					items:[{
	                        xtype: 'datefield',
	                        fieldLabel: lbc('home.tools.osdSend.forms.begin_date'),
	                        format: 'Y-m-d',
	                        allowBlank: false,
	                        editable: false,
	                        name: 'begin_date'
	                    }]
					
				},{
					columnWidth : 0.7,
					items:[{
	                        xtype: 'datefield',
	                        fieldLabel:  lbc('home.tools.osdSend.forms.end_date'),
	                        format: 'Y-m-d',
	                        allowBlank: false,
	                        editable: false,
	                        name: 'end_date'
	                    }]
					
				},{
					columnWidth:0.6,
					items:[{
	                        xtype: 'textfield',
	                        anchor:'96%',
	                        fieldLabel: lbc('home.tools.osdSend.forms.detail_time'),
	                        allowBlank: false,
	                        name: 'detail_time'
	                    }]
					
				},{
					labelWidth :1,
					columnWidth:0.4,
					items:[{
			                xtype: 'displayfield',
			               	anchor:'96%',
			                value:"<font style='font-size:10px;color:red'>"+lbc('home.tools.osdSend.msg.detail_time_info')+"</font>"
						}]
					
				},{
					columnWidth : 1,
					items:[{
						fieldLabel: lbc('home.tools.osdSend.forms.osd_call_type'),
						xtype:'paramcombo',
						allowBlank:false,
						anchor:'50%',
						hiddenName:'osd_call_type',
						paramName:'OSD_CALL_TYPE',
						defaultValue:'ROLL'
					}]
				},{
					columnWidth:0.5,
                    items: [{
                        fieldLabel: lbc('home.tools.osdSend.forms.send_title'),
                        name: 'send_title',
                        xtype: 'textfield',
                        anchor:'98%'
                    },{
						fieldLabel: lbc('home.tools.osdSend.forms.template'),
						xtype:'paramcombo',
						allowBlank:false,
						anchor:'98%',
						isContrary:true,
						hiddenName:'template',
						paramName:'OSD_CALL_CONTENT',
//						defaultValue:'RESIDENT',
						listeners:{
							scope: this,
							'select': function(combo,rec){
								Ext.getCmp('messageOsd').setValue(combo.getValue());
							}
						}
					}]
                },{
                	columnWidth:0.5,
                    items: [{
                        fieldLabel: lbc('home.tools.osdSend.forms.send_optr'), 
                        name: 'send_optr',
                        xtype: 'textfield',
                        anchor:'90%'
                    },{
                	id:'dataOsdFileId',xtype:'textfield',fieldLabel: lbc('home.tools.osdSend.forms.file') ,inputType:'file',
                	allowBlank:false,anchor:'95%',name:'files'}]
                },{
	                columnWidth: 1,
                    items: [{
                        fieldLabel: lbc('home.tools.osdSend.forms.message'), 
                        xtype: 'textarea',
                        id: 'messageOsd',
                        anchor:'96%',
                        allowBlank: false,
                        height: 150,
                        readOnly:true,
                        name: 'message'
               		 }]
				}]
        });

    },
    initComponent : function() {
		OsdSendPanel.superclass.initComponent.call(this);
		// 初始化下拉框的参数
		var comboes = this.findByType("paramcombo");
		App.form.initComboData(comboes, this, this);
	},
{'fraction_non_alphanumeric': 0.12743007650821522, 'fraction_numerical': 0.010033864291985451, 'mean_word_length': 1.2003311258278146, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3956319', 'n_tokens_mistral': 2892, 'n_tokens_neox': 2204, 'n_words': 305}