Index: ssts-web/src/main/webapp/disinfectsystem/instrumentInstanceManager/instrumentInstanceView.js =================================================================== diff -u -r34677 -r34705 --- ssts-web/src/main/webapp/disinfectsystem/instrumentInstanceManager/instrumentInstanceView.js (.../instrumentInstanceView.js) (revision 34677) +++ ssts-web/src/main/webapp/disinfectsystem/instrumentInstanceManager/instrumentInstanceView.js (.../instrumentInstanceView.js) (revision 34705) @@ -56,6 +56,11 @@ } var data = { 'id': '', 'name': '全部器械' }; leftStore.insert(0, data); + }, + beforeload: function () { + if (Ext4.getCmp('spell')) { + leftStore.proxy.extraParams.spell = Ext4.getCmp('spell').getValue(); + } } } }); @@ -68,6 +73,29 @@ autoScroll: false, store: leftStore, hideHeaders: true, + tbar: [{ + xtype: 'textfield', + fieldLabel: '', + maxLength: '41', + width: 150, + id: 'spell', + name: 'spell', + emptyText: '输入器械名称查询', + listeners: { + render: function (c) { + c.getEl().on('keypress', function (e, thiz) { + if (e.getKey() == 13) { + leftStore.load(); + } + }); + } + } + }, { + text: '查询', + handler: function () { + leftStore.load(); + } + }], bbar: [{ xtype: 'button', text: '',