From 4e36387bb250a6b582a6bcbb2dd789fafb1a6df7 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 19 May 2022 11:43:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=AE=E6=89=B6=E7=94=B3=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppCodeGeneration/components/List.vue | 4 +- .../AppHelpDeclaration/AppHelpDeclaration.vue | 61 ++++ .../AppHelpDeclaration/components/Detail.vue | 302 ++++++++++++++++++ .../AppHelpDeclaration/components/List.vue | 246 ++++++++++++++ 4 files changed, 612 insertions(+), 1 deletion(-) create mode 100644 packages/work/AppHelpDeclaration/AppHelpDeclaration.vue create mode 100644 packages/work/AppHelpDeclaration/components/Detail.vue create mode 100644 packages/work/AppHelpDeclaration/components/List.vue diff --git a/packages/extra/AppCodeGeneration/components/List.vue b/packages/extra/AppCodeGeneration/components/List.vue index e7a02982..fda35be0 100644 --- a/packages/extra/AppCodeGeneration/components/List.vue +++ b/packages/extra/AppCodeGeneration/components/List.vue @@ -139,7 +139,9 @@ export default { colItem = {label: item.fieldName, type: item.type, slot: item.fieldDbName, fieldDbName: item.fieldDbName} } else if (item.type == 'area') { colItem = {prop: item.fieldDbName + '_name', label: item.fieldName, align: "center"} - } else { + } else if (item.type == 'gird') { + colItem = {prop: item.fieldDbName + '_name', label: item.fieldName, align: "center"} + }else { colItem = {prop: item.fieldDbName, label: item.fieldName, align: "center"} } colList.push(colItem) diff --git a/packages/work/AppHelpDeclaration/AppHelpDeclaration.vue b/packages/work/AppHelpDeclaration/AppHelpDeclaration.vue new file mode 100644 index 00000000..a2aa7627 --- /dev/null +++ b/packages/work/AppHelpDeclaration/AppHelpDeclaration.vue @@ -0,0 +1,61 @@ + + + + + diff --git a/packages/work/AppHelpDeclaration/components/Detail.vue b/packages/work/AppHelpDeclaration/components/Detail.vue new file mode 100644 index 00000000..173f08bb --- /dev/null +++ b/packages/work/AppHelpDeclaration/components/Detail.vue @@ -0,0 +1,302 @@ + + + + + \ No newline at end of file diff --git a/packages/work/AppHelpDeclaration/components/List.vue b/packages/work/AppHelpDeclaration/components/List.vue new file mode 100644 index 00000000..ef5a033c --- /dev/null +++ b/packages/work/AppHelpDeclaration/components/List.vue @@ -0,0 +1,246 @@ + + + + +