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
35cc7a22
Commit
35cc7a22
authored
Sep 30, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
意见调查填写 提交时加转圈圈 防止重复提交数据
parent
99ff5bc0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Survey.vue
src/components/administrative/Survey.vue
+4
-1
No files found.
src/components/administrative/Survey.vue
View file @
35cc7a22
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
:visible
.
sync=
"DiaoChaShow"
:visible
.
sync=
"DiaoChaShow"
center
center
:before-close=
"closeDialog"
>
:before-close=
"closeDialog"
>
<div
class=
"main NewSurveyList"
>
<div
class=
"main NewSurveyList"
v-loading=
"saveShow"
>
<el-select
filterable
v-model=
"GuestId"
value-key=
"LineID"
@
change=
"getOrderID(GuestId)"
>
<el-select
filterable
v-model=
"GuestId"
value-key=
"LineID"
@
change=
"getOrderID(GuestId)"
>
<el-option
v-for=
"item in ppList"
:label=
'item.GuestName'
:value=
'item.GuestId'
:key=
'item.GuestId'
></el-option>
<el-option
v-for=
"item in ppList"
:label=
'item.GuestName'
:value=
'item.GuestId'
:key=
'item.GuestId'
></el-option>
</el-select>
</el-select>
...
@@ -196,6 +196,7 @@ export default {
...
@@ -196,6 +196,7 @@ export default {
loading
:
false
,
loading
:
false
,
DiaoChaShow
:
false
,
DiaoChaShow
:
false
,
wqList
:
[],
wqList
:
[],
saveShow
:
false
,
msg
:{
msg
:{
pageSize
:
10
,
pageSize
:
10
,
pageIndex
:
1
,
pageIndex
:
1
,
...
@@ -318,6 +319,7 @@ export default {
...
@@ -318,6 +319,7 @@ export default {
if
(
this
.
GuestId
==
''
)
{
if
(
this
.
GuestId
==
''
)
{
return
this
.
$message
.
error
(
'请选择客人'
)
return
this
.
$message
.
error
(
'请选择客人'
)
}
}
this
.
saveShow
=
true
let
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
wqList
))
let
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
wqList
))
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
x
.
TCID
=
this
.
TCID
;
x
.
TCID
=
this
.
TCID
;
...
@@ -335,6 +337,7 @@ export default {
...
@@ -335,6 +337,7 @@ export default {
this
.
$message
.
success
(
'提交成功!'
);
this
.
$message
.
success
(
'提交成功!'
);
this
.
GuestId
=
''
;
this
.
GuestId
=
''
;
this
.
DiaoChaShow
=
false
;
this
.
DiaoChaShow
=
false
;
this
.
saveShow
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
this
.
$message
.
error
(
res
.
data
.
message
)
...
...
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