Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bigdatainterservice
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
曹鹏
bigdatainterservice
Commits
1f4f1d60
Commit
1f4f1d60
authored
Mar 21, 2019
by
caojingji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
在布控保存界面和伴随任务发送界面添加loadding提示框
parent
351c43fa
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
34 additions
and
6 deletions
+34
-6
src/main/java/com/founder/interservice/bkxx/service/impl/BkServiceImpl.java
+4
-1
src/main/resources/static/css/append_bkxx.css
+19
-2
src/main/resources/static/css/skgj.css
+3
-3
src/main/resources/static/js/bkxxInsert.js
+4
-0
src/main/resources/static/js/bsrwInsert.js
+2
-0
src/main/webapp/WEB-INF/jsp/bkxx/bkxxInsert.jsp
+1
-0
src/main/webapp/WEB-INF/jsp/gjbs/Insert.jsp
+1
-0
No files found.
src/main/java/com/founder/interservice/bkxx/service/impl/BkServiceImpl.java
View file @
1f4f1d60
...
@@ -119,7 +119,10 @@ public class BkServiceImpl implements BkService{
...
@@ -119,7 +119,10 @@ public class BkServiceImpl implements BkService{
resultVO
=
ResultVOUtil
.
success
(
result
);
resultVO
=
ResultVOUtil
.
success
(
result
);
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
e
.
printStackTrace
();
e
.
printStackTrace
();
resultVO
=
ResultVOUtil
.
error
(
ResultEnum
.
RESULT_ERROR
.
getCode
(),
ResultEnum
.
RESULT_ERROR
.
getMessage
());
result
.
put
(
"id"
,
"0"
);
result
.
put
(
"status"
,
ResultEnum
.
PARAM_ERROR
.
getCode
());
result
.
put
(
"message"
,
"数据已存在,不可重复!"
);
resultVO
=
ResultVOUtil
.
success
(
result
);
}
}
return
resultVO
;
return
resultVO
;
...
...
src/main/resources/static/css/append_bkxx.css
View file @
1f4f1d60
...
@@ -11,4 +11,21 @@ body .datagrid-cell{
...
@@ -11,4 +11,21 @@ body .datagrid-cell{
white-space
:
inherit
;
white-space
:
inherit
;
word-wrap
:
inherit
;
word-wrap
:
inherit
;
overflow
:
inherit
;
overflow
:
inherit
;
}
}
\ No newline at end of file
/**/
.zdy-loading
{
display
:
none
;
position
:
fixed
;
top
:
50%
;
left
:
50%
;
width
:
120px
;
padding-top
:
10px
;
margin-top
:
-60px
;
margin-left
:
-60px
;
text-align
:
center
;
background
:
#fff
;
border-radius
:
5px
;
border
:
1px
solid
#ccc
;
}
.zdy-loading
i
{
font-size
:
64px
;
color
:
#5683e9
;}
.send-p
{
line-height
:
28px
;
font-weight
:
600
;}
\ No newline at end of file
src/main/resources/static/css/skgj.css
View file @
1f4f1d60
...
@@ -20,8 +20,8 @@ li {
...
@@ -20,8 +20,8 @@ li {
/*****header*****/
/*****header*****/
#header
{
#header
{
width
:
100%
;
width
:
100%
;
height
:
80
px
;
height
:
65
px
;
line-height
:
80
px
;
line-height
:
65
px
;
background
:
url(../images/banner.jpg)
;
background
:
url(../images/banner.jpg)
;
color
:
#fff
;
color
:
#fff
;
position
:
relative
;
position
:
relative
;
...
@@ -75,7 +75,7 @@ li {
...
@@ -75,7 +75,7 @@ li {
.h_title3
{
.h_title3
{
background
:
url(../images/skgjpz.png)
;
background
:
url(../images/skgjpz.png)
;
}
}
.h_title4
{
background
:
url(../images/qypzrwlb.png)
;}
.h_title4
{
background
:
url(../images/qypzrwlb.png)
;
position
:
relative
;
top
:
-5px
;
}
.h_title5
{
background
:
url(../images/skgjbsrwlb.png)
;
width
:
340px
;}
.h_title5
{
background
:
url(../images/skgjbsrwlb.png)
;
width
:
340px
;}
.color1
{
color
:
#ec704c
;}
.color1
{
color
:
#ec704c
;}
.datebox-h
{
width
:
228px
;
height
:
24px
;
line-height
:
24px
;}
.datebox-h
{
width
:
228px
;
height
:
24px
;
line-height
:
24px
;}
...
...
src/main/resources/static/js/bkxxInsert.js
View file @
1f4f1d60
...
@@ -112,14 +112,18 @@
...
@@ -112,14 +112,18 @@
console
.
info
(
$
(
'#form1'
).
serializeArray
())
console
.
info
(
$
(
'#form1'
).
serializeArray
())
if
(
$
(
'#form1'
).
form
(
'enableValidation'
).
form
(
'validate'
)){
if
(
$
(
'#form1'
).
form
(
'enableValidation'
).
form
(
'validate'
)){
$
(
".zdy-loading"
).
show
();
$
.
ajax
({
$
.
ajax
({
method
:
'post'
,
method
:
'post'
,
url
:
'saveBkxx'
,
url
:
'saveBkxx'
,
dateType
:
'json'
,
dateType
:
'json'
,
data
:
$
(
'#form1'
).
serializeArray
(),
data
:
$
(
'#form1'
).
serializeArray
(),
success
:
function
(
data
){
success
:
function
(
data
){
$
(
".zdy-loading"
).
hide
();
if
(
data
.
data
.
id
!=
null
){
if
(
data
.
data
.
id
!=
null
){
$
.
messager
.
alert
({
title
:
'提示'
,
msg
:
'保存成功'
});
$
.
messager
.
alert
({
title
:
'提示'
,
msg
:
'保存成功'
});
}
else
if
(
data
.
data
.
id
!=
"0"
){
$
.
messager
.
alert
({
title
:
'提示'
,
msg
:
'保存失败'
});
}
else
{
}
else
{
$
.
messager
.
alert
({
title
:
'提示'
,
msg
:
'数据已存在,不可重复提交'
});
$
.
messager
.
alert
({
title
:
'提示'
,
msg
:
'数据已存在,不可重复提交'
});
}
}
...
...
src/main/resources/static/js/bsrwInsert.js
View file @
1f4f1d60
...
@@ -44,12 +44,14 @@ function submit() {
...
@@ -44,12 +44,14 @@ function submit() {
console
.
info
(
$
(
'#form1'
).
serialize
())
console
.
info
(
$
(
'#form1'
).
serialize
())
console
.
info
(
$
(
'#form1'
).
serializeArray
())
console
.
info
(
$
(
'#form1'
).
serializeArray
())
if
(
$
(
'#form1'
).
form
(
'enableValidation'
).
form
(
'validate'
)){
if
(
$
(
'#form1'
).
form
(
'enableValidation'
).
form
(
'validate'
)){
$
(
".zdy-loading"
).
show
();
$
.
ajax
({
$
.
ajax
({
method
:
'post'
,
method
:
'post'
,
url
:
'sendTrackTogetherTask?fsrjh='
+
fsrjh
+
"&fsrIdentity="
+
fsrIdentity
+
"&taskCaseId="
+
taskCaseId
,
url
:
'sendTrackTogetherTask?fsrjh='
+
fsrjh
+
"&fsrIdentity="
+
fsrIdentity
+
"&taskCaseId="
+
taskCaseId
,
dateType
:
'json'
,
dateType
:
'json'
,
data
:
$
(
'#form1'
).
serializeArray
(),
data
:
$
(
'#form1'
).
serializeArray
(),
success
:
function
(
data
){
success
:
function
(
data
){
$
(
".zdy-loading"
).
hide
();
if
(
data
==
"1"
){
if
(
data
==
"1"
){
$
.
messager
.
show
({
title
:
'提示'
,
msg
:
'任务发送成功!'
});
$
.
messager
.
show
({
title
:
'提示'
,
msg
:
'任务发送成功!'
});
}
else
{
}
else
{
...
...
src/main/webapp/WEB-INF/jsp/bkxx/bkxxInsert.jsp
View file @
1f4f1d60
...
@@ -190,6 +190,7 @@
...
@@ -190,6 +190,7 @@
</div>
</div>
</article>
</article>
<div class="zdy-loading"><i class="fa fa-spinner fa-pulse fa-fw"></i><p class="send-p">发送中...</p></div>
<script src="/js/jquery.min.js" type="text/javascript"></script>
<script src="/js/jquery.min.js" type="text/javascript"></script>
<!--- 代码框-->
<!--- 代码框-->
<script type="text/javascript" src="/common/easyui-window/js/jquery.min.js"></script>
<script type="text/javascript" src="/common/easyui-window/js/jquery.min.js"></script>
...
...
src/main/webapp/WEB-INF/jsp/gjbs/Insert.jsp
View file @
1f4f1d60
...
@@ -114,6 +114,7 @@
...
@@ -114,6 +114,7 @@
</div>
</div>
</article>
</article>
<div class="zdy-loading"><i class="fa fa-spinner fa-pulse fa-fw"></i><p class="send-p">发送中...</p></div>
<script src="/js/jquery.min.js" type="text/javascript"></script>
<script src="/js/jquery.min.js" type="text/javascript"></script>
<!--- 代码框-->
<!--- 代码框-->
<script type="text/javascript" src="/common/easyui-window/js/jquery.min.js"></script>
<script type="text/javascript" src="/common/easyui-window/js/jquery.min.js"></script>
...
...
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