修改 技术监督 查询流程问题

This commit is contained in:
GGJ
2024-08-22 15:59:15 +08:00
parent 439310e971
commit c0bd772b61
14 changed files with 179 additions and 59 deletions

View File

@@ -2,7 +2,13 @@
<TableHeader area datePicker nextFlag theCurrentTime ref="TableHeaderRef">
<template #select>
<el-form-item label="流程状态">
<el-select v-model="tableStore.table.params.status" clearable placeholder="请选择流程状态">
<el-select
v-model="tableStore.table.params.status"
multiple
collapse-tags
@change="changeStatus"
placeholder="请选择流程状态"
>
<el-option
v-for="item in statusSelect"
:key="item.id"
@@ -193,7 +199,7 @@ const tableStore = new TableStore({
render: 'buttons',
fixed: 'right',
buttons: [
{
{
name: 'productSetting',
title: '查看报告',
type: 'primary',
@@ -404,8 +410,12 @@ const cancelLeave = async (row: any) => {
// 加载数据
tableStore.index()
}
tableStore.table.params.status = ''
tableStore.table.params.status = statusSelect.map(item => item.id) //[]
const changeStatus = e => {
if (e.length == 0) {
tableStore.table.params.status = statusSelect.map(item => item.id)
}
}
provide('tableStore', tableStore)
onMounted(() => {