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
5c60d0f3
Commit
5c60d0f3
authored
Dec 06, 2022
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分bug修复
parent
2ddbecb6
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 @
5c60d0f3
<
template
>
<view
class=
"search"
>
<input
class=
"searchInput"
type=
"text"
name=
""
id=
""
v-model=
"queryName"
/>
<text
class=
"iconfont icon-sousuo"
@
click=
"searchBtn()"
></text>
<form
action=
""
style=
"width: 98%;"
@
submit=
"searchBtn()"
>
<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=
"system_msg"
@
click=
"jumpToSystemMsg()"
>
{{
messageUnreadCount
}}
</text>
</view>
...
...
@@ -74,11 +76,13 @@
display
:
flex
;
margin
:
30
rpx
auto
;
align-items
:
center
;
form{
width
:
95%
;
margin-right
:
20
rpx
;
}
.searchInput
{
border-radius
:
60
rpx
;
width
:
95%
;
background
:
linear-gradient
(
to
right
,
#E6F5FC
,
#FDE9F2
);
margin-right
:
20
rpx
;
padding
:
15
rpx
;
}
.icon-sousuo
{
...
...
manifest.json
View file @
5c60d0f3
...
...
@@ -64,8 +64,8 @@
"sdkConfigs"
:
{
"share"
:
{
"weixin"
:
{
"appid"
:
"wx
ec09b9be6cff4eb3
"
,
"UniversalLinks"
:
"https://mcffp.anjibao.cn/
uni-universallinks/__UNI__ED34740
/"
"appid"
:
"wx
b591d0034cdcf0cd
"
,
"UniversalLinks"
:
"https://mcffp.anjibao.cn/
app
/"
}
},
"ad"
:
{},
...
...
@@ -75,14 +75,14 @@
},
"weixin"
:
{
"__platform__"
:
[
"ios"
,
"android"
],
"appid"
:
"wx
ec09b9be6cff4eb3
"
,
"UniversalLinks"
:
"https://mcffp.anjibao.cn/
uni-universallinks/__UNI__ED34740
/"
"appid"
:
"wx
b591d0034cdcf0cd
"
,
"UniversalLinks"
:
"https://mcffp.anjibao.cn/
app
/"
}
},
"oauth"
:
{
"weixin"
:
{
"appid"
:
"wx
ec09b9be6cff4eb3
"
,
"UniversalLinks"
:
"https://mcffp.anjibao.cn/
uni-universallinks/__UNI__ED34740
/"
"appid"
:
"wx
b591d0034cdcf0cd
"
,
"UniversalLinks"
:
"https://mcffp.anjibao.cn/
app
/"
}
}
},
...
...
pages/application-process/basic-info.vue
View file @
5c60d0f3
...
...
@@ -268,6 +268,14 @@
},
saveInfo
(){
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
){
uni
.
showToast
({
title
:
'请输入姓名'
,
...
...
pages/applyDropClass/applyDropClass.vue
View file @
5c60d0f3
...
...
@@ -44,8 +44,8 @@
</view>
</view>
<!-- 提交申请 -->
<view
class=
"submitApply"
@
click=
"submit()"
>
<text>
提交申请
</text>
<view
class=
"submitApply"
@
click=
"submit()"
>
<text
:class=
"
{'gray':readonlyFlag}"
>提交申请
</text>
</view>
<!-- 弹窗 -->
<uni-popup
ref=
"popup"
type=
"bottom"
background-color=
"#fff"
>
...
...
@@ -85,7 +85,8 @@
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
dropInfo
:{},
dropIndex
:
0
,
dropReasons
:[
''
]
dropReasons
:[
''
],
readonlyFlag
:
false
};
},
methods
:{
...
...
@@ -117,28 +118,33 @@
},
// 提交申请
submit
(){
const
param
=
{
orderNo
:
this
.
dropInfo
.
orderNo
,
paymentMethod
:
this
.
dropInfo
.
paymentMethod
,
userId
:
this
.
userId
,
totalFee
:
this
.
dropInfo
.
orderPrice
,
refundFee
:
this
.
dropInfo
.
refundFee
,
integralExchange
:
this
.
dropInfo
.
integralExchange
,
refundIntegralExchange
:
this
.
dropInfo
.
refundIntegralExchange
,
refundReason
:
this
.
dropReasons
[
this
.
dropIndex
][
'dropOptionName'
]
}
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
});
if
(
!
this
.
readonlyFlag
){
//提交按钮置灰
this
.
readonlyFlag
=
true
;
const
param
=
{
orderNo
:
this
.
dropInfo
.
orderNo
,
paymentMethod
:
this
.
dropInfo
.
paymentMethod
,
userId
:
this
.
userId
,
totalFee
:
this
.
dropInfo
.
orderPrice
,
refundFee
:
this
.
dropInfo
.
refundFee
,
integralExchange
:
this
.
dropInfo
.
integralExchange
,
refundIntegralExchange
:
this
.
dropInfo
.
refundIntegralExchange
,
refundReason
:
this
.
dropReasons
[
this
.
dropIndex
][
'dropOptionName'
]
}
})
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
(){
...
...
@@ -202,7 +208,11 @@
margin
:
0
auto
;
}
text
.gray
{
background
:
#666
;
}
}
.popup-content
{
view{
font-size
:
30
rpx
;
...
...
pages/systemMsg/system_msg.vue
View file @
5c60d0f3
...
...
@@ -79,7 +79,7 @@
})
return
false
}
api
.
oneKeyRead
({
systemType
:
1
,
userId
:
2
}).
then
((
res
)
=>
{
api
.
oneKeyRead
({
systemType
:
1
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
uni
.
showToast
({
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