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
d73e83e5
...
d73e83e5ea7beb20f062785e4671cb0e247ec57c
authored
2021-01-27 17:01:18 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
cf23672d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
95 additions
and
5 deletions
src/page/index.vue
src/page/nlp.vue
src/router/index.js
src/page/index.vue
View file @
d73e83e
...
...
@@ -9,8 +9,19 @@
background-color=
"#545c64"
text-color=
"#fff"
active-text-color=
"#ffd04b"
>
<el-menu-item
index=
"/tool"
>
测试工具
</el-menu-item>
<el-submenu
index=
"1"
>
<template
slot=
"title"
>
国寿AI健康
</
template
>
<el-menu-item
index=
"/tool"
>
测试工具
</el-menu-item>
</el-submenu>
<el-submenu
index=
"2"
>
<
template
slot=
"title"
>
AIME健康
</
template
>
<el-menu-item
index=
"/nlp"
>
NLP测试用例
</el-menu-item>
</el-submenu>
<el-submenu
index=
"3"
>
<
template
slot=
"title"
>
统计平台
</
template
>
<el-menu-item
index=
"/tjUser"
>
线上账号
</el-menu-item>
</el-submenu>
<el-submenu
index=
"4"
>
<
template
slot=
"title"
>
常用链接
</
template
>
<el-menu-item><a
class=
"link"
href=
"http://192.168.8.113:8080/jenkins/"
target=
"_blank"
>
测试jenkins
</a></el-menu-item>
<el-menu-item><a
class=
"link"
href=
"http://192.168.8.211/www/index.php?m=project&f=task"
target=
"_blank"
>
禅道
</a></el-menu-item>
...
...
@@ -24,10 +35,6 @@
<el-menu-item><a
class=
"link"
href=
"http://sfz.uzuzuz.com/"
target=
"_blank"
>
身份证号码生成
</a></el-menu-item>
<el-menu-item><a
class=
"link"
href=
"https://www.bejson.com/"
target=
"_blank"
>
JSON格式化工具
</a></el-menu-item>
</el-submenu>
<el-submenu
index=
"2"
>
<
template
slot=
"title"
>
统计平台
</
template
>
<el-menu-item
index=
"/tjUser"
>
线上账号
</el-menu-item>
</el-submenu>
</el-menu>
<router-view/>
</div>
...
...
src/page/nlp.vue
0 → 100644
View file @
d73e83e
<
template
xmlns:el-col=
"http://www.w3.org/1999/html"
>
<div>
<br/>
<span>
统计平台-线上账号
</span>
<el-table
:data=
"tjUsers"
border
style=
"width: 100%"
:header-cell-style=
"
{background: 'deepskyblue', color: 'snow'}">
<el-table-column
prop=
"username"
label=
"用户名"
min-width=
"1"
>
</el-table-column>
<el-table-column
prop=
"code"
label=
"机构code"
min-width=
"1"
>
</el-table-column>
<el-table-column
prop=
"clues"
label=
"测试用例执行配置项"
min-width=
"3"
>
</el-table-column>
<el-table-column
prop=
"mark"
label=
"备注"
min-width=
"1"
>
</el-table-column>
</el-table>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
tjUsers
:
[]
}
},
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/tjUser?'
+
this
.
$qs
.
stringify
({
}),
config
).
then
((
res
)
=>
{
console
.
log
(
res
.
data
)
this
.
tjUsers
=
res
.
data
.
tjUsers
loading
.
close
();
}).
catch
(
error
=>
{
console
.
log
(
error
);
loading
.
close
();
this
.
$message
({
showClose
:
true
,
message
:
'服务器处理失败,请核对参数!'
,
type
:
'error'
});
})
}
}
}
</
script
>
src/router/index.js
View file @
d73e83e
...
...
@@ -7,6 +7,7 @@ import activityConfigRedis from '@/page/activityConfigRedis'
import
userInfo
from
'@/page/userInfo'
import
apiTest
from
'@/page/apiTest'
import
tjUser
from
'@/page/tjUser'
import
nlp
from
'@/page/nlp'
Vue
.
use
(
Router
)
...
...
@@ -64,6 +65,14 @@ export default new Router({
meta
:
{
title
:
'测试工具平台'
}
},
{
path
:
'/nlp'
,
component
:
nlp
,
name
:
'nlp'
,
meta
:
{
title
:
'测试工具平台'
}
}
]
},
...
...
Please
register
or
sign in
to post a comment