Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zbgl
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
马超
zbgl
Commits
c81eefd7
Commit
c81eefd7
authored
Sep 20, 2022
by
马超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
值班管理
parent
70955f4c
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
1214 additions
and
20 deletions
+1214
-20
web/home-t.jsp
web/home-t.jsp
+1
-0
web/jsp/zbgl/pbmx/edit-t.jsp
web/jsp/zbgl/pbmx/edit-t.jsp
+6
-6
web/jsp/zbgl/pbmx/right_list.jsp
web/jsp/zbgl/pbmx/right_list.jsp
+6
-6
web/jsp/zbgl/zbjj/action.jsp
web/jsp/zbgl/zbjj/action.jsp
+117
-0
web/jsp/zbgl/zbjj/add_jj-t.jsp
web/jsp/zbgl/zbjj/add_jj-t.jsp
+256
-0
web/jsp/zbgl/zbjj/add_ldps-t.jsp
web/jsp/zbgl/zbjj/add_ldps-t.jsp
+186
-0
web/jsp/zbgl/zbjj/getLdps.jsp
web/jsp/zbgl/zbjj/getLdps.jsp
+38
-0
web/jsp/zbgl/zbjj/jj_xq-t.jsp
web/jsp/zbgl/zbjj/jj_xq-t.jsp
+202
-0
web/jsp/zbgl/zbjj/list-t.jsp
web/jsp/zbgl/zbjj/list-t.jsp
+175
-0
web/jsp/zbgl/zbjj/list_ajax.jsp
web/jsp/zbgl/zbjj/list_ajax.jsp
+183
-0
web/jsp/zbgl/zbjj/viewLdps-t.jsp
web/jsp/zbgl/zbjj/viewLdps-t.jsp
+36
-0
web/jsp/zbglBgs/pbmx/edit-t.jsp
web/jsp/zbglBgs/pbmx/edit-t.jsp
+8
-8
No files found.
web/home-t.jsp
View file @
c81eefd7
...
...
@@ -50,6 +50,7 @@
menu_url_1
=
pub
.
trimNull
((
String
)
ht
.
get
(
"menu_url"
));
}
cf
.
executeUpdate
(
conn
,
"
update
zb_ldps
set
is_up
=
'0'
where
is_up
=
'1'
and
up_day
is
not
null
and
up_day
!=
''
and
timestampdiff
(
minute
,
add_time
,
now
())
>
up_day
*
24
*
60
",new Object[]{});
} catch (Exception e) {
out.println("
查询用户信息异常"
+
e
);
return
;
...
...
web/jsp/zbgl/pbmx/edit-t.jsp
View file @
c81eefd7
...
...
@@ -103,9 +103,9 @@
:
</label>
<div
class=
"formControls col-xs-6"
>
<input
type=
"text"
style=
"width:25%;"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"b_time"
))
%>
"
placeholder=
""
id =
"b_time_
<%=
i
+
1
%>
"
name=
"b_time_
<%=
i
+
1
%>
"
>
<input
type=
"text"
style=
"width:25%;"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"b_time"
))
%>
"
placeholder=
""
id =
"b_time_
<%=
i
+
1
%>
"
name=
"b_time_
<%=
i
+
1
%>
"
>
至
<input
type=
"text"
style=
"width:25%;"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"e_time"
))
%>
"
placeholder=
""
id =
"e_time_
<%=
i
+
1
%>
"
name=
"e_time_
<%=
i
+
1
%>
"
>
<input
type=
"text"
style=
"width:25%;"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"e_time"
))
%>
"
placeholder=
""
id =
"e_time_
<%=
i
+
1
%>
"
name=
"e_time_
<%=
i
+
1
%>
"
>
默认人数
<input
type=
"text"
style=
"width:20%;"
class=
"input-text "
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"ren_num"
))
%>
"
placeholder=
""
id =
"ren_num_
<%=
i
+
1
%>
"
name=
"ren_num_
<%=
i
+
1
%>
"
>
</div>
...
...
@@ -128,9 +128,9 @@
:
</label>
<div
class=
"formControls col-xs-6"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
""
placeholder=
""
id =
"b_time_1"
name=
"b_time_1"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
""
placeholder=
""
id =
"b_time_1"
name=
"b_time_1"
>
至
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
""
placeholder=
""
id =
"e_time_1"
name=
"e_time_1"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
""
placeholder=
""
id =
"e_time_1"
name=
"e_time_1"
>
默认人数
<input
type=
"text"
style=
"width:20%;"
class=
"input-text "
value=
""
placeholder=
""
id =
"ren_num_1"
name=
"ren_num_1"
>
</div>
...
...
@@ -162,9 +162,9 @@
"
<label class=
\"
form-label col-xs-4
\"
style=
\"
margin-top: 0px;
\"
>
"
+
"
<input type=
\"
text
\"
style=
\"
width:30%;
\"
autocomplete=
\"
off
\"
class=
\"
input-text
\"
value=
\"\"
placeholder=
\"\"
id =
\"
zb_type_
"
+
(
name_count
+
1
)
+
"
\"
name=
\"
zb_type_
"
+
(
name_count
+
1
)
+
"
\"
> :</label>
\n
"
+
"
<div class=
\"
formControls col-xs-6
\"
>
\n
"
+
"
<input type=
\"
text
\"
style=
\"
width:25%;
\"
autocomplete=
\"
off
\"
class=
\"
input-text Wdate
\"
onclick=
\"
WdatePicker({dateFmt:'HH
-
mm'})
\"
value=
\"\"
placeholder=
\"\"
id =
\"
b_time_
"
+
(
name_count
+
1
)
+
"
\"
name=
\"
b_time_
"
+
(
name_count
+
1
)
+
"
\"
>
\n
"
+
"
<input type=
\"
text
\"
style=
\"
width:25%;
\"
autocomplete=
\"
off
\"
class=
\"
input-text Wdate
\"
onclick=
\"
WdatePicker({dateFmt:'HH
:
mm'})
\"
value=
\"\"
placeholder=
\"\"
id =
\"
b_time_
"
+
(
name_count
+
1
)
+
"
\"
name=
\"
b_time_
"
+
(
name_count
+
1
)
+
"
\"
>
\n
"
+
"
至
\n
"
+
"
<input type=
\"
text
\"
style=
\"
width:25%;
\"
autocomplete=
\"
off
\"
class=
\"
input-text Wdate
\"
onclick=
\"
WdatePicker({dateFmt:'HH
-
mm'})
\"
value=
\"\"
placeholder=
\"\"
id =
\"
e_time_
"
+
(
name_count
+
1
)
+
"
\"
name=
\"
e_time_
"
+
(
name_count
+
1
)
+
"
\"
>
\n
"
+
"
<input type=
\"
text
\"
style=
\"
width:25%;
\"
autocomplete=
\"
off
\"
class=
\"
input-text Wdate
\"
onclick=
\"
WdatePicker({dateFmt:'HH
:
mm'})
\"
value=
\"\"
placeholder=
\"\"
id =
\"
e_time_
"
+
(
name_count
+
1
)
+
"
\"
name=
\"
e_time_
"
+
(
name_count
+
1
)
+
"
\"
>
\n
"
+
"
默认人数
\n
"
+
"
<input type=
\"
text
\"
style=
\"
width:20%;
\"
class=
\"
input-text
\"
value=
\"\"
placeholder=
\"\"
id =
\"
ren_num_
"
+
(
name_count
+
1
)
+
"
\"
name=
\"
ren_num_
"
+
(
name_count
+
1
)
+
"
\"
>
"
+
"
</div>
\n
"
+
...
...
web/jsp/zbgl/pbmx/right_list.jsp
View file @
c81eefd7
...
...
@@ -101,9 +101,9 @@
:
</label>
<div
class=
"formControls col-xs-6"
>
<input
type=
"text"
style=
"width:25%;"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"b_time"
))
%>
"
placeholder=
""
id =
"b_time_
<%=
i
+
1
%>
"
name=
"b_time_
<%=
i
+
1
%>
"
>
<input
type=
"text"
style=
"width:25%;"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"b_time"
))
%>
"
placeholder=
""
id =
"b_time_
<%=
i
+
1
%>
"
name=
"b_time_
<%=
i
+
1
%>
"
>
至
<input
type=
"text"
style=
"width:25%;"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"e_time"
))
%>
"
placeholder=
""
id =
"e_time_
<%=
i
+
1
%>
"
name=
"e_time_
<%=
i
+
1
%>
"
>
<input
type=
"text"
style=
"width:25%;"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"e_time"
))
%>
"
placeholder=
""
id =
"e_time_
<%=
i
+
1
%>
"
name=
"e_time_
<%=
i
+
1
%>
"
>
默认人数
<input
type=
"text"
style=
"width:20%;"
class=
"input-text "
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"ren_num"
))
%>
"
placeholder=
""
id =
"ren_num_
<%=
i
+
1
%>
"
name=
"ren_num_
<%=
i
+
1
%>
"
>
</div>
...
...
@@ -126,9 +126,9 @@
:
</label>
<div
class=
"formControls col-xs-6"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
""
placeholder=
""
id =
"b_time_1"
name=
"b_time_1"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
""
placeholder=
""
id =
"b_time_1"
name=
"b_time_1"
>
至
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
""
placeholder=
""
id =
"e_time_1"
name=
"e_time_1"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
""
placeholder=
""
id =
"e_time_1"
name=
"e_time_1"
>
默认人数
<input
type=
"text"
style=
"width:20%;"
class=
"input-text "
value=
""
placeholder=
""
id =
"ren_num_1"
name=
"ren_num_1"
>
</div>
...
...
@@ -160,9 +160,9 @@
"
<label class=
\"
form-label col-xs-4
\"
style=
\"
margin-top: 0px;
\"
>
"
+
"
<input type=
\"
text
\"
style=
\"
width:30%;
\"
autocomplete=
\"
off
\"
class=
\"
input-text
\"
value=
\"\"
placeholder=
\"\"
id =
\"
zb_type_
"
+
(
name_count
+
1
)
+
"
\"
name=
\"
zb_type_
"
+
(
name_count
+
1
)
+
"
\"
> :</label>
\n
"
+
"
<div class=
\"
formControls col-xs-6
\"
>
\n
"
+
"
<input type=
\"
text
\"
style=
\"
width:25%;
\"
autocomplete=
\"
off
\"
class=
\"
input-text Wdate
\"
onclick=
\"
WdatePicker({dateFmt:'HH
-
mm'})
\"
value=
\"\"
placeholder=
\"\"
id =
\"
b_time_
"
+
(
name_count
+
1
)
+
"
\"
name=
\"
b_time_
"
+
(
name_count
+
1
)
+
"
\"
>
\n
"
+
"
<input type=
\"
text
\"
style=
\"
width:25%;
\"
autocomplete=
\"
off
\"
class=
\"
input-text Wdate
\"
onclick=
\"
WdatePicker({dateFmt:'HH
:
mm'})
\"
value=
\"\"
placeholder=
\"\"
id =
\"
b_time_
"
+
(
name_count
+
1
)
+
"
\"
name=
\"
b_time_
"
+
(
name_count
+
1
)
+
"
\"
>
\n
"
+
"
至
\n
"
+
"
<input type=
\"
text
\"
style=
\"
width:25%;
\"
autocomplete=
\"
off
\"
class=
\"
input-text Wdate
\"
onclick=
\"
WdatePicker({dateFmt:'HH
-
mm'})
\"
value=
\"\"
placeholder=
\"\"
id =
\"
e_time_
"
+
(
name_count
+
1
)
+
"
\"
name=
\"
e_time_
"
+
(
name_count
+
1
)
+
"
\"
>
\n
"
+
"
<input type=
\"
text
\"
style=
\"
width:25%;
\"
autocomplete=
\"
off
\"
class=
\"
input-text Wdate
\"
onclick=
\"
WdatePicker({dateFmt:'HH
:
mm'})
\"
value=
\"\"
placeholder=
\"\"
id =
\"
e_time_
"
+
(
name_count
+
1
)
+
"
\"
name=
\"
e_time_
"
+
(
name_count
+
1
)
+
"
\"
>
\n
"
+
"
默认人数
\n
"
+
"
<input type=
\"
text
\"
style=
\"
width:20%;
\"
class=
\"
input-text
\"
value=
\"\"
placeholder=
\"\"
id =
\"
ren_num_
"
+
(
name_count
+
1
)
+
"
\"
name=
\"
ren_num_
"
+
(
name_count
+
1
)
+
"
\"
>
"
+
"
</div>
\n
"
+
...
...
web/jsp/zbgl/zbjj/action.jsp
0 → 100644
View file @
c81eefd7
<%@ page
contentType=
"text/html;charset=UTF-8"
language=
"java"
%>
<%@ page
import=
"java.sql.Connection"
%>
<%@ page
import=
"java.util.*"
%>
<%@ page
import=
"com.censoft.common.db.ConnectionFactory"
%>
<%@ page
import=
"com.censoft.common.base.Pub"
%>
<%@ page
import=
"com.censoft.db.Logger"
%>
<%!
%>
<%
ConnectionFactory
cf
=
new
ConnectionFactory
();
Pub
pub
=
new
Pub
();
Connection
conn
=
null
;
Enumeration
enu
=
request
.
getParameterNames
();
String
action
=
pub
.
trimNull
(
request
.
getParameter
(
"action"
));
String
action_msg
=
""
;
String
id
=
pub
.
trimNull
(
request
.
getParameter
(
"id"
));
String
input_count
=
pub
.
trimNull
(
request
.
getParameter
(
"input_count"
));
if
(
""
.
equals
(
input_count
)){
input_count
=
"1"
;
}
int
inputSize
=
Integer
.
parseInt
(
input_count
);
String
fb_time
=
pub
.
trimNull
(
request
.
getParameter
(
"fb_time"
));
String
fb_user
=
pub
.
trimNull
(
request
.
getParameter
(
"fb_user"
));
String
wc_time
=
pub
.
trimNull
(
request
.
getParameter
(
"wc_time"
));
String
wc_user
=
pub
.
trimNull
(
request
.
getParameter
(
"wc_user"
));
String
status
=
pub
.
trimNull
(
request
.
getParameter
(
"status"
));
String
zs_content
=
pub
.
trimNull
(
request
.
getParameter
(
"zs_content"
));
String
is_up
=
pub
.
trimNull
(
request
.
getParameter
(
"is_up"
));
String
up_day
=
pub
.
trimNull
(
request
.
getParameter
(
"up_day"
));
String
add_user
=
pub
.
trimNull
((
String
)
session
.
getAttribute
(
"session_login_id"
));
if
(
""
.
equals
(
add_user
))
{
System
.
out
.
println
(
"当前没有用户信息"
);
}
String
login_name
=
pub
.
trimNull
((
String
)
session
.
getAttribute
(
"session_login_name"
));
String
add_time
=
pub
.
getCurrentServerTime
();
StringBuffer
sql_add
=
new
StringBuffer
(
"insert into zb_jj (jj_content,beizhu,tc_time,tc_user,status) values (?,?,?,?,?)"
);
try
{
conn
=
com
.
censoft
.
db
.
DBUtil
.
getConnection
();
conn
.
setAutoCommit
(
false
);
boolean
is_oper
=
false
;
if
(
"add"
.
equals
(
action
)){
action_msg
=
"新增"
;
for
(
int
i
=
0
;
i
<
inputSize
;
i
++){
String
jj_content
=
pub
.
trimNull
(
request
.
getParameter
(
"jj_neirong_"
+(
i
+
1
)));
String
beizhu
=
pub
.
trimNull
(
request
.
getParameter
(
"beizhu_"
+(
i
+
1
)));
List
list_add
=
new
ArrayList
();
list_add
.
add
(
jj_content
);
list_add
.
add
(
beizhu
);
list_add
.
add
(
add_time
);
list_add
.
add
(
login_name
);
list_add
.
add
(
"0"
);
if
(!
""
.
equals
(
jj_content
)){
is_oper
=
cf
.
executeUpdate
(
conn
,
sql_add
.
toString
(),
list_add
.
toArray
());
if
(!
is_oper
)
{
conn
.
rollback
();
System
.
out
.
println
(
"新增zb_jj表出错了"
+
cf
.
getMsg
());
return
;
}
}
}
}
else
if
(
"delete"
.
equals
(
action
)){
action_msg
=
"删除"
;
is_oper
=
cf
.
executeUpdate
(
conn
,
"delete from zb_jj where id=?"
,
new
Object
[]{
id
});
if
(!
is_oper
)
{
conn
.
rollback
();
System
.
out
.
println
(
"删除zb_jj表出错了"
+
cf
.
getMsg
());
return
;
}
}
else
if
(
"addLdps"
.
equals
(
action
)){
action_msg
=
"新增领导批示"
;
StringBuffer
add_ps
=
new
StringBuffer
(
"insert into zb_ldps (fb_user,fb_time,zs_content,is_up,up_day,status,add_user,add_time) values (?,?,?,?,?,?,?,?)"
);
is_oper
=
cf
.
executeUpdate
(
conn
,
add_ps
.
toString
(),
new
Object
[]{
fb_user
,
fb_time
,
zs_content
,
is_up
,
up_day
,
"fabu"
,
add_user
,
add_time
});
if
(!
is_oper
)
{
conn
.
rollback
();
System
.
out
.
println
(
"新增zb_ldps表出错了"
+
cf
.
getMsg
());
return
;
}
}
else
{
action_msg
=
"修改"
;
is_oper
=
cf
.
executeUpdate
(
conn
,
"update zb_jj set status=?,wc_time=?,wc_user=? where id=?"
,
new
Object
[]{
status
,
wc_time
,
wc_user
,
id
});
if
(!
is_oper
)
{
conn
.
rollback
();
System
.
out
.
println
(
"修改zb_jj表出错了"
+
cf
.
getMsg
());
return
;
}
}
if
(!
is_oper
)
{
conn
.
rollback
();
System
.
out
.
println
(
"操作出错了"
+
cf
.
getMsg
());
return
;
}
Logger
.
log
(
conn
,
"值班交接"
,
action_msg
,
add_user
,
""
,
request
);
conn
.
commit
();
if
(!
is_oper
)
{
conn
.
rollback
();
out
.
println
(
cf
.
getMsg
());
}
else
{
out
.
println
(
"success,"
+
id
);
}
}
catch
(
Exception
e
)
{
conn
.
rollback
();
System
.
out
.
println
(
"有异常"
+
e
);
return
;
}
finally
{
if
(
conn
!=
null
)
{
conn
.
setAutoCommit
(
true
);
try
{
conn
.
close
();
}
catch
(
Exception
e
)
{
}
}
}
%>
web/jsp/zbgl/zbjj/add_jj-t.jsp
0 → 100644
View file @
c81eefd7
<%@ page
contentType=
"text/html;charset=UTF-8"
language=
"java"
%>
<%@ page
import=
"com.censoft.common.base.Pub"
%>
<%@ page
import=
"com.censoft.common.db.ConnectionFactory"
%>
<%@ page
import=
"java.sql.Connection"
%>
<%@ page
import=
"java.util.Hashtable"
%>
<%@ page
import=
"java.util.Vector"
%>
<%
ConnectionFactory
cf
=
new
ConnectionFactory
();
Pub
pub
=
new
Pub
();
Connection
conn
=
null
;
Vector
v_list
=
null
;
Vector
v_type_list
=
null
;
String
jj_id
=
pub
.
trimNull
(
request
.
getParameter
(
"jj_id"
));
String
action
=
pub
.
trimNull
(
request
.
getParameter
(
"action"
));
Hashtable
ht
=
new
Hashtable
();
StringBuffer
sql
=
new
StringBuffer
();
StringBuffer
group_sql
=
new
StringBuffer
();
int
listSize
=
1
;
try
{
conn
=
com
.
censoft
.
db
.
DBUtil
.
getConnection
();
if
(
"update"
.
equals
(
action
)){
sql
.
append
(
"select * from zb_jj where id=?"
);
v_list
=
cf
.
doQuery
(
conn
,
sql
.
toString
(),
null
,
new
Object
[]{
jj_id
});
}
if
(
v_list
!=
null
&&
v_list
.
size
()
>
0
)
{
ht
=
(
Hashtable
)
v_list
.
get
(
0
);
}
}
catch
(
Exception
e
)
{
out
.
println
(
"查询用户信息异常"
+
e
);
return
;
}
finally
{
if
(
conn
!=
null
)
{
try
{
conn
.
close
();
}
catch
(
Exception
e
)
{
}
}
}
%>
<style>
.input-three
{
width
:
22%
}
.input-two
{
width
:
32%
}
.col-sm-2
{
width
:
14%
;
}
.col-sm-3
{
width
:
19%
;
}
.btn-red
{
background-color
:
red
;
border
:
red
}
.btn-green
{
background-color
:
green
;
border
:
green
}
.input-text
{
border
:
1px
solid
#000
;
height
:
40px
;}
</style>
<div
class=
""
>
<form
class=
"form form-horizontal"
id=
"form-admin-add"
>
<input
type=
"hidden"
value=
"
<%=
action
%>
"
name=
"action"
id=
"action"
>
<input
type=
"hidden"
id=
"input_count"
name=
"input_count"
value=
"8"
/>
<div
id=
"content"
class=
"cl pd-5 bk-gray divOverflow"
style=
"overflow:hidden;margin-bottom: 20px;"
>
<div
class=
"row cl"
style=
"text-align: center;margin-left: 10%;"
>
<div
class=
"form-label col-xs-5 col-sm-5"
style=
"border:1px solid #000;text-align: center;height:40px;line-height: 40px;font-size: 16px;"
>
交接内容
</div>
<div
class=
"form-label col-xs-5 col-sm-5"
style=
"border:1px solid #000;text-align: center;height:40px;line-height: 40px;font-size: 16px;"
>
备注
</div>
<a
href=
"javascript:void (0);"
onclick=
"addDiv();"
style=
"font-size: 25px;"
>
+
</a>
</div>
<div
class=
"row cl"
style=
"text-align: center;margin-left: 10%;"
id=
"div_1"
>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"jj_neirong_1"
id=
"jj_neirong_1"
value=
""
>
</div>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"beizhu_1"
id=
"beizhu_1"
value=
""
>
</div>
</div>
<div
class=
"row cl"
style=
"text-align: center;margin-left: 10%;"
id=
"div_2"
>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"jj_neirong_2"
id=
"jj_neirong_2"
value=
""
>
</div>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"beizhu_2"
id=
"beizhu_2"
value=
""
>
</div>
</div>
<div
class=
"row cl"
style=
"text-align: center;margin-left: 10%;"
id=
"div_3"
>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"jj_neirong_3"
id=
"jj_neirong_3"
value=
""
>
</div>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"beizhu_3"
id=
"beizhu_3"
value=
""
>
</div>
</div>
<div
class=
"row cl"
style=
"text-align: center;margin-left: 10%;"
id=
"div_4"
>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"jj_neirong_4"
id=
"jj_neirong_4"
value=
""
>
</div>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"beizhu_4"
id=
"beizhu_4"
value=
""
>
</div>
</div>
<div
class=
"row cl"
style=
"text-align: center;margin-left: 10%;"
id=
"div_5"
>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"jj_neirong_5"
id=
"jj_neirong_5"
value=
""
>
</div>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"beizhu_5"
id=
"beizhu_5"
value=
""
>
</div>
</div>
<div
class=
"row cl"
style=
"text-align: center;margin-left: 10%;"
id=
"div_6"
>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"jj_neirong_6"
id=
"jj_neirong_6"
value=
""
>
</div>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"beizhu_6"
id=
"beizhu_6"
value=
""
>
</div>
</div>
<div
class=
"row cl"
style=
"text-align: center;margin-left: 10%;"
id=
"div_7"
>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"jj_neirong_7"
id=
"jj_neirong_7"
value=
""
>
</div>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"beizhu_7"
id=
"beizhu_7"
value=
""
>
</div>
</div>
<div
class=
"row cl"
style=
"text-align: center;margin-left: 10%;"
id=
"div_8"
>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"jj_neirong_8"
id=
"jj_neirong_8"
value=
""
>
</div>
<div
class=
"form-label col-xs-5 col-sm-5 "
style=
"padding: 0px;"
>
<input
type=
"text"
class=
"input-text"
name=
"beizhu_8"
id=
"beizhu_8"
value=
""
>
</div>
</div>
</div>
</form>
</div>
<div
class=
"cl mb-10 bk-gray "
style=
"height: 50px;"
>
<div
class=
"col-sm-3 pd-10"
style=
"width:100%;text-align: center;"
>
<input
class=
"btn btn-primary radius btn-green"
type=
"button"
onclick=
"javascript:saveForm();"
value=
" 保存 "
>
</div>
</div>
<script>
var
count
;
var
size
=
'
<%=
listSize
%>
'
;
if
(
size
==
0
){
count
=
1
;
}
else
{
count
=
parseInt
(
size
);
}
var
div_count
=
9
;
function
addDiv
(){
var
name_count
=
parseInt
(
$
(
"
#input_count
"
).
val
());
$
(
"
#content
"
).
append
(
"
<div class=
\"
row cl
\"
style=
\"
text-align: center;margin-left: 10%;
\"
id=
\"
div_
"
+
div_count
+
"
\"
>
\n
"
+
"
<div class=
\"
form-label col-xs-5 col-sm-5
\"
style=
\"
padding: 0px;
\"
>
\n
"
+
"
<input type=
\"
text
\"
class=
\"
input-text
\"
name=
\"
jj_neirong_
"
+
div_count
+
"
\"
id=
\"
jj_neirong_
"
+
div_count
+
"
\"
value=
\"\"
>
\n
"
+
"
</div>
\n
"
+
"
<div class=
\"
form-label col-xs-5 col-sm-5
\"
style=
\"
padding: 0px;
\"
>
\n
"
+
"
<input type=
\"
text
\"
class=
\"
input-text
\"
name=
\"
beizhu_
"
+
div_count
+
"
\"
id=
\"
beizhu_
"
+
div_count
+
"
\"
value=
\"\"
>
\n
"
+
"
</div>
\n
"
+
"
</div>
"
);
$
(
"
#input_count
"
).
val
(
div_count
);
div_count
++
;
}
function
deleteDiv
(
div_id
){
$
(
"
#div_
"
+
div_id
).
remove
();
$
(
'
.zbType
'
).
each
(
function
(
index
,
element
){
if
(
index
!=
0
){
index
=
index
+
1
;
//$(this).children(":first").html("号段"+index+":");
var
div_index
=
$
(
this
).
attr
(
"
name
"
);
$
(
"
#zb_type_
"
+
div_index
).
attr
(
"
name
"
,
"
zb_type_
"
+
index
);
$
(
"
#b_time_
"
+
div_index
).
attr
(
"
name
"
,
"
b_time_
"
+
index
);
$
(
"
#e_time_
"
+
div_index
).
attr
(
"
name
"
,
"
e_time_
"
+
index
);
}
});
//var obj=document.getElementsByClassName("row cl").length;
var
obj
=
$
(
"
.zbType
"
).
length
;
$
(
"
#input_count
"
).
val
(
obj
);
}
function
LayerOpen
(
title
,
url
,
w
,
h
)
{
if
(
$
(
"
#user_id
"
).
val
()
==
''
){
layer
.
alert
(
"
请先保存用户再添加相关人员
"
,{
icon
:
5
,
title
:
"
提示
"
});
return
false
;
}
var
abc
=
layer
.
open
({
title
:
title
,
type
:
2
,
content
:
url
,
area
:
[
w
,
h
],
maxmin
:
true
});
layer
.
full
(
abc
);
}
function
viewDeptOrUserInfo
(
title
,
url
,
w
,
h
)
{
location
.
href
=
url
;
}
function
saveForm
()
{
if
(
$
(
"
#jj_neirong_1
"
).
val
()
==
''
){
layer
.
alert
(
"
交接内容不能为空
"
,{
icon
:
5
,
title
:
"
提示
"
});
return
false
;
}
$
.
ajax
({
type
:
"
POST
"
,
url
:
"
./action.jsp
"
,
data
:
$
(
'
#form-admin-add
'
).
serialize
(),
success
:
function
(
msg
)
{
if
(
msg
.
indexOf
(
"
success
"
)
>=
0
)
{
layer
.
msg
(
'
操作成功!
'
,
{
icon
:
1
,
time
:
1000
},
function
()
{
parent
.
searchModel
();
//parent.document.getElementById("check_mx_id").value=mx_id;
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
parent
.
layer
.
close
(
index
);
});
}
else
{
layer
.
msg
(
'
操作失败
'
,
{
icon
:
5
,
time
:
2000
//2秒关闭(如果不配置,默认是3秒)
},
function
()
{
// console.log("********************8")
});
}
}
});
}
function
deleteUser
(
user_id
,
p_user_id
){
layer
.
confirm
(
'
确认要删除吗?
'
,
function
(
index
)
{
$
.
ajax
({
type
:
"
POST
"
,
url
:
"
./action.jsp?&p_user_id=
"
+
p_user_id
+
"
&user_id=
"
+
user_id
+
"
&action=delete
"
,
success
:
function
(
msg
)
{
if
(
msg
.
indexOf
(
"
success
"
)
>=
0
)
{
layer
.
msg
(
'
操作成功!
'
,
{
icon
:
1
,
time
:
1000
},
function
()
{
location
.
reload
();
if
(
rel_user_id
!=
''
){
window
.
parent
.
location
.
reload
();
}
parent
.
searchModel
();
});
}
else
{
layer
.
msg
(
'
操作失败
'
,
{
icon
:
5
,
time
:
2000
//2秒关闭(如果不配置,默认是3秒)
},
function
()
{
// console.log("********************8")
});
}
}
});
});
}
</script>
\ No newline at end of file
web/jsp/zbgl/zbjj/add_ldps-t.jsp
0 → 100644
View file @
c81eefd7
<%@ page
contentType=
"text/html;charset=UTF-8"
language=
"java"
%>
<%@ page
import=
"com.censoft.common.base.Pub"
%>
<%@ page
import=
"com.censoft.common.db.ConnectionFactory"
%>
<%@ page
import=
"java.sql.Connection"
%>
<%@ page
import=
"java.util.Hashtable"
%>
<%@ page
import=
"java.util.Vector"
%>
<%
ConnectionFactory
cf
=
new
ConnectionFactory
();
Pub
pub
=
new
Pub
();
Connection
conn
=
null
;
Vector
v_list
=
null
;
Vector
v_type_list
=
null
;
String
id
=
pub
.
trimNull
(
request
.
getParameter
(
"id"
));
String
action
=
pub
.
trimNull
(
request
.
getParameter
(
"action"
));
Hashtable
ht
=
new
Hashtable
();
StringBuffer
sql
=
new
StringBuffer
();
StringBuffer
group_sql
=
new
StringBuffer
();
int
listSize
=
1
;
String
login_name
=
pub
.
trimNull
((
String
)
session
.
getAttribute
(
"session_login_name"
));
String
add_time
=
pub
.
getCurrentServerTime
();
try
{
conn
=
com
.
censoft
.
db
.
DBUtil
.
getConnection
();
if
(
"update"
.
equals
(
action
)){
sql
.
append
(
"select * from zb_ldps where id=?"
);
v_list
=
cf
.
doQuery
(
conn
,
sql
.
toString
(),
null
,
new
Object
[]{
id
});
}
if
(
v_list
!=
null
&&
v_list
.
size
()
>
0
)
{
ht
=
(
Hashtable
)
v_list
.
get
(
0
);
}
}
catch
(
Exception
e
)
{
out
.
println
(
"查询用户信息异常"
+
e
);
return
;
}
finally
{
if
(
conn
!=
null
)
{
try
{
conn
.
close
();
}
catch
(
Exception
e
)
{
}
}
}
%>
<style>
.input-three
{
width
:
22%
}
.input-two
{
width
:
32%
}
.col-sm-2
{
width
:
14%
;
}
.col-sm-3
{
width
:
19%
;
}
.btn-red
{
background-color
:
red
;
border
:
red
}
.btn-green
{
background-color
:
green
;
border
:
green
}
</style>
<div
class=
""
>
<form
class=
"form form-horizontal"
id=
"form-admin-add"
>
<input
type=
"hidden"
value=
"
<%=
action
%>
"
name=
"action"
id=
"action"
>
<div
id=
"content"
class=
"cl pd-5 bk-gray divOverflow"
style=
"overflow:hidden;margin-bottom: 20px;"
>
<div
class=
"row cl"
>
<label
class=
"form-label col-xs-4 col-sm-2"
>
<span
class=
"c-red"
>
*
</span>
发布人
:
</label>
<div
class=
"formControls col-xs-8 col-sm-10"
>
<input
type=
"text"
class=
"input-text"
name=
"fb_user"
id=
"fb_user"
value=
"
<%=
login_name
%>
"
>
</div>
</div>
<div
class=
"row cl"
>
<label
class=
"form-label col-xs-4 col-sm-2"
>
<span
class=
"c-red"
>
*
</span>
发布时间
:
</label>
<div
class=
"formControls col-xs-8 col-sm-10"
>
<input
type=
"text"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
name=
"fb_time"
id=
"fb_time"
value=
"
<%=
pub
.
trimNull
((
String
)
ht
.
get
(
"fb_time"
))
%>
"
>
</div>
</div>
<div
class=
"row cl"
>
<label
class=
"form-label col-xs-4 col-sm-2"
>
<span
class=
"c-red"
>
*
</span>
指示内容
:
</label>
<div
class=
"formControls col-xs-8 col-sm-10"
>
<textarea
type=
"text"
style=
"height:80px;"
class=
"input-text"
name=
"zs_content"
id=
"zs_content"
value=
""
><%=
pub
.
trimNull
((
String
)
ht
.
get
(
"zs_content"
))
%></textarea>
</div>
</div>
<div
class=
"row cl"
>
<label
class=
"form-label col-xs-4 col-sm-2"
>
<span
class=
"c-red"
>
*
</span>
是否置顶
:
</label>
<div
class=
"formControls col-xs-8 col-sm-10"
>
<input
type=
"radio"
name=
"is_up"
id=
"is_up_yes"
<%
if
(
"1"
.
equals
(
pub
.
trimNull
((
String
)
ht
.
get
(
"is_up"
)))){
%>
checked=
"checked"
<%
}
%>
value=
"1"
>
是
<input
type=
"radio"
name=
"is_up"
id=
"is_up_no"
<%
if
(
"0"
.
equals
(
pub
.
trimNull
((
String
)
ht
.
get
(
"is_up"
)))){
%>
checked=
"checked"
<%
}
%>
value=
"0"
>
否
</div>
</div>
<div
class=
"row cl"
>
<label
class=
"form-label col-xs-4 col-sm-2"
>
<span
class=
"c-red"
>
*
</span>
置顶天数
:
</label>
<div
class=
"formControls col-xs-8 col-sm-10"
>
<input
type=
"text"
class=
"input-text"
name=
"up_day"
id=
"up_day"
value=
"
<%=
pub
.
trimNull
((
String
)
ht
.
get
(
"up_day"
))
%>
"
>
</div>
</div>
</div>
</form>
</div>
<div
class=
"cl mb-10 bk-gray "
style=
"height: 50px;
<%
if
(
"update"
.
equals
(
action
)){
%>
display:none;
<%
}
%>
"
>
<div
class=
"col-sm-3 pd-10"
style=
"width:100%;text-align: center;"
>
<input
class=
"btn btn-primary radius btn-green"
type=
"button"
onclick=
"javascript:saveForm();"
value=
" 发布 "
>
</div>
</div>
<script>
function
LayerOpen
(
title
,
url
,
w
,
h
)
{
if
(
$
(
"
#user_id
"
).
val
()
==
''
){
layer
.
alert
(
"
请先保存用户再添加相关人员
"
,{
icon
:
5
,
title
:
"
提示
"
});
return
false
;
}
var
abc
=
layer
.
open
({
title
:
title
,
type
:
2
,
content
:
url
,
area
:
[
w
,
h
],
maxmin
:
true
});
layer
.
full
(
abc
);
}
function
viewDeptOrUserInfo
(
title
,
url
,
w
,
h
)
{
location
.
href
=
url
;
}
function
saveForm
()
{
if
(
$
(
"
#fb_user
"
).
val
()
==
''
){
layer
.
alert
(
"
发布人不能为空
"
,{
icon
:
5
,
title
:
"
提示
"
});
return
false
;
}
$
.
ajax
({
type
:
"
POST
"
,
url
:
"
./action.jsp
"
,
data
:
$
(
'
#form-admin-add
'
).
serialize
(),
success
:
function
(
msg
)
{
if
(
msg
.
indexOf
(
"
success
"
)
>=
0
)
{
layer
.
msg
(
'
操作成功!
'
,
{
icon
:
1
,
time
:
1000
},
function
()
{
parent
.
searchModel
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
parent
.
layer
.
close
(
index
);
});
}
else
{
layer
.
msg
(
'
操作失败
'
,
{
icon
:
5
,
time
:
2000
//2秒关闭(如果不配置,默认是3秒)
},
function
()
{
// console.log("********************8")
});
}
}
});
}
function
deleteUser
(
user_id
,
p_user_id
){
layer
.
confirm
(
'
确认要删除吗?
'
,
function
(
index
)
{
$
.
ajax
({
type
:
"
POST
"
,
url
:
"
./action.jsp?&p_user_id=
"
+
p_user_id
+
"
&user_id=
"
+
user_id
+
"
&action=delete
"
,
success
:
function
(
msg
)
{
if
(
msg
.
indexOf
(
"
success
"
)
>=
0
)
{
layer
.
msg
(
'
操作成功!
'
,
{
icon
:
1
,
time
:
1000
},
function
()
{
location
.
reload
();
if
(
rel_user_id
!=
''
){
window
.
parent
.
location
.
reload
();
}
parent
.
searchModel
();
});
}
else
{
layer
.
msg
(
'
操作失败
'
,
{
icon
:
5
,
time
:
2000
//2秒关闭(如果不配置,默认是3秒)
},
function
()
{
// console.log("********************8")
});
}
}
});
});
}
</script>
\ No newline at end of file
web/jsp/zbgl/zbjj/getLdps.jsp
0 → 100644
View file @
c81eefd7
<%@ page
contentType=
"text/html;charset=UTF-8"
language=
"java"
%>
<%@ page
import=
"java.sql.Connection"
%>
<%@ page
import=
"java.util.*"
%>
<%@ page
import=
"com.censoft.common.db.ConnectionFactory"
%>
<%@ page
import=
"com.censoft.common.base.Pub"
%>
<%@ page
import=
"com.censoft.db.Logger"
%>
<%!
%>
<%
ConnectionFactory
cf
=
new
ConnectionFactory
();
Pub
pub
=
new
Pub
();
Connection
conn
=
null
;
String
action
=
""
;
Vector
ldps_list
=
null
;
try
{
conn
=
com
.
censoft
.
db
.
DBUtil
.
getConnection
();
ldps_list
=
cf
.
doQuery
(
conn
,
"select * from zb_ldps order by is_up desc,add_time desc limit 1"
,
null
,
new
Object
[]{});
if
(
ldps_list
!=
null
&&
ldps_list
.
size
()
>
0
){
action
=
"yes"
;
}
else
{
action
=
"no"
;
}
out
.
println
(
action
);
}
catch
(
Exception
e
)
{
conn
.
rollback
();
System
.
out
.
println
(
"有异常"
+
e
);
return
;
}
finally
{
if
(
conn
!=
null
)
{
conn
.
setAutoCommit
(
true
);
try
{
conn
.
close
();
}
catch
(
Exception
e
)
{
}
}
}
%>
web/jsp/zbgl/zbjj/jj_xq-t.jsp
0 → 100644
View file @
c81eefd7
<%@ page
contentType=
"text/html;charset=UTF-8"
language=
"java"
%>
<%@ page
import=
"com.censoft.common.base.Pub"
%>
<%@ page
import=
"com.censoft.common.db.ConnectionFactory"
%>
<%@ page
import=
"java.sql.Connection"
%>
<%@ page
import=
"java.util.Hashtable"
%>
<%@ page
import=
"java.util.Vector"
%>
<%
ConnectionFactory
cf
=
new
ConnectionFactory
();
Pub
pub
=
new
Pub
();
Connection
conn
=
null
;
Vector
v_list
=
null
;
Vector
v_type_list
=
null
;
String
id
=
pub
.
trimNull
(
request
.
getParameter
(
"id"
));
String
action
=
pub
.
trimNull
(
request
.
getParameter
(
"action"
));
Hashtable
ht
=
new
Hashtable
();
StringBuffer
sql
=
new
StringBuffer
();
StringBuffer
group_sql
=
new
StringBuffer
();
String
login_name
=
pub
.
trimNull
((
String
)
session
.
getAttribute
(
"session_login_name"
));
String
add_time
=
pub
.
getCurrentServerTime
();
try
{
conn
=
com
.
censoft
.
db
.
DBUtil
.
getConnection
();
if
(
"update"
.
equals
(
action
)){
sql
.
append
(
"select * from zb_jj where id=?"
);
v_list
=
cf
.
doQuery
(
conn
,
sql
.
toString
(),
null
,
new
Object
[]{
id
});
}
if
(
v_list
!=
null
&&
v_list
.
size
()
>
0
)
{
ht
=
(
Hashtable
)
v_list
.
get
(
0
);
}
}
catch
(
Exception
e
)
{
out
.
println
(
"查询用户信息异常"
+
e
);
return
;
}
finally
{
if
(
conn
!=
null
)
{
try
{
conn
.
close
();
}
catch
(
Exception
e
)
{
}
}
}
%>
<style>
.input-three
{
width
:
22%
}
.input-two
{
width
:
32%
}
.col-sm-2
{
width
:
14%
;
}
.col-sm-3
{
width
:
19%
;
}
.btn-red
{
background-color
:
red
;
border
:
red
}
.btn-green
{
background-color
:
green
;
border
:
green
}
</style>
<div
class=
""
>
<form
class=
"form form-horizontal"
id=
"form-admin-add"
>
<input
type=
"hidden"
value=
"update"
name=
"action"
id=
"action"
>
<input
type=
"hidden"
value=
"
<%=
id
%>
"
name=
"id"
id=
"id"
>
<div
id=
"content"
class=
"cl pd-5 bk-gray divOverflow"
style=
"overflow:hidden;margin-bottom: 20px;"
>
<div
class=
"row cl"
>
<label
class=
"form-label col-xs-4 col-sm-2"
>
提出人
:
</label>
<div
class=
"formControls col-xs-8 col-sm-10"
>
<input
type=
"text"
class=
"input-text"
readonly
value=
"
<%=
pub
.
trimNull
((
String
)
ht
.
get
(
"tc_user"
))
%>
"
>
</div>
</div>
<div
class=
"row cl"
>
<label
class=
"form-label col-xs-4 col-sm-2"
>
提出时间
:
</label>
<div
class=
"formControls col-xs-8 col-sm-10"
>
<input
type=
"text"
autocomplete=
"off"
readonly
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht
.
get
(
"tc_time"
))
%>
"
>
</div>
</div>
<div
class=
"row cl"
>
<label
class=
"form-label col-xs-4 col-sm-2"
>
交接内容
:
</label>
<div
class=
"formControls col-xs-8 col-sm-10"
>
<textarea
type=
"text"
style=
"height:80px;"
readonly
class=
"input-text"
value=
""
><%=
pub
.
trimNull
((
String
)
ht
.
get
(
"jj_content"
))
%></textarea>
</div>
</div>
<div
class=
"row cl"
>
<label
class=
"form-label col-xs-4 col-sm-2"
>
备注
:
</label>
<div
class=
"formControls col-xs-8 col-sm-10"
>
<textarea
type=
"text"
style=
"height:80px;"
readonly
class=
"input-text"
value=
""
><%=
pub
.
trimNull
((
String
)
ht
.
get
(
"beizhu"
))
%></textarea>
</div>
</div>
<div
class=
"row cl"
>
<label
class=
"form-label col-xs-4 col-sm-2"
>
完成人
:
</label>
<div
class=
"formControls col-xs-8 col-sm-10"
>
<input
type=
"text"
autocomplete=
"off"
class=
"input-text "
name=
"wc_user"
value=
"
<%=
pub
.
trimNull
((
String
)
ht
.
get
(
"wc_user"
))
%>
"
>
</div>
</div>
<div
class=
"row cl"
>
<label
class=
"form-label col-xs-4 col-sm-2"
>
完成时间
:
</label>
<div
class=
"formControls col-xs-8 col-sm-10"
>
<input
type=
"text"
autocomplete=
"off"
name=
"wc_time"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht
.
get
(
"wc_time"
))
%>
"
>
</div>
</div>
<div
class=
"row cl"
>
<label
class=
"form-label col-xs-4 col-sm-2"
>
状态
:
</label>
<div
class=
"formControls col-xs-8 col-sm-10"
>
<select
name=
"status"
>
<option
value=
"0"
<%
if
(
"0"
.
equals
(
pub
.
trimNull
((
String
)
ht
.
get
(
"status"
)))){
%>
selected=
"selected"
<%
}
%>>
未完成
</option>
<option
value=
"1"
<%
if
(
"1"
.
equals
(
pub
.
trimNull
((
String
)
ht
.
get
(
"status"
)))){
%>
selected=
"selected"
<%
}
%>>
完成
</option>
</select>
</div>
</div>
</div>
</form>
</div>
<div
class=
"cl mb-10 bk-gray "
style=
"height: 50px;
<%
if
(
"1"
.
equals
(
pub
.
trimNull
((
String
)
ht
.
get
(
"status"
)))){
%>
display: none
<%
}
%>
"
>
<div
class=
"col-sm-3 pd-10"
style=
"width:100%;text-align: center;"
>
<input
class=
"btn btn-primary radius btn-green"
type=
"button"
onclick=
"javascript:saveForm();"
value=
" 发布 "
>
</div>
</div>
<script>
function
LayerOpen
(
title
,
url
,
w
,
h
)
{
if
(
$
(
"
#user_id
"
).
val
()
==
''
){
layer
.
alert
(
"
请先保存用户再添加相关人员
"
,{
icon
:
5
,
title
:
"
提示
"
});
return
false
;
}
var
abc
=
layer
.
open
({
title
:
title
,
type
:
2
,
content
:
url
,
area
:
[
w
,
h
],
maxmin
:
true
});
layer
.
full
(
abc
);
}
function
viewDeptOrUserInfo
(
title
,
url
,
w
,
h
)
{
location
.
href
=
url
;
}
function
saveForm
()
{
if
(
$
(
"
#fb_user
"
).
val
()
==
''
){
layer
.
alert
(
"
发布人不能为空
"
,{
icon
:
5
,
title
:
"
提示
"
});
return
false
;
}
$
.
ajax
({
type
:
"
POST
"
,
url
:
"
./action.jsp
"
,
data
:
$
(
'
#form-admin-add
'
).
serialize
(),
success
:
function
(
msg
)
{
if
(
msg
.
indexOf
(
"
success
"
)
>=
0
)
{
layer
.
msg
(
'
操作成功!
'
,
{
icon
:
1
,
time
:
1000
},
function
()
{
parent
.
searchModel
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
parent
.
layer
.
close
(
index
);
});
}
else
{
layer
.
msg
(
'
操作失败
'
,
{
icon
:
5
,
time
:
2000
//2秒关闭(如果不配置,默认是3秒)
},
function
()
{
// console.log("********************8")
});
}
}
});
}
function
deleteUser
(
user_id
,
p_user_id
){
layer
.
confirm
(
'
确认要删除吗?
'
,
function
(
index
)
{
$
.
ajax
({
type
:
"
POST
"
,
url
:
"
./action.jsp?&p_user_id=
"
+
p_user_id
+
"
&user_id=
"
+
user_id
+
"
&action=delete
"
,
success
:
function
(
msg
)
{
if
(
msg
.
indexOf
(
"
success
"
)
>=
0
)
{
layer
.
msg
(
'
操作成功!
'
,
{
icon
:
1
,
time
:
1000
},
function
()
{
location
.
reload
();
if
(
rel_user_id
!=
''
){
window
.
parent
.
location
.
reload
();
}
parent
.
searchModel
();
});
}
else
{
layer
.
msg
(
'
操作失败
'
,
{
icon
:
5
,
time
:
2000
//2秒关闭(如果不配置,默认是3秒)
},
function
()
{
// console.log("********************8")
});
}
}
});
});
}
</script>
\ No newline at end of file
web/jsp/zbgl/zbjj/list-t.jsp
0 → 100644
View file @
c81eefd7
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<link
rel=
"stylesheet"
href=
"
<%=
request
.
getContextPath
()
%>
/js/zTree/v3/css/zTreeStyle/zTreeStyle.css"
type=
"text/css"
>
<link
rel=
"stylesheet"
href=
"
<%=
request
.
getContextPath
()
%>
/css/pagination.css"
>
<div
class=
"page-container"
>
<div
class=
"content"
>
<div
class=
"search-form"
>
<form
method=
"post"
id=
"data_form_search"
name=
"data_form_search"
>
<input
type=
"hidden"
name=
"page_number"
id=
"page_number"
value=
"1"
/>
<input
type=
"hidden"
name=
"page_size"
id=
"page_size"
value=
"10"
/>
<div
class=
"text-l"
>
<a
class=
"btn btn-primary "
onclick=
"addJj();"
>
新建交接
</a>
<a
class=
"btn btn-primary "
onclick=
"addPs();"
>
领导指示
</a>
</div>
<div
class=
"text-l"
>
<table
class=
"search-table "
>
<tr
class=
""
>
<td
class=
"search-label"
>
提出人:
</td>
<td
class=
"search-input"
>
<input
placeholder=
"提出人"
type=
"text"
name=
"tc_user"
class=
"input-text"
/>
</td>
<td
class=
"search-label"
>
提出时间:
</td>
<td
class=
"search-input"
>
<input
type=
"text"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
value=
""
placeholder=
""
name=
"tc_time"
>
</td>
<td
class=
"search-label"
>
状态:
</td>
<td
class=
"search-input"
>
<select
name=
"status"
>
<option
value=
""
>
请选择
</option>
<option
value=
"0"
>
未完成
</option>
<option
value=
"1"
>
完成
</option>
</select>
</td>
</tr>
<tr
class=
""
>
<td
class=
"search-label"
>
完成人:
</td>
<td
class=
"search-input"
>
<input
placeholder=
"完成人"
type=
"text"
name=
"wc_user"
class=
"input-text"
/>
</td>
<td
class=
"search-label"
>
完成时间:
</td>
<td
class=
"search-input"
>
<input
type=
"text"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
value=
""
placeholder=
""
name=
"wc_time"
>
</td>
<td
colspan=
"2"
>
<a
class=
"btn btn-primary radius"
id=
"searchA"
onclick=
"searchUserModel();"
style=
"margin-left:19%;"
>
查询
</a>
<a
class=
"btn btn-info radius"
onclick=
"chongzhi();"
style=
"margin-left:5px;"
>
重置
</a>
</td>
</tr>
</table>
</div>
</form>
</div>
<div
style=
"height:10px;background-color: #d9e4f6"
>
</div>
<div
class=
"datalist "
id=
"datalist"
>
</div>
</div>
</div>
<script
type=
"text/javascript"
src=
"
<%=
request
.
getContextPath
()
%>
/js/jquery.pagination.js"
></script>
<script
type=
"text/javascript"
>
function
searchModel
()
{
$
.
ajax
({
type
:
"
post
"
,
url
:
"
list_ajax.jsp
"
,
data
:
$
(
'
#data_form_search
'
).
serialize
(),
success
:
function
(
msg
)
{
//data_form_search.reset();
$
(
"
#datalist
"
).
html
(
msg
);
}
});
}
function
searchUserModel
()
{
$
(
"
#page_number
"
).
val
(
"
1
"
);
searchModel
();
}
$
(
function
(){
searchModel
();
});
function
chongzhi
(){
$
(
"
#page_size
"
).
val
(
"
10
"
);
data_form_search
.
reset
();
searchUserModel
();
}
/*用户-编辑*/
function
operList
()
{
var
isChecked
=
false
;
var
us
=
document
.
getElementsByName
(
"
reg_ids
"
);
for
(
var
i
=
0
;
i
<
us
.
length
;
i
++
){
if
(
us
[
i
].
checked
){
isChecked
=
true
;
}
}
if
(
!
isChecked
){
layer
.
alert
(
"
请勾选号码
"
,{
icon
:
5
,
title
:
"
提示
"
});
return
false
;
}
document
.
form1
.
submit
();
}
function
addJj
()
{
var
url
=
'
./add_jj-t.jsp?action=add
'
;
viewDeptOrUserInfo
(
'
交接信息
'
,
url
,
'
1000
'
,
'
500
'
);
}
function
addPs
()
{
var
url
=
'
./add_ldps-t.jsp?action=addLdps
'
;
viewDeptOrUserInfo
(
'
领导指示
'
,
url
,
'
1000
'
,
'
500
'
);
}
function
viewDeptOrUserInfo
(
title
,
url
,
w
,
h
)
{
var
abc
=
layer
.
open
({
title
:
title
,
type
:
2
,
content
:
url
,
area
:
[
w
+
'
px
'
,
h
+
'
px
'
],
maxmin
:
true
});
layer
.
full
(
abc
);
}
function
getLdps
()
{
$
.
ajax
({
type
:
"
post
"
,
url
:
"
getLdps.jsp
"
,
success
:
function
(
msg
)
{
if
(
msg
.
indexOf
(
"
yes
"
)
>=
0
){
layer
.
open
({
title
:
"
领导批示
"
,
type
:
2
,
content
:
"
viewLdps-t.jsp
"
,
offset
:
"
rb
"
})
}
}
});
}
function
deleteById
(
id
){
layer
.
confirm
(
'
确认要删除吗?
'
,
function
(
index
)
{
$
.
ajax
({
type
:
"
POST
"
,
url
:
"
./action.jsp?&id=
"
+
id
+
"
&action=delete
"
,
success
:
function
(
msg
)
{
if
(
msg
.
indexOf
(
"
success
"
)
>=
0
)
{
layer
.
msg
(
'
操作成功!
'
,
{
icon
:
1
,
time
:
1000
},
function
()
{
searchModel
();
});
}
else
{
layer
.
msg
(
'
操作失败
'
,
{
icon
:
5
,
time
:
2000
//2秒关闭(如果不配置,默认是3秒)
},
function
()
{
// console.log("********************8")
});
}
}
});
});
}
</script>
\ No newline at end of file
web/jsp/zbgl/zbjj/list_ajax.jsp
0 → 100644
View file @
c81eefd7
<%--
Created by IntelliJ IDEA.
User: Administrator
Date: 2020/9/11
Time: 12:54
To change this template use File | Settings | File Templates.
--%>
<%@ page
contentType=
"text/html;charset=UTF-8"
language=
"java"
%>
<%@ page
import=
"java.sql.Connection"
%>
<%@ page
import=
"java.util.*"
%>
<%@ page
import=
"com.censoft.common.db.ConnectionFactory"
%>
<%@ page
import=
"com.censoft.common.base.Pub"
%>
<%@ page
import=
"org.omg.CosCollection.IteratorInBetween"
%>
<%
ConnectionFactory
cf
=
new
ConnectionFactory
();
Pub
pub
=
new
Pub
();
Connection
conn
=
null
;
Vector
v_list
=
null
;
Vector
ldps_list
=
null
;
String
page_number
=
pub
.
trimNull
(
request
.
getParameter
(
"page_number"
));
if
(
""
.
equals
(
page_number
))
page_number
=
"1"
;
String
page_size
=
pub
.
trimNull
(
request
.
getParameter
(
"page_size"
));
String
tc_user
=
pub
.
trimNull
(
request
.
getParameter
(
"tc_user"
));
String
tc_time
=
pub
.
trimNull
(
request
.
getParameter
(
"tc_time"
));
String
wc_user
=
pub
.
trimNull
(
request
.
getParameter
(
"wc_user"
));
String
wc_time
=
pub
.
trimNull
(
request
.
getParameter
(
"wc_time"
));
String
status
=
pub
.
trimNull
(
request
.
getParameter
(
"status"
));
if
(
""
.
equals
(
page_size
))
page_size
=
"10"
;
List
list_s
=
new
ArrayList
();
try
{
StringBuffer
sb
=
new
StringBuffer
();
sb
.
append
(
"select * from zb_jj where 1=1 "
);
if
(!
""
.
equals
(
tc_user
)){
sb
.
append
(
" and tc_user like ?"
);
list_s
.
add
(
"%
"+tc_user+"
%
");
}if(!"".equals(tc_time)){
sb.append("
and
tc_time
like
?
");
list_s.add("
%
"+tc_time+"
%
");
}if(!"".equals(wc_user)){
sb.append("
and
wc_user
like
?
");
list_s.add("
%
"+wc_user+"
%
");
}if(!"".equals(wc_time)){
sb.append("
and
wc_time
like
?
");
list_s.add("
%
"+wc_time+"
%
");
}if(!"".equals(status)){
sb.append("
and
status
=
?
");
list_s.add(status);
}
sb.append("
order
by
tc_time
desc
");
conn = com.censoft.db.DBUtil.getConnection();
v_list = cf.doPageQueryWithCount(conn, sb.toString(), page_number, page_size, null, list_s.toArray());
if (v_list == null) {
out.println("
查询出错
" + cf.getMsg());
return;
}
ldps_list = cf.doQuery(conn,"
select
*
from
zb_ldps
order
by
is_up
desc
,
add_time
desc
",null,new Object[]{});
Hashtable ht_row = (Hashtable) v_list.get(0);
String rowCnt = pub.trimNull((String) ht_row.get("
ROWCOUNT
"));
String telSegmentUrl="
./
list_add
-
t
.
jsp
"
;
%>
<form
method=
"post"
id=
"form1"
name=
"form1"
action=
"export_query.jsp"
>
<div
class=
"table-list"
style=
"height:450px;"
>
<table
class=
"table table-hover table-bg"
>
<thead>
<tr
class=
"text-c"
>
<th
width=
"30"
>
序号
</th>
<th
width=
"50px"
>
提出人
</th>
<th
width=
"50px"
>
提出时间
</th>
<th
width=
"50px"
>
内容
</th>
<th
width=
"50px"
>
完成人
</th>
<th
width=
"50px"
>
完成时间
</th>
<th
width=
"50px"
>
操作
</th>
</tr>
</thead>
<tbody>
<%
if
(
ldps_list
!=
null
&&
ldps_list
.
size
()
>
0
)
{
for
(
int
i
=
0
;
i
<
ldps_list
.
size
();
i
++)
{
Hashtable
ht
=
(
Hashtable
)
ldps_list
.
get
(
i
);
String
id
=
pub
.
trimNull
((
String
)
ht
.
get
(
"id"
));
String
zs_content_view
=
pub
.
trimNull
((
String
)
ht
.
get
(
"zs_content"
));
String
content
=
zs_content_view
;
if
(
zs_content_view
.
length
()
>
=
20
){
zs_content_view
=
zs_content_view
.
substring
(
0
,
20
)+
"..."
;
}
String
fb_time_view
=
pub
.
trimNull
((
String
)
ht
.
get
(
"fb_time"
));
String
fb_user_view
=
pub
.
trimNull
((
String
)
ht
.
get
(
"fb_user"
));
String
edit_url
=
"./add_ldps-t.jsp?id="
+
id
+
"&action=update"
;
%>
<tr
<%
if
(
i
%
2
==
0
){
%>
id=
"tr_doub"
<%
}
else
{
%>
id=
"tr_single"
<%
}
%>
class=
"text-c"
>
<td
style=
"color: red;font-weight: bold;font-size: 18px;"
>
领导指示
</td>
<td
style=
"color: red;font-weight: bold;font-size: 18px;"
>
发布人:
<%=
fb_user_view
%>
</td>
<td
style=
"color: red;font-weight: bold;font-size: 18px;"
>
发布时间:
<%=
fb_time_view
%>
</td>
<td
title=
"
<%=
content
%>
"
colspan=
"3"
style=
"color: red;font-weight: bold;font-size: 18px;"
>
指示内容:
<%=
zs_content_view
%>
</td>
<td>
<a
onclick=
"viewDeptOrUserInfo('详情','
<%=
edit_url
%>
','1000','500');"
style=
"padding:4px 0px;font-size:16px;"
>
详情
</a>
</td>
<%
}}
%>
</tr>
<%
if
(
v_list
!=
null
&&
v_list
.
size
()
>
0
)
{
for
(
int
i
=
1
;
i
<
v_list
.
size
();
i
++)
{
Hashtable
ht
=
(
Hashtable
)
v_list
.
get
(
i
);
String
id
=
pub
.
trimNull
((
String
)
ht
.
get
(
"id"
));
String
tc_user_view
=
pub
.
trimNull
((
String
)
ht
.
get
(
"tc_user"
));
String
tc_time_view
=
pub
.
trimNull
((
String
)
ht
.
get
(
"tc_time"
));
String
wc_time_view
=
pub
.
trimNull
((
String
)
ht
.
get
(
"wc_time"
));
String
wc_user_view
=
pub
.
trimNull
((
String
)
ht
.
get
(
"wc_user"
));
String
status_view
=
pub
.
trimNull
((
String
)
ht
.
get
(
"status"
));
String
jj_content_view
=
pub
.
trimNull
((
String
)
ht
.
get
(
"jj_content"
));
String
content
=
jj_content_view
;
if
(
jj_content_view
.
length
()
>
=
20
){
jj_content_view
=
jj_content_view
.
substring
(
0
,
20
)+
"..."
;
}
String
edit_url
=
"./jj_xq-t.jsp?id="
+
id
+
"&action=update"
;
%>
<tr
<%
if
(
i
%
2
==
0
){
%>
id=
"tr_doub"
<%
}
else
{
%>
id=
"tr_single"
<%
}
%>
class=
"text-c"
>
<td
>
<%=
i
%>
</td>
<td><%=
tc_user_view
%>
</td>
<td><%=
tc_time_view
%>
</td>
<td
title=
"
<%=
content
%>
"
><%=
jj_content_view
%>
</td>
<td><%=
wc_user_view
%>
</td>
<td>
<%=
wc_time_view
%>
</td>
<td>
<a
onclick=
"viewDeptOrUserInfo('详情','
<%=
edit_url
%>
','1000','500');"
style=
"padding:4px 0px;font-size:16px;"
>
详情
</a>
<%
if
(
""
.
equals
(
wc_user_view
)){
%>
<a
onclick=
"deleteById('
<%=
id
%>
')"
style=
"padding:4px 0px;font-size:16px;"
>
删除
</a>
<%
}
%>
</td>
</tr>
<%
}
}
%>
</tbody>
</table>
</div>
</form>
<jsp:include
page=
"/common/page_ajax.jsp"
>
<jsp:param
name=
"page_number"
value=
"<%=page_number%>"
/>
<jsp:param
name=
"rowCnt"
value=
"<%=rowCnt%>"
/>
<jsp:param
name=
"page_size"
value=
"<%=page_size%>"
/>
</jsp:include>
<script
type=
"text/javascript"
>
var
checkAll
=
function
(
checkbox
)
{
$
(
"
.info
"
).
prop
(
"
checked
"
,
checkbox
.
checked
);
}
</script>
<%
}
catch
(
Exception
e
)
{
out
.
println
(
"查询异常"
+
e
);
return
;
}
finally
{
if
(
conn
!=
null
)
{
try
{
conn
.
close
();
}
catch
(
Exception
e
)
{
}
}
}
%>
\ No newline at end of file
web/jsp/zbgl/zbjj/viewLdps-t.jsp
0 → 100644
View file @
c81eefd7
<%@ page
contentType=
"text/html;charset=UTF-8"
language=
"java"
%>
<%@ page
import=
"com.censoft.common.base.Pub"
%>
<%@ page
import=
"com.censoft.common.db.ConnectionFactory"
%>
<%@ page
import=
"java.sql.Connection"
%>
<%@ page
import=
"java.util.Hashtable"
%>
<%@ page
import=
"java.util.Vector"
%>
<%
ConnectionFactory
cf
=
new
ConnectionFactory
();
Pub
pub
=
new
Pub
();
Connection
conn
=
null
;
Vector
v_list
=
null
;
String
action
=
pub
.
trimNull
(
request
.
getParameter
(
"action"
));
Hashtable
ht
=
new
Hashtable
();
String
login_name
=
pub
.
trimNull
((
String
)
session
.
getAttribute
(
"session_login_name"
));
try
{
conn
=
com
.
censoft
.
db
.
DBUtil
.
getConnection
();
conn
=
com
.
censoft
.
db
.
DBUtil
.
getConnection
();
v_list
=
cf
.
doQuery
(
conn
,
"select * from zb_ldps order by is_up desc,add_time desc limit 1"
,
null
,
new
Object
[]{});
if
(
v_list
!=
null
&&
v_list
.
size
()
>
0
)
{
ht
=
(
Hashtable
)
v_list
.
get
(
0
);
}
}
catch
(
Exception
e
)
{
out
.
println
(
"查询用户信息异常"
+
e
);
return
;
}
finally
{
if
(
conn
!=
null
)
{
try
{
conn
.
close
();
}
catch
(
Exception
e
)
{
}
}
}
%>
<div
style=
"text-indent: 2em"
>
<%=
pub
.
trimNull
((
String
)
ht
.
get
(
"zs_content"
))
%>
</div>
web/jsp/zbglBgs/pbmx/edit-t.jsp
View file @
c81eefd7
...
...
@@ -120,9 +120,9 @@
</script>
</label>
<div
class=
"formControls col-xs-6"
>
<input
type=
"text"
style=
"width:25%;"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"b_time"
))
%>
"
placeholder=
""
id =
"b_time_
<%=
i
+
1
%>
"
name=
"b_time_
<%=
i
+
1
%>
"
>
<input
type=
"text"
style=
"width:25%;"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"b_time"
))
%>
"
placeholder=
""
id =
"b_time_
<%=
i
+
1
%>
"
name=
"b_time_
<%=
i
+
1
%>
"
>
至
<input
type=
"text"
style=
"width:25%;"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"e_time"
))
%>
"
placeholder=
""
id =
"e_time_
<%=
i
+
1
%>
"
name=
"e_time_
<%=
i
+
1
%>
"
>
<input
type=
"text"
style=
"width:25%;"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"e_time"
))
%>
"
placeholder=
""
id =
"e_time_
<%=
i
+
1
%>
"
name=
"e_time_
<%=
i
+
1
%>
"
>
默认人数
<input
type=
"text"
style=
"width:20%;"
class=
"input-text "
value=
"
<%=
pub
.
trimNull
((
String
)
ht1
.
get
(
"ren_num"
))
%>
"
placeholder=
""
id =
"ren_num_
<%=
i
+
1
%>
"
name=
"ren_num_
<%=
i
+
1
%>
"
>
</div>
...
...
@@ -141,9 +141,9 @@
</script>
</label>
<div
class=
"formControls col-xs-6"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
""
placeholder=
""
id =
"b_time_1"
name=
"b_time_1"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
""
placeholder=
""
id =
"b_time_1"
name=
"b_time_1"
>
至
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
""
placeholder=
""
id =
"e_time_1"
name=
"e_time_1"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
""
placeholder=
""
id =
"e_time_1"
name=
"e_time_1"
>
默认人数
<input
type=
"text"
style=
"width:20%;"
class=
"input-text "
value=
""
placeholder=
""
id =
"ren_num_1"
name=
"ren_num_1"
>
</div>
...
...
@@ -158,9 +158,9 @@
</script>
</label>
<div
class=
"formControls col-xs-6"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
""
placeholder=
""
id =
"b_time_2"
name=
"b_time_2"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
""
placeholder=
""
id =
"b_time_2"
name=
"b_time_2"
>
至
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
""
placeholder=
""
id =
"e_time_2"
name=
"e_time_2"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
""
placeholder=
""
id =
"e_time_2"
name=
"e_time_2"
>
默认人数
<input
type=
"text"
style=
"width:20%;"
class=
"input-text "
value=
""
placeholder=
""
id =
"ren_num_2"
name=
"ren_num_2"
>
</div>
...
...
@@ -175,9 +175,9 @@
</script>
</label>
<div
class=
"formControls col-xs-6"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
""
placeholder=
""
id =
"b_time_3"
name=
"b_time_3"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
""
placeholder=
""
id =
"b_time_3"
name=
"b_time_3"
>
至
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
-
mm'})"
value=
""
placeholder=
""
id =
"e_time_3"
name=
"e_time_3"
>
<input
type=
"text"
style=
"width:25%;"
autocomplete=
"off"
class=
"input-text Wdate"
onclick=
"WdatePicker({dateFmt:'HH
:
mm'})"
value=
""
placeholder=
""
id =
"e_time_3"
name=
"e_time_3"
>
默认人数
<input
type=
"text"
style=
"width:20%;"
class=
"input-text "
value=
""
placeholder=
""
id =
"ren_num_3"
name=
"ren_num_3"
>
</div>
...
...
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