gyyg-components 0.2.25 → 0.3.0
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/lib/gyyg-components.common.js +92 -92
- package/lib/gyyg-components.umd.js +92 -92
- package/lib/gyyg-components.umd.min.js +92 -92
- package/package.json +1 -1
- package/src/components/MECDescriptions/MECDescriptions.vue +3 -1
- package/src/components/MecForm/MecForm.vue +8 -0
- package/src/components/MecTable/MecTable.vue +32 -2
package/package.json
CHANGED
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
<div class="title">{{ title }}</div>
|
|
13
13
|
<div class="top-content">
|
|
14
14
|
<slot name="topContent"></slot>
|
|
15
|
-
|
|
16
15
|
</div>
|
|
17
16
|
</template>
|
|
18
17
|
|
|
@@ -145,4 +144,7 @@ export default {
|
|
|
145
144
|
/deep/ .el-descriptions__body .el-descriptions__table .el-descriptions-item__cell {
|
|
146
145
|
white-space: pre-wrap;
|
|
147
146
|
}
|
|
147
|
+
/deep/ .el-progress-bar {
|
|
148
|
+
width: 200px
|
|
149
|
+
}
|
|
148
150
|
</style>
|
|
@@ -139,6 +139,7 @@
|
|
|
139
139
|
:current-page="page.currentPage"
|
|
140
140
|
layout="total, sizes, prev, pager, next, jumper"
|
|
141
141
|
:total="page.totalRecords"
|
|
142
|
+
:background="paginationBackGround"
|
|
142
143
|
></el-pagination>
|
|
143
144
|
</div>
|
|
144
145
|
</div>
|
|
@@ -231,7 +232,11 @@ export default {
|
|
|
231
232
|
border: {
|
|
232
233
|
type: Boolean,
|
|
233
234
|
default: true
|
|
234
|
-
}
|
|
235
|
+
},
|
|
236
|
+
paginationBackGround: {
|
|
237
|
+
type: Boolean,
|
|
238
|
+
default: true
|
|
239
|
+
}
|
|
235
240
|
|
|
236
241
|
},
|
|
237
242
|
data() {
|
|
@@ -307,10 +312,35 @@ export default {
|
|
|
307
312
|
|
|
308
313
|
.pagination-layout {
|
|
309
314
|
text-align: right;
|
|
310
|
-
|
|
315
|
+
padding: 0px 10px 5px 0;
|
|
316
|
+
/deep/ .el-pagination .el-select .el-input .el-input__inner {
|
|
317
|
+
height: 28px;
|
|
318
|
+
line-height: 28px !important;
|
|
319
|
+
min-height: 28px !important;
|
|
320
|
+
}
|
|
321
|
+
/deep/ .el-pagination__editor.el-input .el-input__inner {
|
|
322
|
+
height: 28px;
|
|
323
|
+
line-height: 28px !important;
|
|
324
|
+
min-height: 28px !important;
|
|
325
|
+
}
|
|
311
326
|
}
|
|
312
327
|
|
|
313
328
|
/deep/ .el-table td.el-table__cell {
|
|
314
329
|
border-right: none;
|
|
315
330
|
}
|
|
331
|
+
.pagination-layout {
|
|
332
|
+
// .el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li
|
|
333
|
+
/deep/ .el-pagination.is-background {
|
|
334
|
+
.btn-next, .btn-prev, .el-pager li {
|
|
335
|
+
border: 1px solid #d7dae2;
|
|
336
|
+
background-color: #fff;
|
|
337
|
+
color: #606266;
|
|
338
|
+
}
|
|
339
|
+
.el-pager li:not(.disabled).active {
|
|
340
|
+
border: 1px solid #409eff;
|
|
341
|
+
background-color: #409eff;
|
|
342
|
+
color: #fff;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
316
346
|
</style>
|