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
147fe388
Commit
147fe388
authored
Nov 11, 2022
by
熊海
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复数据显示问题和备注回显问题
parent
cb825b1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
6 deletions
+67
-6
questionnaire_information.jsp
...bapp/WEB-INF/page/education/questionnaire_information.jsp
+5
-5
questionnaire_Information.js
...main/webapp/res/js/education/questionnaire_Information.js
+62
-1
No files found.
src/main/webapp/WEB-INF/page/education/questionnaire_information.jsp
View file @
147fe388
...
@@ -1177,7 +1177,7 @@
...
@@ -1177,7 +1177,7 @@
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<div
style=
"width:1000px;overflow-x: auto;border: #333333 1px;margin-bottom: 15px"
>
<div
style=
"width:1000px;overflow-x: auto;border: #333333 1px;margin-bottom: 15px"
>
<table
class=
"incubates"
border=
"1"
<table
border=
"1"
style=
"max-width: 1000px"
>
style=
"max-width: 1000px"
>
<thead>
<thead>
<tr>
<tr>
...
@@ -1276,7 +1276,7 @@
...
@@ -1276,7 +1276,7 @@
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<div
style=
"width:1000px;overflow-x: auto;border: #333333 1px;margin-bottom: 15px"
>
<div
style=
"width:1000px;overflow-x: auto;border: #333333 1px;margin-bottom: 15px"
>
<table
class=
"incubates"
border=
"1"
<table
border=
"1"
style=
"max-width: 1000px"
>
style=
"max-width: 1000px"
>
<thead>
<thead>
<tr>
<tr>
...
@@ -1378,7 +1378,7 @@
...
@@ -1378,7 +1378,7 @@
<div
class=
"col-sm-10"
>
<div
class=
"col-sm-10"
>
<div
class=
"row"
style=
"padding-left: 40px"
>
<div
class=
"row"
style=
"padding-left: 40px"
>
<div
style=
"width:1000px;overflow-x: auto;border: #333333 1px;margin-bottom: 15px"
>
<div
style=
"width:1000px;overflow-x: auto;border: #333333 1px;margin-bottom: 15px"
>
<table
class=
"newPost"
border=
"1"
<table
border=
"1"
style=
"max-width: 1000px"
>
style=
"max-width: 1000px"
>
<thead>
<thead>
<tr>
<tr>
...
@@ -1573,7 +1573,7 @@
...
@@ -1573,7 +1573,7 @@
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<div
style=
"width:1000px;overflow-x: auto;border: #333333 1px;margin-bottom: 15px"
>
<div
style=
"width:1000px;overflow-x: auto;border: #333333 1px;margin-bottom: 15px"
>
<table
class=
"newTeacher"
border=
"1"
<table
border=
"1"
style=
"max-width: 1000px"
>
style=
"max-width: 1000px"
>
<thead>
<thead>
<tr>
<tr>
...
@@ -1787,7 +1787,7 @@
...
@@ -1787,7 +1787,7 @@
style=
"font-size: 15px;padding-left: 25px"
>
组织双创活动情况:
</label>
style=
"font-size: 15px;padding-left: 25px"
>
组织双创活动情况:
</label>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<table
class=
"activity"
border=
"1"
<table
border=
"1"
style=
"max-width: 1000px"
>
style=
"max-width: 1000px"
>
<thead>
<thead>
<tr>
<tr>
...
...
src/main/webapp/res/js/education/questionnaire_Information.js
View file @
147fe388
...
@@ -856,7 +856,7 @@ function synchronizeUpperAndLowerFormContents() {
...
@@ -856,7 +856,7 @@ function synchronizeUpperAndLowerFormContents() {
text7
.
attr
(
"disabled"
,
"disabled"
)
text7
.
attr
(
"disabled"
,
"disabled"
)
$
(
"#guidingindicators7 #submit16"
).
prepend
(
text7
)
$
(
"#guidingindicators7 #submit16"
).
prepend
(
text7
)
$
(
"#guidingindicators7 table tr"
).
each
((
index
,
element
)
=>
{
$
(
"#guidingindicators7 table tr"
).
each
((
index
,
element
)
=>
{
if
(
!
(
$
(
$
(
element
).
children
()[
12
]).
children
().
attr
(
'title'
)
==
"否"
&&
$
(
$
(
element
).
children
()[
16
]).
children
().
attr
(
'title'
)
==
"否"
)
)
{
if
(
$
(
$
(
element
).
children
()[
12
]).
children
().
attr
(
'title'
)
==
"否"
&&
$
(
$
(
element
).
children
()[
16
]).
children
().
attr
(
'title'
)
==
"否"
)
{
$
(
element
).
remove
()
$
(
element
).
remove
()
}
}
})
})
...
@@ -889,6 +889,7 @@ function synchronizeUpperAndLowerFormContents() {
...
@@ -889,6 +889,7 @@ function synchronizeUpperAndLowerFormContents() {
//审核方法
//审核方法
function
submitForReview
(
questionNum
)
{
function
submitForReview
(
questionNum
)
{
notesDisplay
()
formData
=
[]
formData
=
[]
if
(
$
(
`#submit
${
questionNum
}
input:radio:checked`
).
val
()){
if
(
$
(
`#submit
${
questionNum
}
input:radio:checked`
).
val
()){
if
(
$
(
`#submit
${
questionNum
}
input:radio:checked`
).
val
()
==
1
){
if
(
$
(
`#submit
${
questionNum
}
input:radio:checked`
).
val
()
==
1
){
...
@@ -1235,3 +1236,63 @@ function emptyContent(questionNum) {
...
@@ -1235,3 +1236,63 @@ function emptyContent(questionNum) {
$
(
`#submit
${
questionNum
}
textarea[name='question_
${
questionNum
}
']`
).
val
(
''
)
$
(
`#submit
${
questionNum
}
textarea[name='question_
${
questionNum
}
']`
).
val
(
''
)
}
}
//实时同步备注
function
notesDisplay
()
{
//引导指标1
var
text1
=
$
(
"#basicindicators1 textarea"
).
clone
(
false
)
text1
.
removeAttr
(
"name"
)
text1
.
attr
(
"disabled"
,
"disabled"
)
text1
.
val
(
$
(
"#basicindicators1 textarea"
).
val
())
$
(
"#guidingindicators1 #submit10 textarea"
)[
0
].
remove
()
$
(
"#guidingindicators1 #submit10"
).
prepend
(
text1
)
//引导指标2
var
text2
=
$
(
"#basicindicators1 textarea"
).
clone
(
false
)
text2
.
removeAttr
(
"name"
)
text2
.
attr
(
"disabled"
,
"disabled"
)
text2
.
val
(
$
(
"#basicindicators1 textarea"
).
val
())
$
(
"#guidingindicators2 #submit11 textarea"
)[
0
].
remove
()
$
(
"#guidingindicators2 #submit11"
).
prepend
(
text2
)
//引导指标3
var
text3
=
$
(
"#basicindicators3 textarea"
).
clone
(
false
)
text3
.
removeAttr
(
"name"
)
text3
.
attr
(
"disabled"
,
"disabled"
)
text3
.
val
(
$
(
"#basicindicators3 textarea"
).
val
())
$
(
"#guidingindicators3 #submit12 textarea"
)[
0
].
remove
()
$
(
"#guidingindicators3 #submit12"
).
prepend
(
text3
)
//引导指标4
var
text4
=
$
(
"#basicindicators3 textarea"
).
clone
(
false
)
text4
.
removeAttr
(
"name"
)
text4
.
attr
(
"disabled"
,
"disabled"
)
text4
.
val
(
$
(
"#basicindicators3 textarea"
).
val
())
$
(
"#guidingindicators4 #submit13 textarea"
)[
0
].
remove
()
$
(
"#guidingindicators4 #submit13"
).
prepend
(
text4
)
//引导指标5
var
text5
=
$
(
"#basicindicators4 textarea"
).
clone
(
false
)
text5
.
removeAttr
(
"name"
)
text5
.
attr
(
"disabled"
,
"disabled"
)
text5
.
val
(
$
(
"#basicindicators4 textarea"
).
val
())
$
(
"#guidingindicators5 #submit14 textarea"
)[
0
].
remove
()
$
(
"#guidingindicators5 #submit14"
).
prepend
(
text5
)
//引导指标7
var
text7
=
$
(
"#basicindicators6 textarea"
).
clone
(
false
)
text7
.
removeAttr
(
"name"
)
text7
.
attr
(
"disabled"
,
"disabled"
)
text7
.
val
(
$
(
"#basicindicators6 textarea"
).
val
())
$
(
"#guidingindicators7 #submit16 textarea"
)[
0
].
remove
()
$
(
"#guidingindicators7 #submit16"
).
prepend
(
text7
)
//引导指标8
var
text8
=
$
(
"#basicindicators7 textarea"
).
clone
(
false
)
text8
.
removeAttr
(
"name"
)
text8
.
attr
(
"disabled"
,
"disabled"
)
text8
.
val
(
$
(
"#basicindicators7 textarea"
).
val
())
$
(
"#guidingindicators8 #submit17 textarea"
)[
0
].
remove
()
$
(
"#guidingindicators8 #submit17"
).
prepend
(
text8
)
}
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