Commit 3ae689df by 罗绍泽

更新

parent ccd1b8a2
......@@ -88,3 +88,7 @@ function getOptionMenuCount(){
function backRow(){
window.location = 'fileGrapView_fileGrapTab';
}
function refreshRow(){
$('#listFileData').datagrid('reload');
}
\ No newline at end of file
......@@ -328,6 +328,7 @@ function lookRow(index){
is_row[0].OPETYPE = 'update';
if(is_row[0].STATUS!='SUCCESS'){
$.messager.alert('提示',"该记录无数据!",'info');
$('#list').datagrid('clearSelections');
return;
}
window.location = 'fileGrapView_fileGrapDataTab?savepath='+is_row[0].SAVE_PATH;
......@@ -360,6 +361,7 @@ function statusRow(index){
success:function(data){
if(data.statusCode==200){
$.messager.alert('提示',"状态获取成功!",'info');
$('#list').datagrid('clearSelections');
}
$('#list').datagrid('load',{});
}
......
......@@ -131,3 +131,7 @@ function getOptionMenuCount(){
function backRow(){
window.location = 'textGrapView_textGrapTab';
}
function refreshRow(){
$('#listData').datagrid('reload');
}
\ No newline at end of file
......@@ -344,9 +344,9 @@ function lookRow(index){
var is_row = $('#list').datagrid('getSelections');
if(is_row[0].STATUS!='SUCCESS'){
$.messager.alert('提示',"该记录无数据!",'info');
$('#list').datagrid('clearSelections');
return;
}
$('#list').datagrid('clearSelections');
window.location = 'textGrapView_textGrapDataTab?tablename='+is_row[0].TABLE_NAME;
}
......@@ -365,6 +365,7 @@ function statusRow(index){
map.FIELD_TASK_ID=is_row[0].TASK_ID;
if(is_row[0].STATUS=='SUCCESS'){
$.messager.alert('提示',"该记录已爬取成功!",'info');
$('#list').datagrid('clearSelections');
return;
}
$.ajax({
......@@ -374,6 +375,7 @@ function statusRow(index){
success:function(data){
if(data.statusCode==200){
$.messager.alert('提示',"状态获取成功!",'info');
$('#list').datagrid('clearSelections');
}
$('#list').datagrid('load',{});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment