bak
parent
35acdd97cd
commit
2e4bd51dba
@ -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>
|
||||
import Search from "@/components/Search/Search.vue";
|
||||
import { ref } from "vue";
|
||||
const show = ref(false);
|
||||
import { ref } from 'vue'
|
||||
import Search from '@/components/Search/Search.vue'
|
||||
|
||||
const show = ref(false)
|
||||
function showModal() {
|
||||
show.value = true;
|
||||
show.value = true
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
showModal,
|
||||
});
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<n-modal v-model:show="show" :mask="false" transform-origin="center">
|
||||
<Search />
|
||||
</n-modal>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="less">
|
||||
</style>
|
Loading…
Reference in new issue