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
7141158e
Commit
7141158e
authored
Oct 14, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0f1a5ca5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
26 deletions
+39
-26
guestSign.vue
src/components/guestSign.vue
+21
-10
guestlogin.vue
src/components/guestlogin.vue
+18
-16
No files found.
src/components/guestSign.vue
View file @
7141158e
...
...
@@ -41,23 +41,23 @@
line-height
:
40px
;
}
/
deep
/
.guestSign
.el-checkbox
-group
.el-checkbox__inner
{
/
deep
/
.guestSign
.el-checkbox
.el-checkbox__inner
{
width
:
40px
;
height
:
40px
;
line-height
:
40px
;
}
/
deep
/
.guestSign
.el-checkbox
-group
.el-checkbox__input
{
/
deep
/
.guestSign
.el-checkbox
.el-checkbox__inner
{
line-height
:
3
;
}
/* 调整checkbox的选择框大小 */
/
deep
/
.guestSign
.el-checkbox
-group
.el-checkbox__inner
::after
{
/
deep
/
.guestSign
.el-checkbox
.el-checkbox__inner
::after
{
width
:
40px
;
height
:
40px
;
}
/
deep
/
.guestSign
.el-checkbox
-group
.el-checkbox__label
{
/
deep
/
.guestSign
.el-checkbox
.el-checkbox__label
{
font-size
:
36px
;
}
...
...
@@ -104,10 +104,11 @@
</el-radio-group>
</
template
>
<
template
v-if=
"item.SurveyType === 3"
>
<el-checkbox-group
v-model=
"item.SurveyOptionsList"
>
<el-checkbox
v-for=
"(radio, rIndex) in item.SurveyOptionsList"
:label=
"radio.ID"
:key=
"rIndex"
>
{{
radio
.
OptionsName
}}
</el-checkbox>
</el-checkbox-group>
<el-checkbox
v-for=
"(radio, rIndex) in item.SurveyOptionsList"
v-model=
"radio.IsCheckS"
:label=
"radio.ID"
:key=
"rIndex"
>
{{
radio
.
OptionsName
}}
</el-checkbox>
</
template
>
<
template
v-if=
"item.SurveyType === 4"
>
<el-input
type=
"textarea"
:rows=
"2"
:placeholder=
"$t('fnc.qsrneirong')"
v-model=
"item.TextContent"
>
...
...
@@ -221,8 +222,18 @@
item
.
OrderID
=
this
.
qMsg
.
OrderId
;
if
(
item
.
SurveyType
===
2
||
item
.
SurveyType
===
3
)
{
item
.
SurveyOptionsList
.
forEach
(
y
=>
{
if
(
item
.
ScoreNum
==
y
.
ID
)
{
y
.
IsCheck
=
"1"
;
//单选
if
(
item
.
SurveyType
==
2
)
{
if
(
item
.
ScoreNum
==
y
.
ID
)
{
y
.
IsCheck
=
"1"
;
}
}
//多选
if
(
item
.
SurveyType
==
3
)
{
y
.
IsCheck
=
"0"
;
if
(
y
.
IsCheckS
)
{
y
.
IsCheck
=
"1"
;
}
}
})
item
.
ScoreNum
=
0
;
...
...
src/components/guestlogin.vue
View file @
7141158e
...
...
@@ -21,7 +21,7 @@
postMsg
:
{
type
:
1
,
//1-手机号码验证登录,2-护照号码验证登录
//E75385750 13970261014
guestMobile
:
"13
970261014
"
,
//1-为手机号码,2-护照号码
guestMobile
:
"13
088987863
"
,
//1-为手机号码,2-护照号码
TCID
:
21633
},
qMsg
:
{
...
...
@@ -29,7 +29,7 @@
GuestId
:
0
,
SurName
:
""
,
//中文姓
Sex
:
0
,
//性别 1-男 2-女
OrderId
:
0
OrderId
:
0
}
};
},
...
...
@@ -53,20 +53,22 @@
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
console
.
log
(
tempData
);
this
.
qMsg
.
GuestId
=
tempData
[
0
].
Id
;
this
.
qMsg
.
SurName
=
tempData
[
0
].
SurName
;
this
.
qMsg
.
Sex
=
tempData
[
0
].
Sex
;
this
.
qMsg
.
OrderId
=
tempData
[
0
].
OrderId
;
this
.
$router
.
push
({
name
:
"guestSign"
,
query
:
{
TCID
:
this
.
qMsg
.
TCID
,
GuestId
:
this
.
qMsg
.
GuestId
,
SurName
:
this
.
qMsg
.
SurName
,
Sex
:
this
.
qMsg
.
Sex
,
OrderId
:
this
.
qMsg
.
OrderId
}
})
if
(
tempData
&&
tempData
.
length
>
0
)
{
this
.
qMsg
.
GuestId
=
tempData
[
0
].
Id
;
this
.
qMsg
.
SurName
=
tempData
[
0
].
SurName
;
this
.
qMsg
.
Sex
=
tempData
[
0
].
Sex
;
this
.
qMsg
.
OrderId
=
tempData
[
0
].
OrderId
;
this
.
$router
.
push
({
name
:
"guestSign"
,
query
:
{
TCID
:
this
.
qMsg
.
TCID
,
GuestId
:
this
.
qMsg
.
GuestId
,
SurName
:
this
.
qMsg
.
SurName
,
Sex
:
this
.
qMsg
.
Sex
,
OrderId
:
this
.
qMsg
.
OrderId
}
})
}
}
},
err
=>
{}
...
...
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