diff --git a/project/oms/apps/develop/AppAiCode/AppAiCode.vue b/project/oms/apps/develop/AppAiCode/AppAiCode.vue new file mode 100644 index 00000000..5669c647 --- /dev/null +++ b/project/oms/apps/develop/AppAiCode/AppAiCode.vue @@ -0,0 +1,36 @@ + + + + + + + + + diff --git a/project/oms/apps/develop/AppAiCode/acAdd.vue b/project/oms/apps/develop/AppAiCode/acAdd.vue new file mode 100644 index 00000000..fd04cac0 --- /dev/null +++ b/project/oms/apps/develop/AppAiCode/acAdd.vue @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + {{ op.dictName }} + + + + + + + 添加 + 导入 + 导出 + 编辑 + 删除 + 批量删除 + + + + + + + 添加 + + + + + + + + + + + + + 删除 + + + + + + + + + + + + + + 取消 + 提交 + + + + + + + + diff --git a/project/oms/apps/develop/AppAiCode/acList.vue b/project/oms/apps/develop/AppAiCode/acList.vue new file mode 100644 index 00000000..892bf7e3 --- /dev/null +++ b/project/oms/apps/develop/AppAiCode/acList.vue @@ -0,0 +1,87 @@ + + + + + + + + 添加 + + + + + + + + + 编辑 + 删除 + 下载 + + + + + + + + + + + diff --git a/project/oms/apps/develop/AppAiCode/config.json b/project/oms/apps/develop/AppAiCode/config.json new file mode 100644 index 00000000..5fa7995a --- /dev/null +++ b/project/oms/apps/develop/AppAiCode/config.json @@ -0,0 +1,274 @@ +{ + "config": [ + { + "type": "info", + "tips": "(不能重复添加同一元素)", + "label": "信息", + "children": [ + { + "type": "name", + "fieldName": "姓名", + "fieldTips": "请输入姓名", + "fixedLabel": "姓名", + "disable": "0", + "grid": 0.5, + "defaultValue": "", + "icon": "icontext_box", + "mustFill": "1", + "maxLength": 20 + }, + { + "type": "idNumber", + "fieldName": "身份证号", + "fixedLabel": "身份证号", + "fieldTips": "请输入身份证号", + "defaultValue": "", + "icon": "icontext_area", + "mustFill": "1", + "maxLength": 20, + "disable": "0", + "grid": 0.5 + }, + { + "type": "phone", + "fieldName": "联系方式", + "fixedLabel": "联系方式", + "fieldTips": "请输入联系方式", + "defaultValue": "", + "icon": "icontext_area", + "mustFill": "1", + "maxLength": 20, + "disable": "0", + "grid": 0.5 + }, + { + "type": "area", + "fieldName": "地区", + "fixedLabel": "地区", + "fieldTips": "请选择地区", + "defaultValue": "", + "icon": "icontext_area", + "mustFill": "1", + "areaPattern": "", + "disable": "0", + "grid": 0.5 + } + ] + }, + { + "type": "options", + "tips": "(可重复添加)", + "label": "选项", + "children": [ + { + "type": "radio", + "fieldName": "单选", + "fixedLabel": "单选", + "fieldTips": "请选择", + "grid": 0.5, + "icon": "iconradio", + "mustFill": "1", + "disable": "0", + "defaultValue": "", + "options": [ + { + "label": "选项1", + "value": "" + }, + { + "label": "选项2", + "value": "" + } + ], + "title": "" + }, + { + "type": "checkbox", + "fieldName": "多选", + "fixedLabel": "多选", + "fieldTips": "请选择", + "icon": "iconcheck_box", + "mustFill": "1", + "grid": 0.5, + "disable": "0", + "defaultValue": [], + "options": [ + { + "label": "选项1", + "value": "" + }, + { + "label": "选项2", + "value": "" + } + ], + "title": "" + }, + { + "type": "select", + "fieldName": "单下拉框", + "fixedLabel": "单下拉框", + "grid": 0.5, + "fieldTips": "请选择", + "icon": "iconSelect", + "mustFill": "1", + "defaultValue": "", + "disable": "0", + "options": [ + { + "label": "选项1", + "value": "" + }, + { + "label": "选项2", + "value": "" + } + ], + "title": "" + }, + { + "type": "onOff", + "fieldName": "开关", + "fixedLabel": "开关", + "grid": 0.5, + "fieldTips": "请选择开关", + "icon": "iconSelect", + "mustFill": "1", + "defaultValue": "0", + "disable": "0", + "title": "" + }, + { + "type": "date", + "fieldName": "日期", + "fixedLabel": "日期", + "grid": 0.5, + "datetimePattern": "yyyy-MM-dd", + "fieldTips": "请选择日期", + "icon": "iconSelect", + "mustFill": "1", + "disable": "0", + "title": "" + }, + { + "type": "time", + "fieldName": "时间", + "fixedLabel": "时间", + "grid": 0.5, + "datetimePattern": "HH:mm:ss", + "fieldTips": "请选择时间", + "icon": "iconSelect", + "mustFill": "1", + "disable": "0", + "title": "" + }, + { + "type": "datetime", + "fieldName": "日期时间", + "fixedLabel": "日期时间", + "grid": 0.5, + "datetimePattern": "yyyy-MM-dd HH:mm:ss", + "fieldTips": "请选择日期时间", + "icon": "iconSelect", + "mustFill": "1", + "disable": "0", + "title": "" + } + ] + }, + { + "type": "input", + "tips": "(可重复添加)", + "label": "填空", + "children": [ + { + "type": "input", + "fieldName": "单行填空", + "fieldTips": "请输入", + "fixedLabel": "单行填空", + "disable": "0", + "grid": 0.5, + "defaultValue": "", + "icon": "icontext_box", + "mustFill": "1", + "maxLength": 50 + }, + { + "type": "textarea", + "fieldName": "多行填空", + "fixedLabel": "多行填空", + "fieldTips": "请输入", + "lineNumber": 4, + "defaultValue": "", + "icon": "icontext_area", + "mustFill": "1", + "maxLength": 500, + "disable": "0", + "grid": 1 + }, + { + "type": "number", + "fieldName": "数字输入", + "fixedLabel": "数字输入", + "fieldTips": "请输入数字", + "defaultValue": "", + "icon": "icontext_area", + "mustFill": "1", + "maxValue": 10000, + "decimalPlaces": 0, + "minValue": 0, + "maxLength": 500, + "disable": "0", + "grid": 0.5 + }, + { + "type": "rtf", + "fieldName": "富文本", + "fixedLabel": "富文本", + "fieldTips": "请输入", + "defaultValue": "", + "icon": "icontext_area", + "mustFill": "1", + "maxLength": 5000, + "disable": "0", + "grid": 1 + } + ] + }, + { + "type": "annex", + "tips": "(可重复添加)", + "label": "附件", + "children": [ + { + "type": "upload", + "fieldTips": "请上传", + "fieldName": "上传附件", + "fixedLabel": "上传附件", + "disable": "0", + "fileChoseSize": 10, + "fileMaxCount": 9, + "defaultValue": "", + "icon": "iconpic", + "mustFill": "1", + "grid": 1 + } + ] + }, + { + "type": "layout", + "tips": "(可重复添加)", + "label": "分组", + "children": [ + { + "type": "group", + "fieldName": "卡片", + "fixedLabel": "卡片", + "icon": "iconpic", + "groupName": "分组标题", + "column": [] + } + ] + } + ] +} diff --git a/project/oms/apps/develop/AppAiCode/detailLayout.vue b/project/oms/apps/develop/AppAiCode/detailLayout.vue new file mode 100644 index 00000000..82be0e9d --- /dev/null +++ b/project/oms/apps/develop/AppAiCode/detailLayout.vue @@ -0,0 +1,1074 @@ + + + + + + {{ component.label }} + {{ component.tips }} + + + + + + {{ item.fixedLabel }} + + + + + + + + + + + + + + + + + 删除字段 + + + + + + + + 选择人员 + + + + + 选择网格 + + + + + {{ field.label }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ field.label }} + + + + + + 添加附件 + + + + + + + + + + + + + + + + 分组名称 + + + + + + + 删除分组 + + + + + 绑定字段 + + + + + + + + + + 占位符 + + + + + + + + + 选项设置 + + + + + + + + + + + 添加选项 + + + + + 默认值 + + + + + + + + + + + 默认值 + + + + + + + + + + + + 默认值 + + + + + + + + + + 默认值 + + + + + + + + + + 最大值 + + + + + + + + + + 最小值 + + + + + + + + + + 小数精度 + + + + + + + + + 最多输入字符 + + + + 个 + + + + + + 默认值 + + + + + + + + 文件大小(MB) + + + + + + + + 最大上传数 + + + + + + + + 是否整行显示 + + + + + + 输入框行高 + + + + + + + + + 是否必填 + + + + + + + + 是否禁用 + + + + + + + + + + + +