element-assits 0.0.18 → 0.0.20
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/index.js +4 -4
- package/lib/style.scss +32 -32
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1891,7 +1891,7 @@ const Ol = {
|
|
|
1891
1891
|
column: [],
|
|
1892
1892
|
model: this.searchForm,
|
|
1893
1893
|
...Se(this.innerForm, "show")
|
|
1894
|
-
}) : (t = Boolean(this.innerForm), e = { model:
|
|
1894
|
+
}) : (t = Boolean(this.innerForm), e = { model: this.searchForm }), { show: t, attrs: e };
|
|
1895
1895
|
},
|
|
1896
1896
|
theOperation() {
|
|
1897
1897
|
let t, e = { width: 180 }, n;
|
|
@@ -2064,13 +2064,13 @@ var El = function() {
|
|
|
2064
2064
|
...e.$attrs
|
|
2065
2065
|
}, !1), e.$listeners), [e._t("before-column"), e.theIndex.show ? n("el-table-column", e._b({ attrs: { type: "index" }, scopedSlots: e._u([{ key: "default", fn: function({ $index: r }) {
|
|
2066
2066
|
return [e._v(" " + e._s((e.asyncPageCurrent - 1) * e.page.pageSize + r + 1) + " ")];
|
|
2067
|
-
} }], null, !1, 2889338112) }, "el-table-column", { label: "\u5E8F\u53F7", align: "center", fixed: !0, width: 50 + Math.ceil((String(e.page.current).length - 1) * 7), ...e.theIndex.attrs }, !1)) : e._e(), e.theSelection.show ? n("el-table-column", e._b({ attrs: { type: "selection" } }, "el-table-column", { align: "center", fixed: !0, ...e.theSelection.attrs }, !1)) : e._e(), e._l(e.rawColumn.filter((r) => r.show !== !1), function(r) {
|
|
2067
|
+
} }], null, !1, 2889338112) }, "el-table-column", { label: "\u5E8F\u53F7", align: "center", fixed: !0, width: 50 + Math.ceil((String(e.page.current).length - 1) * 7), ...e.theIndex.attrs }, !1)) : e._e(), e.theSelection.show ? n("el-table-column", e._b({ attrs: { type: "selection" } }, "el-table-column", { align: "center", fixed: !0, width: 50, ...e.theSelection.attrs }, !1)) : e._e(), e._l(e.rawColumn.filter((r) => r.show !== !1), function(r) {
|
|
2068
2068
|
return n("el-table-column", e._g(e._b({ key: r.key, attrs: { label: r.label, prop: r.prop }, scopedSlots: e._u([r.bind.render ? { key: "default", fn: function({ row: i, column: s }) {
|
|
2069
2069
|
return [n(e.generateRender(i, r, s), { tag: "component" })];
|
|
2070
2070
|
} } : null], null, !0) }, "el-table-column", r.bind, !1), r.on));
|
|
2071
2071
|
}), e.theOperation.show ? n("el-table-column", e._b({ scopedSlots: e._u([{ key: "default", fn: function(r) {
|
|
2072
|
-
return [e.theOperation.render ? n(e.theOperation.render, { key: e.uuid(), tag: "component", attrs: { scope: r } }) : e._t("row-menu", null, null, r)];
|
|
2073
|
-
} }], null, !1,
|
|
2072
|
+
return [e.theOperation.render ? n(e.theOperation.render, { key: e.uuid(), tag: "component", attrs: { scope: r } }) : n("div", { key: e.uuid() }, [e._t("row-menu", null, null, r)], 2)];
|
|
2073
|
+
} }], null, !1, 931019466) }, "el-table-column", { label: "\u64CD\u4F5C", align: "center", fixed: "right", ...e.theOperation.attrs }, !1)) : e._e(), e._t("after-column")], 2)], 1)];
|
|
2074
2074
|
}, { data: e.data }), e._t("footer", function() {
|
|
2075
2075
|
return [n("div", { staticClass: "ea-table__footer" }, [n("div", [e._t("bottom-menu")], 2), e.thePagination.show && e.page.total ? n("el-pagination", e._b({ staticClass: "ea-table__footer-right", attrs: { layout: "total, sizes, prev, pager, next, jumper", "page-size": e.page.pageSize, "current-page": e.page.current, total: e.page.total, "page-sizes": [10, 20, 50, 100], background: "" }, on: { "size-change": e.handleSizeChange, "current-change": e.handleCurrentChange } }, "el-pagination", e.thePagination.attrs, !1)) : e._e()], 1)];
|
|
2076
2076
|
})], 2);
|
package/lib/style.scss
CHANGED
|
@@ -40,6 +40,24 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.el-dialog.ea-modal {
|
|
44
|
+
&.is-closing {
|
|
45
|
+
margin: 0 !important;
|
|
46
|
+
}
|
|
47
|
+
&.is-fullscreen {
|
|
48
|
+
border-radius: 0;
|
|
49
|
+
margin: 0;
|
|
50
|
+
}
|
|
51
|
+
.el-dialog__header {
|
|
52
|
+
color: #555;
|
|
53
|
+
font-size: 18px;
|
|
54
|
+
.el-dialog__title {
|
|
55
|
+
color: inherit;
|
|
56
|
+
font-size: inherit;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
43
61
|
.ea-button-tooltip + .ea-button-tooltip {
|
|
44
62
|
margin-left: 10px;
|
|
45
63
|
}
|
|
@@ -105,6 +123,18 @@ td {
|
|
|
105
123
|
}
|
|
106
124
|
}
|
|
107
125
|
|
|
126
|
+
.ea-tree {
|
|
127
|
+
.ea-tree-real {
|
|
128
|
+
.el-tree-node > .el-tree-node__content{
|
|
129
|
+
border-radius: 4px;
|
|
130
|
+
}
|
|
131
|
+
.el-tree-node.is-current > .el-tree-node__content {
|
|
132
|
+
color: $--color-primary;
|
|
133
|
+
background-color: rgba($--color-primary, 0.1);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
108
138
|
.ea-split-container {
|
|
109
139
|
display: flex;
|
|
110
140
|
&.is-down {
|
|
@@ -142,22 +172,8 @@ td {
|
|
|
142
172
|
}
|
|
143
173
|
}
|
|
144
174
|
|
|
145
|
-
.
|
|
146
|
-
|
|
147
|
-
margin: 0 !important;
|
|
148
|
-
}
|
|
149
|
-
&.is-fullscreen {
|
|
150
|
-
border-radius: 0;
|
|
151
|
-
margin: 0;
|
|
152
|
-
}
|
|
153
|
-
.el-dialog__header {
|
|
154
|
-
color: #555;
|
|
155
|
-
font-size: 18px;
|
|
156
|
-
.el-dialog__title {
|
|
157
|
-
color: inherit;
|
|
158
|
-
font-size: inherit;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
175
|
+
.ea-number .el-input__inner {
|
|
176
|
+
text-align: left;
|
|
161
177
|
}
|
|
162
178
|
|
|
163
179
|
.ea-list {
|
|
@@ -168,22 +184,6 @@ td {
|
|
|
168
184
|
}
|
|
169
185
|
}
|
|
170
186
|
|
|
171
|
-
.ea-number .el-input__inner {
|
|
172
|
-
text-align: left;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.ea-tree {
|
|
176
|
-
.ea-tree-real {
|
|
177
|
-
.el-tree-node > .el-tree-node__content{
|
|
178
|
-
border-radius: 4px;
|
|
179
|
-
}
|
|
180
|
-
.el-tree-node.is-current > .el-tree-node__content {
|
|
181
|
-
color: $--color-primary;
|
|
182
|
-
background-color: rgba($--color-primary, 0.1);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
187
|
.ea-desc {
|
|
188
188
|
font-size: 14px;
|
|
189
189
|
&__title {
|