|
|
@ -92,7 +92,7 @@
|
|
|
|
title: '主键',
|
|
|
|
title: '主键',
|
|
|
|
visible: false
|
|
|
|
visible: false
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'inspectionId',
|
|
|
|
field: 'inspectionId',
|
|
|
|
title: 'id',
|
|
|
|
title: 'id',
|
|
|
|
visible: false
|
|
|
|
visible: false
|
|
|
@ -113,6 +113,9 @@
|
|
|
|
formatter: function (value, row, index) {
|
|
|
|
formatter: function (value, row, index) {
|
|
|
|
return $.table.selectDictLabel(taskStateDatas, value);
|
|
|
|
return $.table.selectDictLabel(taskStateDatas, value);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}, {
|
|
|
|
|
|
|
|
field: 'updateTime',
|
|
|
|
|
|
|
|
title: '完成时间'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '操作',
|
|
|
|
title: '操作',
|
|
|
@ -137,7 +140,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
initinspectionTable = function (index, row, $detail) {
|
|
|
|
initinspectionTable = function (index, row, $detail) {
|
|
|
|
var [childTable,childTable1] = $detail.html('<div class="col-sm-12">\n' +
|
|
|
|
var [childTable, childTable1] = $detail.html('<div class="col-sm-12">\n' +
|
|
|
|
' <div class="tabs-container">\n' +
|
|
|
|
' <div class="tabs-container">\n' +
|
|
|
|
' <ul class="nav nav-tabs">\n' +
|
|
|
|
' <ul class="nav nav-tabs">\n' +
|
|
|
|
' <li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true"> 第一个选项卡</a>\n' +
|
|
|
|
' <li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true"> 第一个选项卡</a>\n' +
|
|
|
@ -147,10 +150,10 @@
|
|
|
|
' </ul>\n' +
|
|
|
|
' </ul>\n' +
|
|
|
|
' <div class="tab-content">\n' +
|
|
|
|
' <div class="tab-content">\n' +
|
|
|
|
' <div id="tab-1" class="tab-pane active">\n' +
|
|
|
|
' <div id="tab-1" class="tab-pane active">\n' +
|
|
|
|
'<table class="table1" style="table-layout:fixed"></table>'+
|
|
|
|
'<table class="table1" style="table-layout:fixed"></table>' +
|
|
|
|
' </div>\n' +
|
|
|
|
' </div>\n' +
|
|
|
|
' <div id="tab-2" class="tab-pane">\n' +
|
|
|
|
' <div id="tab-2" class="tab-pane">\n' +
|
|
|
|
'<table style="table-layout:fixed"></table>'+
|
|
|
|
'<table style="table-layout:fixed"></table>' +
|
|
|
|
' </div>\n' +
|
|
|
|
' </div>\n' +
|
|
|
|
' </div>\n' +
|
|
|
|
' </div>\n' +
|
|
|
|
' </div>\n' +
|
|
|
|
' </div>\n' +
|
|
|
@ -165,13 +168,13 @@
|
|
|
|
contentType: "application/x-www-form-urlencoded",
|
|
|
|
contentType: "application/x-www-form-urlencoded",
|
|
|
|
queryParams: {
|
|
|
|
queryParams: {
|
|
|
|
inspectionId: row.inspectionId,
|
|
|
|
inspectionId: row.inspectionId,
|
|
|
|
locationCode:row.planePosition
|
|
|
|
locationCode: row.planePosition
|
|
|
|
},
|
|
|
|
},
|
|
|
|
columns: [
|
|
|
|
columns: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '序号',
|
|
|
|
title: '序号',
|
|
|
|
formatter: function (value, row, index) {
|
|
|
|
formatter: function (value, row, index) {
|
|
|
|
return index+1
|
|
|
|
return index + 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -195,7 +198,8 @@
|
|
|
|
title: '提交时间'
|
|
|
|
title: '提交时间'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
]});
|
|
|
|
]
|
|
|
|
|
|
|
|
});
|
|
|
|
$(childTable1).bootstrapTable({
|
|
|
|
$(childTable1).bootstrapTable({
|
|
|
|
url: ctx + "manage/record_inspection_img/list",
|
|
|
|
url: ctx + "manage/record_inspection_img/list",
|
|
|
|
method: 'post',
|
|
|
|
method: 'post',
|
|
|
|