Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jwhx
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sugar
jwhx
Commits
921087c4
Commit
921087c4
authored
Dec 27, 2024
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~~
parent
821938a0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
4 deletions
+22
-4
resources/admin/src/pages/member/account/index.vue
resources/admin/src/pages/member/account/index.vue
+11
-2
resources/admin/src/pages/ucenter/account/index.vue
resources/admin/src/pages/ucenter/account/index.vue
+11
-2
No files found.
resources/admin/src/pages/member/account/index.vue
View file @
921087c4
<
template
>
<
template
>
<el-container>
<el-container>
<!-- 大使账单 -->
<el-header>
<el-header>
<div
class=
"left-panel"
>
<div
class=
"left-panel"
>
<el-select
v-model=
"search.type"
placeholder=
"请选择类型"
style=
"width: 180px; margin-right: 10px;"
clearable
>
<el-select
v-model=
"search.type"
placeholder=
"请选择类型"
style=
"width: 180px; margin-right: 10px;"
clearable
>
...
@@ -8,7 +9,7 @@
...
@@ -8,7 +9,7 @@
<el-input
v-model=
"search.store_title"
placeholder=
"请输入店铺名称"
style=
"width: 180px; margin-right: 10px;"
clearable
/>
<el-input
v-model=
"search.store_title"
placeholder=
"请输入店铺名称"
style=
"width: 180px; margin-right: 10px;"
clearable
/>
<el-input
v-model=
"search.username"
placeholder=
"请输入用户名"
style=
"width: 180px; margin-right: 10px;"
clearable
/>
<el-input
v-model=
"search.username"
placeholder=
"请输入用户名"
style=
"width: 180px; margin-right: 10px;"
clearable
/>
<el-select
v-model=
"search.status"
placeholder=
"请选择状态"
style=
"width: 180px;"
clearable
v-if=
"search.type == 'withdraw'"
>
<el-select
v-model=
"search.status"
placeholder=
"请选择状态"
style=
"width: 180px;"
clearable
v-if=
"search.type == 'withdraw'"
>
<el-option
:label=
"item.label"
:value=
"item.value"
v-for=
"(item, index) in [
{label: '已提现', value: 1}, {label: '待提现', value: 0}, {label: '已拒绝', value: 2}]" :key="index">
</el-option>
<el-option
:label=
"item.label"
:value=
"item.value"
v-for=
"(item, index) in [
{label: '已提现', value: 1}, {label: '待提现', value: 0}, {label: '已拒绝', value: 2}
,{label: '提现失败', value: -2}
]" :key="index">
</el-option>
</el-select>
</el-select>
<el-select
v-model=
"search.status"
placeholder=
"请选择状态"
style=
"width: 180px;"
clearable
v-if=
"search.type == 'income'"
>
<el-select
v-model=
"search.status"
placeholder=
"请选择状态"
style=
"width: 180px;"
clearable
v-if=
"search.type == 'income'"
>
<el-option
:label=
"item.label"
:value=
"item.value"
v-for=
"(item, index) in [
{label: '已到账', value: 1}, {label: '未入账', value: 0}]" :key="index">
</el-option>
<el-option
:label=
"item.label"
:value=
"item.value"
v-for=
"(item, index) in [
{label: '已到账', value: 1}, {label: '未入账', value: 0}]" :key="index">
</el-option>
...
@@ -43,7 +44,13 @@
...
@@ -43,7 +44,13 @@
</
template
>
</
template
>
<
template
#status
="
scope
"
>
<
template
#status
="
scope
"
>
<el-tag
v-if=
"scope.row.type == 'income'"
:type=
"scope.row.status == 1 ? 'success' : 'danger'"
>
{{
scope
.
row
.
status
==
1
?
'
已到账
'
:
'
未入账
'
}}
</el-tag>
<el-tag
v-if=
"scope.row.type == 'income'"
:type=
"scope.row.status == 1 ? 'success' : 'danger'"
>
{{
scope
.
row
.
status
==
1
?
'
已到账
'
:
'
未入账
'
}}
</el-tag>
<el-tag
v-else
:type=
"scope.row.status == 1 ? 'success' : 'danger'"
>
{{
scope
.
row
.
status
==
1
?
'
已提现
'
:
'
待确认
'
}}
</el-tag>
<el-tag
v-else
:type=
"scope.row.status == 1 ? 'success' : 'danger'"
>
<span
v-show=
"scope.row.status == 0"
>
待提现
</span>
<span
v-show=
"scope.row.status == 1"
>
已提现
</span>
<span
v-show=
"scope.row.status == 2"
>
已拒绝
</span>
<span
v-show=
"scope.row.status == -2"
>
提现失败
</span>
</el-tag>
</
template
>
</
template
>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
width=
"100"
>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
width=
"100"
>
<
template
#default
="
scope
"
>
<
template
#default
="
scope
"
>
...
@@ -76,10 +83,12 @@ export default{
...
@@ -76,10 +83,12 @@ export default{
column
:
[
column
:
[
{
prop
:
'
member
'
,
label
:
'
头像
'
},
{
prop
:
'
member
'
,
label
:
'
头像
'
},
{
prop
:
'
mobile
'
,
label
:
'
手机号码
'
,
width
:
120
},
{
prop
:
'
mobile
'
,
label
:
'
手机号码
'
,
width
:
120
},
{
prop
:
'
bank_realname
'
,
label
:
'
真实姓名
'
,
width
:
120
},
{
prop
:
'
type
'
,
label
:
'
类型
'
,
width
:
120
,
align
:
'
center
'
},
{
prop
:
'
type
'
,
label
:
'
类型
'
,
width
:
120
,
align
:
'
center
'
},
{
prop
:
'
amount
'
,
label
:
'
额度
'
,
width
:
120
},
{
prop
:
'
amount
'
,
label
:
'
额度
'
,
width
:
120
},
{
prop
:
'
af_amount
'
,
label
:
'
余额
'
,
width
:
120
},
{
prop
:
'
af_amount
'
,
label
:
'
余额
'
,
width
:
120
},
{
prop
:
'
remark
'
,
label
:
'
备注
'
,
width
:
120
},
{
prop
:
'
remark
'
,
label
:
'
备注
'
,
width
:
120
},
{
prop
:
'
reason
'
,
label
:
'
失败理由
'
,
width
:
120
},
{
prop
:
'
status
'
,
label
:
'
状态
'
,
width
:
120
},
{
prop
:
'
status
'
,
label
:
'
状态
'
,
width
:
120
},
{
prop
:
'
created_at
'
,
label
:
'
添加时间
'
,
width
:
140
},
{
prop
:
'
created_at
'
,
label
:
'
添加时间
'
,
width
:
140
},
{
prop
:
'
updated_at
'
,
label
:
'
更新时间
'
,
width
:
140
},
{
prop
:
'
updated_at
'
,
label
:
'
更新时间
'
,
width
:
140
},
...
...
resources/admin/src/pages/ucenter/account/index.vue
View file @
921087c4
<
template
>
<
template
>
<el-container>
<el-container>
<!-- 我的收益 -->
<el-header>
<el-header>
<div
class=
"left-panel"
>
<div
class=
"left-panel"
>
<el-select
v-model=
"search.type"
placeholder=
"请选择类型"
style=
"width: 180px; margin-right: 10px;"
clearable
>
<el-select
v-model=
"search.type"
placeholder=
"请选择类型"
style=
"width: 180px; margin-right: 10px;"
clearable
>
...
@@ -8,7 +9,7 @@
...
@@ -8,7 +9,7 @@
<el-input
v-model=
"search.store_title"
placeholder=
"请输入店铺名称"
style=
"width: 180px; margin-right: 10px;"
clearable
/>
<el-input
v-model=
"search.store_title"
placeholder=
"请输入店铺名称"
style=
"width: 180px; margin-right: 10px;"
clearable
/>
<el-input
v-model=
"search.username"
placeholder=
"请输入用户名"
style=
"width: 180px; margin-right: 10px;"
clearable
/>
<el-input
v-model=
"search.username"
placeholder=
"请输入用户名"
style=
"width: 180px; margin-right: 10px;"
clearable
/>
<el-select
v-model=
"search.status"
placeholder=
"请选择状态"
style=
"width: 180px;"
clearable
v-if=
"search.type == 'withdraw'"
>
<el-select
v-model=
"search.status"
placeholder=
"请选择状态"
style=
"width: 180px;"
clearable
v-if=
"search.type == 'withdraw'"
>
<el-option
:label=
"item.label"
:value=
"item.value"
v-for=
"(item, index) in [
{label: '已提现', value: 1}, {label: '待提现', value: 0}, {label: '已拒绝', value: 2}]" :key="index">
</el-option>
<el-option
:label=
"item.label"
:value=
"item.value"
v-for=
"(item, index) in [
{label: '已提现', value: 1}, {label: '待提现', value: 0}, {label: '已拒绝', value: 2}
,{label: '提现失败', value: -2}
]" :key="index">
</el-option>
</el-select>
</el-select>
<el-select
v-model=
"search.status"
placeholder=
"请选择状态"
style=
"width: 180px;"
clearable
v-if=
"search.type == 'income'"
>
<el-select
v-model=
"search.status"
placeholder=
"请选择状态"
style=
"width: 180px;"
clearable
v-if=
"search.type == 'income'"
>
<el-option
:label=
"item.label"
:value=
"item.value"
v-for=
"(item, index) in [
{label: '已到账', value: 1}, {label: '未入账', value: 0}]" :key="index">
</el-option>
<el-option
:label=
"item.label"
:value=
"item.value"
v-for=
"(item, index) in [
{label: '已到账', value: 1}, {label: '未入账', value: 0}]" :key="index">
</el-option>
...
@@ -37,7 +38,14 @@
...
@@ -37,7 +38,14 @@
</
template
>
</
template
>
<
template
#status
="
scope
"
>
<
template
#status
="
scope
"
>
<el-tag
v-if=
"scope.row.type == 'service_income'"
:type=
"scope.row.status == 1 ? 'success' : 'danger'"
>
{{
scope
.
row
.
status
==
1
?
'
已到账
'
:
'
未入账
'
}}
</el-tag>
<el-tag
v-if=
"scope.row.type == 'service_income'"
:type=
"scope.row.status == 1 ? 'success' : 'danger'"
>
{{
scope
.
row
.
status
==
1
?
'
已到账
'
:
'
未入账
'
}}
</el-tag>
<el-tag
v-else
:type=
"scope.row.status == 1 ? 'success' : 'danger'"
>
{{
scope
.
row
.
status
==
1
?
'
已提现
'
:
'
待确认
'
}}
</el-tag>
<!--
<el-tag
v-else
:type=
"scope.row.status == 1 ? 'success' : 'danger'"
>
{{
scope
.
row
.
status
==
1
?
'
已提现
'
:
'
待确认
'
}}
</el-tag>
-->
<el-tag
v-else
:type=
"scope.row.status == 1 ? 'success' : 'danger'"
>
<span
v-show=
"scope.row.status == 0"
>
待提现
</span>
<span
v-show=
"scope.row.status == 1"
>
已提现
</span>
<span
v-show=
"scope.row.status == 2"
>
已拒绝
</span>
<span
v-show=
"scope.row.status == -2"
>
提现失败
</span>
</el-tag>
</
template
>
</
template
>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
width=
"100"
>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
width=
"100"
>
<
template
#default
="
scope
"
>
<
template
#default
="
scope
"
>
...
@@ -71,6 +79,7 @@ export default{
...
@@ -71,6 +79,7 @@ export default{
{
prop
:
'
af_amount
'
,
label
:
'
余额
'
,
width
:
120
},
{
prop
:
'
af_amount
'
,
label
:
'
余额
'
,
width
:
120
},
{
prop
:
'
remark
'
,
label
:
'
备注
'
,
width
:
120
},
{
prop
:
'
remark
'
,
label
:
'
备注
'
,
width
:
120
},
{
prop
:
'
status
'
,
label
:
'
状态
'
,
width
:
120
},
{
prop
:
'
status
'
,
label
:
'
状态
'
,
width
:
120
},
{
prop
:
'
reason
'
,
label
:
'
提败理由
'
,
width
:
120
},
{
prop
:
'
created_at
'
,
label
:
'
添加时间
'
,
width
:
140
},
{
prop
:
'
created_at
'
,
label
:
'
添加时间
'
,
width
:
140
},
{
prop
:
'
updated_at
'
,
label
:
'
更新时间
'
,
width
:
140
},
{
prop
:
'
updated_at
'
,
label
:
'
更新时间
'
,
width
:
140
},
],
],
...
...
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