vue2-client 1.19.38 → 1.19.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 +1 -1
- package/src/base-client/components/common/XForm/XFormItem.vue +1 -1
- package/src/base-client/components/common/XFormTable/XFormTable.vue +11 -0
- package/src/base-client/components/common/XTable/XTable.vue +11 -0
- package/src/base-client/components/common/XTable/XTableWrapper.vue +1 -0
package/package.json
CHANGED
|
@@ -995,7 +995,7 @@ export default {
|
|
|
995
995
|
* @returns {Object} 外部扩展数据对象 比如收费表单中俄的 用户信息要参与表单判断
|
|
996
996
|
*/
|
|
997
997
|
getExtData() {
|
|
998
|
-
return this._getExtData()
|
|
998
|
+
return (this._getExtData && typeof this._getExtData === 'function') ? this._getExtData() : {}
|
|
999
999
|
},
|
|
1000
1000
|
// 处理 queryParams 结果并更新 rowChooseFixedQueryValue
|
|
1001
1001
|
handleQueryParamsResult(obj) {
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
@rowDblClick="handleRowDblClick"
|
|
83
83
|
@beforeDataChange="beforeDataChange"
|
|
84
84
|
@expand="onExpand"
|
|
85
|
+
@progressUpdated="handleProgressUpdated"
|
|
85
86
|
>
|
|
86
87
|
<template slot="leftButton" slot-scope="{ selectedRowKeys, selectedRows }">
|
|
87
88
|
<slot name="leftButton" :selectedRowKeys="selectedRowKeys" :selectedRows="selectedRows"></slot>
|
|
@@ -155,6 +156,7 @@
|
|
|
155
156
|
@rowDblClick="handleRowDblClick"
|
|
156
157
|
@beforeDataChange="beforeDataChange"
|
|
157
158
|
@expand="onExpand"
|
|
159
|
+
@progressUpdated="handleProgressUpdated"
|
|
158
160
|
>
|
|
159
161
|
<template slot="leftButton" slot-scope="{ selectedRowKeys, selectedRows }">
|
|
160
162
|
<slot name="leftButton" :selectedRowKeys="selectedRowKeys" :selectedRows="selectedRows"></slot>
|
|
@@ -1103,6 +1105,15 @@ export default {
|
|
|
1103
1105
|
},
|
|
1104
1106
|
onExpand (expanded, record) {
|
|
1105
1107
|
this.$emit('expand', expanded, record)
|
|
1108
|
+
},
|
|
1109
|
+
/**
|
|
1110
|
+
* 处理进度更新事件
|
|
1111
|
+
* @param {Object} data 进度数据
|
|
1112
|
+
* @param {Object} record 行数据
|
|
1113
|
+
* @param {String} dataIndex 列字段名
|
|
1114
|
+
*/
|
|
1115
|
+
handleProgressUpdated (data, record, dataIndex) {
|
|
1116
|
+
this.$emit('progressUpdated', data, record, dataIndex)
|
|
1106
1117
|
}
|
|
1107
1118
|
},
|
|
1108
1119
|
action: {
|
|
@@ -168,6 +168,7 @@
|
|
|
168
168
|
:pageSizeArray="pageSizeArray"
|
|
169
169
|
:queryParamsName="queryParamsName"
|
|
170
170
|
:disableAction="disableAction"
|
|
171
|
+
@progressUpdated="handleProgressUpdated"
|
|
171
172
|
@rowClick="handleRowClick"
|
|
172
173
|
@rowDblClick="handleRowDblClick"
|
|
173
174
|
@beforeDataChange="beforeDataChange"
|
|
@@ -280,6 +281,7 @@
|
|
|
280
281
|
<x-table-wrapper
|
|
281
282
|
ref="selectedDataTable"
|
|
282
283
|
:load-selected-data="true"
|
|
284
|
+
@progressUpdated="handleProgressUpdated"
|
|
283
285
|
@beforeDataChange="beforeDataChange"
|
|
284
286
|
@rowClick="handleRowClick"
|
|
285
287
|
@rowDblClick="handleRowDblClick">
|
|
@@ -1658,6 +1660,15 @@ export default {
|
|
|
1658
1660
|
|
|
1659
1661
|
// 触发选择事件
|
|
1660
1662
|
this.$emit('selectRow', this.selectedRowKeys, this.selectedRows)
|
|
1663
|
+
},
|
|
1664
|
+
/**
|
|
1665
|
+
* 处理进度更新事件
|
|
1666
|
+
* @param {Object} data 进度数据
|
|
1667
|
+
* @param {Object} record 行数据
|
|
1668
|
+
* @param {String} dataIndex 列字段名
|
|
1669
|
+
*/
|
|
1670
|
+
handleProgressUpdated (data, record, dataIndex) {
|
|
1671
|
+
this.$emit('progressUpdated', data, record, dataIndex)
|
|
1661
1672
|
}
|
|
1662
1673
|
}
|
|
1663
1674
|
}
|