修改 技术监督 查询流程状态

This commit is contained in:
GGJ
2024-08-22 16:32:07 +08:00
parent c0bd772b61
commit 5a57bd4e39
12 changed files with 50 additions and 161 deletions

View File

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