修改 技术监督 查询流程问题
This commit is contained in:
@@ -10,7 +10,13 @@
|
||||
></el-input>
|
||||
</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"
|
||||
@@ -132,7 +138,7 @@ const tableStore = new TableStore({
|
||||
showDisabled: row => {
|
||||
return row.createBy != adminInfo.$state.id || !(row.status == 0)
|
||||
},
|
||||
|
||||
|
||||
disabled: row => {
|
||||
return !(row.status == 0)
|
||||
},
|
||||
@@ -181,11 +187,13 @@ const tableStore = new TableStore({
|
||||
// tableStore.table.params.relationUserName = tableStore.table.params.userName
|
||||
}
|
||||
})
|
||||
tableStore.table.params.status = ''
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id) //[]
|
||||
tableStore.table.params.searchValue = ''
|
||||
// tableStore.table.params.loadType = ''
|
||||
// tableStore.table.params.userName = ''
|
||||
// tableStore.table.params.fileUploadflag = ''
|
||||
const changeStatus = e => {
|
||||
if (e.length == 0) {
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
}
|
||||
}
|
||||
|
||||
provide('tableStore', tableStore)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user