bri-components 1.4.29 → 1.4.31
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
|
@@ -985,7 +985,11 @@ export default {
|
|
|
985
985
|
this.parentObj[this.controlKey] = dataObj;
|
|
986
986
|
}
|
|
987
987
|
|
|
988
|
-
|
|
988
|
+
// 因为data和rowspanMap不马上更新
|
|
989
|
+
this.$nextTick(() => {
|
|
990
|
+
this.reset();
|
|
991
|
+
this.change("import");
|
|
992
|
+
});
|
|
989
993
|
},
|
|
990
994
|
|
|
991
995
|
/* ----------- 导出 ---------- */
|
|
@@ -1131,7 +1135,7 @@ export default {
|
|
|
1131
1135
|
e.stopPropagation();
|
|
1132
1136
|
}
|
|
1133
1137
|
}
|
|
1134
|
-
|
|
1138
|
+
});
|
|
1135
1139
|
},
|
|
1136
1140
|
topSearchRender (h) {
|
|
1137
1141
|
return this.searchFormList.length
|
|
@@ -1421,7 +1425,7 @@ export default {
|
|
|
1421
1425
|
getRowDelBtnCanEdit (row, rowIndex) {
|
|
1422
1426
|
return row.__readonly__ !== true && // 不能为只读数据
|
|
1423
1427
|
(this.disabledDeleteDftRow ? row.__isDefault__ !== true : true) && // 默认数据可删除
|
|
1424
|
-
|
|
1428
|
+
(this.disabledDeleteOldRow ? row.__old__ !== true : true); // 老数据可删除
|
|
1425
1429
|
},
|
|
1426
1430
|
// 行内容是否可编辑
|
|
1427
1431
|
getRowCanEdit (row, rowIndex) {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
set (tabKey) {
|
|
87
87
|
// iview的组件有问题,重复点击tab的某一项,set函数还是会触发!
|
|
88
|
-
if (tabKey !== this.
|
|
88
|
+
if (tabKey !== this.curTabKey) {
|
|
89
89
|
this.init(tabKey);
|
|
90
90
|
|
|
91
91
|
this.$emit("input", tabKey);
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
|
+
|
|
96
97
|
rightTabList () {
|
|
97
98
|
return this.list.filter(item => item.slot === "extra");
|
|
98
99
|
}
|
|
@@ -103,7 +104,6 @@
|
|
|
103
104
|
mounted () {},
|
|
104
105
|
methods: {
|
|
105
106
|
init (tabKey) {
|
|
106
|
-
this.tmpTabKey = tabKey;
|
|
107
107
|
this.$set(this.renderStatusMap, tabKey, true);
|
|
108
108
|
},
|
|
109
109
|
|