1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

Fuzzy query debug completed

This commit is contained in:
assina045
2023-06-10 15:02:05 +08:00
parent e72cb05cbc
commit 866986e333

View File

@@ -57,10 +57,11 @@
<el-button type="primary" @click="onSubmit1" v-if="flagNotApproved" <el-button type="primary" @click="onSubmit1" v-if="flagNotApproved"
>查询</el-button >查询</el-button
> >
<el-button type="primary" @click="onSubmit2" v-if="flagApproved" <el-button type="primary" @click="onSubmit2" v-if="flagApproved"
>查询</el-button >查询</el-button
> >
<el-button type="primary" @click="resetForm">重置</el-button> <el-button type="primary" @click="resetForm1">重置</el-button>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
@@ -87,7 +88,7 @@ export default {
}, },
flagNotApproved: true, flagNotApproved: true,
flagApproved: false, flagApproved: false,
count: 0, updateKey: Date.now(),
DataToRouterView: {} DataToRouterView: {}
} }
}, },
@@ -128,9 +129,15 @@ export default {
this.flagNotApproved = false this.flagNotApproved = false
this.flagApproved = true this.flagApproved = true
}, },
resetForm() { resetForm1() {
if (this.flagNotApproved) { if (this.flagNotApproved && !this.flagApproved) {
this.$router.go() this.formData.title = ''
this.formData.typeId = ''
this.onSubmit1()
} else {
this.formData.title = ''
this.formData.typeId = ''
this.onSubmit2()
} }
} }
} }