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
0d349935
...
0d34993518bd5cb4f2a7c9c160f428bde40f0f6b
authored
2020-12-31 16:09:12 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
cbf9bfae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
src/page/tool.vue
src/page/tool.vue
View file @
0d34993
...
...
@@ -327,22 +327,22 @@
</el-form>
</el-col>
<el-col
:span=
"8"
>
<el-form
ref=
"
deleteClues"
:model=
"deleteClues
"
label-width=
"0px"
>
<el-form
ref=
"
updateBe"
:model=
"updateBe
"
label-width=
"0px"
>
<el-card
class=
"darkred"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
删除线索
</span>
<span>
充值健康币
</span>
</div>
<div
class=
"text item"
>
<el-form-item>
<el-input
placeholder=
"
代理人UID"
v-model=
"deleteClues.agentUid
"
clearable
></el-input>
<el-input
placeholder=
"
请输入手机号"
v-model=
"updateBe.phone
"
clearable
></el-input>
</el-form-item>
<div
style=
"margin: 15px 0;"
></div>
<el-form-item>
<el-input
placeholder=
"
该代理人名下的健康坊用户UID"
v-model=
"deleteClues.customUid
"
clearable
></el-input>
<el-input
placeholder=
"
请输入健康币充值数量"
v-model=
"updateBe.chongzhi
"
clearable
></el-input>
</el-form-item>
<div
style=
"margin: 15px 0;"
></div>
<el-form-item>
<el-button
round
@
click=
"onSubmit"
>
删除线索
</el-button>
<el-button
round
@
click=
"onSubmit"
>
充值
</el-button>
</el-form-item>
</div>
</el-card>
...
...
@@ -445,9 +445,9 @@
export
default
{
data
()
{
return
{
deleteClues
:
{
agentUid
:
''
,
c
ustomUid
:
''
updateBe
:
{
phone
:
''
,
c
hongzhi
:
''
},
bizData
:
{
myData
:
''
,
...
...
@@ -616,21 +616,21 @@
'Content-Type'
:
'application/x-www-form-urlencoded'
}
}
this
.
$http
.
get
(
'/tool/
money/delet
e?'
+
this
.
$qs
.
stringify
({
uid
:
this
.
deleteClues
.
agentUid
,
ref_id
:
this
.
deleteClues
.
customUid
this
.
$http
.
get
(
'/tool/
updateB
e?'
+
this
.
$qs
.
stringify
({
phone
:
this
.
updateBe
.
phone
,
be
:
this
.
updateBe
.
chongzhi
}),
config
).
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
data
==
'success'
)
{
this
.
$message
({
showClose
:
true
,
message
:
'
删除线索
成功'
,
message
:
'
充值
成功'
,
type
:
'success'
});
}
else
{
}
else
if
(
res
.
data
==
'usernull'
)
{
this
.
$message
({
showClose
:
true
,
message
:
'
删除线索失败
'
,
message
:
'
用户手机号不存在
'
,
type
:
'error'
});
}
...
...
Please
register
or
sign in
to post a comment