Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
4fc17238
Commit
4fc17238
authored
Apr 08, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
a1c6b254
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
43 deletions
+35
-43
resultPageList.vue
src/pages/activity/resultPageList.vue
+34
-42
erpindex.js
src/utils/erpindex.js
+1
-1
No files found.
src/pages/activity/resultPageList.vue
View file @
4fc17238
...
...
@@ -24,10 +24,9 @@
<div
flex=
"dir:left cross:center"
>
{{
scope
.
row
.
AliasName
}}
</div>
</
template
></el-table-column>
<el-table-column
label=
"创建时间"
prop=
"CreateDateStr"
></el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"180"
><
template
slot-scope=
"scope"
>
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情"
placement=
"top"
><img
src=
"../../assets/img/userman/detail.png"
alt=
""
class=
"imgstyle"
@
click=
"grant(scope.row)"
>
</el-tooltip>
-->
<el-table-column
fixed=
"right"
label=
"操作"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<a
@
click=
"grant(scope.row)"
>
详情
</a>
</
template
></el-table-column>
</el-table>
<el-pagination
style=
"text-align:right"
background
@
current-change=
"handleCurrentChange"
:page-size=
"msg.pageSize"
...
...
@@ -51,15 +50,15 @@
:disabled=
"true"
></el-input>
</div>
<!-- 单选 -->
<div
v-if=
"item.SurveyType==2|| item.SurveyType==3"
style=
"margin: 10px 0;"
>
<el-checkbox
v-model=
"x.IsCheck==1?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
v-if=
"item.SurveyType==2|| item.SurveyType==3"
style=
"margin: 10px 0;"
>
<el-checkbox
v-model=
"x.IsCheck==1?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
style=
"font-size: 16px;margin: 10px 0 ;font-weight: bold"
>
问卷调查表信息
</div>
<div
v-for=
"(item,index) in xqdata.surverList"
:key=
"index"
>
...
...
@@ -72,15 +71,15 @@
:disabled=
"true"
></el-input>
</div>
<!-- 单选 -->
<div
v-if=
"item.SurveyType==2|| item.SurveyType==3"
style=
"margin: 10px 0;"
>
<el-checkbox
v-model=
"x.IsCheck==1?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
v-if=
"item.SurveyType==2|| item.SurveyType==3"
style=
"margin: 10px 0;"
>
<el-checkbox
v-model=
"x.IsCheck==1?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>
...
...
@@ -108,14 +107,10 @@
dialogVisible
:
false
,
xqdata
:
null
,
}
}
,
},
created
()
{
this
.
getDateList
();
}
,
},
methods
:
{
getDateList
()
{
this
.
loading
=
true
;
...
...
@@ -126,19 +121,18 @@
this
.
msg
.
StartDate
=
''
;
this
.
msg
.
EndDate
=
''
;
}
this
.
apipost
(
"/api/Survey/GetResultPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
count
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
this
.
apipostDS
(
"/api/Survey/GetResultPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
count
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
)
}
)
},
getList
()
{
this
.
msg
.
pageIndex
=
1
this
.
msg
.
pageIndex
=
1
this
.
getDateList
();
},
handleCurrentChange
(
val
)
{
...
...
@@ -146,7 +140,7 @@
this
.
getDateList
();
},
grant
(
row
)
{
this
.
apipost
(
"/api/Survey/GetGuestSurveyDetails"
,
{
this
.
apipost
DS
(
"/api/Survey/GetGuestSurveyDetails"
,
{
SurveyID
:
row
.
ID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -162,7 +156,6 @@
}
}
}
</
script
>
<
style
>
.resultPageList
.el-card__header
{
...
...
@@ -220,5 +213,4 @@
;
}
</
style
>
</
style
>
\ No newline at end of file
src/utils/erpindex.js
View file @
4fc17238
...
...
@@ -83,7 +83,7 @@ export default {
let
domainUrl
=
'http://192.168.10.65:8083'
;
let
viewFileUrl
=
'http://192.168.10.214:8120'
;
let
mallUrl
=
"http://192.168.10.
65:8088
"
;
let
mallUrl
=
"http://192.168.10.
46:8200
"
;
let
vtUploadUrl
=
"http://upload.oytour.com"
;
let
vtViewUrl
=
"http://192.168.10.214:8130"
;
...
...
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