bri-components 1.2.52 → 1.2.53
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
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
<style lang="less" scoped>
|
|
100
100
|
.BriControlInput {
|
|
101
101
|
height: 32px;
|
|
102
|
-
padding:
|
|
102
|
+
padding: 0px 0px 0px 7px;
|
|
103
103
|
line-height: 24px;
|
|
104
104
|
.dsh-flex-row-between-center();
|
|
105
105
|
|
|
@@ -108,8 +108,12 @@
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.overflow {
|
|
111
|
-
overflow: auto;
|
|
112
111
|
.bri-scrollbar3();
|
|
112
|
+
width: 100%;
|
|
113
|
+
height: 100%;
|
|
114
|
+
overflow-x: auto;
|
|
115
|
+
overflow-y: hidden;
|
|
116
|
+
white-space: nowrap;
|
|
113
117
|
}
|
|
114
118
|
|
|
115
119
|
.placeholder {
|
|
@@ -134,5 +138,9 @@
|
|
|
134
138
|
padding: 5px;
|
|
135
139
|
color: @placeholder-disabled-color;
|
|
136
140
|
}
|
|
141
|
+
|
|
142
|
+
.ivu-tag-size-medium {
|
|
143
|
+
margin: 3px 4px 3px 0px;
|
|
144
|
+
}
|
|
137
145
|
}
|
|
138
146
|
</style>
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
class="DshCascader-edit-multiple"
|
|
9
9
|
:value="multipleSelectVal"
|
|
10
10
|
:data="renderCascaderData"
|
|
11
|
-
:disabled="
|
|
12
|
-
:change-on-select="
|
|
11
|
+
:disabled="selfPropsObj._disabled"
|
|
12
|
+
:change-on-select="changeOnSelect"
|
|
13
13
|
:clearable="selfPropsObj._clearable"
|
|
14
14
|
:size="selfPropsObj._size"
|
|
15
15
|
:filterable="false"
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
:value="curValList"
|
|
73
73
|
:data="renderCascaderData"
|
|
74
74
|
:placeholder="selfPropsObj._placeholder"
|
|
75
|
-
:disabled="
|
|
76
|
-
:change-on-select="
|
|
75
|
+
:disabled="selfPropsObj._disabled"
|
|
76
|
+
:change-on-select="changeOnSelect"
|
|
77
77
|
:clearable="selfPropsObj._clearable"
|
|
78
78
|
:size="selfPropsObj._size"
|
|
79
79
|
:filterable="selfPropsObj._filterable"
|
|
@@ -540,13 +540,13 @@
|
|
|
540
540
|
erd.listenTo(document.getElementById("DshCrossTable-right"), function (element) {
|
|
541
541
|
// 计算宽度
|
|
542
542
|
let tableWidth = that.$refs["DshCrossTable-right"].clientWidth;
|
|
543
|
-
let nums = tableWidth /
|
|
543
|
+
let nums = tableWidth / 200;
|
|
544
544
|
let dataTotal = that.data.length;
|
|
545
545
|
if (nums >= dataTotal) {
|
|
546
546
|
that.rowWidth = tableWidth;
|
|
547
547
|
that.colWidth = (tableWidth - 10) / dataTotal;
|
|
548
548
|
} else {
|
|
549
|
-
that.rowWidth = dataTotal *
|
|
549
|
+
that.rowWidth = dataTotal * 200;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
// that.rowWidth = 200 * that.data.length;
|
package/src/index.js
CHANGED
|
@@ -14,6 +14,7 @@ import DshBox from "./components/list/DshBox/DshBox.vue";
|
|
|
14
14
|
import DshList from "./components/list/DshBox/DshList.vue";
|
|
15
15
|
import DshTable from "./components/list/DshBox/DshTable.vue";
|
|
16
16
|
import DshPage from "./components/list/DshPage.vue";
|
|
17
|
+
import DshCrossTable from "./components/list/DshBox/DshCrossTable.vue";
|
|
17
18
|
// import DshCascaderTable from "./components/list/DshCascaderTable.vue";
|
|
18
19
|
|
|
19
20
|
// form
|
|
@@ -184,6 +185,7 @@ export {
|
|
|
184
185
|
DshList,
|
|
185
186
|
DshTable,
|
|
186
187
|
DshPage,
|
|
188
|
+
DshCrossTable,
|
|
187
189
|
|
|
188
190
|
// form
|
|
189
191
|
DshForm,
|