Index: ssts-web/src/main/webapp/disinfectsystem/staffArchives/staffArchiveForm.js =================================================================== diff -u -r13798 -r26125 --- ssts-web/src/main/webapp/disinfectsystem/staffArchives/staffArchiveForm.js (.../staffArchiveForm.js) (revision 13798) +++ ssts-web/src/main/webapp/disinfectsystem/staffArchives/staffArchiveForm.js (.../staffArchiveForm.js) (revision 26125) @@ -129,6 +129,19 @@ text : '共0页' }); + var theTitleOfATechnicalPostStore = new Ext.data.Store({ + proxy : new Ext.data.HttpProxy({ + url:WWWROOT + '/disinfectSystem/baseData/staffArchiveAction!getPositionalTitleList.do', + method : 'POST' + }), + reader : new Ext.data.JsonReader({ + fields : [ + {name : 'id'}, + {name : 'optionText'}, + {name : 'optionValue'} + ] + }) + }); var imagePanel = new top.Ext.Panel({ id : 'imagePanel', layout : 'fit', @@ -428,22 +441,23 @@ labelWidth : 80, items : [{ xtype : 'combo', - fieldLabel : '职称', + fieldLabel : '职称', id : 'theTitleOfATechnicalPost', name : 'theTitleOfATechnicalPost', - valueField : 'value', - displayField : 'value', - store : new Ext.data.SimpleStore({ - fields : [ 'value' ], - data : [[' '],['高级职称'],['助理工程师'],['工程师'],['高级工程师']] - } - ), - forceSelection : true, - allowBlank : false, - editable : false, - mode : 'local', + valueField : 'optionText', + displayField : 'optionText', + store:theTitleOfATechnicalPostStore, + forceSelection : false, + selectOnFocus:true, + lazyInit : true, + anchor : '70%', + listWidth:200, triggerAction : 'all', - anchor : '70%' + hideTrigger : false, + typeAhead : false, + allowBlank : true, + editable : true, + enableKeyEvents:true }] },{ layout : 'form', @@ -601,7 +615,6 @@ } function uploadStaffArchiveImageFile(imageType){ - StaffArchiveAttachStore = new top.Ext.data.Store({ proxy : new Ext.data.HttpProxy({ url:WWWROOT + '/disinfectSystem/baseData/staffArchiveAction!loadStaffArchiveAttach.do?attachType='+encodeURI("档案附件")+'&objectId='+id , Index: ssts-web/src/main/webapp/disinfectsystem/config/xjjqzyy/config.js =================================================================== diff -u -r26122 -r26125 --- ssts-web/src/main/webapp/disinfectsystem/config/xjjqzyy/config.js (.../config.js) (revision 26122) +++ ssts-web/src/main/webapp/disinfectsystem/config/xjjqzyy/config.js (.../config.js) (revision 26125) @@ -190,8 +190,6 @@ strengthenStatisticalWorkload:true, //隐藏档案管理 hideStaffArchive:false, - //隐藏档案管理 - hideStaffArchive:false, //装配界面显示检查人字段 showInspectorField:true, //设备维护功能自定义 @@ -204,5 +202,4 @@ showDisinfectionByPackage : false, //外来器械包拆包显示检查人字段,true显示,false不显示 ShowSplitForeignTousseViewInspector:true - } \ No newline at end of file