diff --git a/hxy-web/html/wireManager/staff/staffAdd.html b/hxy-web/html/wireManager/staff/staffAdd.html index e76bc4b..7cc5f08 100644 --- a/hxy-web/html/wireManager/staff/staffAdd.html +++ b/hxy-web/html/wireManager/staff/staffAdd.html @@ -119,6 +119,9 @@ + + +
人员基本信息 diff --git a/hxy-web/js/dataStatistics/header.js b/hxy-web/js/dataStatistics/header.js index 8908500..84db7a4 100644 --- a/hxy-web/js/dataStatistics/header.js +++ b/hxy-web/js/dataStatistics/header.js @@ -25,7 +25,7 @@ function init(){ for (let i = 0; i < resultObj.length; i++) { if(i==0){ - localStorage.getItem("selectSubCom",resultObj[i].id); + localStorage.setItem("selectSubCom",resultObj[i].id); } html += ``; } diff --git a/hxy-web/js/dataStatistics/index.js b/hxy-web/js/dataStatistics/index.js index 648d977..2f68db9 100644 --- a/hxy-web/js/dataStatistics/index.js +++ b/hxy-web/js/dataStatistics/index.js @@ -20,7 +20,7 @@ function setData(yjId){ } localStorage.setItem("selectyj",yjId); var subComId = $(window.parent.document).find("select[id='subComId']").val(); - + localStorage.getItem("selectSubCom",subComId); $.ajax({ type: 'post', url: PATH_URL + '/lineProjectHomePage/getDataOverview', diff --git a/hxy-web/js/dataStatistics/viewStatistics/viewStatisticsList.js b/hxy-web/js/dataStatistics/viewStatistics/viewStatisticsList.js index 024052e..69ff8f4 100644 --- a/hxy-web/js/dataStatistics/viewStatistics/viewStatisticsList.js +++ b/hxy-web/js/dataStatistics/viewStatistics/viewStatisticsList.js @@ -175,6 +175,10 @@ function init(){ elem: '#table', url: PATH_URL + "/makeInfo/getListTabs", page: true, + where:{ + yjId:localStorage.getItem("selectyj"), + subId:localStorage.getItem("selectSubCom") + }, method:'post', border: true, // data: tableData, diff --git a/hxy-web/js/dataStatistics/workVisa/workVisaList.js b/hxy-web/js/dataStatistics/workVisa/workVisaList.js index ec81f61..6ac0fb5 100644 --- a/hxy-web/js/dataStatistics/workVisa/workVisaList.js +++ b/hxy-web/js/dataStatistics/workVisa/workVisaList.js @@ -82,6 +82,10 @@ function init(){ table.render({ elem: '#table', url: PATH_URL + "/workvisa/getListTab", + where:{ + yjId:localStorage.getItem("selectyj"), + subId:localStorage.getItem("selectSubCom") + }, page: true, method:'post', skin: 'line', // 表格样式 diff --git a/hxy-web/js/wireManager/staff/staffAdd.js b/hxy-web/js/wireManager/staff/staffAdd.js index bff4a55..03c9333 100644 --- a/hxy-web/js/wireManager/staff/staffAdd.js +++ b/hxy-web/js/wireManager/staff/staffAdd.js @@ -89,6 +89,9 @@ layui.use(['element','layer','transfer', 'form', 'upload','laydate','tree'], fun console.log(res,"upload"); purl=purl+res.data.url+","; pname=pname+res.data.name+","; + $("#fileName").val(res.data.name); + $("#filePath").val(res.data.url); + $("#pdfPath").val(res.data.url); }, allDone: function (data) { var userType=$("#userType").val(); @@ -263,14 +266,6 @@ function initProSelect(arr){ }, dataType:"json", success:function(res){ - // $("#proName").unbind(); - // $("#proName option:gt(0)").remove(); - // var html=""; - // for(var i=0;i"+ res.data[i].title +""; - // } - // $("#proName").append(html); - // formSelects.value('proName', [2]); var data=[]; for(var i=0;i