|
@@ -221,6 +221,7 @@ const fetchTemplateData = async () => {
|
|
|
|
|
|
|
|
schemaSources?.forEach(element => {
|
|
schemaSources?.forEach(element => {
|
|
|
if (element.colValType == 5){
|
|
if (element.colValType == 5){
|
|
|
|
|
+ // 列表
|
|
|
let items = {
|
|
let items = {
|
|
|
type: 'object',
|
|
type: 'object',
|
|
|
properties: {
|
|
properties: {
|
|
@@ -236,11 +237,17 @@ const fetchTemplateData = async () => {
|
|
|
type: 'array',
|
|
type: 'array',
|
|
|
items: items
|
|
items: items
|
|
|
}
|
|
}
|
|
|
|
|
+ } else if(element.colValType == 6){
|
|
|
|
|
+ // 复选框
|
|
|
|
|
+ properties[element.colCode] = {
|
|
|
|
|
+ dataFieldType: 'checkbox',
|
|
|
|
|
+ type: 'string'
|
|
|
|
|
+ }
|
|
|
}else {
|
|
}else {
|
|
|
- properties[element.colCode] = {
|
|
|
|
|
- dataFieldType: 'text',
|
|
|
|
|
- type: 'string'
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ properties[element.colCode] = {
|
|
|
|
|
+ dataFieldType: 'text',
|
|
|
|
|
+ type: 'string'
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
bindingPathName.push(
|
|
bindingPathName.push(
|
|
|
{
|
|
{
|