Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 53fcc439
authored
Mar 08, 2022
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
c2483e62
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
linkwe-mobile/src/utils/common.js
linkwe-mobile/src/utils/request.js
linkwe-mobile/src/views/redPacket/receive.vue
linkwe-ui/src/views/redPacketTool/sendRecord/Customer.vue
linkwe-mobile/src/utils/common.js
deleted
100644 → 0
View file @
c2483e6
File mode changed
linkwe-mobile/src/utils/request.js
View file @
53fcc43
...
@@ -24,11 +24,11 @@ function createAxios(baseURL) {
...
@@ -24,11 +24,11 @@ function createAxios(baseURL) {
(
res
)
=>
{
(
res
)
=>
{
// console.log('res: ' + res)
// console.log('res: ' + res)
const
{
data
,
status
}
=
res
const
{
data
,
status
}
=
res
// code 0:成功,-1/其它:错误
// code
20
0:成功,-1/其它:错误
if
(
status
===
200
&&
data
.
code
===
200
)
{
if
(
status
===
200
&&
data
.
code
===
200
)
{
return
data
return
data
}
else
if
(
data
.
code
==
501
)
{
}
else
if
(
data
.
code
==
501
)
{
// 红包相关错误
// 红包
领取
相关错误
return
data
return
data
}
else
{
}
else
{
addErrorLog
(
res
)
addErrorLog
(
res
)
...
...
linkwe-mobile/src/views/redPacket/receive.vue
View file @
53fcc43
...
@@ -122,7 +122,7 @@ export default {
...
@@ -122,7 +122,7 @@ export default {
avatar: this.avatar,
avatar: this.avatar,
}
}
receiveRedPacket(form).then((data) => {
receiveRedPacket(form).then((data) => {
if (data.code ==
=
200) {
if (data.code == 200) {
return this.getReceiveList()
return this.getReceiveList()
} else {
} else {
this.errorMsg = data.msg
this.errorMsg = data.msg
...
...
linkwe-ui/src/views/redPacketTool/sendRecord/Customer.vue
View file @
53fcc43
...
@@ -25,7 +25,6 @@ export default {
...
@@ -25,7 +25,6 @@ export default {
1
:
'待领取'
,
1
:
'待领取'
,
2
:
'已领取'
,
2
:
'已领取'
,
3
:
'发放失败'
,
3
:
'发放失败'
,
4
:
'退款中'
,
5
:
'已退款'
,
5
:
'已退款'
,
}),
}),
}
}
...
@@ -181,7 +180,7 @@ export default {
...
@@ -181,7 +180,7 @@ export default {
<div
class=
"ml10"
>
<div
class=
"ml10"
>
<p>
{{
row
.
customerName
}}
</p>
<p>
{{
row
.
customerName
}}
</p>
<i
:class=
"['el-icon-s-custom',
{ 1: 'man', 2: 'woman' }[row.gender]]">
</i>
<i
:class=
"['el-icon-s-custom',
{ 1: 'man', 2: 'woman' }[row.gender]]">
</i>
<span
:style=
"
{ color: row.customerType ==
=
1 ? '#4bde03' : '#f9a90b' }">
<span
:style=
"
{ color: row.customerType == 1 ? '#4bde03' : '#f9a90b' }">
{{
{
1
:
'@微信'
,
2
:
'@企业微信'
}
[
row
.
customerType
]
}}
{{
{
1
:
'@微信'
,
2
:
'@企业微信'
}
[
row
.
customerType
]
}}
<
/span
>
<
/span
>
<
/div
>
<
/div
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment