聚焦BPM弹窗
var attwin = Ext.create('widget.window', {
title: "审核意见",
closable: true,modal:true,maximizable:false,
bodyStyle: "padding:5",
width: 500,
minWidth: 300,
height: 230,
defaults: {
labelSeparator: ":",
labelWidth: 80,
width: 250,
labelAlign: "left"
},
dockedItems: [{
xtype: 'toolbar',
dock: 'bottom', shadow: true,
items: [
'->',
{
text: '确定',hidden:false,
listeners: {
click: function () {
var result = Ext.getCmp('result').getChecked()[0].boxLabel;
var rea=Ext.getCmp('txt_000').getValue();
if(result == '不合格'){
if(rea == "" || rea == null){
Ext.MessageBox.alert('提示','当前审核结果为不合格,审核意见不能为空');
return;
}else{
Funvery(result,rea,strid);
Bhg();
attwin.close();
}
}else{
Funvery(result,rea,strid);
attwin.close();
}
attwin.close();
}
}
}
]
}],
items: [
{
xtype: 'radiogroup',
fieldLabel: '审核结果',
id:'result',
columns: 2,
items: [
{ boxLabel: '合格', name: 'result', inputValue: '合格' },
{ boxLabel: '不合格', name: 'result', inputValue: '不合格'}
]},{
xtype:'textarea',id:'txt_000',width:400,height:90,left:60,fieldLabel:'审核意见'
}]
});
attwin.show();