backend-management-ui 1.1.6 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/assets/form-edit.png +0 -0
- package/assets/form-view.png +0 -0
- package/package.json +23 -23
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ export default {
|
|
|
58
58
|
基本用法
|
|
59
59
|
|
|
60
60
|
#### 典型编辑型表单
|
|
61
|
-
<img src="
|
|
61
|
+
<img src="./assets/form-edit.png" alt="典型编辑型表单 效果图" width="800" height="auto" />
|
|
62
62
|
|
|
63
63
|
``` markdown
|
|
64
64
|
``` js
|
|
@@ -94,7 +94,7 @@ export default {
|
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
#### 典型展示表单
|
|
97
|
-

|
|
98
98
|
``` markdown
|
|
99
99
|
``` js
|
|
100
100
|
<ui-form :model="searchForm" :formConfig="formConfig" label-width="100px" :showOperateBtn="false">
|
|
@@ -102,7 +102,7 @@ export default {
|
|
|
102
102
|
<span>{{ model.orderNo }}</span>
|
|
103
103
|
</template>
|
|
104
104
|
<template #item-status="{ model }">
|
|
105
|
-
<span>{{ model.
|
|
105
|
+
<span>{{ model.status }}</span>
|
|
106
106
|
</template>
|
|
107
107
|
</ui-form>
|
|
108
108
|
<script>
|
|
@@ -173,7 +173,7 @@ export default {
|
|
|
173
173
|
|
|
174
174
|
#### props
|
|
175
175
|
|
|
176
|
-
| 参数
|
|
177
|
-
| ---------
|
|
178
|
-
| formRef
|
|
179
|
-
| model
|
|
176
|
+
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
|
177
|
+
| --------- | ----------- | -------- | ------ | --------- |
|
|
178
|
+
| formRef | form的实例 | string | - | formRef |
|
|
179
|
+
| model | 表单数据对象 | object | - | {} |
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
2
|
+
"name": "backend-management-ui",
|
|
3
|
+
"version": "1.1.8",
|
|
4
|
+
"main": "backend-management-ui.common.js",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
7
|
+
},
|
|
8
|
+
"keywords": [
|
|
9
|
+
"vue2",
|
|
10
|
+
"element-ui",
|
|
11
|
+
"后台管理",
|
|
12
|
+
"组件库"
|
|
13
|
+
],
|
|
14
|
+
"author": "adolf3",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"description": "一个基于ElementUI封装的后台管理仓库,包含表格、表单、弹窗、按钮组、虚拟下拉框等常用组件",
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"deepcopy": "^2.1.0",
|
|
22
|
+
"element-ui": "^2.15.14",
|
|
23
|
+
"vue": "^2.6.14"
|
|
24
|
+
}
|
|
25
25
|
}
|