Commit c12760ca by cwq0219

字段

1 parent acac670c
......@@ -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]
}
}]
}
}
......
......@@ -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]
}
}]
}
}
......
......@@ -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]
}
}]
}
}
......
......@@ -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'
}]
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!