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
2b3c899e
...
2b3c899e14be5eb4cfaade50d9df519b167b95e7
authored
2020-09-23 10:56:19 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
fa2368e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
95 additions
and
63 deletions
src/page/tool.vue
src/page/tool.vue
View file @
2b3c899
...
...
@@ -2,22 +2,21 @@
<div>
<el-row
style=
"margin-bottom: 15px; margin-top: 5px"
>
<el-col
:span=
"8"
>
<el-form
ref=
"
deleteClues"
:model=
"deleteClues
"
label-width=
"0px"
>
<el-card
class=
"
yellowgreen
"
shadow=
"always"
>
<el-form
ref=
"
smsCode"
:model=
"smsCode
"
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=
"smsCode.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=
"smsCode.code
"
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=
"
smsCodeSubmit"
>
设置验证码
</el-button>
</el-form-item>
</div>
</el-card>
...
...
@@ -61,31 +60,8 @@
</el-dialog>
</el-col>
<el-col
:span=
"8"
>
<el-form
ref=
"smsCode"
:model=
"smsCode"
label-width=
"0px"
>
<el-card
class=
"blue"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
设置短信验证码
</span>
</div>
<div
class=
"text item"
>
<el-form-item>
<el-input
placeholder=
"请输入手机号"
v-model=
"smsCode.phone"
clearable
></el-input>
</el-form-item>
<el-form-item>
<el-input
placeholder=
"请输入验证码"
v-model=
"smsCode.code"
clearable
></el-input>
</el-form-item>
<div
style=
"margin: 15px 0;"
></div>
<el-form-item>
<el-button
round
@
click=
"smsCodeSubmit"
>
设置验证码
</el-button>
</el-form-item>
</div>
</el-card>
</el-form>
</el-col>
</el-row>
<el-row
style=
"margin-bottom: 15px;"
>
<el-col
:span=
"8"
>
<el-form
ref=
"activityConfig"
:model=
"activityConfig"
label-width=
"0px"
>
<el-card
class=
"
chocolate
"
shadow=
"always"
>
<el-card
class=
"
darkred
"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
查询活动配置
</span>
</div>
...
...
@@ -111,9 +87,11 @@
</el-card>
</el-form>
</el-col>
</el-row>
<el-row
style=
"margin-bottom: 15px;"
>
<el-col
:span=
"8"
>
<el-form
ref=
"createUserInfo"
:model=
"createUserInfo"
label-width=
"0px"
>
<el-card
class=
"
CadetBlue
"
shadow=
"always"
>
<el-card
class=
"
darkred
"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
创建指定代理人的健康坊用户
</span>
</div>
...
...
@@ -135,7 +113,7 @@
</el-col>
<el-col
:span=
"8"
>
<el-form
ref=
"createUserInfo"
:model=
"queryUserInfo"
label-width=
"0px"
>
<el-card
class=
"
LightPink
"
shadow=
"always"
>
<el-card
class=
"
darkred
"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
查询指定代理人的健康坊用户
</span>
</div>
...
...
@@ -143,6 +121,16 @@
<el-form-item>
<el-input
placeholder=
"代理人手机号"
v-model=
"queryUserInfo.agentPhone"
clearable
></el-input>
</el-form-item>
<el-form-item>
<el-select
v-model=
"queryUserInfo.huanjing"
placeholder=
"请选择执行环境"
>
<el-option
v-for=
"item in queryUserInfoOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
<div
style=
"margin: 15px 0;"
></div>
<el-form-item>
<el-button
round
@
click=
"queryUserInfoSubmit"
>
查询用户
</el-button>
...
...
@@ -160,36 +148,9 @@
</span>
</el-dialog>
</el-col>
</el-row>
<el-row
style=
"margin-bottom: 15px;"
>
<el-col
:span=
"8"
>
<el-form
ref=
"createCluesYoubaoe"
:model=
"createCluesYoubaoe"
label-width=
"0px"
>
<el-card
class=
"Orange"
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-col
:span=
"8"
>
<el-form
ref=
"createAPI"
:model=
"createAPI"
label-width=
"0px"
>
<el-card
class=
"
LightSalmon
"
shadow=
"always"
>
<el-card
class=
"
darkred
"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
生成接口请求参数
</span>
</div>
...
...
@@ -234,6 +195,55 @@
</el-dialog>
</el-col>
</el-row>
<el-row
style=
"margin-bottom: 15px;"
>
<el-col
:span=
"8"
>
<el-form
ref=
"createCluesYoubaoe"
:model=
"createCluesYoubaoe"
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-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-col
:span=
"8"
>
<el-form
ref=
"deleteClues"
:model=
"deleteClues"
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-input
placeholder=
"代理人UID"
v-model=
"deleteClues.agentUid"
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-form-item>
<div
style=
"margin: 15px 0;"
></div>
<el-form-item>
<el-button
round
@
click=
"onSubmit"
>
删除线索
</el-button>
</el-form-item>
</div>
</el-card>
</el-form>
</el-col>
</el-row>
</div>
</
template
>
...
...
@@ -347,8 +357,16 @@
agentPhone
:
''
},
queryUserInfo
:
{
agentPhone
:
''
agentPhone
:
''
,
huanjing
:
[]
},
queryUserInfoOptions
:
[{
value
:
'0'
,
label
:
'测试环境'
},
{
value
:
'1'
,
label
:
'线上环境'
}],
createAPI
:
{
method
:
''
,
biz_data
:
''
,
...
...
@@ -584,13 +602,20 @@
})
},
queryUserInfoSubmit
()
{
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
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/queryJiankangfang?'
+
this
.
$qs
.
stringify
({
phone
:
this
.
queryUserInfo
.
agentPhone
phone
:
this
.
queryUserInfo
.
agentPhone
,
type
:
this
.
queryUserInfo
.
huanjing
.
toString
()
}),
config
).
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
data
==
'usernull'
)
{
...
...
@@ -599,6 +624,12 @@
message
:
'代理人手机号不存在'
,
type
:
'error'
});
}
else
if
(
res
.
data
==
'typeError'
)
{
this
.
$message
({
showClose
:
true
,
message
:
'执行环境参数错误'
,
type
:
'error'
});
}
else
{
this
.
myQueryUserInfo
=
res
.
data
this
.
dialogQueryUserInfo
=
true
...
...
@@ -611,6 +642,7 @@
type
:
'error'
});
})
loading
.
close
();
}
}
}
...
...
Please
register
or
sign in
to post a comment