17 lines
612 B
JavaScript
17 lines
612 B
JavaScript
|
|
let form, table, element,layer;
|
||
|
|
let typeParam;
|
||
|
|
layui.use(["form", "table", 'element','layer'], function () {
|
||
|
|
form = layui.form;
|
||
|
|
table = layui.table;
|
||
|
|
element = layui.element;
|
||
|
|
// tab 切换事件
|
||
|
|
element.on('tab(demo-filter-tab)', function (data) {
|
||
|
|
let value = $(this).attr('value');
|
||
|
|
if (value === '1') { // 待检验鉴定
|
||
|
|
$('#indexIframe').attr('src', 'un_check_list.html');
|
||
|
|
} else if (value === '2') { // 已检验
|
||
|
|
$('#indexIframe').attr('src', 'check_list.html');
|
||
|
|
}
|
||
|
|
});
|
||
|
|
$('#indexIframe').attr('src', 'un_check_list.html');
|
||
|
|
});
|