steedos-sap-plugin
本系统基于Steedos开发。您只需要在这里的配置业务对象,设定对象、关系、字段、视图、触发器、报表,即可拥有一套自定义的合同管理系统。
npm i yarn -g
npm config set registry http://registry.npm.taobao.org/
yarn
yarn start
docker-compose up -d
如果修改了代码或者配置,执行docker-compose build --no-cache
后,docker-compose up -d
datasources:
default:
connection:
url: mongodb://127.0.0.1/steedos
objectFiles:
- "./src"
appFiles:
- "./src/SAP.app.yml"
public:
cfs:
store: "local"
local:
folder: "/storage"
webservices:
workflow:
url: "http://127.0.0.1/"
cron:
sap_sync_rule: "0 03 * * * *"
sap_get_draft_rule: "0 15 * * * *"
plugins:
sap:
abapConfig:
user: 'xxx'
passwd: '123456'
ashost: '172.16.2.103'
sysnr: '00'
client: '300'
lang: 'ZH'
spaceId: 'xxx'
flows:
yongkuandan: 'xxx'
wuliao: 'xxx'
wuzicaigou: 'xxx'
{
"public": {
"webservices": {
"workflow": {
"url": "http://steedos.ticp.net:8821/"
},
"creator": {
"status": "active",
"url": "http://127.0.0.1/sap"
}
}
},
"cron": {
"webhookqueue_interval": 1000
}
}