jtui3.0 1.0.69 → 1.0.71
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/jtui3.0.common.js +9 -2
- package/lib/jtui3.0.umd.js +9 -2
- package/lib/jtui3.0.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/jtui3.0.common.js
CHANGED
|
@@ -91082,7 +91082,7 @@ const ElMessage = withInstallFunction(message, "$message");
|
|
|
91082
91082
|
/*
|
|
91083
91083
|
* @Author: leevan
|
|
91084
91084
|
* @Date: 2022-07-04 14:32:14
|
|
91085
|
-
* @LastEditTime:
|
|
91085
|
+
* @LastEditTime: 2024-03-07 18:15:32
|
|
91086
91086
|
* @LastEditors: leevan
|
|
91087
91087
|
* @FilePath: /jtui3.0/packages/tables/hooks/usePublicAPI.js
|
|
91088
91088
|
*/
|
|
@@ -91141,6 +91141,7 @@ function usePublicAPI(emit, activeRef, props) {
|
|
|
91141
91141
|
|
|
91142
91142
|
|
|
91143
91143
|
function treeTxtClick(row) {
|
|
91144
|
+
activeRef.value.setCurrentRow(row);
|
|
91144
91145
|
let treePath = [];
|
|
91145
91146
|
const result = xe_utils_default().findTree(activeRef.value.data, item => {
|
|
91146
91147
|
return item.rowid === row.rowid;
|
|
@@ -91247,6 +91248,11 @@ function usePublicAPI(emit, activeRef, props) {
|
|
|
91247
91248
|
|
|
91248
91249
|
function setCheckboxRow(ary, status = true) {
|
|
91249
91250
|
activeRef.value.setCheckboxRow(ary, status);
|
|
91251
|
+
} //设置单选选择
|
|
91252
|
+
|
|
91253
|
+
|
|
91254
|
+
function setRadioRow(row) {
|
|
91255
|
+
activeRef.value.setRadioRow(row);
|
|
91250
91256
|
} //清空所有选中
|
|
91251
91257
|
|
|
91252
91258
|
|
|
@@ -91300,7 +91306,8 @@ function usePublicAPI(emit, activeRef, props) {
|
|
|
91300
91306
|
removeRow,
|
|
91301
91307
|
treeTxtClick,
|
|
91302
91308
|
jtTable,
|
|
91303
|
-
reloadParentNode
|
|
91309
|
+
reloadParentNode,
|
|
91310
|
+
setRadioRow
|
|
91304
91311
|
};
|
|
91305
91312
|
}
|
|
91306
91313
|
;// CONCATENATED MODULE: ./packages/tables/hooks/useTableSort.js
|
package/lib/jtui3.0.umd.js
CHANGED
|
@@ -91092,7 +91092,7 @@ const ElMessage = withInstallFunction(message, "$message");
|
|
|
91092
91092
|
/*
|
|
91093
91093
|
* @Author: leevan
|
|
91094
91094
|
* @Date: 2022-07-04 14:32:14
|
|
91095
|
-
* @LastEditTime:
|
|
91095
|
+
* @LastEditTime: 2024-03-07 18:15:32
|
|
91096
91096
|
* @LastEditors: leevan
|
|
91097
91097
|
* @FilePath: /jtui3.0/packages/tables/hooks/usePublicAPI.js
|
|
91098
91098
|
*/
|
|
@@ -91151,6 +91151,7 @@ function usePublicAPI(emit, activeRef, props) {
|
|
|
91151
91151
|
|
|
91152
91152
|
|
|
91153
91153
|
function treeTxtClick(row) {
|
|
91154
|
+
activeRef.value.setCurrentRow(row);
|
|
91154
91155
|
let treePath = [];
|
|
91155
91156
|
const result = xe_utils_default().findTree(activeRef.value.data, item => {
|
|
91156
91157
|
return item.rowid === row.rowid;
|
|
@@ -91257,6 +91258,11 @@ function usePublicAPI(emit, activeRef, props) {
|
|
|
91257
91258
|
|
|
91258
91259
|
function setCheckboxRow(ary, status = true) {
|
|
91259
91260
|
activeRef.value.setCheckboxRow(ary, status);
|
|
91261
|
+
} //设置单选选择
|
|
91262
|
+
|
|
91263
|
+
|
|
91264
|
+
function setRadioRow(row) {
|
|
91265
|
+
activeRef.value.setRadioRow(row);
|
|
91260
91266
|
} //清空所有选中
|
|
91261
91267
|
|
|
91262
91268
|
|
|
@@ -91310,7 +91316,8 @@ function usePublicAPI(emit, activeRef, props) {
|
|
|
91310
91316
|
removeRow,
|
|
91311
91317
|
treeTxtClick,
|
|
91312
91318
|
jtTable,
|
|
91313
|
-
reloadParentNode
|
|
91319
|
+
reloadParentNode,
|
|
91320
|
+
setRadioRow
|
|
91314
91321
|
};
|
|
91315
91322
|
}
|
|
91316
91323
|
;// CONCATENATED MODULE: ./packages/tables/hooks/useTableSort.js
|