Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-outbound
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 ba303026
authored
Jan 23, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
19f9e163
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
84 additions
and
10 deletions
src/assets/css/public.scss
src/views/redEnvelope/components/DrawRecord/dataImportMixin.js
src/views/redEnvelope/components/DrawRecord/index.vue
src/views/redEnvelope/components/PhysicalPrizeWriteOff/cpns/DeliverGoods.vue
src/views/redEnvelope/components/RedEnvelopeWithdraw/index.vue
src/views/redEnvelope/components/WinningRecord/dataImportMixin.js
src/views/redEnvelope/components/WinningRecord/index.vue
src/assets/css/public.scss
View file @
ba30302
...
@@ -136,4 +136,30 @@ img{
...
@@ -136,4 +136,30 @@ img{
color
:
#666666
;
color
:
#666666
;
max-width
:
80%
;
max-width
:
80%
;
}
}
}
\ No newline at end of file
\ No newline at end of file
}
.table_circular_flex
{
display
:
flex
;
align-items
:
center
;
.table_circular
{
width
:
6px
;
height
:
6px
;
border-radius
:
4px
;
margin-right
:
8px
;
}
.circular_green
{
background
:
#2CCA74
;
}
.circular_gray
{
background
:
#999999
;
}
.circular_red
{
background
:
#EB4E4E
;
}
.circular_blue
{
background
:
#5850FF
;
}
.circular_yellow
{
background
:
#F8B757
;
}
}
src/views/redEnvelope/components/DrawRecord/dataImportMixin.js
View file @
ba30302
...
@@ -109,7 +109,8 @@ export default {
...
@@ -109,7 +109,8 @@ export default {
},
},
{
{
label
:
'状态'
,
label
:
'状态'
,
prop
:
'statusStr'
minWidth
:
150
,
addHtml
:
'statusStr'
},
},
{
{
label
:
'抽奖时间'
,
label
:
'抽奖时间'
,
...
...
src/views/redEnvelope/components/DrawRecord/index.vue
View file @
ba30302
...
@@ -32,6 +32,14 @@
...
@@ -32,6 +32,14 @@
:tableParams=
"tableParams"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:pageConf=
"pageConf"
>
>
<template
slot=
"statusStr"
slot-scope=
"scope"
>
<div
class=
"table_circular_flex"
>
<div
:class=
"['table_circular',colorFee[scope.scope.statusStr]]"
>
</div>
<span>
{{
scope
.
scope
.
statusStr
}}
</span>
</div>
</
template
>
<span
<span
slot=
"auth-button"
slot=
"auth-button"
slot-scope=
"scope"
slot-scope=
"scope"
...
@@ -52,7 +60,10 @@
...
@@ -52,7 +60,10 @@
import
regionCascader
from
"@/components/regionCascader"
;
import
regionCascader
from
"@/components/regionCascader"
;
import
dataImportMixin
from
"./dataImportMixin"
;
import
dataImportMixin
from
"./dataImportMixin"
;
import
repeatMethods
from
"../common/repeatMethods"
;
import
repeatMethods
from
"../common/repeatMethods"
;
const
STAGE_COLOR
=
Object
.
freeze
({
'中奖'
:
'circular_green'
,
'未中奖'
:
'circular_gray'
})
export
default
{
export
default
{
name
:
'DisplayRecord'
,
name
:
'DisplayRecord'
,
mixins
:
[
dataImportMixin
,
repeatMethods
],
mixins
:
[
dataImportMixin
,
repeatMethods
],
...
@@ -61,6 +72,7 @@ export default {
...
@@ -61,6 +72,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
colorFee
:
STAGE_COLOR
}
}
},
},
mounted
()
{
mounted
()
{
...
...
src/views/redEnvelope/components/PhysicalPrizeWriteOff/cpns/DeliverGoods.vue
View file @
ba30302
...
@@ -25,10 +25,10 @@
...
@@ -25,10 +25,10 @@
<div
class=
"form-section"
>
<div
class=
"form-section"
>
<h3
class=
"section-title"
>
快递信息
</h3>
<h3
class=
"section-title"
>
快递信息
</h3>
<el-form-item
label=
"物流公司"
prop=
"logisticsCompany"
:rules=
"[
{ required: true, message: '物流公司不能为空', trigger: 'blur' }]">
<el-form-item
label=
"物流公司"
prop=
"logisticsCompany"
:rules=
"[
{ required: true, message: '物流公司不能为空', trigger: 'blur' }]">
<el-input
v-model=
"form.logisticsCompany"
></el-input>
<el-input
v-model=
"form.logisticsCompany"
maxlength=
"50"
show-word-limit
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"物流单号"
prop=
"logisticsOrderNo"
:rules=
"[
{ required: true, message: '物流单号不能为空', trigger: 'blur' }]">
<el-form-item
label=
"物流单号"
prop=
"logisticsOrderNo"
:rules=
"[
{ required: true, message: '物流单号不能为空', trigger: 'blur' }]">
<el-input
v-model=
"form.logisticsOrderNo"
></el-input>
<el-input
v-model=
"form.logisticsOrderNo"
maxlength=
"50"
show-word-limit
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</el-form>
</el-form>
...
...
src/views/redEnvelope/components/RedEnvelopeWithdraw/index.vue
View file @
ba30302
...
@@ -40,6 +40,14 @@
...
@@ -40,6 +40,14 @@
:tableParams=
"tableParams"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:pageConf=
"pageConf"
>
>
<template
slot=
"thirdCashOutStatus"
slot-scope=
"scope"
>
<div
class=
"table_circular_flex"
>
<div
:class=
"['table_circular',colorFee[scope.scope.thirdCashOutStatus]]"
>
</div>
<span>
{{
scope
.
scope
.
thirdCashOutStatus
}}
</span>
</div>
</
template
>
<span
<span
slot=
"auth-button"
slot=
"auth-button"
slot-scope=
"scope"
slot-scope=
"scope"
...
@@ -62,6 +70,13 @@ import * as dayjs from 'dayjs'
...
@@ -62,6 +70,13 @@ import * as dayjs from 'dayjs'
import
importRecord
from
'./importRecord.vue'
import
importRecord
from
'./importRecord.vue'
import
{
exportFn
}
from
'@/common/constant'
import
{
exportFn
}
from
'@/common/constant'
import
inputNumRange
from
'@/components/inputNumRange'
import
inputNumRange
from
'@/components/inputNumRange'
const
STAGE_COLOR
=
Object
.
freeze
({
'提现成功'
:
'circular_green'
,
'补发成功'
:
'circular_green'
,
'发放中'
:
'circular_blue'
,
'提现失败'
:
'circular_red'
,
'补发失败'
:
'circular_gray'
,
})
export
default
{
export
default
{
name
:
'RedEnvelopeWithdraw'
,
name
:
'RedEnvelopeWithdraw'
,
...
@@ -69,6 +84,7 @@ export default {
...
@@ -69,6 +84,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
url
,
url
,
colorFee
:
STAGE_COLOR
,
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
searchForm
:
{},
searchForm
:
{},
searchFormData
:
[
searchFormData
:
[
...
@@ -203,8 +219,8 @@ export default {
...
@@ -203,8 +219,8 @@ export default {
},
},
{
{
label
:
'提现状态'
,
label
:
'提现状态'
,
minWidth
:
1
0
0
,
minWidth
:
1
5
0
,
prop
:
'thirdCashOutStatus'
addHtml
:
'thirdCashOutStatus'
},
},
{
{
label
:
'提现时间'
,
label
:
'提现时间'
,
...
...
src/views/redEnvelope/components/WinningRecord/dataImportMixin.js
View file @
ba30302
...
@@ -155,8 +155,8 @@ export default {
...
@@ -155,8 +155,8 @@ export default {
},
},
{
{
label
:
'状态'
,
label
:
'状态'
,
minWidth
:
1
0
0
,
minWidth
:
1
5
0
,
prop
:
'statusStr'
addHtml
:
'statusStr'
},
},
{
{
label
:
'中奖时间'
,
label
:
'中奖时间'
,
...
...
src/views/redEnvelope/components/WinningRecord/index.vue
View file @
ba30302
...
@@ -35,6 +35,14 @@
...
@@ -35,6 +35,14 @@
:tableParams=
"tableParams"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:pageConf=
"pageConf"
>
>
<template
slot=
"statusStr"
slot-scope=
"scope"
>
<div
class=
"table_circular_flex"
>
<div
:class=
"['table_circular',colorFee[scope.scope.statusStr]]"
>
</div>
<span>
{{
scope
.
scope
.
statusStr
}}
</span>
</div>
</
template
>
<span
<span
slot=
"auth-button"
slot=
"auth-button"
slot-scope=
"scope"
slot-scope=
"scope"
...
@@ -55,6 +63,15 @@ import dataImportMixin from "./dataImportMixin";
...
@@ -55,6 +63,15 @@ import dataImportMixin from "./dataImportMixin";
import
repeatMethods
from
"../common/repeatMethods"
;
import
repeatMethods
from
"../common/repeatMethods"
;
import
inputNumRange
from
"@/components/inputNumRange"
;
import
inputNumRange
from
"@/components/inputNumRange"
;
import
regionCascader
from
"@/components/regionCascader"
;
import
regionCascader
from
"@/components/regionCascader"
;
const
STAGE_COLOR
=
Object
.
freeze
({
'已领取'
:
'circular_green'
,
'发放中'
:
'circular_blue'
,
'待核销'
:
'circular_yellow'
,
'发放成功'
:
'circular_green'
,
'已核销'
:
'circular_green'
,
'领取失败'
:
'circular_red'
,
'发放失败'
:
'circular_red'
,
})
export
default
{
export
default
{
name
:
'DisplayRecord'
,
name
:
'DisplayRecord'
,
...
@@ -64,7 +81,9 @@ export default {
...
@@ -64,7 +81,9 @@ export default {
regionCascader
regionCascader
},
},
data
()
{
data
()
{
return
{}
return
{
colorFee
:
STAGE_COLOR
}
},
},
mounted
()
{
mounted
()
{
},
},
...
...
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