多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 默认审批模板 ~~~[api] get:/v1/approvesys/form/listDefaultTpl <<< success { "code": 0, "msg": "ok", "data": { "list": [ { "title": "请假申请", "desc": "请假申请", "icon": "http://hzszrd-cloud-test.780.cn/uploads/image/20190718/0b1a87f7ceb8b7d36b1c23cc3c1aa3fd.png", "form_tpl": "[{\"type\":\"select\",\"title\":\"请假类型\",\"options\":[\"年假\",\"事假\",\"病假\",\"调休假\",\"婚嫁\",\"产假\",\"陪产假\",\"丧假\",\"其他\"],\"options_param\":{\"length\":null,\"max\":null,\"min\":2},\"require\":1,\"labelTitle\":\"下拉框\"},{\"type\":\"datetime\",\"title\":\"开始时间\",\"placeholder\":\"\",\"require\":1,\"labelTitle\":\"日期+时间\"},{\"type\":\"datetime\",\"title\":\"结束时间\",\"placeholder\":\"\",\"require\":1,\"labelTitle\":\"日期+时间\"},{\"type\":\"textarea\",\"title\":\"请假事由\",\"placeholder\":\"请输入\",\"require\":1,\"labelTitle\":\"多行文本\"}]" }, { "title": "出差申请", "desc": "出差申请", "icon": "http://hzszrd-cloud-test.780.cn/uploads/image/20190718/23bd326977c59577dc1ea9e57906d678.png", "form_tpl": "[{\"type\":\"textarea\",\"title\":\"出差事由\",\"placeholder\":\"请输入\",\"require\":1,\"labelTitle\":\"多行文本\"},{\"type\":\"input\",\"title\":\"出差地点\",\"placeholder\":\"请输入\",\"require\":1,\"labelTitle\":\"单行文本\"},{\"type\":\"datetime\",\"title\":\"开始时间\",\"placeholder\":\"\",\"require\":1,\"labelTitle\":\"日期+时间\"},{\"type\":\"datetime\",\"title\":\"结束时间\",\"placeholder\":\"\",\"require\":1,\"labelTitle\":\"日期+时间\"}]" }, { "title": "报销申请", "desc": "报销申请", "icon": "http://hzszrd-cloud-test.780.cn/uploads/image/20190718/249e229dc4406f5ce791c4062da8bae3.png", "form_tpl": "[{\"type\":\"select\",\"title\":\"报销类型\",\"options\":[\"差旅费\",\"交通费\",\"招待费\",\"其他\"],\"options_param\":{\"length\":null,\"max\":null,\"min\":2},\"require\":1,\"labelTitle\":\"下拉框\"},{\"type\":\"textarea\",\"title\":\"报销事由\",\"placeholder\":\"请输入\",\"require\":0,\"labelTitle\":\"多行文本\"},{\"type\":\"select\",\"title\":\"费用类型\",\"options\":[\"飞机票\",\"火车票\",\"的士费\",\"住宿费\",\"餐饮费\",\"礼品费\",\"活动费\",\"通讯费\",\"补助\",\"其他\"],\"options_param\":{\"length\":null,\"max\":null,\"min\":2},\"require\":1,\"labelTitle\":\"下拉框\"},{\"type\":\"date\",\"title\":\"发生时间\",\"placeholder\":\"\",\"require\":1,\"labelTitle\":\"日期\"},{\"type\":\"money\",\"title\":\"费用金额\",\"placeholder\":\"\",\"require\":1,\"labelTitle\":\"金额\"},{\"type\":\"textarea\",\"title\":\"费用说明\",\"placeholder\":\"请输入\",\"require\":0,\"labelTitle\":\"多行文本\"}]" }, { "title": "用车申请", "desc": "用车申请", "icon": "http://hzszrd-cloud-test.780.cn/uploads/image/20190718/547ce72c92b7027ed7351773ea9d32c7.png", "form_tpl": "[{\"type\":\"textarea\",\"title\":\"用车事由\",\"placeholder\":\"请输入\",\"require\":1,\"labelTitle\":\"多行文本\"},{\"type\":\"date\",\"title\":\"开始时间\",\"placeholder\":\"\",\"require\":1,\"labelTitle\":\"日期\"},{\"type\":\"date\",\"title\":\"结束时间\",\"placeholder\":\"\",\"require\":1,\"labelTitle\":\"日期\"},{\"type\":\"input\",\"title\":\"用车目的地\",\"placeholder\":\"请输入\",\"require\":1,\"labelTitle\":\"单行文本\"},{\"type\":\"input\",\"title\":\"车辆类型\",\"placeholder\":\"请输入\",\"require\":0,\"labelTitle\":\"单行文本\"}]" }, { "title": "用品申领", "desc": "用品申领", "icon": "http://hzszrd-cloud-test.780.cn/uploads/image/20190718/12fbfafae33795159e8de6e961c2f553.png", "form_tpl": "[{\"type\":\"input\",\"title\":\"请领单位\",\"placeholder\":\"请输入\",\"require\":1,\"labelTitle\":\"单行文本\"},{\"type\":\"textarea\",\"title\":\"请领事由\",\"placeholder\":\"请输入\",\"require\":1,\"labelTitle\":\"多行文本\"},{\"type\":\"input\",\"title\":\"物品名称\",\"placeholder\":\"请输入\",\"require\":1,\"labelTitle\":\"单行文本\"},{\"type\":\"input\",\"title\":\"物品数量\",\"placeholder\":\"请输入\",\"require\":1,\"labelTitle\":\"单行文本\"},{\"type\":\"money\",\"title\":\"价格\",\"placeholder\":\"\",\"require\":0,\"labelTitle\":\"金额\"}]" }, { "title": "用品采购", "desc": "用品采购", "icon": "http://hzszrd-cloud-test.780.cn/uploads/image/20190718/f54265d8ae0eb2e40cdfe16f6d5e530a.png", "form_tpl": "[{\"type\":\"textarea\",\"title\":\"申请事由\",\"placeholder\":\"请输入\",\"require\":1,\"labelTitle\":\"多行文本\"},{\"type\":\"date\",\"title\":\"期望交付日期\",\"placeholder\":\"\",\"require\":1,\"labelTitle\":\"日期\"},{\"type\":\"input\",\"title\":\"型号或规格\",\"placeholder\":\"请输入\",\"require\":1,\"labelTitle\":\"单行文本\"},{\"type\":\"input\",\"title\":\"数量\",\"placeholder\":\"请输入\",\"require\":1,\"labelTitle\":\"单行文本\"},{\"type\":\"money\",\"title\":\"金额\",\"placeholder\":\"\",\"require\":1,\"labelTitle\":\"金额\"},{\"type\":\"textarea\",\"title\":\"备注\",\"placeholder\":\"请输入\",\"require\":0,\"labelTitle\":\"多行文本\"}]" } ] } } <<< error ~~~