ol-base-components 0.3.1 → 0.3.2
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 +44 -46
- package/package.json +1 -1
- package/src/assets/effectPicture.png +0 -0
package/README.md
CHANGED
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
npm install ol-base-components
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
## 效果图
|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
13
17
|
## 使用说明
|
|
14
18
|
|
|
15
19
|
在您的 Vue 项目中,您需要在入口文件(通常是 `main.js` 或 `app.js`)中导入并使用该组件库:
|
|
@@ -243,55 +247,49 @@ export default {
|
|
|
243
247
|
export default {
|
|
244
248
|
data() {
|
|
245
249
|
return {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
prop: "displayName",
|
|
260
|
-
},
|
|
261
|
-
|
|
262
|
-
// {
|
|
263
|
-
// label: "启用",
|
|
264
|
-
// type: "switch",
|
|
265
|
-
// prop: "enabled",
|
|
266
|
-
// },
|
|
267
|
-
|
|
268
|
-
{
|
|
269
|
-
label: "备注",
|
|
270
|
-
type: "textarea",
|
|
271
|
-
prop: "remark",
|
|
272
|
-
},
|
|
273
|
-
],
|
|
274
|
-
rules: {
|
|
275
|
-
displayName: [{ required: true, message: "必填", trigger: "blur" }],
|
|
276
|
-
code: [{ required: true, message: "必填", trigger: "blur" }],
|
|
277
|
-
},
|
|
278
|
-
value: {
|
|
279
|
-
code: "",
|
|
280
|
-
displayName: "",
|
|
281
|
-
// enabled: true,
|
|
282
|
-
remark: "",
|
|
283
|
-
},
|
|
284
|
-
requestData: {
|
|
285
|
-
flage: "add",
|
|
286
|
-
url: PublicAggregate.dictionaries,
|
|
287
|
-
fn: this.getTable,
|
|
288
|
-
},
|
|
250
|
+
form: {
|
|
251
|
+
dialogFormVisible: false,
|
|
252
|
+
title: "",
|
|
253
|
+
model: [
|
|
254
|
+
{
|
|
255
|
+
label: "字典编码",
|
|
256
|
+
type: "input",
|
|
257
|
+
prop: "code",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
label: "字典名称",
|
|
261
|
+
type: "input",
|
|
262
|
+
prop: "displayName",
|
|
289
263
|
},
|
|
264
|
+
// {
|
|
265
|
+
// label: "启用",
|
|
266
|
+
// type: "switch",
|
|
267
|
+
// prop: "enabled",
|
|
268
|
+
// },
|
|
269
|
+
{
|
|
270
|
+
label: "备注",
|
|
271
|
+
type: "textarea",
|
|
272
|
+
prop: "remark",
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
rules: {
|
|
276
|
+
displayName: [{ required: true, message: "必填", trigger: "blur" }],
|
|
277
|
+
code: [{ required: true, message: "必填", trigger: "blur" }],
|
|
278
|
+
},
|
|
279
|
+
value: {
|
|
280
|
+
code: "",
|
|
281
|
+
displayName: "",
|
|
282
|
+
// enabled: true,
|
|
283
|
+
remark: "",
|
|
284
|
+
},
|
|
285
|
+
requestData: {
|
|
286
|
+
flage: "add",
|
|
287
|
+
url: PublicAggregate.dictionaries,
|
|
288
|
+
fn: this.getTable,
|
|
289
|
+
},
|
|
290
|
+
,
|
|
290
291
|
};
|
|
291
292
|
},
|
|
292
|
-
methods: {
|
|
293
|
-
|
|
294
|
-
},
|
|
295
293
|
};
|
|
296
294
|
</script>
|
|
297
295
|
```
|
package/package.json
CHANGED
|
Binary file
|