Merge branch 'main' of https://git.mcnetmart.com/guoxiangbin/ocr-web
commit
d293087faa
@ -0,0 +1,29 @@
|
|||||||
|
import { http } from '@/utils/http/axios'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 综合搜索
|
||||||
|
* @returns
|
||||||
|
*/
|
||||||
|
export async function getSearchList(params) {
|
||||||
|
const res = await http.request({
|
||||||
|
url: `/ocr/history/searchList`,
|
||||||
|
method: 'get',
|
||||||
|
params,
|
||||||
|
})
|
||||||
|
|
||||||
|
return res
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 综合搜索历史记录搜索
|
||||||
|
* @returns
|
||||||
|
*/
|
||||||
|
export async function historySearch(params) {
|
||||||
|
const res = await http.request({
|
||||||
|
url: `/ocr/history/historySearch`,
|
||||||
|
method: 'get',
|
||||||
|
params,
|
||||||
|
})
|
||||||
|
|
||||||
|
return res
|
||||||
|
}
|
@ -1,22 +1,24 @@
|
|||||||
<template>
|
|
||||||
<div>
|
|
||||||
<n-modal v-model:show="show" :mask="false" transform-origin="center">
|
|
||||||
<Search />
|
|
||||||
</n-modal>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import Search from "@/components/Search/Search.vue";
|
import { ref } from 'vue'
|
||||||
import { ref } from "vue";
|
import Search from '@/components/Search/Search.vue'
|
||||||
const show = ref(false);
|
|
||||||
|
const show = ref(false)
|
||||||
function showModal() {
|
function showModal() {
|
||||||
show.value = true;
|
show.value = true
|
||||||
}
|
}
|
||||||
|
|
||||||
defineExpose({
|
defineExpose({
|
||||||
showModal,
|
showModal,
|
||||||
});
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<n-modal v-model:show="show" :mask="false" transform-origin="center">
|
||||||
|
<Search />
|
||||||
|
</n-modal>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
</style>
|
</style>
|
Loading…
Reference in new issue