verce-vue-test 0.0.71 → 0.0.72
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/components/ElTablePro.vue +38 -5
- package/src/views/ForecastInfo/RmbPositionSettlement.vue +59 -14
- package/src/views/ForecastInfo/components/FlowInfoPanel.vue +93 -14
- package/src/views/ForecastInfo/components/ForecastInfoPanel.vue +195 -33
- package/src/views/ForecastInfo/forecast-info.css +168 -153
- package/src/views/ForecastInfo/store.ts +114 -33
- package/src/views/ForecastInfo/useScopedMessage.ts +55 -0
package/package.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import {
|
|
7
7
|
computed,
|
|
8
|
+
onBeforeUnmount,
|
|
9
|
+
onDeactivated,
|
|
8
10
|
ref,
|
|
9
11
|
useAttrs,
|
|
10
12
|
useSlots,
|
|
@@ -54,6 +56,10 @@ const props = withDefaults(
|
|
|
54
56
|
paginationSize?: 'large' | 'default' | 'small'
|
|
55
57
|
// 外部选择重置标识;值变化时清空表格内部及跨页保留的选择
|
|
56
58
|
selectionResetKey?: number
|
|
59
|
+
// 弹窗挂载目标;页面可传入局部容器,避免 KeepAlive 下遮罩残留在 body
|
|
60
|
+
appendTo?: string | HTMLElement
|
|
61
|
+
// 是否启用页面级浮层隔离;默认关闭,确保其他 ElTablePro 的既有行为不变
|
|
62
|
+
isolateOverlays?: boolean
|
|
57
63
|
}>(),
|
|
58
64
|
{
|
|
59
65
|
columnConfig: true,
|
|
@@ -64,6 +70,7 @@ const props = withDefaults(
|
|
|
64
70
|
pageSizes: () => [10, 20, 50, 100],
|
|
65
71
|
layout: 'total, sizes, prev, pager, next, jumper',
|
|
66
72
|
paginationSize: 'default',
|
|
73
|
+
isolateOverlays: false,
|
|
67
74
|
},
|
|
68
75
|
)
|
|
69
76
|
|
|
@@ -94,6 +101,27 @@ const dialogVisible = ref(false)
|
|
|
94
101
|
/** ElTable 选择控制器,仅声明当前组件需要调用的方法。 */
|
|
95
102
|
const tableRef = ref<{ clearSelection: () => void } | null>(null)
|
|
96
103
|
|
|
104
|
+
/**
|
|
105
|
+
* 关闭组件内部创建的临时浮层。
|
|
106
|
+
*
|
|
107
|
+
* 列配置弹窗属于 ElTablePro 自己的状态,父业务页面无法直接感知;
|
|
108
|
+
* KeepAlive 只停用组件时必须主动关闭,避免遮罩和焦点陷阱继续留在其他页面上。
|
|
109
|
+
*/
|
|
110
|
+
const closeTransientOverlays = () => {
|
|
111
|
+
dialogVisible.value = false
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
defineExpose({
|
|
115
|
+
closeTransientOverlays,
|
|
116
|
+
})
|
|
117
|
+
|
|
118
|
+
onDeactivated(() => {
|
|
119
|
+
if (props.isolateOverlays) closeTransientOverlays()
|
|
120
|
+
})
|
|
121
|
+
onBeforeUnmount(() => {
|
|
122
|
+
if (props.isolateOverlays) closeTransientOverlays()
|
|
123
|
+
})
|
|
124
|
+
|
|
97
125
|
/** 业务操作完成后,在新数据渲染完毕时清空 reserve-selection 保存的勾选。 */
|
|
98
126
|
watch(
|
|
99
127
|
() => props.selectionResetKey,
|
|
@@ -391,18 +419,23 @@ initColumns()
|
|
|
391
419
|
v-model:current-page="currentPage"
|
|
392
420
|
v-model:page-size="currentPageSize"
|
|
393
421
|
:total="total || data.length"
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
422
|
+
:page-sizes="pageSizes"
|
|
423
|
+
:layout="layout"
|
|
424
|
+
:size="paginationSize"
|
|
425
|
+
:teleported="!isolateOverlays"
|
|
426
|
+
background
|
|
427
|
+
/>
|
|
399
428
|
</div>
|
|
400
429
|
|
|
401
430
|
<!-- 列配置弹窗 -->
|
|
402
431
|
<el-dialog
|
|
432
|
+
v-if="!isolateOverlays || dialogVisible"
|
|
403
433
|
v-model="dialogVisible"
|
|
404
434
|
title="表格列配置"
|
|
405
435
|
width="500px"
|
|
436
|
+
:append-to="isolateOverlays ? appendTo : 'body'"
|
|
437
|
+
:destroy-on-close="isolateOverlays"
|
|
438
|
+
:lock-scroll="!isolateOverlays"
|
|
406
439
|
:close-on-click-modal="false"
|
|
407
440
|
>
|
|
408
441
|
<!-- 弹窗提示文字 -->
|
|
@@ -4,19 +4,20 @@
|
|
|
4
4
|
* 主文件使用 index.vue 时,若依赖默认名称会被识别为通用 Index,可能与其他菜单页的缓存规则冲突。
|
|
5
5
|
*/
|
|
6
6
|
export default {
|
|
7
|
-
name
|
|
7
|
+
// 与现有 route.name 保持一致,既兼容 KeepAlive,也不改变按名称跳转的公共 API。
|
|
8
|
+
name: 'forecastInfo',
|
|
8
9
|
}
|
|
9
10
|
</script>
|
|
10
11
|
|
|
11
12
|
<script setup lang="ts">
|
|
12
|
-
import { onBeforeUnmount, onDeactivated, onMounted, ref, type Component } from 'vue'
|
|
13
|
+
import { onActivated, onBeforeUnmount, onDeactivated, onMounted, ref, type Component } from 'vue'
|
|
13
14
|
import { onBeforeRouteLeave } from 'vue-router'
|
|
14
15
|
import { storeToRefs } from 'pinia'
|
|
15
|
-
import { ElMessage } from 'element-plus'
|
|
16
16
|
import { Grid, Menu } from '@element-plus/icons-vue'
|
|
17
17
|
import ForecastInfoPanel from './components/ForecastInfoPanel.vue'
|
|
18
18
|
import FlowInfoPanel from './components/FlowInfoPanel.vue'
|
|
19
19
|
import { useForecastInfoStore, type ForecastInfoCardLayout } from './store'
|
|
20
|
+
import { useScopedMessage } from './useScopedMessage'
|
|
20
21
|
import './forecast-info.css'
|
|
21
22
|
|
|
22
23
|
/**
|
|
@@ -40,6 +41,9 @@ const overlayContainer = ref<HTMLElement | null>(null)
|
|
|
40
41
|
/** 全屏只挂载当前业务页面,浏览器会自动排除外层侧边栏和顶部 Layout。 */
|
|
41
42
|
const pageContainer = ref<HTMLElement | null>(null)
|
|
42
43
|
const isFullscreen = ref(false)
|
|
44
|
+
const pageMessage = useScopedMessage(() => overlayContainer.value)
|
|
45
|
+
let isListeningFullscreenChange = false
|
|
46
|
+
let fullscreenOperationGeneration = 0
|
|
43
47
|
|
|
44
48
|
type TransientOverlayController = {
|
|
45
49
|
closeTransientOverlays: () => void
|
|
@@ -56,7 +60,21 @@ function syncFullscreenState() {
|
|
|
56
60
|
isFullscreen.value = document.fullscreenElement === pageContainer.value
|
|
57
61
|
}
|
|
58
62
|
|
|
63
|
+
function startFullscreenListener() {
|
|
64
|
+
if (isListeningFullscreenChange) return
|
|
65
|
+
document.addEventListener('fullscreenchange', syncFullscreenState)
|
|
66
|
+
isListeningFullscreenChange = true
|
|
67
|
+
syncFullscreenState()
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function stopFullscreenListener() {
|
|
71
|
+
if (!isListeningFullscreenChange) return
|
|
72
|
+
document.removeEventListener('fullscreenchange', syncFullscreenState)
|
|
73
|
+
isListeningFullscreenChange = false
|
|
74
|
+
}
|
|
75
|
+
|
|
59
76
|
async function toggleFullscreen() {
|
|
77
|
+
const generation = ++fullscreenOperationGeneration
|
|
60
78
|
const container = pageContainer.value
|
|
61
79
|
|
|
62
80
|
if (!container) return
|
|
@@ -68,13 +86,18 @@ async function toggleFullscreen() {
|
|
|
68
86
|
}
|
|
69
87
|
|
|
70
88
|
if (!container.requestFullscreen) {
|
|
71
|
-
|
|
89
|
+
pageMessage.warning('当前浏览器不支持页面全屏')
|
|
72
90
|
return
|
|
73
91
|
}
|
|
74
92
|
|
|
75
93
|
await container.requestFullscreen()
|
|
94
|
+
|
|
95
|
+
if (generation !== fullscreenOperationGeneration) {
|
|
96
|
+
await exitPageFullscreen()
|
|
97
|
+
}
|
|
76
98
|
} catch {
|
|
77
|
-
|
|
99
|
+
if (generation !== fullscreenOperationGeneration) return
|
|
100
|
+
pageMessage.error('进入全屏失败,请检查浏览器权限设置')
|
|
78
101
|
}
|
|
79
102
|
}
|
|
80
103
|
|
|
@@ -91,29 +114,50 @@ async function exitPageFullscreen() {
|
|
|
91
114
|
}
|
|
92
115
|
|
|
93
116
|
function closePageTransientOverlays() {
|
|
94
|
-
|
|
95
|
-
|
|
117
|
+
fullscreenOperationGeneration += 1
|
|
118
|
+
const cleanupTasks = [
|
|
119
|
+
() => forecastInfoStore.cancelPendingRequests(),
|
|
120
|
+
() => pageMessage.closeAll(),
|
|
121
|
+
() => forecastInfoPanel.value?.closeTransientOverlays?.(),
|
|
122
|
+
() => flowInfoPanel.value?.closeTransientOverlays?.(),
|
|
123
|
+
]
|
|
124
|
+
|
|
125
|
+
cleanupTasks.forEach((cleanup) => {
|
|
126
|
+
try {
|
|
127
|
+
cleanup()
|
|
128
|
+
} catch {
|
|
129
|
+
// 清理失败不能反向阻断 Layout 路由切换。
|
|
130
|
+
}
|
|
131
|
+
})
|
|
96
132
|
}
|
|
97
133
|
|
|
98
134
|
/**
|
|
99
135
|
* 路由守卫早于组件停用和卸载执行。
|
|
100
136
|
* 在 Layout、KeepAlive、多页签等不同承载方式下,都先退出浏览器顶层全屏并移除本页遮罩。
|
|
101
137
|
*/
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
138
|
+
function cleanupBeforeRouteLeave() {
|
|
139
|
+
try {
|
|
140
|
+
closePageTransientOverlays()
|
|
141
|
+
} finally {
|
|
142
|
+
// 路由离开不能等待浏览器全屏 API,部分 WebView 中该 Promise 可能长期不结束。
|
|
143
|
+
void exitPageFullscreen().catch(() => undefined)
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
return true
|
|
105
147
|
}
|
|
106
148
|
|
|
107
|
-
onMounted(
|
|
149
|
+
onMounted(startFullscreenListener)
|
|
150
|
+
onActivated(startFullscreenListener)
|
|
108
151
|
onBeforeRouteLeave(cleanupBeforeRouteLeave)
|
|
109
152
|
onDeactivated(() => {
|
|
153
|
+
stopFullscreenListener()
|
|
110
154
|
closePageTransientOverlays()
|
|
111
|
-
void exitPageFullscreen()
|
|
155
|
+
void exitPageFullscreen().catch(() => undefined)
|
|
112
156
|
})
|
|
113
157
|
onBeforeUnmount(() => {
|
|
114
|
-
|
|
158
|
+
stopFullscreenListener()
|
|
115
159
|
closePageTransientOverlays()
|
|
116
|
-
void exitPageFullscreen()
|
|
160
|
+
void exitPageFullscreen().catch(() => undefined)
|
|
117
161
|
})
|
|
118
162
|
</script>
|
|
119
163
|
|
|
@@ -122,6 +166,7 @@ onBeforeUnmount(() => {
|
|
|
122
166
|
<div
|
|
123
167
|
ref="pageContainer"
|
|
124
168
|
class="forecast-info-page"
|
|
169
|
+
data-page-scope="rmb-position-settlement-forecast-info"
|
|
125
170
|
:class="{
|
|
126
171
|
'forecast-info-page--horizontal': cardLayout === 'horizontal',
|
|
127
172
|
'forecast-info-page--fullscreen': isFullscreen,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { computed, onBeforeUnmount, onDeactivated, reactive, ref, type Component } from 'vue'
|
|
2
|
+
import { computed, onActivated, onBeforeUnmount, onDeactivated, reactive, ref, type Component } from 'vue'
|
|
3
3
|
import { storeToRefs } from 'pinia'
|
|
4
|
-
import { ElMessage } from 'element-plus'
|
|
5
4
|
import { FullScreen, Search } from '@element-plus/icons-vue'
|
|
6
5
|
import type { RangeValue } from '@/components/NumberRange.vue'
|
|
7
6
|
import { formatThousands } from '@/utils/formatters'
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
type FlowInfoRow,
|
|
12
11
|
type ForecastInfoCardLayout,
|
|
13
12
|
} from '../store'
|
|
13
|
+
import { useScopedMessage } from '../useScopedMessage'
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* 流水信息业务卡片。
|
|
@@ -29,7 +29,7 @@ type TableColumn = {
|
|
|
29
29
|
minWidth: number
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
defineProps<{
|
|
32
|
+
const props = defineProps<{
|
|
33
33
|
layout: ForecastInfoCardLayout
|
|
34
34
|
layoutOptions: LayoutOption[]
|
|
35
35
|
/** 当前页面是否已进入浏览器全屏。 */
|
|
@@ -37,6 +37,7 @@ defineProps<{
|
|
|
37
37
|
/** 页面级局部浮层容器,防止抽屉直接挂到 Layout 的 body 节点。 */
|
|
38
38
|
overlayContainer: HTMLElement | null
|
|
39
39
|
}>()
|
|
40
|
+
const pageMessage = useScopedMessage(() => props.overlayContainer)
|
|
40
41
|
|
|
41
42
|
const emit = defineEmits<{
|
|
42
43
|
changeLayout: [layout: ForecastInfoCardLayout]
|
|
@@ -100,6 +101,15 @@ const defaultFlowForm = () => ({
|
|
|
100
101
|
const flowForm = reactive(defaultFlowForm())
|
|
101
102
|
/** 更多筛选抽屉的显示状态。 */
|
|
102
103
|
const flowDrawerVisible = ref(false)
|
|
104
|
+
|
|
105
|
+
type TableOverlayController = {
|
|
106
|
+
closeTransientOverlays: () => void
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/** 路由离开时同时关闭 ElTablePro 内部的列配置弹窗。 */
|
|
110
|
+
const flowTable = ref<TableOverlayController | null>(null)
|
|
111
|
+
const isPanelActive = ref(true)
|
|
112
|
+
let flowQueryGeneration = 0
|
|
103
113
|
/** 页面级 store 保存流水数据,也保存与预报表共享的多选结果。 */
|
|
104
114
|
const forecastInfoStore = useForecastInfoStore()
|
|
105
115
|
/** 分页、列表和最近一次查询参数从 Pinia 读取,翻页时不依赖组件局部状态。 */
|
|
@@ -135,6 +145,12 @@ const flowNetAmount = computed(() => {
|
|
|
135
145
|
* 抽屉挂到页面专属容器后,在 KeepAlive 或路由过渡中仍需提前关闭,避免遮罩遗留到其他页面。
|
|
136
146
|
*/
|
|
137
147
|
function closeFlowTransientOverlays() {
|
|
148
|
+
pageMessage.closeAll()
|
|
149
|
+
try {
|
|
150
|
+
flowTable.value?.closeTransientOverlays()
|
|
151
|
+
} catch {
|
|
152
|
+
// 表格浮层清理失败时仍继续关闭筛选抽屉。
|
|
153
|
+
}
|
|
138
154
|
flowDrawerVisible.value = false
|
|
139
155
|
}
|
|
140
156
|
|
|
@@ -143,8 +159,19 @@ defineExpose({
|
|
|
143
159
|
closeTransientOverlays: closeFlowTransientOverlays,
|
|
144
160
|
})
|
|
145
161
|
|
|
146
|
-
|
|
147
|
-
|
|
162
|
+
function activateFlowPanel() {
|
|
163
|
+
isPanelActive.value = true
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
function deactivateFlowPanel() {
|
|
167
|
+
isPanelActive.value = false
|
|
168
|
+
flowQueryGeneration += 1
|
|
169
|
+
closeFlowTransientOverlays()
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
onActivated(activateFlowPanel)
|
|
173
|
+
onDeactivated(deactivateFlowPanel)
|
|
174
|
+
onBeforeUnmount(deactivateFlowPanel)
|
|
148
175
|
|
|
149
176
|
/** 恢复筛选表单初始值,不会立即请求列表。 */
|
|
150
177
|
function resetFlowForm() {
|
|
@@ -186,27 +213,45 @@ function buildFlowQueryParams(): FlowInfoQueryParams {
|
|
|
186
213
|
|
|
187
214
|
/** 查询从第一页开始,并在成功请求后关闭更多筛选抽屉。 */
|
|
188
215
|
async function handleFlowQuery() {
|
|
216
|
+
const generation = ++flowQueryGeneration
|
|
189
217
|
flowPage.value = 1
|
|
190
218
|
const params = buildFlowQueryParams()
|
|
191
219
|
flowQueryParams.value = params
|
|
192
220
|
console.log('流水信息查询参数', params)
|
|
193
|
-
|
|
221
|
+
let loaded = false
|
|
222
|
+
|
|
223
|
+
try {
|
|
224
|
+
loaded = await forecastInfoStore.loadFlowInfoList(params)
|
|
225
|
+
} catch {
|
|
226
|
+
if (isPanelActive.value && generation === flowQueryGeneration) {
|
|
227
|
+
pageMessage.error('流水信息查询失败,请稍后重试')
|
|
228
|
+
}
|
|
229
|
+
return
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
if (!loaded || !isPanelActive.value || generation !== flowQueryGeneration) return
|
|
233
|
+
|
|
194
234
|
flowDrawerVisible.value = false
|
|
195
|
-
|
|
235
|
+
pageMessage.success('已查询流水信息')
|
|
196
236
|
}
|
|
197
237
|
|
|
198
238
|
/** 只重置界面筛选条件,当前表格数据继续保留。 */
|
|
199
239
|
function handleFlowReset() {
|
|
200
240
|
resetFlowForm()
|
|
201
|
-
|
|
241
|
+
pageMessage.info('流水筛选条件已重置')
|
|
202
242
|
}
|
|
203
243
|
|
|
204
244
|
/** 翻页或改变每页条数时先清空两张表选择,再复用当前表单映射。 */
|
|
205
245
|
function handleFlowPaginationChange(_value: { page: number; pageSize: number }) {
|
|
246
|
+
const generation = ++flowQueryGeneration
|
|
206
247
|
forecastInfoStore.resetAllTableSelections()
|
|
207
248
|
const params = buildFlowQueryParams()
|
|
208
249
|
flowQueryParams.value = params
|
|
209
|
-
forecastInfoStore.loadFlowInfoList(params)
|
|
250
|
+
void forecastInfoStore.loadFlowInfoList(params).catch(() => {
|
|
251
|
+
if (isPanelActive.value && generation === flowQueryGeneration) {
|
|
252
|
+
pageMessage.error('流水信息加载失败,请稍后重试')
|
|
253
|
+
}
|
|
254
|
+
})
|
|
210
255
|
}
|
|
211
256
|
|
|
212
257
|
/** 根据当前分页状态计算跨页连续序号。 */
|
|
@@ -272,6 +317,7 @@ function getFlowSequence(index: number) {
|
|
|
272
317
|
<span>交易日期</span>
|
|
273
318
|
<el-date-picker
|
|
274
319
|
v-model="flowForm.tranDate"
|
|
320
|
+
:append-to="props.overlayContainer || undefined"
|
|
275
321
|
size="small"
|
|
276
322
|
type="date"
|
|
277
323
|
placeholder="请选择日期"
|
|
@@ -283,7 +329,14 @@ function getFlowSequence(index: number) {
|
|
|
283
329
|
|
|
284
330
|
<label v-if="layout === 'vertical'" class="forecast-info-filter__item">
|
|
285
331
|
<span>收支方向</span>
|
|
286
|
-
<el-select
|
|
332
|
+
<el-select
|
|
333
|
+
v-model="flowForm.payDirec"
|
|
334
|
+
:append-to="props.overlayContainer || undefined"
|
|
335
|
+
:persistent="false"
|
|
336
|
+
size="small"
|
|
337
|
+
placeholder="请选择"
|
|
338
|
+
clearable
|
|
339
|
+
>
|
|
287
340
|
<el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
|
|
288
341
|
</el-select>
|
|
289
342
|
</label>
|
|
@@ -299,13 +352,16 @@ function getFlowSequence(index: number) {
|
|
|
299
352
|
<!-- 表格填满卡片余高;多选值直接写入 Pinia,供预报核销与匡算联动读取。 -->
|
|
300
353
|
<section class="forecast-info-table-area" aria-label="流水信息列表">
|
|
301
354
|
<ElTablePro
|
|
355
|
+
ref="flowTable"
|
|
302
356
|
v-model:page="flowPage"
|
|
303
357
|
v-model:page-size="flowPageSize"
|
|
304
358
|
:data="flowRows"
|
|
305
359
|
:total="flowTotal"
|
|
306
360
|
v-loading="flowLoading"
|
|
307
|
-
table-key="flow-info"
|
|
361
|
+
table-key="rmb-position-settlement-flow-info"
|
|
308
362
|
:selection-reset-key="tableSelectionResetKey"
|
|
363
|
+
:append-to="props.overlayContainer || undefined"
|
|
364
|
+
isolate-overlays
|
|
309
365
|
row-key="refNo"
|
|
310
366
|
border
|
|
311
367
|
stripe
|
|
@@ -364,6 +420,7 @@ function getFlowSequence(index: number) {
|
|
|
364
420
|
|
|
365
421
|
<!-- 流水完整筛选条件;抽屉内查询仍复用 buildFlowQueryParams。 -->
|
|
366
422
|
<el-drawer
|
|
423
|
+
v-if="flowDrawerVisible"
|
|
367
424
|
v-model="flowDrawerVisible"
|
|
368
425
|
title="流水更多筛选"
|
|
369
426
|
size="520px"
|
|
@@ -377,6 +434,7 @@ function getFlowSequence(index: number) {
|
|
|
377
434
|
<span>交易日期</span>
|
|
378
435
|
<el-date-picker
|
|
379
436
|
v-model="flowForm.tranDate"
|
|
437
|
+
:append-to="props.overlayContainer || undefined"
|
|
380
438
|
size="small"
|
|
381
439
|
type="date"
|
|
382
440
|
placeholder="请选择日期"
|
|
@@ -388,7 +446,14 @@ function getFlowSequence(index: number) {
|
|
|
388
446
|
|
|
389
447
|
<label class="forecast-info-filter__item">
|
|
390
448
|
<span>收支方向</span>
|
|
391
|
-
<el-select
|
|
449
|
+
<el-select
|
|
450
|
+
v-model="flowForm.payDirec"
|
|
451
|
+
:append-to="props.overlayContainer || undefined"
|
|
452
|
+
:persistent="false"
|
|
453
|
+
size="small"
|
|
454
|
+
placeholder="请选择"
|
|
455
|
+
clearable
|
|
456
|
+
>
|
|
392
457
|
<el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
|
|
393
458
|
</el-select>
|
|
394
459
|
</label>
|
|
@@ -414,7 +479,14 @@ function getFlowSequence(index: number) {
|
|
|
414
479
|
|
|
415
480
|
<label class="forecast-info-filter__item">
|
|
416
481
|
<span>核销状态</span>
|
|
417
|
-
<el-select
|
|
482
|
+
<el-select
|
|
483
|
+
v-model="flowForm.verifyStatus"
|
|
484
|
+
:append-to="props.overlayContainer || undefined"
|
|
485
|
+
:persistent="false"
|
|
486
|
+
size="small"
|
|
487
|
+
placeholder="请选择"
|
|
488
|
+
clearable
|
|
489
|
+
>
|
|
418
490
|
<el-option v-for="option in statusOptions" :key="option.value" v-bind="option" />
|
|
419
491
|
</el-select>
|
|
420
492
|
</label>
|
|
@@ -431,7 +503,14 @@ function getFlowSequence(index: number) {
|
|
|
431
503
|
|
|
432
504
|
<label class="forecast-info-filter__item">
|
|
433
505
|
<span>我方机构</span>
|
|
434
|
-
<el-select
|
|
506
|
+
<el-select
|
|
507
|
+
v-model="flowForm.groundBranch"
|
|
508
|
+
:append-to="props.overlayContainer || undefined"
|
|
509
|
+
:persistent="false"
|
|
510
|
+
size="small"
|
|
511
|
+
placeholder="请选择"
|
|
512
|
+
clearable
|
|
513
|
+
>
|
|
435
514
|
<el-option v-for="option in groundBranchOptions" :key="option.value" v-bind="option" />
|
|
436
515
|
</el-select>
|
|
437
516
|
</label>
|