You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# database-connection 数据连接设置页面
|
|
|
|
![start](https://img.shields.io/badge/start-2019%2F04%2F26-blue.svg) ![finui](https://img.shields.io/badge/lib-FinUi-blue.svg)
|
|
|
|
|
|
|
|
[KERNEL-493](http://www.finedevelop.com:2016/browse/KERNEL-493)
|
|
|
|
## 开始
|
|
|
|
下载代码
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone ssh://git@cloud.finedevelop.com:7999/~alan/database-connection.git
|
|
|
|
```
|
|
|
|
安装依赖
|
|
|
|
|
|
|
|
```
|
|
|
|
yarn
|
|
|
|
```
|
|
|
|
|
|
|
|
开始开发
|
|
|
|
```
|
|
|
|
yarn start
|
|
|
|
```
|
|
|
|
|
|
|
|
## 接口
|
|
|
|
### 增加数据连接类型
|
|
|
|
使用`BI.config`,ConstantName名称为`bi.constant.database.conf.connect.list`,值为连接的名称
|
|
|
|
|
|
|
|
### 数据连接表单
|
|
|
|
ConstantName名称为`bi.constant.database.conf.connect.form.${name.toLowerCase()}.edit`,值为组件shortcut的名称
|
|
|
|
|
|
|
|
### 数据连接显示
|
|
|
|
ConstantName名称为`bi.constant.database.conf.connect.form.${name.toLowerCase()}.show`,值为组件shortcut的名称
|