机构查询订单
This commit is contained in:
parent
5e182da86c
commit
c1cef6d434
@ -155,6 +155,7 @@ import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import { OrderApi, OrderVO } from '@/api/order'
|
||||
import OrderForm from './OrderForm.vue'
|
||||
import { getUserProfile } from '@/api/system/user/profile'
|
||||
|
||||
/** 会员订单 列表 */
|
||||
defineOptions({ name: 'Order' })
|
||||
@ -212,6 +213,8 @@ const exportLoading = ref(false) // 导出的加载中
|
||||
const getList = async () => {
|
||||
loading.value = true
|
||||
try {
|
||||
const userProfile = await getUserProfile()
|
||||
queryParams.orgid = userProfile.dept.orgid
|
||||
const data = await OrderApi.getOrderPage(queryParams)
|
||||
list.value = data.list
|
||||
total.value = data.total
|
||||
|
||||
Loading…
Reference in New Issue
Block a user