Edit D:\rfid\libsystem\page\parameter\js\cir_readerfield.js
var grid_selectors=new Array();var FIELD_COUNT=4;var tabs_selector;$(function(){setTabsHeight();for(var a=0;a<FIELD_COUNT;a++){grid_selectors[a]=$("#grid"+a)}tabs_selector=$("#tabs-grid");tabs_selector.tabs({onSelect:onTabsSelect});$(".easyui-datagrid").datagrid({onDblClickRow:updateRecord});loadTabsGridData()});function onTabsSelect(c,a){datagrid_selector=grid_selectors[a];var b=a+1;setValue("parentid",b);datagrid_param="?parentid="+b}function loadTabsGridData(){var b={};b.parentid=0;var a=controller_url+"page.do";$.post(a,b,function(e){if(e.status=="0"){for(var c=0;c<FIELD_COUNT;c++){var d=tabs_selector.tabs("getTab",c);tabs_selector.tabs("update",{tab:d,options:{title:e.rows[c].name}});grid_selectors[c].datagrid({url:controller_url+"page.do?parentid="+(c+1)})}}onTabsSelect("",0)},"json");getReaderFld()}function winSetOpen(){$("#win-set").window("open");var b={};b.parentid=0;var a=controller_url+"page.do";$.post(a,b,function(d){if(d.status=="0"){for(var c=0;c<FIELD_COUNT;c++){setValue("head"+c,d.rows[c].name)}}},"json")}function updateHead(){var e={};var d=[];for(var c=0;c<FIELD_COUNT;c++){d.push(getValue("head"+c))}var a=getWordCnt(d);for(var c=0;c<d.length;c++){if(a[d[c]]>1){return openMessageDlg("??????????????!")}}e.list=d;var b=controller_url+"updateHead.do";$.post(b,e,function(f){openMessageDlg(f.message);if(f.status=="0"){$("#win-set").window("close");loadTabsGridData()}},"json")}function getWordCnt(a){var e={};for(var c=0,b=a.length;c<b;c++){var d=a[c];e[d]=(e[d]+1)||1}return e}function setTabsHeight(){var a=$(window).height();var b=40;var c=a-40;$("#tabs-grid").tabs("resize",{plain:false,boder:false,width:$(window).width(),height:c})};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de