Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张浩
/
br-client
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
a46ac785
...
a46ac785f2a6f48407bea46c38fbc48d2a58b2d9
authored
2023-02-07 14:49:32 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
804ce269
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
132 additions
and
1 deletions
src/page/queryTiXian.vue
src/page/tool.vue
src/router/index.js
src/page/queryTiXian.vue
0 → 100644
View file @
a46ac78
<
template
xmlns:el-col=
"http://www.w3.org/1999/html"
>
<div>
<br/>
<span>
查询提现记录
</span>
<el-table
:data=
"userAccountHistories"
border
style=
"width: 100%"
:header-cell-style=
"
{background: 'deepskyblue', color: 'snow'}">
<el-table-column
prop=
"name"
label=
"姓名"
min-width=
"2"
>
</el-table-column>
<el-table-column
prop=
"phone"
label=
"手机号"
min-width=
"1"
>
</el-table-column>
<el-table-column
prop=
"uid"
label=
"uid"
min-width=
"1"
>
</el-table-column>
<el-table-column
prop=
"amount"
label=
"变动金额"
min-width=
"1"
>
</el-table-column>
<el-table-column
prop=
"balance"
label=
"剩余金额"
min-width=
"1"
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"提现时间"
min-width=
"2"
>
</el-table-column>
<el-table-column
prop=
"description"
label=
"提现方式"
min-width=
"2"
>
</el-table-column>
</el-table>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
showdate
:
this
.
$route
.
query
.
showdate
,
userAccountHistories
:
[]
}
},
mounted
()
{
this
.
activity
()
},
methods
:
{
activity
()
{
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'加载中...'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.7)'
});
let
config
=
{
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
}
}
this
.
$http
.
get
(
'/tool/queryTiXian?'
+
this
.
$qs
.
stringify
({
dateTime
:
this
.
showdate
}),
config
).
then
((
res
)
=>
{
console
.
log
(
res
.
data
)
this
.
userAccountHistories
=
res
.
data
.
userAccountHistories
loading
.
close
();
}).
catch
(
error
=>
{
console
.
log
(
error
);
loading
.
close
();
this
.
$message
({
showClose
:
true
,
message
:
'服务器处理失败,请核对参数!'
,
type
:
'error'
});
})
}
}
}
</
script
>
src/page/tool.vue
View file @
a46ac78
...
...
@@ -915,6 +915,29 @@
</el-card>
</el-form>
</el-col>
<el-col
:span=
"8"
>
<el-form
ref=
"queryTiXian"
:model=
"queryTiXian"
label-width=
"0px"
>
<el-card
class=
"darkred"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
查询提现记录
</span>
</div>
<div
class=
"text item"
>
<el-form-item>
<el-date-picker
v-model=
"queryTiXian.showdate"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"请选择提现日期"
>
</el-date-picker>
</el-form-item>
<div
style=
"margin: 15px 0;"
></div>
<el-form-item>
<el-button
round
@
click=
"queryTiXianSubmit"
>
查询
</el-button>
</el-form-item>
</div>
</el-card>
</el-form>
</el-col>
</el-row>
</div>
</
template
>
...
...
@@ -1312,7 +1335,10 @@
},{
value
:
'1'
,
label
:
'线上环境'
}]
}],
queryTiXian
:
{
showdate
:
''
}
// activityConfigRules: {
// id: [
// { required: true, message: '请输入活动ID', trigger: 'blur' }
...
...
@@ -2249,6 +2275,11 @@
console
.
log
(
error
);
loading
.
close
();
})
},
queryTiXianSubmit
()
{
const
{
href
}
=
this
.
$router
.
resolve
({
name
:
'queryTiXian'
,
query
:
{
showdate
:
this
.
queryTiXian
.
showdate
}})
window
.
open
(
href
,
'_blank'
)
}
}
}
...
...
src/router/index.js
View file @
a46ac78
...
...
@@ -35,6 +35,7 @@ import selectActOnlineShenZhen from '@/page/selectActOnlineShenZhen'
import
toolWaiBao
from
'@/page/toolWaiBao'
import
select20Act
from
'@/page/select20Act'
import
qrCode
from
'@/page/qrCode'
import
queryTiXian
from
'@/page/queryTiXian'
Vue
.
use
(
Router
)
...
...
@@ -163,6 +164,14 @@ export default new Router({
}
},
{
path
:
'/queryTiXian'
,
component
:
queryTiXian
,
name
:
'queryTiXian'
,
meta
:
{
title
:
'测试工具平台'
}
},
{
path
:
'/nlp'
,
component
:
nlp
,
name
:
'nlp'
,
...
...
Please
register
or
sign in
to post a comment