Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform-ui
Commits
ce3393a0
Commit
ce3393a0
authored
Sep 23, 2019
by
libin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提现记录文案更改
parent
7f1fac05
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
181 additions
and
176 deletions
+181
-176
discountRecord.vue
src/views/purseManage/discountRecord.vue
+181
-176
No files found.
src/views/purseManage/discountRecord.vue
View file @
ce3393a0
...
...
@@ -17,7 +17,8 @@
<el-col
:span=
"6"
>
<el-form-item
label=
"状态"
prop=
"type"
>
<el-select
class=
"filter-item"
v-model=
"listQuery.state"
placeholder=
"请输入状态"
>
<el-option
v-for=
"(item,index) in typeOptions"
:key=
"index"
:label=
"item.name"
:value=
"item.val"
>
</el-option>
<el-option
v-for=
"(item,index) in typeOptions"
:key=
"index"
:label=
"item.name"
:value=
"item.val"
></el-option>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -49,7 +50,7 @@
<
template
scope=
"scope"
>
<span
v-if=
"scope.row.stauts==0"
>
未到帐
</span>
<span
v-if=
"scope.row.stauts==1"
>
已到账
</span>
<span
v-if=
"scope.row.stauts==2"
>
审核失败
</span>
<span
v-if=
"scope.row.stauts==2"
>
驳回
</span>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"申请时间"
>
...
...
@@ -64,7 +65,9 @@
</el-table-column>
<el-table-column
align=
"center"
label=
"操作"
width=
"65"
fixed=
"right"
>
<
template
scope=
"scope"
>
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
v-if=
"scope.row.stauts==0"
@
click=
"handleUpdate(scope.row)"
>
审核
</el-button>
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
v-if=
"scope.row.stauts==0"
@
click=
"handleUpdate(scope.row)"
>
审核
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -133,19 +136,19 @@
return
{
typeOptions
:
[
{
"name"
:
'全部'
,
"val"
:
''
"name"
:
'全部'
,
"val"
:
''
},
{
"name"
:
'未到账'
,
"val"
:
'0'
"name"
:
'未到账'
,
"val"
:
'0'
},
{
"name"
:
'已到账'
,
"val"
:
'1'
"name"
:
'已到账'
,
"val"
:
'1'
},
],
dialogVisible
:
false
,
dialogVisible
:
false
,
BASE_API
:
process
.
env
.
BASE_API
,
showLoadingBody
:
false
,
list
:
null
,
...
...
@@ -156,14 +159,14 @@
limit
:
20
,
phone
:
''
,
//手机号
username
:
''
,
//姓名
state
:
''
,
//状态
state
:
''
,
//状态
},
inline
:
true
,
tableKey
:
0
,
dialogFrom
:
{
status
:
'1'
,
cono
:
''
,
reason
:
''
dialogFrom
:
{
status
:
'1'
,
cono
:
''
,
reason
:
''
},
}
},
...
...
@@ -187,9 +190,11 @@
if
(
!
this
.
$utils
.
isEmpty
(
response
.
data
.
data
)
&&
this
.
$utils
.
isInteger
(
response
.
data
.
totalCount
))
{
listRs
=
response
.
data
.
data
;
totalCountRs
=
response
.
data
.
totalCount
;
listRs
.
map
(
function
(
item
)
{
listRs
.
map
(
function
(
item
)
{
item
.
crtTimeStr
=
timestamp2Date
(
item
.
crtTime
);
if
(
item
.
finishTime
!=
0
&&
item
.
finishTime
!=
null
)
{
item
.
finishTimeStr
=
timestamp2Date
(
item
.
finishTime
);
}
});
}
this
.
listLoading
=
false
;
...
...
@@ -216,10 +221,10 @@
this
.
listQuery
.
page
=
val
;
this
.
getList
();
},
cancelHandel
()
{
cancelHandel
()
{
this
.
dialogVisible
=
false
;
},
handleUpdate
(
row
)
{
handleUpdate
(
row
)
{
this
.
dialogFrom
.
cathId
=
row
.
id
;
this
.
dialogVisible
=
true
;
},
...
...
@@ -227,8 +232,8 @@
var
that
=
this
;
const
set
=
this
.
$refs
;
set
[
formName
].
validate
(
valid
=>
{
if
(
this
.
dialogFrom
.
status
==
1
)
{
if
(
this
.
dialogFrom
.
cono
==
''
)
{
if
(
this
.
dialogFrom
.
status
==
1
)
{
if
(
this
.
dialogFrom
.
cono
==
''
)
{
this
.
$notify
({
title
:
'警告'
,
message
:
'请输入订单号'
,
...
...
@@ -238,8 +243,8 @@
return
false
;
}
}
if
(
this
.
dialogFrom
.
status
==
2
)
{
if
(
this
.
dialogFrom
.
reason
==
''
)
{
if
(
this
.
dialogFrom
.
status
==
2
)
{
if
(
this
.
dialogFrom
.
reason
==
''
)
{
this
.
$notify
({
title
:
'警告'
,
message
:
'请输入拒绝原因'
,
...
...
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