Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jfV5pc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
管理员
jfV5pc
Commits
3ae689df
Commit
3ae689df
authored
Jul 19, 2018
by
罗绍泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
ccd1b8a2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1 deletions
+15
-1
fileGrapDataTab.js
WebContent/reptile/fileGrap/js/fileGrapDataTab.js
+5
-0
fileGrapTab.js
WebContent/reptile/fileGrap/js/fileGrapTab.js
+2
-0
textGrapDataTab.js
WebContent/reptile/textGrap/js/textGrapDataTab.js
+5
-0
textGrapTab.js
WebContent/reptile/textGrap/js/textGrapTab.js
+3
-1
No files found.
WebContent/reptile/fileGrap/js/fileGrapDataTab.js
View file @
3ae689df
...
@@ -87,4 +87,8 @@ function getOptionMenuCount(){
...
@@ -87,4 +87,8 @@ function getOptionMenuCount(){
function
backRow
(){
function
backRow
(){
window
.
location
=
'fileGrapView_fileGrapTab'
;
window
.
location
=
'fileGrapView_fileGrapTab'
;
}
function
refreshRow
(){
$
(
'#listFileData'
).
datagrid
(
'reload'
);
}
}
\ No newline at end of file
WebContent/reptile/fileGrap/js/fileGrapTab.js
View file @
3ae689df
...
@@ -328,6 +328,7 @@ function lookRow(index){
...
@@ -328,6 +328,7 @@ function lookRow(index){
is_row
[
0
].
OPETYPE
=
'update'
;
is_row
[
0
].
OPETYPE
=
'update'
;
if
(
is_row
[
0
].
STATUS
!=
'SUCCESS'
){
if
(
is_row
[
0
].
STATUS
!=
'SUCCESS'
){
$
.
messager
.
alert
(
'提示'
,
"该记录无数据!"
,
'info'
);
$
.
messager
.
alert
(
'提示'
,
"该记录无数据!"
,
'info'
);
$
(
'#list'
).
datagrid
(
'clearSelections'
);
return
;
return
;
}
}
window
.
location
=
'fileGrapView_fileGrapDataTab?savepath='
+
is_row
[
0
].
SAVE_PATH
;
window
.
location
=
'fileGrapView_fileGrapDataTab?savepath='
+
is_row
[
0
].
SAVE_PATH
;
...
@@ -360,6 +361,7 @@ function statusRow(index){
...
@@ -360,6 +361,7 @@ function statusRow(index){
success
:
function
(
data
){
success
:
function
(
data
){
if
(
data
.
statusCode
==
200
){
if
(
data
.
statusCode
==
200
){
$
.
messager
.
alert
(
'提示'
,
"状态获取成功!"
,
'info'
);
$
.
messager
.
alert
(
'提示'
,
"状态获取成功!"
,
'info'
);
$
(
'#list'
).
datagrid
(
'clearSelections'
);
}
}
$
(
'#list'
).
datagrid
(
'load'
,{});
$
(
'#list'
).
datagrid
(
'load'
,{});
}
}
...
...
WebContent/reptile/textGrap/js/textGrapDataTab.js
View file @
3ae689df
...
@@ -131,3 +131,7 @@ function getOptionMenuCount(){
...
@@ -131,3 +131,7 @@ function getOptionMenuCount(){
function
backRow
(){
function
backRow
(){
window
.
location
=
'textGrapView_textGrapTab'
;
window
.
location
=
'textGrapView_textGrapTab'
;
}
}
function
refreshRow
(){
$
(
'#listData'
).
datagrid
(
'reload'
);
}
\ No newline at end of file
WebContent/reptile/textGrap/js/textGrapTab.js
View file @
3ae689df
...
@@ -344,9 +344,9 @@ function lookRow(index){
...
@@ -344,9 +344,9 @@ function lookRow(index){
var
is_row
=
$
(
'#list'
).
datagrid
(
'getSelections'
);
var
is_row
=
$
(
'#list'
).
datagrid
(
'getSelections'
);
if
(
is_row
[
0
].
STATUS
!=
'SUCCESS'
){
if
(
is_row
[
0
].
STATUS
!=
'SUCCESS'
){
$
.
messager
.
alert
(
'提示'
,
"该记录无数据!"
,
'info'
);
$
.
messager
.
alert
(
'提示'
,
"该记录无数据!"
,
'info'
);
$
(
'#list'
).
datagrid
(
'clearSelections'
);
return
;
return
;
}
}
$
(
'#list'
).
datagrid
(
'clearSelections'
);
window
.
location
=
'textGrapView_textGrapDataTab?tablename='
+
is_row
[
0
].
TABLE_NAME
;
window
.
location
=
'textGrapView_textGrapDataTab?tablename='
+
is_row
[
0
].
TABLE_NAME
;
}
}
...
@@ -365,6 +365,7 @@ function statusRow(index){
...
@@ -365,6 +365,7 @@ function statusRow(index){
map
.
FIELD_TASK_ID
=
is_row
[
0
].
TASK_ID
;
map
.
FIELD_TASK_ID
=
is_row
[
0
].
TASK_ID
;
if
(
is_row
[
0
].
STATUS
==
'SUCCESS'
){
if
(
is_row
[
0
].
STATUS
==
'SUCCESS'
){
$
.
messager
.
alert
(
'提示'
,
"该记录已爬取成功!"
,
'info'
);
$
.
messager
.
alert
(
'提示'
,
"该记录已爬取成功!"
,
'info'
);
$
(
'#list'
).
datagrid
(
'clearSelections'
);
return
;
return
;
}
}
$
.
ajax
({
$
.
ajax
({
...
@@ -374,6 +375,7 @@ function statusRow(index){
...
@@ -374,6 +375,7 @@ function statusRow(index){
success
:
function
(
data
){
success
:
function
(
data
){
if
(
data
.
statusCode
==
200
){
if
(
data
.
statusCode
==
200
){
$
.
messager
.
alert
(
'提示'
,
"状态获取成功!"
,
'info'
);
$
.
messager
.
alert
(
'提示'
,
"状态获取成功!"
,
'info'
);
$
(
'#list'
).
datagrid
(
'clearSelections'
);
}
}
$
(
'#list'
).
datagrid
(
'load'
,{});
$
(
'#list'
).
datagrid
(
'load'
,{});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment