zhiyong.zhou
2024-03-04 6ca1e0b0a63d078268d219129e4ce20d9ccaf3c1
提交
3个文件已修改
1个文件已添加
38 ■■■■ 已修改文件
README.md 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/img.png 补丁 | 查看 | 原始文档 | blame | 历史
public/index.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/App.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
README.md
@@ -2,28 +2,36 @@
### 项目结构
```
├─api 接口
├─assets
   |doc 系统介绍 数据结构介绍等
   |public 浏览器上面设置 图标等
   |src
    └─├─assets 资源 css等
│  └─image
├─components 通用组件
      ├─components 通用组件  弹窗
│  └─common
      |     └─ ellipsis.vue 文本超出多少自动转为省略
      |     └─orgPicker 树形架构图 人员/岗位/辖区等
      |     └─flowDialog 弹窗
      |-config 配置文件
      | └─application 应用环境的配置文件 通过index.js切换
├─router 路由
├─store vuex,设计器数据存储
├─utils
      ├─utils 工具方法
└─views 主要页面及视图
    ├─admin
    │  └─layout
    │      ├─form 表单设计
    │      └─process 流程设计
          │  └─ProcessDesign.vue 流程设计入口-组件
          │  └─ProcessDiagramViewer.vue 查看流程-组件
    ├─common
    │  ├─form 表单
    │  │  ├─components 表单组件
    │  │  ├─config 表单组件配置
    │  │  ├─expand 扩展组件
    │  │  └─settings 设置
    │  └─process 流程
    │      ├─config 流程节点设置
    │      └─nodes 流程节点
          │      └─viewNodes 查看流程图 横向
          |   └─InsertButton.vue 点击插入节点的按钮,可以选择后续节点类型,
          例如审批/条件等等
    └─workspace 工作区
          │  └─process 查看审批流的页面入口 引用上面查看流程的组件
```
public/img.png
public/index.html
@@ -4,7 +4,7 @@
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <link rel="icon" href="<%= BASE_URL %>img.png">
    <title><%= htmlWebpackPlugin.options.title %></title>
  </head>
  <body>
src/App.vue
@@ -7,19 +7,13 @@
</template>
<script>
  //import layout from './components/layout'
  export default {
    components: {},
    data() {
      return {}
    },
    mounted() {
      let beforeUrl = sessionStorage.getItem('router-path')
      if(beforeUrl === undefined || beforeUrl === ''){
        //this.$router.push("/workPanel")
      }else {
        //this.$router.push(beforeUrl)
      }
    },
    methods: {}