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
da3d95df
...
da3d95df3326ba4b48041bb16b89509172d6bb34
authored
2020-09-08 09:58:19 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
546cb5bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
11 deletions
src/page/tool.vue
src/page/tool.vue
View file @
da3d95d
...
...
@@ -5,7 +5,7 @@
<el-form
ref=
"form"
:model=
"deleteClues"
label-width=
"0px"
>
<el-card
class=
"yellowgreen"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
删除
指定UID的
线索
</span>
<span>
删除线索
</span>
</div>
<div
class=
"text item"
>
<el-form-item>
...
...
@@ -74,15 +74,29 @@
</el-row>
<el-row>
<el-col>
<el-card
class=
"aquamarine"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
正在开发中
</span>
<el-button
style=
"float: right; padding: 3px 0"
type=
"text"
>
操作按钮
</el-button>
</div>
<div
v-for=
"o in 4"
:key=
"o"
class=
"text item"
>
{{
'正在开发中 '
+
o
}}
</div>
</el-card>
<el-form
ref=
"form"
:model=
"createCluesYoubaoe"
label-width=
"0px"
>
<el-card
class=
"aquamarine"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
生成线索-活动类型-有预约保额
</span>
</div>
<div
class=
"text item"
>
<el-form-item>
<el-input
placeholder=
"代理人UID"
v-model=
"createCluesYoubaoe.agentUid"
clearable
></el-input>
</el-form-item>
<div
style=
"margin: 15px 0;"
></div>
<el-form-item>
<el-input
placeholder=
"该代理人名下的健康坊用户UID"
v-model=
"createCluesYoubaoe.customUid"
clearable
></el-input>
</el-form-item>
<el-form-item>
<el-input
placeholder=
"正在进行中的活动ID"
v-model=
"createCluesYoubaoe.actId"
clearable
></el-input>
</el-form-item>
<div
style=
"margin: 15px 0;"
></div>
<el-form-item>
<el-button
round
@
click=
"createCluesYoubaoeSubmit"
>
生成线索
</el-button>
</el-form-item>
</div>
</el-card>
</el-form>
</el-col>
</el-row>
</div>
...
...
@@ -146,6 +160,11 @@
smsCode
:
{
phone
:
''
,
code
:
''
},
createCluesYoubaoe
:
{
agentUid
:
''
,
customUid
:
''
,
actId
:
''
}
}
},
...
...
@@ -236,7 +255,41 @@
type
:
'error'
});
})
}
},
createCluesYoubaoeSubmit
()
{
let
config
=
{
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
}
}
this
.
$http
.
get
(
'/tool/money/activity/youbaoe?'
+
this
.
$qs
.
stringify
({
uid
:
this
.
createCluesYoubaoe
.
agentUid
,
ref_id
:
this
.
createCluesYoubaoe
.
customUid
,
act_id
:
this
.
createCluesYoubaoe
.
actId
}),
config
).
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
data
==
'success'
)
{
this
.
$message
({
showClose
:
true
,
message
:
'生成线索成功'
,
type
:
'success'
});
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
'生成线索失败'
,
type
:
'error'
});
}
}).
catch
(
error
=>
{
console
.
log
(
error
);
this
.
$message
({
showClose
:
true
,
message
:
'服务器处理失败,请核对参数!'
,
type
:
'error'
});
})
},
}
}
</
script
>
...
...
Please
register
or
sign in
to post a comment