|
@@ -519,7 +519,20 @@
|
|
'line': line,
|
|
'line': line,
|
|
'orderByupdate': orderByupdate
|
|
'orderByupdate': orderByupdate
|
|
};
|
|
};
|
|
- InitIndex(post_data)
|
|
|
|
|
|
+ $.postJSON(
|
|
|
|
+ http_ip_prot + 'langWord/query', JSON.stringify(post_data),
|
|
|
|
+ function (data) {
|
|
|
|
+ if (data['code'] == 0) {
|
|
|
|
+ // console.log(data['res'])
|
|
|
|
+ console.log(data)
|
|
|
|
+ addTable(data['res'])
|
|
|
|
+ let count_page = Math.ceil(data['res']['count'] / line)
|
|
|
|
+ queryData(page)
|
|
|
|
+ } else {
|
|
|
|
+ alert(data['msg'])
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ );
|
|
}
|
|
}
|
|
|
|
|
|
function searchKeyAction() {
|
|
function searchKeyAction() {
|