From d3aa3eef945291501f01ed0efc9661ebf4da7a83 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 20 Jun 2022 18:31:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=8E=E4=BB=A3=E7=A0=81=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oms/apps/develop/AppAiCode/AppAiCode.vue | 36 + project/oms/apps/develop/AppAiCode/acAdd.vue | 149 +++ project/oms/apps/develop/AppAiCode/acList.vue | 87 ++ .../oms/apps/develop/AppAiCode/config.json | 274 +++++ .../apps/develop/AppAiCode/detailLayout.vue | 1074 +++++++++++++++++ 5 files changed, 1620 insertions(+) create mode 100644 project/oms/apps/develop/AppAiCode/AppAiCode.vue create mode 100644 project/oms/apps/develop/AppAiCode/acAdd.vue create mode 100644 project/oms/apps/develop/AppAiCode/acList.vue create mode 100644 project/oms/apps/develop/AppAiCode/config.json create mode 100644 project/oms/apps/develop/AppAiCode/detailLayout.vue 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 @@ + + + + + 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 @@ + + + + +