|
@@ -288,17 +288,20 @@
|
|
|
|
|
|
function renderTable(condition, searchType, table, citys, quxians, indicators, ttype, sdate) {
|
|
function renderTable(condition, searchType, table, citys, quxians, indicators, ttype, sdate) {
|
|
console.log('renderTable')
|
|
console.log('renderTable')
|
|
- // var tishi = layer.load(2, { shade: [0.15, '#ccc'] });
|
|
|
|
- var tishi = layer.open({
|
|
|
|
- shadeClose: false
|
|
|
|
- ,type: 2
|
|
|
|
- ,content: '加载中...'
|
|
|
|
- });
|
|
|
|
|
|
+ console.log('layer.load: ', layer.load);
|
|
|
|
+ var tishi = layer.load(1, {
|
|
|
|
+ shadeClose: false,
|
|
|
|
+ title: '加载中..',
|
|
|
|
+ shade: [0.5,'#000'] //0.1透明度的白色背景
|
|
|
|
+ });
|
|
console.log('tishi: ', tishi);
|
|
console.log('tishi: ', tishi);
|
|
|
|
+ // setTimeout(()=>{
|
|
|
|
+ // layer.close(tishi);
|
|
|
|
+ // },5000)
|
|
$.ajax({
|
|
$.ajax({
|
|
type: "POST",
|
|
type: "POST",
|
|
url: './renderTable',
|
|
url: './renderTable',
|
|
- async: false,
|
|
|
|
|
|
+ async: true,
|
|
traditional: true,
|
|
traditional: true,
|
|
data: {
|
|
data: {
|
|
"condition": condition,
|
|
"condition": condition,
|
|
@@ -414,11 +417,11 @@
|
|
alert('请填写eci')
|
|
alert('请填写eci')
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- console.log(`searchType: ${searchType}`)
|
|
|
|
|
|
+ // console.log(`searchType: ${searchType}`)
|
|
console.log(`condition: ${condition}`)
|
|
console.log(`condition: ${condition}`)
|
|
alert('开始查询')
|
|
alert('开始查询')
|
|
// layer.msg(JSON.stringify(data.field));
|
|
// layer.msg(JSON.stringify(data.field));
|
|
- console.log(JSON.stringify(tree.getChecked('Id1')))
|
|
|
|
|
|
+ // console.log(JSON.stringify(tree.getChecked('Id1')))
|
|
let checkData1 = tree.getChecked('Id1')[0].children;
|
|
let checkData1 = tree.getChecked('Id1')[0].children;
|
|
let checkData2 = tree.getChecked('Id3')[0].children;
|
|
let checkData2 = tree.getChecked('Id3')[0].children;
|
|
console.log(checkData1)
|
|
console.log(checkData1)
|