图是 我写的页面,我想要实现的是在文本框中输入值,底下的重新加载
这是主页代码
这是底下子页代码
Ext.define('YZSoft.src.component.ProcessSegmentedButton', {
extend: 'YZSoft.src.component.SquaredSegmentedButton',
config: {
minBoxCount: 3,
minBoxWidth: 150,
scrollable: null,
cls: 'yz-layout-columnbuttons'
},
constructor: function (config) {
var me = this,
items = [],
processeNames, cfg;
YZSoft.Ajax.request({
async: false,
url: YZSoft.$url('YZSoft.Services.REST.Mobile/BPM/Process.ashx'),
params: {
method: 'GetAllProcessNames'
},
success: function (action) {
var prn;
prn = action.result;
if (config.Method == "a") {
prn.splice(1, 1);
}
processeNames = prn;
}
});
items.push({
text: RS.$('All__All'),
value: null,
isAll:true
});
Ext.each(processeNames, function (processName) {
items.push({
text: processName,
value: processName
});
});
cfg = {
items: items
};
Ext.apply(cfg, config);
me.callParent([cfg]);
}
});
会的回复一下,谢谢