Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
657746c1
Commit
657746c1
authored
Dec 06, 2022
by
sunchao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'apply' into dev
parents
2b75b344
5c60d0f3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
57 additions
and
35 deletions
+57
-35
components/search/search.vue
+8
-4
manifest.json
+6
-6
pages/application-process/basic-info.vue
+8
-0
pages/applyDropClass/applyDropClass.vue
+34
-24
pages/systemMsg/system_msg.vue
+1
-1
No files found.
components/search/search.vue
View file @
657746c1
<
template
>
<
template
>
<view
class=
"search"
>
<view
class=
"search"
>
<input
class=
"searchInput"
type=
"text"
name=
""
id=
""
v-model=
"queryName"
/>
<form
action=
""
style=
"width: 98%;"
@
submit=
"searchBtn()"
>
<text
class=
"iconfont icon-sousuo"
@
click=
"searchBtn()"
></text>
<input
class=
"searchInput"
type=
"text"
name=
""
id=
""
v-model=
"queryName"
/>
<text
class=
"iconfont icon-sousuo"
@
click=
"searchBtn()"
></text>
</form>
<text
class=
"iconfont icon-xiaoxi"
></text>
<text
class=
"iconfont icon-xiaoxi"
></text>
<text
class=
"system_msg"
@
click=
"jumpToSystemMsg()"
>
{{
messageUnreadCount
}}
</text>
<text
class=
"system_msg"
@
click=
"jumpToSystemMsg()"
>
{{
messageUnreadCount
}}
</text>
</view>
</view>
...
@@ -74,11 +76,13 @@
...
@@ -74,11 +76,13 @@
display
:
flex
;
display
:
flex
;
margin
:
30
rpx
auto
;
margin
:
30
rpx
auto
;
align-items
:
center
;
align-items
:
center
;
form{
width
:
95%
;
margin-right
:
20
rpx
;
}
.searchInput
{
.searchInput
{
border-radius
:
60
rpx
;
border-radius
:
60
rpx
;
width
:
95%
;
background
:
linear-gradient
(
to
right
,
#E6F5FC
,
#FDE9F2
);
background
:
linear-gradient
(
to
right
,
#E6F5FC
,
#FDE9F2
);
margin-right
:
20
rpx
;
padding
:
15
rpx
;
padding
:
15
rpx
;
}
}
.icon-sousuo
{
.icon-sousuo
{
...
...
manifest.json
View file @
657746c1
...
@@ -64,8 +64,8 @@
...
@@ -64,8 +64,8 @@
"sdkConfigs"
:
{
"sdkConfigs"
:
{
"share"
:
{
"share"
:
{
"weixin"
:
{
"weixin"
:
{
"appid"
:
"wx
ec09b9be6cff4eb3
"
,
"appid"
:
"wx
b591d0034cdcf0cd
"
,
"UniversalLinks"
:
"https://mcffp.anjibao.cn/
uni-universallinks/__UNI__ED34740
/"
"UniversalLinks"
:
"https://mcffp.anjibao.cn/
app
/"
}
}
},
},
"ad"
:
{},
"ad"
:
{},
...
@@ -75,14 +75,14 @@
...
@@ -75,14 +75,14 @@
},
},
"weixin"
:
{
"weixin"
:
{
"__platform__"
:
[
"ios"
,
"android"
],
"__platform__"
:
[
"ios"
,
"android"
],
"appid"
:
"wx
ec09b9be6cff4eb3
"
,
"appid"
:
"wx
b591d0034cdcf0cd
"
,
"UniversalLinks"
:
"https://mcffp.anjibao.cn/
uni-universallinks/__UNI__ED34740
/"
"UniversalLinks"
:
"https://mcffp.anjibao.cn/
app
/"
}
}
},
},
"oauth"
:
{
"oauth"
:
{
"weixin"
:
{
"weixin"
:
{
"appid"
:
"wx
ec09b9be6cff4eb3
"
,
"appid"
:
"wx
b591d0034cdcf0cd
"
,
"UniversalLinks"
:
"https://mcffp.anjibao.cn/
uni-universallinks/__UNI__ED34740
/"
"UniversalLinks"
:
"https://mcffp.anjibao.cn/
app
/"
}
}
}
}
},
},
...
...
pages/application-process/basic-info.vue
View file @
657746c1
...
@@ -268,6 +268,14 @@
...
@@ -268,6 +268,14 @@
},
},
saveInfo
(){
saveInfo
(){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
if
(
!
this
.
applyParam
.
areaId
){
uni
.
showToast
({
title
:
'请选择所属组织'
,
duration
:
2000
,
icon
:
'none'
})
return
;
}
if
(
!
this
.
applyParam
.
name
){
if
(
!
this
.
applyParam
.
name
){
uni
.
showToast
({
uni
.
showToast
({
title
:
'请输入姓名'
,
title
:
'请输入姓名'
,
...
...
pages/applyDropClass/applyDropClass.vue
View file @
657746c1
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
</view>
</view>
</view>
</view>
<!-- 提交申请 -->
<!-- 提交申请 -->
<view
class=
"submitApply"
@
click=
"submit()"
>
<view
class=
"submitApply"
@
click=
"submit()"
>
<text>
提交申请
</text>
<text
:class=
"
{'gray':readonlyFlag}"
>提交申请
</text>
</view>
</view>
<!-- 弹窗 -->
<!-- 弹窗 -->
<uni-popup
ref=
"popup"
type=
"bottom"
background-color=
"#fff"
>
<uni-popup
ref=
"popup"
type=
"bottom"
background-color=
"#fff"
>
...
@@ -85,7 +85,8 @@
...
@@ -85,7 +85,8 @@
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
dropInfo
:{},
dropInfo
:{},
dropIndex
:
0
,
dropIndex
:
0
,
dropReasons
:[
''
]
dropReasons
:[
''
],
readonlyFlag
:
false
};
};
},
},
methods
:{
methods
:{
...
@@ -117,28 +118,33 @@
...
@@ -117,28 +118,33 @@
},
},
// 提交申请
// 提交申请
submit
(){
submit
(){
const
param
=
{
if
(
!
this
.
readonlyFlag
){
orderNo
:
this
.
dropInfo
.
orderNo
,
//提交按钮置灰
paymentMethod
:
this
.
dropInfo
.
paymentMethod
,
this
.
readonlyFlag
=
true
;
userId
:
this
.
userId
,
const
param
=
{
totalFee
:
this
.
dropInfo
.
orderPrice
,
orderNo
:
this
.
dropInfo
.
orderNo
,
refundFee
:
this
.
dropInfo
.
refundFee
,
paymentMethod
:
this
.
dropInfo
.
paymentMethod
,
integralExchange
:
this
.
dropInfo
.
integralExchange
,
userId
:
this
.
userId
,
refundIntegralExchange
:
this
.
dropInfo
.
refundIntegralExchange
,
totalFee
:
this
.
dropInfo
.
orderPrice
,
refundReason
:
this
.
dropReasons
[
this
.
dropIndex
][
'dropOptionName'
]
refundFee
:
this
.
dropInfo
.
refundFee
,
}
integralExchange
:
this
.
dropInfo
.
integralExchange
,
api
.
unifiedRefund
(
param
).
then
(
res
=>
{
refundIntegralExchange
:
this
.
dropInfo
.
refundIntegralExchange
,
if
(
res
[
'success'
]){
refundReason
:
this
.
dropReasons
[
this
.
dropIndex
][
'dropOptionName'
]
uni
.
navigateTo
({
url
:
`/pages/afterSaleDetail/afterSaleDetail?orderNo=
${
this
.
dropInfo
.
orderNo
}
&afterSalesFlag=3`
})
}
else
{
uni
.
showToast
({
title
:
res
[
'message'
],
duration
:
2000
});
}
}
})
api
.
unifiedRefund
(
param
).
then
(
res
=>
{
if
(
res
[
'success'
]){
uni
.
navigateTo
({
url
:
`/pages/afterSaleDetail/afterSaleDetail?orderNo=
${
this
.
dropInfo
.
orderNo
}
&afterSalesFlag=3`
})
}
else
{
uni
.
showToast
({
title
:
res
[
'message'
],
duration
:
2000
});
}
this
.
readonlyFlag
=
false
;
})
}
},
},
// 退款原因
// 退款原因
dropOptionsQuery
(){
dropOptionsQuery
(){
...
@@ -202,7 +208,11 @@
...
@@ -202,7 +208,11 @@
margin
:
0
auto
;
margin
:
0
auto
;
}
}
text
.gray
{
background
:
#666
;
}
}
}
.popup-content
{
.popup-content
{
view{
view{
font-size
:
30
rpx
;
font-size
:
30
rpx
;
...
...
pages/systemMsg/system_msg.vue
View file @
657746c1
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
})
})
return
false
return
false
}
}
api
.
oneKeyRead
({
systemType
:
1
,
userId
:
2
}).
then
((
res
)
=>
{
api
.
oneKeyRead
({
systemType
:
1
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
uni
.
showToast
({
uni
.
showToast
({
title
:
'已清除所有未读信息'
,
title
:
'已清除所有未读信息'
,
...
...
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