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

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

@@ -137,7 +137,7 @@
</el-select>
</el-form-item>
<el-form-item for="-" label="预测评估单位:" prop="evaluationDept">
<el-select v-model="form.evaluationDept" placeholder="请选择预测评估单位">
<el-select v-model="form.evaluationDept" allow-create filterable placeholder="请选择预测评估单位">
<el-option
v-for="(item, index) in evaluationDeptList"
:label="item.name"

View File

@@ -16,7 +16,13 @@
</el-form-item>
<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"
@@ -38,7 +44,7 @@
<!-- 上传 -->
<Audit ref="AuditRef" @onSubmit="tableStore.index()" />
<!-- 查看详情 detail 新增/修改 create-->
<addForm ref="addForms" @onSubmit="tableStore.index()" ></addForm>
<addForm ref="addForms" @onSubmit="tableStore.index()"></addForm>
</template>
<script setup lang="ts">
import { ref, onMounted, provide, watch } from 'vue'
@@ -81,7 +87,7 @@ const tableStore = new TableStore({
{
field: 'city',
title: '所在地市',
minWidth: 80,
minWidth: 80
// formatter: (obj: any) => {
// return areaOptionList.filter(item => item.id == obj.row.city)[0]?.name
// }
@@ -235,13 +241,18 @@ tableStore.table.params.loadType = ''
tableStore.table.params.userName = ''
tableStore.table.params.fileUploadflag = ''
tableStore.table.params.orgId = adminInfo.$state.deptId
tableStore.table.params.status = ''
tableStore.table.params.status = statusSelect.map(item => item.id) //[]
provide('tableStore', tableStore)
// 新增
const addList = () => {
addRef.value.open()
}
const changeStatus = e => {
if (e.length == 0) {
tableStore.table.params.status = statusSelect.map(item => item.id)
}
}
const addForms = ref()
const addFormModel = () => {