var user_id = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id(); var projectData = []; var excelData = []; inner_scan = function() { /**定义变量**/ var _this = this; _this.grid = null; _this.tixi = null; /**私有方法**/ function getColumns(data){ var level = parseInt(data[0].LEVEL_NUM); var columns = []; columns.push({display: '序号', name: 'idx',align: 'center', width: "100"}); //var parentwid = (15/(level-1))+"%"; ////console.log(parentwid); /*for(var i=1;i-1) result = result.replace("1", "省"); if(value.indexOf("2")>-1) result = result.replace("2", "地"); if(value.indexOf("3")>-1) result = result.replace("3", "县"); return result; } function renderCheck(rowdata, rowindex, value, column){ value = value || ""; var result = value; if(value.indexOf("1")>-1) result = result.replace("1", "人员访谈"); if(value.indexOf("2")>-1) result = result.replace("2", "查阅资料"); if(value.indexOf("3")>-1) result = result.replace("3", "现场验证"); return result; }*/ /*function renderTypical(rowdata, rowindex, value, column){ value = value || ""; var valueArr = value.split("\n"); var result = ""; for(var i=0;i"; }; return result; }*/ /*function renderQues(rowdata, rowindex, value, column){ value = value || ""; var valueArr = value.split("\n"); var result = ""; for(var i=0;i"; }; return result; } function renderSuggest(rowdata, rowindex, value, column){ value = value || ""; var valueArr = value.split("\n"); var result = ""; for(var i=0;i"; }; return result; } function getLevelSelect(numb){ var resutl = []; for(var i=0;i-1){ var arr = value.split("项"); result = arr[1].split("-")[0]; } return result; } function getSaveData(){ var innerScore = []; var outerScore = []; var delectOuter = []; var ques = excelData[0].result; var lowscore = getLowScore(excelData[0].tixi[0].EVAL_NUM); //console.log(lowscore); for(var i=0;i