This commit is contained in:
xman 2025-07-07 19:24:12 +08:00
parent eab9473e4b
commit 550bb70d87

View File

@ -74,7 +74,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'echarts', 'echarts-t
$('#filter-btn-table').on('click', function () {
const area_id = $('#area_id').val();
const area_id = $('#select_area_id').val();
const range = $('#daterange-table').val();
const source1 = $('#source').val();
@ -82,7 +82,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'echarts', 'echarts-t
let data = '';
if (area_id !== ''){
if (area_id !== '' ){
data += 'area_id=' + area_id+'&';
}
if (range !== ''){
@ -107,6 +107,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'echarts', 'echarts-t
console.log(123);
var citypicker = $(this).data("citypicker");
var code = citypicker.getCode("district") || citypicker.getCode("city") || citypicker.getCode("province");
console.log(code);
$("#select_area_id").val(code);
});