重置终端退运选择审核状态
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class='default-main'>
|
<div class='default-main'>
|
||||||
<TableHeader date-picker>
|
<TableHeader date-picker>
|
||||||
<template v-slot:select>
|
<template #select>
|
||||||
<el-form-item label="审核状态">
|
<el-form-item label="审核状态">
|
||||||
<el-select v-model="tableStore.table.params.status" clearable placeholder="请选择审核状态">
|
<el-select v-model="tableStore.table.params.status" clearable placeholder="请选择审核状态">
|
||||||
<el-option
|
<el-option
|
||||||
@@ -155,19 +155,15 @@ const tableStore = new TableStore({
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
beforeSearchFun: () => {
|
beforeSearchFun: () => {
|
||||||
for (let key in tableStore.table.params) {
|
// for (let key in tableStore.table.params) {
|
||||||
if (tableStore.table.params[key] === '') {
|
// if (tableStore.table.params[key] === '') {
|
||||||
delete tableStore.table.params[key]
|
// delete tableStore.table.params[key]
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
// }
|
||||||
tableStore.table.params.deviceType = 2
|
tableStore.table.params.deviceType = 2
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
onMounted(() => {
|
|
||||||
// 加载数据
|
|
||||||
tableStore.index()
|
|
||||||
})
|
|
||||||
tableStore.table.params.searchValue = ''
|
tableStore.table.params.searchValue = ''
|
||||||
tableStore.table.params.status = ''
|
tableStore.table.params.status = ''
|
||||||
provide('tableStore', tableStore)
|
provide('tableStore', tableStore)
|
||||||
@@ -209,6 +205,10 @@ const cancelLeave = async (row: any) => {
|
|||||||
tableStore.index()
|
tableStore.index()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
// 加载数据
|
||||||
|
tableStore.index()
|
||||||
|
})
|
||||||
watch(
|
watch(
|
||||||
() => currentRoute.value.path,
|
() => currentRoute.value.path,
|
||||||
() => {
|
() => {
|
||||||
|
|||||||
@@ -179,18 +179,14 @@ const tableStore = new TableStore({
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
beforeSearchFun: () => {
|
beforeSearchFun: () => {
|
||||||
for (let key in tableStore.table.params) {
|
// for (let key in tableStore.table.params) {
|
||||||
if (tableStore.table.params[key] === '') {
|
// if (tableStore.table.params[key] === '') {
|
||||||
delete tableStore.table.params[key]
|
// delete tableStore.table.params[key]
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
tableStore.table.params.deviceType = 1
|
tableStore.table.params.deviceType = 1
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
onMounted(() => {
|
|
||||||
// 加载数据
|
|
||||||
tableStore.index()
|
|
||||||
})
|
|
||||||
tableStore.table.params.status = ''
|
tableStore.table.params.status = ''
|
||||||
tableStore.table.params.searchValue = ''
|
tableStore.table.params.searchValue = ''
|
||||||
provide('tableStore', tableStore)
|
provide('tableStore', tableStore)
|
||||||
@@ -231,6 +227,11 @@ const cancelLeave = async (row: any) => {
|
|||||||
// 加载数据
|
// 加载数据
|
||||||
tableStore.index()
|
tableStore.index()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
// 加载数据
|
||||||
|
tableStore.index()
|
||||||
|
})
|
||||||
watch(
|
watch(
|
||||||
() => currentRoute.value.path,
|
() => currentRoute.value.path,
|
||||||
() => {
|
() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user