Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
0c14f5a5
Commit
0c14f5a5
authored
Mar 25, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
授权意见调查表
parent
c4086d51
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
664 additions
and
0 deletions
+664
-0
pages.json
pages.json
+16
-0
authorizedLogin.vue
pages/customerAction/authorizedLogin.vue
+471
-0
obtainInfor.vue
pages/customerAction/obtainInfor.vue
+177
-0
No files found.
pages.json
View file @
0c14f5a5
...
...
@@ -932,6 +932,22 @@
}
}
]
},{
"root"
:
"pages/customerAction"
,
"pages"
:[
{
"path"
:
"authorizedLogin"
,
"style"
:
{
"navigationBarBackgroundColor"
:
"#B2E7F7"
}
},
{
"path"
:
"obtainInfor"
,
"style"
:
{
"navigationBarBackgroundColor"
:
"#B2E7F7"
}
}
]
}
],
"globalStyle"
:
{
...
...
pages/customerAction/authorizedLogin.vue
0 → 100644
View file @
0c14f5a5
This diff is collapsed.
Click to expand it.
pages/customerAction/obtainInfor.vue
0 → 100644
View file @
0c14f5a5
<
template
>
<view
class=
"obtainInforBox column"
>
<view
class=
"obtainInforTitle"
>
请选以下任意代表填写意见
</view>
<scroll-view
:scroll-y=
"true"
:enable-back-to-top=
"true"
style=
"height: 1px;flex: 1;"
:enable-flex=
"true"
>
<radio-group
@
change=
"radioChange"
>
<label
class=
"obtainInforLab row"
v-for=
"(item, index) in guestInfor.guest"
:key=
"index"
>
<view>
<radio
:value=
"item.Id"
color=
"#0039B8"
/>
</view>
<view
class=
"obtainInforLabName"
>
{{
item
.
AllName
}}
</view>
</label>
</radio-group>
</scroll-view>
<view
class=
"obtainInforGo"
:class=
"[current==0||showLogin?'active':'']"
@
click=
"current==0||showLogin?'':setPhone()"
>
确定
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
msg
:{
TCID
:
''
,
HPSLOpenId
:
''
,
Unoinid
:
''
,
Phone
:
''
,
Id
:
0
,
OrderId
:
0
,
},
list
:[
{
name
:
'我是业主'
,
value
:
1
},
{
name
:
'我是中介'
,
value
:
2
},
{
name
:
'我是经纪人'
,
value
:
3
},
],
current
:
0
,
currentObj
:
null
,
guestInfor
:
null
,
showLogin
:
false
,
}
},
onLoad
(
option
)
{
this
.
msg
=
JSON
.
parse
(
decodeURIComponent
(
option
.
msg
))
this
.
QueryUsers
()
},
methods
:
{
// 更新手机号
setPhone
(){
if
(
this
.
guestInfor
.
code
==
0
&&
this
.
guestInfor
.
IsEnd
==
0
){
if
(
this
.
msg
.
TCID
==
''
||
this
.
msg
.
HPSLOpenId
==
''
||
this
.
msg
.
Unoinid
==
''
||
this
.
msg
.
Phone
==
''
||
this
.
msg
.
Id
==
''
){
this
.
showLogin
=
false
;
return
uni
.
showToast
({
title
:
'信息不完善,请稍后再试'
,
icon
:
'none'
})
}
this
.
apipost
(
"post_UpdateOrderGuest"
,
this
.
msg
,
res
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
showLogin
=
false
;
uni
.
hideLoading
();
this
.
goWebUrl
()
}},
(
error
)
=>
{
uni
.
hideLoading
();
uni
.
showToast
({
title
:
error
.
message
,
icon
:
"none"
,
});
})
}
else
{
this
.
showLogin
=
false
;
uni
.
hideLoading
();
this
.
goWebUrl
()
}
},
radioChange
(
evt
){
this
.
current
=
evt
.
detail
.
value
;
this
.
msg
.
Id
=
evt
.
detail
.
value
;
for
(
let
i
=
0
;
i
<
this
.
guestInfor
.
guest
.
length
;
i
++
)
{
if
(
this
.
guestInfor
.
guest
[
i
].
Id
==
this
.
current
){
this
.
msg
.
OrderId
=
this
.
guestInfor
.
guest
[
i
].
OrderId
}
}
},
QueryUsers
(){
uni
.
showLoading
({
title
:
"加载中"
,
mask
:
true
,
})
this
.
apipost
(
"post_GetOrderGuest"
,{
TCID
:
this
.
msg
.
TCID
,
HPSLOpenId
:
this
.
msg
.
HPSLOpenId
,
Unoinid
:
this
.
msg
.
Unoinid
,
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
uni
.
hideLoading
();
this
.
guestInfor
=
res
.
data
;
// this.list = []
// for (let i = 0; i
<
res
.
data
.
guest
.
length
;
i
++
)
{
// let obj ={
// name: res.data.guest[i].AllName,
// value: res.data.guest[i].Id
// }
// this.list.push(obj)
// }
this
.
list
=
res
.
data
.
guest
}},
(
error
)
=>
{
uni
.
hideLoading
();
uni
.
showToast
({
title
:
error
.
message
,
icon
:
"none"
,
});
})
},
goWebUrl
()
{
let
url
=
`http://activity.oytour.com/html/ImpressionOpinionSurvey/opinionSurvey.html?TCID=
${
this
.
msg
.
TCID
}
&GuestId=
${
this
.
msg
.
Id
}
&OrderId=
${
this
.
msg
.
OrderId
}
&Phone=
${
this
.
msg
.
Phone
}
`
if
(
url
&&
url
.
length
>
0
)
{
uni
.
redirectTo
({
url
:
"/pages/webbox/webbox?u="
+
encodeURIComponent
(
url
),
});
}
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
@import
url("@/asset/css/flex.css")
;
.obtainInforBox
{
background
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#B2E7F7
)
,
to
(
#9BCFF3
));
padding
:
50rpx
41rpx
;
min-height
:
100vh
;
}
.obtainInforTitle
{
font-family
:
068
-
SSZhengYaTi
;
font-weight
:
400
;
font-size
:
43rpx
;
color
:
#080A0A
;
text-align
:
center
;
margin-bottom
:
50rpx
;
}
.obtainInforGo
{
width
:
100%
;
line-height
:
100rpx
;
color
:
#fff
;
background
:
#0039B8
;
border-radius
:
18rpx
;
text-align
:
center
;
font-weight
:
bold
;
font-size
:
36rpx
;
margin-top
:
85rpx
;
margin-bottom
:
50rpx
;
}
.obtainInforGo.active
{
background
:
#eee
;
color
:
#000
;
}
.obtainInforLab
{
padding
:
20rpx
0
;
}
.obtainInforLabName
{
position
:
relative
;
top
:
6rpx
;
left
:
10rpx
;
}
</
style
>
\ No newline at end of file
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