Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
develop-platform
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c12760ca
authored
Dec 16, 2020
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
字段
1 parent
acac670c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
73 additions
and
30 deletions
src/views/apiManage/apiList.vue
src/views/apiManage/apiRecord.vue
src/views/appMarket/appMarket.vue
src/views/user/user.vue
src/views/apiManage/apiList.vue
View file @
c12760c
...
...
@@ -22,27 +22,45 @@ export default {
listName
:
'list'
,
tableColumns
:
[{
label
:
'id'
,
prop
:
''
,
prop
:
'
id
'
,
width
:
'200px'
},
{
label
:
'API分类'
,
prop
:
''
prop
:
'apiClassification'
,
fomatter
:
(
cellValue
)
=>
{
return
{
1
:
'授权管理'
,
2
:
'设备管理'
,
3
:
'数据服务'
}[
cellValue
.
apiClassification
]
}
},
{
label
:
'API名称'
,
prop
:
''
prop
:
'
apiName
'
},
{
label
:
'请求方式'
,
prop
:
''
,
width
:
'180px'
prop
:
'requestMethod'
,
fomatter
:
(
cellValue
)
=>
{
return
{
1
:
'GET'
,
2
:
'POST'
}[
cellValue
.
requestMethod
]
}
},
{
label
:
'API接口'
,
prop
:
''
prop
:
'
apiInterface
'
},
{
label
:
'说明'
,
prop
:
''
prop
:
'
description
'
},
{
label
:
'状态'
,
prop
:
''
prop
:
'status'
,
fomatter
:
(
cellValue
)
=>
{
return
{
0
:
'停用'
,
1
:
'可用'
}[
cellValue
.
status
]
}
}]
}
}
...
...
src/views/apiManage/apiRecord.vue
View file @
c12760c
...
...
@@ -45,21 +45,27 @@ export default {
listName
:
'list'
,
tableColumns
:
[{
label
:
'序号'
,
prop
:
''
,
prop
:
'
id
'
,
width
:
'200px'
},
{
label
:
'访问时间'
,
prop
:
''
prop
:
'
createTime
'
},
{
label
:
'客户'
,
prop
:
''
prop
:
'
customerName
'
},
{
label
:
'调用API'
,
prop
:
''
,
prop
:
'
apiId
'
,
width
:
'180px'
},
{
label
:
'调用结果'
,
prop
:
''
prop
:
'callResult'
,
fomatter
:
(
cellValue
)
=>
{
return
{
0
:
'失败'
,
1
:
'成功'
}[
cellValue
.
callResult
]
}
}]
}
}
...
...
src/views/appMarket/appMarket.vue
View file @
c12760c
...
...
@@ -30,27 +30,46 @@ export default {
listName
:
'list'
,
tableColumns
:
[{
label
:
'id'
,
prop
:
''
,
prop
:
'
id
'
,
width
:
'200px'
},
{
label
:
'标题'
,
prop
:
''
prop
:
'
title
'
},
{
label
:
'图片'
,
prop
:
''
prop
:
'
image
'
},
{
label
:
'位置'
,
prop
:
''
,
width
:
'180px'
prop
:
'position'
,
width
:
'180px'
,
fomatter
:
(
cellValue
)
=>
{
return
{
1
:
'商城banner'
,
2
:
'智能-家'
,
3
:
'启动页'
}[
cellValue
.
position
]
}
},
{
label
:
'打开界面'
,
prop
:
''
prop
:
'interfaceType'
,
fomatter
:
(
cellValue
)
=>
{
return
{
1
:
'APP'
,
2
:
'H5'
}[
cellValue
.
interfaceType
]
}
},
{
label
:
'添加时间'
,
prop
:
''
prop
:
'
createTime
'
},
{
label
:
'状态'
,
prop
:
''
prop
:
'status'
,
fomatter
:
(
cellValue
)
=>
{
return
{
0
:
'下架'
,
1
:
'上架'
}[
cellValue
.
status
]
}
}]
}
}
...
...
src/views/user/user.vue
View file @
c12760c
...
...
@@ -44,33 +44,33 @@ export default {
listName
:
'list'
,
tableColumns
:
[{
label
:
'id'
,
prop
:
''
,
prop
:
'
id
'
,
width
:
'200px'
},
{
label
:
'昵称'
,
prop
:
''
prop
:
'
nickname
'
},
{
label
:
'联系电话'
,
prop
:
''
prop
:
'
contactNumber
'
},
{
label
:
'微信ID'
,
prop
:
''
,
prop
:
'
wechatId
'
,
width
:
'180px'
},
{
label
:
'省份'
,
prop
:
''
prop
:
'
province
'
},
{
label
:
'城市'
,
prop
:
'
status
'
prop
:
'
city
'
},
{
label
:
'所属客户名称'
,
prop
:
'
status
'
prop
:
'
customerName
'
},
{
label
:
'注册时间'
,
prop
:
'
status
'
prop
:
'
createTime
'
},
{
label
:
'最后登录时间'
,
prop
:
'
status
'
prop
:
'
lastLoginTime
'
}]
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment