### 保存表单模板信息 ,templateFields.code 一定要唯一,不然保存不上 POST {{baseUrl}}/form/template/saveByVersion Content-Type: application/json Token: {{token}} { "id": 47, "formId": 7, "formName": "11", "version": 8, "templateFields": [ { "title": "书名", "showTitle": "书名", "code": "bookName", "dbField": "bookName", "required": true, "show": true, "type": "string" }, { "title": "单据编号", "showTitle": "单据编号", "code": "orderNo", "dbField": "orderNo", "required": true, "show": true, "type": "string" }, { "title": "丛书名", "showTitle": "丛书名", "code": "seriesName", "dbField": "seriesName", "required": true, "show": true, "type": "string" }, { "title": "作者", "showTitle": "作者", "code": "author", "dbField": "author", "required": true, "show": true, "type": "string" }, { "title": "编辑部门", "showTitle": "编辑部门", "code": "editorDept", "dbField": "editorDept", "required": true, "show": true, "type": "string" }, { "title": "责任编辑", "showTitle": "责任编辑", "code": "majorEditorName", "dbField": "majorEditorName", "required": true, "show": true, "type": "string" }, { "title": "中图分类", "showTitle": "中图分类", "code": "cnBookCategory", "dbField": "cnBookCategory", "required": false, "show": true, "type": "string" }, { "title": "书稿类型", "showTitle": "书稿类型", "code": "bookType", "dbField": "bookType", "required": true, "show": true, "type": "string" }, { "title": "稿件字数", "showTitle": "稿件字数", "code": "wordCount", "dbField": "wordCount", "required": true, "show": true, "type": "string" }, { "title": "图表数量", "showTitle": "图表数量", "code": "chartCount", "dbField": "chartCount", "required": false, "show": true, "type": "string" }, { "title": "书稿页数", "showTitle": "书稿页数", "code": "pageCount", "dbField": "pageCount", "required": false, "show": true, "type": "string" }, { "title": "是否重点", "showTitle": "是否重点", "code": "hasImportant", "dbField": "hasImportant", "required": false, "show": true, "type": "string" }, { "title": "内容简介", "showTitle": "内容简介", "code": "introduction", "dbField": "introduction", "required": false, "show": true, "type": "string" } ] } ### 根据ID获取表单模板 GET {{baseUrl}}/form/template/get/3 ### 查询相同formId下的最新的form模板 GET {{baseUrl}}/form/template/get/maxVersion?formId=3 Token: c3UjZGKPSFFwUiRxVEJNFaf5p2QzzPVa