356f5c7e by 杨炀

no message

1 parent 9e107896
......@@ -53,16 +53,20 @@ import { ref } from 'vue'
import {getInvoiceByActiveId} from "@/apiPc/booking"
import {getCurrentInstance} from "@vue/runtime-core"
import {useStorage} from "@vueuse/core/index";
import useUserStore from "@/store/modules/user";
const language= useStorage('language',0)
const {proxy} = getCurrentInstance()
const list = ref([])
const user = useUserStore().user
const query = ref({
activeId:'',
createById:'',
venueId:''
createById: user.userId
})
getList()
function getList() {
if(!user){
useUserStore().setReLogin()
return
}
getInvoiceByActiveId(query.value).then(res=>{
list.value = res.rows
})
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!