修改 技术监督 查询流程状态
This commit is contained in:
@@ -4,13 +4,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"
|
||||
@@ -184,7 +178,7 @@ const tableStore = new TableStore({
|
||||
// tableStore.table.params.relationUserName = tableStore.table.params.userName
|
||||
}
|
||||
})
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id) //[]
|
||||
tableStore.table.params.status = ''
|
||||
|
||||
provide('tableStore', tableStore)
|
||||
|
||||
@@ -197,11 +191,6 @@ const checkboxConfig = reactive<VxeTablePropTypes.CheckboxConfig>({
|
||||
return !(row.testRunState == 1 || row.testRunState == 2)
|
||||
}
|
||||
})
|
||||
const changeStatus = e => {
|
||||
if (e.length == 0) {
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
}
|
||||
}
|
||||
/** 处理审批按钮 */
|
||||
const handleAudit = (instanceId: any, historyInstanceId: any) => {
|
||||
push({
|
||||
|
||||
@@ -12,9 +12,7 @@
|
||||
</el-select>
|
||||
</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"
|
||||
@@ -207,7 +205,7 @@ const tableStore = new TableStore({
|
||||
}
|
||||
})
|
||||
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id) //[]
|
||||
tableStore.table.params.status = ''
|
||||
tableStore.table.params.supvType = ''
|
||||
provide('tableStore', tableStore)
|
||||
// 新增计划
|
||||
@@ -215,11 +213,7 @@ const add = () => {
|
||||
// title.value = '普测计划新增'
|
||||
planAddRef.value.open('计划新增')
|
||||
}
|
||||
const changeStatus = e => {
|
||||
if (e.length == 0) {
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
}
|
||||
}
|
||||
|
||||
const exportFn = () => {
|
||||
let form = JSON.parse(JSON.stringify(tableStore.table.params))
|
||||
form.pageNum = 1
|
||||
|
||||
@@ -12,13 +12,7 @@
|
||||
</el-select>
|
||||
</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"
|
||||
@@ -226,15 +220,10 @@ const tableStore = new TableStore({
|
||||
}
|
||||
})
|
||||
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id) //[]
|
||||
tableStore.table.params.status = ''
|
||||
tableStore.table.params.supvType = ''
|
||||
|
||||
provide('tableStore', tableStore)
|
||||
const changeStatus = e => {
|
||||
if (e.length == 0) {
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
}
|
||||
}
|
||||
// 新增计划
|
||||
const add = (id: string) => {
|
||||
planTestRef.value.open('计划测试填报', id, true)
|
||||
|
||||
@@ -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 = () => {
|
||||
|
||||
@@ -4,13 +4,7 @@
|
||||
<TableHeader date-picker nextFlag theCurrentTime>
|
||||
<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"
|
||||
@@ -231,13 +225,9 @@ const tableStore = new TableStore({
|
||||
}
|
||||
})
|
||||
tableStore.table.params.searchValue = ''
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id) //[]
|
||||
tableStore.table.params.status = ''
|
||||
provide('tableStore', tableStore)
|
||||
const changeStatus = e => {
|
||||
if (e.length == 0) {
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
}
|
||||
}
|
||||
|
||||
//新增退运终端信息
|
||||
const add = () => {
|
||||
deviceQuitPopup.value.open('新增监测点状态变更')
|
||||
|
||||
@@ -4,13 +4,7 @@
|
||||
<TableHeader date-picker nextFlag theCurrentTime>
|
||||
<template v-slot: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"
|
||||
@@ -119,7 +113,7 @@ const tableStore = new TableStore({
|
||||
2: '停运',
|
||||
3: '调试',
|
||||
4: '退运',
|
||||
null: '/'
|
||||
null:'/'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -226,14 +220,10 @@ const tableStore = new TableStore({
|
||||
tableStore.table.params.deviceType = 1
|
||||
}
|
||||
})
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
tableStore.table.params.status = ''
|
||||
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('新增终端状态变更')
|
||||
|
||||
@@ -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"
|
||||
@@ -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(() => {
|
||||
|
||||
@@ -10,9 +10,7 @@
|
||||
></el-input>
|
||||
</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"
|
||||
@@ -216,16 +214,12 @@ const tableStore = new TableStore({
|
||||
// tableStore.table.params.relationUserName = tableStore.table.params.userName
|
||||
}
|
||||
})
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id) //[]
|
||||
tableStore.table.params.status = ''
|
||||
tableStore.table.params.state = ''
|
||||
tableStore.table.params.searchValue = ''
|
||||
|
||||
provide('tableStore', tableStore)
|
||||
const changeStatus = e => {
|
||||
if (e.length == 0) {
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
}
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
tableStore.index()
|
||||
})
|
||||
|
||||
@@ -10,13 +10,7 @@
|
||||
></el-input>
|
||||
</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"
|
||||
@@ -222,18 +216,14 @@ const tableStore = new TableStore({
|
||||
// tableStore.table.params.relationUserName = tableStore.table.params.userName
|
||||
}
|
||||
})
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id) //[]
|
||||
tableStore.table.params.status = ''
|
||||
tableStore.table.params.searchValue = ''
|
||||
// tableStore.table.params.loadType = ''
|
||||
// tableStore.table.params.userName = ''
|
||||
// tableStore.table.params.fileUploadflag = ''
|
||||
|
||||
provide('tableStore', tableStore)
|
||||
const changeStatus = e => {
|
||||
if (e.length == 0) {
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
}
|
||||
}
|
||||
|
||||
const exportEvent = () => {
|
||||
let form = JSON.parse(JSON.stringify(tableStore.table.params))
|
||||
form.pageNum = 1
|
||||
|
||||
@@ -10,13 +10,7 @@
|
||||
></el-input>
|
||||
</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"
|
||||
@@ -187,13 +181,11 @@ const tableStore = new TableStore({
|
||||
// tableStore.table.params.relationUserName = tableStore.table.params.userName
|
||||
}
|
||||
})
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id) //[]
|
||||
tableStore.table.params.status = ''
|
||||
tableStore.table.params.searchValue = ''
|
||||
const changeStatus = e => {
|
||||
if (e.length == 0) {
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
}
|
||||
}
|
||||
// tableStore.table.params.loadType = ''
|
||||
// tableStore.table.params.userName = ''
|
||||
// tableStore.table.params.fileUploadflag = ''
|
||||
|
||||
provide('tableStore', tableStore)
|
||||
|
||||
|
||||
@@ -9,13 +9,7 @@
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="流程状态">
|
||||
<el-select
|
||||
v-model="tableStore.table.params.status"
|
||||
multiple
|
||||
@change="changeStatus"
|
||||
collapse-tags
|
||||
placeholder="请选择流程状态"
|
||||
>
|
||||
<el-select v-model="tableStore.table.params.status" clearable placeholder="请选择流程状态">
|
||||
<el-option
|
||||
v-for="item in statusSelect"
|
||||
:key="item.id"
|
||||
@@ -221,7 +215,7 @@ const tableStore = new TableStore({
|
||||
// tableStore.table.params.relationUserName = tableStore.table.params.userName
|
||||
}
|
||||
})
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
tableStore.table.params.status = ''
|
||||
tableStore.table.params.searchValue = ''
|
||||
// tableStore.table.params.loadType = ''
|
||||
// tableStore.table.params.userName = ''
|
||||
@@ -258,11 +252,7 @@ const cancelLeave = async (row: any) => {
|
||||
// 加载数据
|
||||
tableStore.index()
|
||||
}
|
||||
const changeStatus = e => {
|
||||
if (e.length == 0) {
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
}
|
||||
}
|
||||
|
||||
//导出模板
|
||||
const exportExcelTemplate = () => {
|
||||
downloadDevTemplate().then((res: any) => {
|
||||
|
||||
@@ -4,13 +4,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"
|
||||
@@ -251,14 +245,10 @@ const tableStore = new TableStore({
|
||||
// tableStore.table.params.relationUserName = tableStore.table.params.userName
|
||||
}
|
||||
})
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id) //[]
|
||||
tableStore.table.params.status = ''
|
||||
|
||||
provide('tableStore', tableStore)
|
||||
const changeStatus = e => {
|
||||
if (e.length == 0) {
|
||||
tableStore.table.params.status = statusSelect.map(item => item.id)
|
||||
}
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
tableStore.index()
|
||||
})
|
||||
@@ -379,6 +369,8 @@ const runTestSubmit = (type: number) => {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss"></style>
|
||||
|
||||
Reference in New Issue
Block a user