n20-common-lib 2.2.39 → 2.2.40
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/package.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
v-if="!bigData"
|
|
4
4
|
ref="el-table"
|
|
5
5
|
:key="colsKey"
|
|
6
|
+
:class="{ 'cell-default-set--': cellDefault, 'clear-in-form-margin': clearInFormMargin }"
|
|
6
7
|
:header-cell-style="{ 'text-align': 'center' }"
|
|
7
8
|
:data="data"
|
|
8
9
|
:height="height"
|
|
@@ -152,6 +153,14 @@ export default {
|
|
|
152
153
|
showSetsize: {
|
|
153
154
|
type: Boolean,
|
|
154
155
|
default: false
|
|
156
|
+
},
|
|
157
|
+
cellDefault: {
|
|
158
|
+
type: Boolean,
|
|
159
|
+
default: false
|
|
160
|
+
},
|
|
161
|
+
clearInFormMargin: {
|
|
162
|
+
type: Boolean,
|
|
163
|
+
default: false
|
|
155
164
|
}
|
|
156
165
|
},
|
|
157
166
|
data() {
|
|
@@ -246,3 +255,11 @@ export default {
|
|
|
246
255
|
}
|
|
247
256
|
}
|
|
248
257
|
</script>
|
|
258
|
+
<style>
|
|
259
|
+
.cell-default-set-- .el-table__body .el-table__cell .cell:empty::before {
|
|
260
|
+
content: '--';
|
|
261
|
+
}
|
|
262
|
+
.clear-in-form-margin .el-table__body .el-table__cell .cell .el-form-item {
|
|
263
|
+
margin-bottom: 0;
|
|
264
|
+
}
|
|
265
|
+
</style>
|