Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
9cb3a51c
Commit
9cb3a51c
authored
Dec 30, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
19c63f2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
4 deletions
+53
-4
resultPageList.vue
src/components/education/resultPageList.vue
+53
-4
No files found.
src/components/education/resultPageList.vue
View file @
9cb3a51c
...
...
@@ -25,9 +25,7 @@
</div>
</div>
<el-dialog
title=
"用户问卷调查详情"
:visible
.
sync=
"dialogVisible"
width=
"600px"
>
</el-dialog>
</div>
...
...
@@ -90,6 +88,52 @@
:total=
"count"
>
</el-pagination>
</div>
<el-dialog
title=
"用户问卷调查详情"
:visible
.
sync=
"dialogVisible"
width=
"600px"
>
<div
class=
"wjstyle"
v-if=
"xqdata!=null"
>
<div
class=
"row"
style=
"font-size: 16px;margin-bottom: 10px"
>
<img
:src=
"xqdata.obj.Photo"
alt=
""
style=
"width: 50px;height: 50px;margin-right: 10px"
>
{{xqdata.obj.Name}}
</div>
<div>
创建时间:{{xqdata.obj.CreateDateStr}}
</div>
<div
style=
"font-size: 16px;margin: 10px 0 ;font-weight: bold"
>
用户调查表
</div>
<div
v-for=
"(item,index) in xqdata.surverList"
:key=
"index"
>
<div
>
{{index+1}}、{{item.Title}}
</div>
<div
v-if=
"item.SurveyType==4"
style=
"margin: 10px 0;"
>
<el-input
v-if=
"item.FormType==2"
type=
"textarea"
placeholder=
"请输入内容"
v-model=
"item.TextContent"
:rows=
"3"
size=
"small"
:disabled=
"true"
>
</el-input>
<el-input
v-if=
"item.FormType==1"
type=
"text"
placeholder=
"请输入内容"
v-model=
"item.TextContent"
size=
"small"
:disabled=
"true"
>
</el-input>
</div>
<!-- 单选-->
<div
v-if=
"item.SurveyType==2|| item.SurveyType==3"
style=
"margin: 10px 0;"
>
<el-checkbox
v-model=
"x.IsCheck==0?true:false"
disabled
v-for=
"(x,y) in item.SurveyOptionsList"
:key=
"y"
>
{{x.OptionsName}}
</el-checkbox>
</div>
<div
v-if=
"item.SurveyType==1"
style=
"margin: 10px 0;"
>
<el-rate
v-model=
"item.ScoreNum"
disabled
show-score
text-color=
"#ff9900"
score-template=
"{value}分"
>
</el-rate>
</div>
</div>
</div>
</el-dialog>
</div>
</template>
...
...
@@ -110,7 +154,7 @@
loading
:
false
,
dateList
:[],
dialogVisible
:
false
,
xqdata
:
{}
,
xqdata
:
null
,
}
},
created
(){
...
...
@@ -150,7 +194,7 @@
this
.
apipost
(
"/api/Survey/GetGuestSurveyDetails"
,
{
SurveyID
:
row
.
ID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
xqdata
=
res
.
data
.
data
;
this
.
dialogVisible
=
true
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
...
...
@@ -204,4 +248,9 @@
float
:
left
;
margin-right
:
8px
;
}
.resultPageList
.wjstyle
{
width
:
100%
;
;
}
</
style
>
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