verce-vue-test 0.0.73 → 0.0.74
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
|
@@ -217,6 +217,7 @@ async function handleFlowQuery() {
|
|
|
217
217
|
flowPage.value = 1
|
|
218
218
|
const params = buildFlowQueryParams()
|
|
219
219
|
flowQueryParams.value = params
|
|
220
|
+
forecastInfoStore.resetAllTableSelections()
|
|
220
221
|
console.log('流水信息查询参数', params)
|
|
221
222
|
let loaded = false
|
|
222
223
|
|
|
@@ -352,6 +353,7 @@ function getFlowSequence(index: number) {
|
|
|
352
353
|
<!-- 表格填满卡片余高;多选值直接写入 Pinia,供预报核销与匡算联动读取。 -->
|
|
353
354
|
<section class="forecast-info-table-area" aria-label="流水信息列表">
|
|
354
355
|
<ElTablePro
|
|
356
|
+
:key="`flow-table-${tableSelectionResetKey}`"
|
|
355
357
|
ref="flowTable"
|
|
356
358
|
v-model:page="flowPage"
|
|
357
359
|
v-model:page-size="flowPageSize"
|
|
@@ -334,6 +334,7 @@ async function handleForecastQuery() {
|
|
|
334
334
|
const generation = ++forecastQueryGeneration
|
|
335
335
|
const params = buildForecastQueryParams()
|
|
336
336
|
forecastPage.value = 1
|
|
337
|
+
forecastInfoStore.resetAllTableSelections()
|
|
337
338
|
console.log('预报信息查询条件', params)
|
|
338
339
|
let loaded = false
|
|
339
340
|
|
|
@@ -600,6 +601,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
600
601
|
</div>
|
|
601
602
|
</div>
|
|
602
603
|
<ElTablePro
|
|
604
|
+
:key="`forecast-table-${tableSelectionResetKey}`"
|
|
603
605
|
ref="forecastTable"
|
|
604
606
|
v-model:page="forecastPage"
|
|
605
607
|
v-model:page-size="forecastPageSize"
|
|
@@ -1077,6 +1077,8 @@ export const useForecastInfoStore = defineStore('rmb-position-settlement-forecas
|
|
|
1077
1077
|
|
|
1078
1078
|
forecastRows.value = response.resultList.map((item) => ({ ...item }))
|
|
1079
1079
|
forecastTotal.value = normalizeTotalCount(response)
|
|
1080
|
+
// 数据替换后再次通知表格清理,避免表头全选状态沿用上一批数据。
|
|
1081
|
+
resetAllTableSelections()
|
|
1080
1082
|
return true
|
|
1081
1083
|
} catch (error) {
|
|
1082
1084
|
// Axios 等请求库可能抛出 CanceledError;以当前控制器状态为准,避免离页取消进入全局错误处理。
|
|
@@ -1125,6 +1127,8 @@ export const useForecastInfoStore = defineStore('rmb-position-settlement-forecas
|
|
|
1125
1127
|
|
|
1126
1128
|
flowRows.value = response.resultList.map((item) => ({ ...item }))
|
|
1127
1129
|
flowTotal.value = normalizeTotalCount(response)
|
|
1130
|
+
// 数据替换后再次通知表格清理,避免表头全选状态沿用上一批数据。
|
|
1131
|
+
resetAllTableSelections()
|
|
1128
1132
|
return true
|
|
1129
1133
|
} catch (error) {
|
|
1130
1134
|
// Axios 等请求库可能抛出 CanceledError;以当前控制器状态为准,避免离页取消进入全局错误处理。
|