前端接口对接
This commit is contained in:
parent
ee03de8f4c
commit
4c3a9a28d6
|
|
@ -93,7 +93,7 @@
|
|||
</div>
|
||||
<!-- 栏目7 -->
|
||||
<div class="layui-tab-item">
|
||||
<iframe src="./wagesReport/wagesReportList.html" frameborder="0" width="100%"
|
||||
<iframe src="./wagesReport/wagesReportList.html" id="wagesFrame" frameborder="0" width="100%"
|
||||
height="100%"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -51,8 +51,11 @@ function init(){
|
|||
|
||||
var attendanceFrame = $("#attendanceFrame")[0];
|
||||
var attendanceWindow = attendanceFrame.contentWindow;
|
||||
attendanceWindow.init();
|
||||
attendanceWindow.initTable1();
|
||||
|
||||
var wagesFrame = $("#wagesFrame")[0];
|
||||
var wagesWindow = wagesFrame.contentWindow;
|
||||
wagesWindow.init();
|
||||
},
|
||||
});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -71,12 +71,14 @@ function resetClick(){
|
|||
* 初始化数据
|
||||
*/
|
||||
function init(){
|
||||
var yjId = $(window.parent.document).find("input[id='taskSourceId']").attr("stationId");
|
||||
// 渲染表格
|
||||
table.render({
|
||||
id: 'layui_table',
|
||||
elem: '#table',
|
||||
url: PATH_URL + '/wages/getWagesEscalationList',
|
||||
where: {
|
||||
yjId: yjId
|
||||
},
|
||||
page: true, //开启分页
|
||||
method:'post',
|
||||
|
|
|
|||
Loading…
Reference in New Issue