diff --git a/yudao-admin-ui/src/router/index.js b/yudao-admin-ui/src/router/index.js index d06a740e3..0ae76ac52 100644 --- a/yudao-admin-ui/src/router/index.js +++ b/yudao-admin-ui/src/router/index.js @@ -149,7 +149,20 @@ export const constantRoutes = [ meta: { title: '请假表单-审批', icon: 'form' } } ] - } + }, + { + path: '/bpm', + component: Layout, + hidden: true, + children: [ + { + path: 'manager/form/edit', + component: (resolve) => require(['@/views/bpm/form/build/index'], resolve), + name: '流程表单-编辑', + meta: { title: '流程表单-编辑' } + } + ] + }, ] export default new Router({ diff --git a/yudao-admin-ui/src/views/bpm/form/build/CodeTypeDialog.vue b/yudao-admin-ui/src/views/bpm/form/build/CodeTypeDialog.vue new file mode 100644 index 000000000..941ec3625 --- /dev/null +++ b/yudao-admin-ui/src/views/bpm/form/build/CodeTypeDialog.vue @@ -0,0 +1,106 @@ + + + + + + + + + + {{ item.label }} + + + + + + + + + + + + + 取消 + + + 确定 + + + + + + diff --git a/yudao-admin-ui/src/views/bpm/form/build/DraggableItem.vue b/yudao-admin-ui/src/views/bpm/form/build/DraggableItem.vue new file mode 100644 index 000000000..e881778f0 --- /dev/null +++ b/yudao-admin-ui/src/views/bpm/form/build/DraggableItem.vue @@ -0,0 +1,100 @@ + diff --git a/yudao-admin-ui/src/views/bpm/form/build/IconsDialog.vue b/yudao-admin-ui/src/views/bpm/form/build/IconsDialog.vue new file mode 100644 index 000000000..958be50c5 --- /dev/null +++ b/yudao-admin-ui/src/views/bpm/form/build/IconsDialog.vue @@ -0,0 +1,123 @@ + + + + + 选择图标 + + + + + + {{ icon }} + + + + + + + diff --git a/yudao-admin-ui/src/views/bpm/form/build/RightPanel.vue b/yudao-admin-ui/src/views/bpm/form/build/RightPanel.vue new file mode 100644 index 000000000..abaec431e --- /dev/null +++ b/yudao-admin-ui/src/views/bpm/form/build/RightPanel.vue @@ -0,0 +1,944 @@ + + + + + + + + + + + + + + + + + + + {{ item.label }} + + + + + + + + + {{ activeData.componentName }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 选择 + + + + + + + 选择 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 默认 + + + 右侧 + + + + + + + 个字符 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text + + + picture + + + picture-card + + + + + + + + + + + + + + + + + 选项 + + + + + + + + + + + + + + + 添加选项 + + + + + + + 选项 + + + + 动态数据 + + + 静态数据 + + + + + + + + + + + + + + + + + + + + 添加父级 + + + + + + + + + 默认 + + + 按钮 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 中等 + + + 较小 + + + 迷你 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 布局结构树 + + + + + {{ node.label }} + + + + + + + 正则校验 + + + + + + + + + + + + + + 添加规则 + + + + + + + + + + + + + + + + + + + 中等 + + + 较小 + + + 迷你 + + + + + + + 左对齐 + + + 右对齐 + + + 顶部对齐 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/yudao-admin-ui/src/views/bpm/form/build/TreeNodeDialog.vue b/yudao-admin-ui/src/views/bpm/form/build/TreeNodeDialog.vue new file mode 100644 index 000000000..c225c4cc8 --- /dev/null +++ b/yudao-admin-ui/src/views/bpm/form/build/TreeNodeDialog.vue @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + 确定 + + + 取消 + + + + + + diff --git a/yudao-admin-ui/src/views/bpm/form/build/index.vue b/yudao-admin-ui/src/views/bpm/form/build/index.vue new file mode 100644 index 000000000..92291e981 --- /dev/null +++ b/yudao-admin-ui/src/views/bpm/form/build/index.vue @@ -0,0 +1,789 @@ + + + + + + Form Generator + + + + + + 输入型组件 + + + + + + {{ element.label }} + + + + + 选择型组件 + + + + + + {{ element.label }} + + + + + 布局型组件 + + + + + + {{ element.label }} + + + + + + + + + + + 导出vue文件 + + + 复制代码 + + + 清空 + + + + + + + + + + 从左侧拖入或点选组件进行表单设计 + + + + + + + + + + + + + + + +