Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
07109a04
Commit
07109a04
authored
Aug 04, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
71ac4541
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
43 deletions
+12
-43
Survey.vue
src/components/administrative/Survey.vue
+12
-43
No files found.
src/components/administrative/Survey.vue
View file @
07109a04
...
...
@@ -46,23 +46,24 @@
<th>
发团日期
</th>
<th>
团号
</th>
<th>
领队
</th>
<th>
未填写人数
</th>
<th>
未填写人数
/总人数
</th>
<th>
整体评分
</th>
<th>
操作
</th>
</tr>
<tr
v-for=
"(item,i) in dataList"
:key=
"i"
>
<td>
{{
item
.
start
}}
</td>
<td
@
click=
'goUrl("RegistrationList", item.tcid,"报名清单")'
class=
"go_regis"
>
{{
item
.
tCNUM
}}
</td>
<td>
{{
item
.
lname
}}
</td>
<td>
{{
item
.
number
}}
</td>
<td>
{{
item
.
StartDate
}}
</td>
<td
@
click=
'goUrl("RegistrationList", item.TCID,"报名清单")'
class=
"go_regis"
>
{{
item
.
TCNUM
}}
(
{{
item
.
TCID
}}
)
</td>
<td>
{{
item
.
LeaderName
}}
</td>
<td>
{{
item
.
FinishNum
}}
/
{{
item
.
TotalNum
}}
</td>
<td>
{{
item
.
ScoreNum
}}
</td>
<td>
<span
style=
"cursor:pointer"
@
click=
"setInfo(item)"
>
填写
</span>
</td>
</tr>
<tr
v-if=
"dataList.length==0"
>
<td
colspan=
"
12
"
align=
"center"
>
暂无数据
</td>
<td
colspan=
"
6
"
align=
"center"
>
暂无数据
</td>
</tr>
</table>
<el-dialog
title=
"问券填写"
:visible
.
sync=
"DiaoChaShow"
center
:before-close=
"closeDialog"
>
...
...
@@ -203,7 +204,7 @@
if
(
obj
.
number
<
1
)
{
return
this
.
$message
.
error
(
'此团已完成意见调查!'
)
}
this
.
TCID
=
obj
.
tcid
;
this
.
TCID
=
obj
.
TCID
;
this
.
DiaoChaShow
=
true
;
this
.
getppList
();
},
...
...
@@ -348,47 +349,15 @@
this
.
loading
=
true
;
this
.
apipost
(
"survey_post_GetTravelSurveyPage"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
console
.
log
(
"survey_post_GetTravelSurveyPage"
,
res
.
data
);
if
(
res
.
data
.
resultCode
===
1
)
{
let
arrays
=
[];
console
.
log
(
"survey_post_GetTravelSurveyPage"
,
res
.
data
);
res
.
data
.
data
.
pageData
.
forEach
(
x
=>
{
let
isHave
=
false
if
(
x
.
tCID
!=
0
||
x
.
tCID
||
x
.
tCID
!=
''
)
{
if
(
arrays
.
length
>
0
)
{
arrays
.
forEach
(
y
=>
{
if
(
y
.
tcid
==
x
.
tCID
)
{
y
[
x
.
title
]
=
x
.
scoreNum
y
.
sumScore
+=
x
.
scoreNum
isHave
=
true
return
false
}
})
}
if
(
!
isHave
)
{
let
obj
=
{
tcid
:
x
.
TCID
,
start
:
x
.
StartDate
,
sumScore
:
x
.
ScoreNum
,
tCNUM
:
x
.
TCNUM
,
number
:
x
.
TotalNum
,
lname
:
x
.
LeaderName
}
obj
[
x
.
title
]
=
x
.
scoreNum
arrays
.
push
(
obj
)
}
}
});
this
.
dataList
=
arrays
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
},
null
);
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
...
...
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