修改 技术监督 查询流程问题
This commit is contained in:
@@ -4,7 +4,13 @@
|
||||
<TableHeader date-picker nextFlag theCurrentTime>
|
||||
<template v-slot: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"
|
||||
@@ -14,12 +20,12 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="搜索">
|
||||
<el-input
|
||||
v-model="tableStore.table.params.searchValue"
|
||||
placeholder="输入变电站、终端"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-input
|
||||
v-model="tableStore.table.params.searchValue"
|
||||
placeholder="输入变电站、终端"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</template>
|
||||
<template #operation>
|
||||
<el-button icon="el-icon-Plus" type="primary" @click="add">新增</el-button>
|
||||
@@ -83,7 +89,7 @@ const tableStore = new TableStore({
|
||||
2: 'danger',
|
||||
3: 'warning',
|
||||
4: 'info',
|
||||
null: 'primary'
|
||||
null: 'primary'
|
||||
},
|
||||
replaceValue: {
|
||||
0: '运行',
|
||||
@@ -105,7 +111,7 @@ const tableStore = new TableStore({
|
||||
2: 'danger',
|
||||
3: 'warning',
|
||||
4: 'info',
|
||||
null: 'primary'
|
||||
null: 'primary'
|
||||
},
|
||||
replaceValue: {
|
||||
0: '运行',
|
||||
@@ -113,7 +119,7 @@ const tableStore = new TableStore({
|
||||
2: '停运',
|
||||
3: '调试',
|
||||
4: '退运',
|
||||
null:'/'
|
||||
null: '/'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -220,10 +226,14 @@ const tableStore = new TableStore({
|
||||
tableStore.table.params.deviceType = 1
|
||||
}
|
||||
})
|
||||
tableStore.table.params.status = ''
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
tableStore.table.params.searchValue = ''
|
||||
provide('tableStore', tableStore)
|
||||
|
||||
const changeStatus = e => {
|
||||
if (e.length == 0) {
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
}
|
||||
}
|
||||
//新增退运终端信息
|
||||
const add = () => {
|
||||
deviceQuitPopup.value.open('新增终端状态变更')
|
||||
|
||||
Reference in New Issue
Block a user