0.3.1 • Published 4 years ago
new-app-base v0.3.1
new-app-base
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
Customize configuration
Vue.use(newappbase.default,{$store});
需要校验的表单获取数据暴露出来的方法
筛选数据【不对表单进行校验】暴露出来的方法
上传文件和上传图片用的baseurl 是 process.env.VUE_APP_URL
帮助框组件
属性 | 介绍 | 类型 | 默认值 |
---|---|---|---|
helpType | 帮助框类型 user , dept 需要在provide属性中声明 user 【用户帮助框】dept 【部门帮助框】 | string | user |
actionType | tab框标签类型 1:按组织架构搜索 , 2:按角色类别搜索 ,3:按岗位类别搜索 , 4:当前所述部门 需要在provide属性中声明 | array | 1,2,3,4 |
echoData | 数据回显对象[{name: 'AAA', id: 'w3eeed343434'}...] | array | [] |
helpTitle | nav显示标题 | string | 帮助框 |
梳理一下业务逻辑
- 父级多选
下级
置灰不让进行点击 - 底部
已选择
可点击,点击弹出一个drawer
,相当于一个购物车 - 多选不做父子级关联,因为数据是
异步获取
帮助框类型分析
一.人员帮助框
二.部门帮助框
部门帮助框需要两个接口
data/help/current/org
获取根节点id
data/help/org/default
获取节点下的子节点 是一棵树
0.3.1
4 years ago
0.3.0
4 years ago
0.2.26
4 years ago
0.2.25
4 years ago
0.2.24
4 years ago
0.2.23
4 years ago
0.2.22
4 years ago
0.2.20
4 years ago
0.2.19
4 years ago
0.2.18
4 years ago
0.2.17
4 years ago
0.2.16
4 years ago
0.2.15
4 years ago
0.2.14
4 years ago
0.2.13
4 years ago
0.2.12
4 years ago
0.2.11
4 years ago
0.2.10
4 years ago
0.2.9
4 years ago
0.2.7
4 years ago
0.2.6
4 years ago
0.2.8
4 years ago
0.2.5
4 years ago
0.2.4
4 years ago
0.2.3
4 years ago
0.2.2
4 years ago
0.2.1
4 years ago
0.2.0
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago