修改 技术监督 查询流程状态
This commit is contained in:
@@ -16,13 +16,7 @@
|
||||
</el-form-item>
|
||||
|
||||
<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"
|
||||
@@ -44,7 +38,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'
|
||||
@@ -87,7 +81,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
|
||||
// }
|
||||
@@ -241,18 +235,13 @@ tableStore.table.params.loadType = ''
|
||||
tableStore.table.params.userName = ''
|
||||
tableStore.table.params.fileUploadflag = ''
|
||||
tableStore.table.params.orgId = adminInfo.$state.deptId
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id) //[]
|
||||
tableStore.table.params.status = ''
|
||||
|
||||
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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user