Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
platform
Project
Project
Details
Activity
Releases
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
王琮
platform
Commits
ce020cd8
Commit
ce020cd8
authored
Nov 05, 2021
by
Asjoker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
问卷管理-详情细化
parent
5be86eca
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
14 deletions
+35
-14
questionnaire_information.jsp
...bapp/WEB-INF/page/education/questionnaire_information.jsp
+11
-11
questionnaire_information.jsp
...n/webapp/WEB-INF/page/space/questionnaire_information.jsp
+9
-0
questionnaire_Information.js
...main/webapp/res/js/education/questionnaire_Information.js
+1
-3
questionnaire_Information.js
src/main/webapp/res/js/space/questionnaire_Information.js
+14
-0
No files found.
src/main/webapp/WEB-INF/page/education/questionnaire_information.jsp
View file @
ce020cd8
...
@@ -250,7 +250,7 @@
...
@@ -250,7 +250,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<c:forEach
begin=
"1"
end=
"
3
"
>
<c:forEach
begin=
"1"
end=
"
1
"
>
<tr
id=
"incubates-1"
>
<tr
id=
"incubates-1"
>
<td
class=
"incubates_num"
></td>
<td
class=
"incubates_num"
></td>
<td><div
class=
"td-class"
type=
""
name=
"option_16"
></div></td>
<td><div
class=
"td-class"
type=
""
name=
"option_16"
></div></td>
...
@@ -641,7 +641,7 @@
...
@@ -641,7 +641,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<c:forEach
begin=
"1"
end=
"
5
"
>
<c:forEach
begin=
"1"
end=
"
1
"
>
<tr
id=
"activity-1"
>
<tr
id=
"activity-1"
>
<td
class=
"activity-num"
></td>
<td
class=
"activity-num"
></td>
<td><div
class=
"td-class"
type=
""
name=
"option_52"
></div></td>
<td><div
class=
"td-class"
type=
""
name=
"option_52"
></div></td>
...
@@ -699,7 +699,7 @@
...
@@ -699,7 +699,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<c:forEach
begin=
"1"
end=
"
2
"
>
<c:forEach
begin=
"1"
end=
"
1
"
>
<tr
id=
"competition-1"
>
<tr
id=
"competition-1"
>
<td
class=
"competition-num"
></td>
<td
class=
"competition-num"
></td>
<td><div
class=
"td-class"
type=
""
name=
"option_57"
></div></td>
<td><div
class=
"td-class"
type=
""
name=
"option_57"
></div></td>
...
@@ -841,7 +841,7 @@
...
@@ -841,7 +841,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<c:forEach
begin=
"1"
end=
"
2
"
>
<c:forEach
begin=
"1"
end=
"
1
"
>
<tr
id=
"thirteen-1"
>
<tr
id=
"thirteen-1"
>
<td
class=
"thirteen-num"
></td>
<td
class=
"thirteen-num"
></td>
<td><div
class=
"td-class"
type=
""
name=
"option_65"
></div></td>
<td><div
class=
"td-class"
type=
""
name=
"option_65"
></div></td>
...
@@ -897,7 +897,7 @@
...
@@ -897,7 +897,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<c:forEach
begin=
"1"
end=
"
2
"
>
<c:forEach
begin=
"1"
end=
"
1
"
>
<tr
id=
"borrow-1"
>
<tr
id=
"borrow-1"
>
<td
class=
"borrow-num"
></td>
<td
class=
"borrow-num"
></td>
<td><div
class=
"td-class"
type=
""
name=
"option_68"
></div></td>
<td><div
class=
"td-class"
type=
""
name=
"option_68"
></div></td>
...
@@ -946,7 +946,7 @@
...
@@ -946,7 +946,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<c:forEach
begin=
"1"
end=
"
2
"
>
<c:forEach
begin=
"1"
end=
"
1
"
>
<tr
id=
"fourteen-1"
>
<tr
id=
"fourteen-1"
>
<td
class=
"fourteen-num"
></td>
<td
class=
"fourteen-num"
></td>
<td><div
class=
"td-class"
type=
""
name=
"option_72"
></div></td>
<td><div
class=
"td-class"
type=
""
name=
"option_72"
></div></td>
...
@@ -992,7 +992,7 @@
...
@@ -992,7 +992,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<c:forEach
begin=
"1"
end=
"
2
"
>
<c:forEach
begin=
"1"
end=
"
1
"
>
<tr
id=
"fifteen-1"
>
<tr
id=
"fifteen-1"
>
<td
class=
"fifteen-num"
></td>
<td
class=
"fifteen-num"
></td>
<td>
<td>
...
@@ -1052,7 +1052,7 @@
...
@@ -1052,7 +1052,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<c:forEach
begin=
"1"
end=
"
2
"
>
<c:forEach
begin=
"1"
end=
"
1
"
>
<tr
id=
"sixteen-1"
>
<tr
id=
"sixteen-1"
>
<td
class=
"sixteen-num"
></td>
<td
class=
"sixteen-num"
></td>
<td><div
class=
"td-class"
type=
""
name=
"option_77"
></div></td>
<td><div
class=
"td-class"
type=
""
name=
"option_77"
></div></td>
...
@@ -1120,7 +1120,7 @@
...
@@ -1120,7 +1120,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<c:forEach
begin=
"1"
end=
"
2
"
>
<c:forEach
begin=
"1"
end=
"
1
"
>
<tr
id=
"seventeen-1"
>
<tr
id=
"seventeen-1"
>
<td
class=
"seventeen-num"
></td>
<td
class=
"seventeen-num"
></td>
<td>
<td>
...
@@ -1192,7 +1192,7 @@
...
@@ -1192,7 +1192,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<c:forEach
begin=
"1"
end=
"
2
"
>
<c:forEach
begin=
"1"
end=
"
1
"
>
<tr
id=
"eighteen-1"
>
<tr
id=
"eighteen-1"
>
<td
class=
"eighteen-num"
></td>
<td
class=
"eighteen-num"
></td>
<td><div
class=
"td-class"
type=
""
name=
"option_87"
></div></td>
<td><div
class=
"td-class"
type=
""
name=
"option_87"
></div></td>
...
@@ -1254,7 +1254,7 @@
...
@@ -1254,7 +1254,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<c:forEach
begin=
"1"
end=
"
2
"
>
<c:forEach
begin=
"1"
end=
"
1
"
>
<tr
id=
"nineteen-1"
>
<tr
id=
"nineteen-1"
>
<td
class=
"nineteen-num"
></td>
<td
class=
"nineteen-num"
></td>
<td>
<td>
...
...
src/main/webapp/WEB-INF/page/space/questionnaire_information.jsp
View file @
ce020cd8
...
@@ -96,6 +96,15 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
...
@@ -96,6 +96,15 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
</div>
</div>
<div
class=
"ibox-content"
>
<div
class=
"ibox-content"
>
<form
method=
"get"
class=
"form-horizontal"
>
<form
method=
"get"
class=
"form-horizontal"
>
<div
class=
"form-group"
>
<div
class=
"col-sm-10"
>
<label
class=
"col-sm-3"
style=
"font-size: 18px;padding-left: 40px"
>
驳回原因
<span
class=
"text-danger"
>
*
</span>
:
</label>
<textarea
id=
"rejectReason"
name=
"question_22"
cols=
"100"
rows=
"3"
></textarea>
</div>
</div>
<label
class=
"col-sm-3"
style=
"font-size: 18px;padding-left: 20px"
>
1.基本信息
</label>
<label
class=
"col-sm-3"
style=
"font-size: 18px;padding-left: 20px"
>
1.基本信息
</label>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<div
class=
"col-sm-10"
>
<div
class=
"col-sm-10"
>
...
...
src/main/webapp/res/js/education/questionnaire_Information.js
View file @
ce020cd8
...
@@ -15,11 +15,9 @@ var processStatus = 0
...
@@ -15,11 +15,9 @@ var processStatus = 0
recordId
recordId
var
oTable
;
var
oTable
;
// 问卷状态自检
function
StatusCheck
()
{
function
StatusCheck
()
{
console
.
log
(
processStatus
,
'!!!!!!!!!!'
)
console
.
log
(
recordId
,
'!!!!!!!!!!'
)
if
(
processStatus
===
1
){
if
(
processStatus
===
1
){
console
.
log
(
'I am IN!'
)
$
(
'#goback_btn'
).
hide
()
$
(
'#goback_btn'
).
hide
()
}
else
if
(
processStatus
===
2
||
processStatus
===
3
){
}
else
if
(
processStatus
===
2
||
processStatus
===
3
){
$
(
'#tempSave_btn'
).
hide
()
$
(
'#tempSave_btn'
).
hide
()
...
...
src/main/webapp/res/js/space/questionnaire_Information.js
View file @
ce020cd8
...
@@ -8,9 +8,19 @@ $(function () {
...
@@ -8,9 +8,19 @@ $(function () {
});
});
all_order
();
all_order
();
getSaveData
();
getSaveData
();
StatusCheck
();
})
})
var
oTable
;
var
oTable
;
var
processStatus
=
0
// 问卷状态自检
function
StatusCheck
()
{
if
(
processStatus
===
2
){
$
(
'#rejectReason'
).
show
();
}
else
{
$
(
'#rejectReason'
).
hide
();
}
}
// 验证、填数据用列表
// 验证、填数据用列表
var
option_list
=
[
var
option_list
=
[
...
@@ -189,6 +199,8 @@ var tableOptionsList = [
...
@@ -189,6 +199,8 @@ var tableOptionsList = [
{
option
:
'96'
,
num
:
20
}
{
option
:
'96'
,
num
:
20
}
];
];
// validate标记
// validate标记
var
validateFlag
=
true
var
validateFlag
=
true
...
@@ -564,6 +576,8 @@ function getSaveData() {
...
@@ -564,6 +576,8 @@ function getSaveData() {
swal
(
"失败!"
,
result
.
msg
,
"error"
);
swal
(
"失败!"
,
result
.
msg
,
"error"
);
return
;
return
;
}
}
processStatus
=
result
.
data
.
processStatus
;
$
(
'#rejectReason'
).
val
(
result
.
data
.
reason
);
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'[name*="option_"]'
).
each
(
function
()
{
$
(
'[name*="option_"]'
).
each
(
function
()
{
var
tempOption
=
$
(
this
).
attr
(
'name'
).
replace
(
'option_'
,
''
);
var
tempOption
=
$
(
this
).
attr
(
'name'
).
replace
(
'option_'
,
''
);
...
...
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