|
@@ -518,7 +518,6 @@
|
|
|
// },
|
|
// },
|
|
|
// error: function (type) {
|
|
// error: function (type) {
|
|
|
// console.log(type)
|
|
// console.log(type)
|
|
|
- // alert('失败')
|
|
|
|
|
// }
|
|
// }
|
|
|
// })
|
|
// })
|
|
|
// }
|
|
// }
|
|
@@ -536,6 +535,7 @@
|
|
|
//页面数据渲染
|
|
//页面数据渲染
|
|
|
gedata('cropcount_view', 1)
|
|
gedata('cropcount_view', 1)
|
|
|
function gedata(url, page) {
|
|
function gedata(url, page) {
|
|
|
|
|
+ var ids = data.value
|
|
|
$.ajax({
|
|
$.ajax({
|
|
|
url: 'cropcount_view',
|
|
url: 'cropcount_view',
|
|
|
type: 'get',
|
|
type: 'get',
|
|
@@ -612,7 +612,8 @@
|
|
|
url: 'cropcount_view',
|
|
url: 'cropcount_view',
|
|
|
type: 'get',
|
|
type: 'get',
|
|
|
// data: { page: obj.curr, ids: sessionStorage.getItem('seelectID') },
|
|
// data: { page: obj.curr, ids: sessionStorage.getItem('seelectID') },
|
|
|
- data: { page: obj.curr, ids: $('#farmSelect').val() },
|
|
|
|
|
|
|
+ // data: { page: obj.curr, ids: $('#farmSelect').val() },
|
|
|
|
|
+ data: { page: obj.curr, ids: ids },
|
|
|
dataType: 'html',
|
|
dataType: 'html',
|
|
|
success: function (data) {
|
|
success: function (data) {
|
|
|
//转换格式
|
|
//转换格式
|
|
@@ -686,7 +687,6 @@
|
|
|
},
|
|
},
|
|
|
error: function (type) {
|
|
error: function (type) {
|
|
|
console.log(type)
|
|
console.log(type)
|
|
|
- // alert('失败')
|
|
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
@@ -852,7 +852,8 @@
|
|
|
url: 'cropcount_view',
|
|
url: 'cropcount_view',
|
|
|
type: 'get',
|
|
type: 'get',
|
|
|
// data: { page: obj.curr, ids: sessionStorage.getItem('seelectID') },
|
|
// data: { page: obj.curr, ids: sessionStorage.getItem('seelectID') },
|
|
|
- data: { page: obj.curr, ids: $('#farmSelect').val() },
|
|
|
|
|
|
|
+ // data: { page: obj.curr, ids: $('#farmSelect').val() },
|
|
|
|
|
+ data: { page: obj.curr, ids: $('#farmSelct').val() },
|
|
|
dataType: 'html',
|
|
dataType: 'html',
|
|
|
success: function (data) {
|
|
success: function (data) {
|
|
|
//转换格式
|
|
//转换格式
|
|
@@ -926,7 +927,6 @@
|
|
|
},
|
|
},
|
|
|
error: function (type) {
|
|
error: function (type) {
|
|
|
console.log(type)
|
|
console.log(type)
|
|
|
- // alert('失败')
|
|
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|