7aa47859 by lihua

统计接口添加当前人员传参

1 parent f700e474
......@@ -399,9 +399,10 @@ export const updateDissentState = (params) => request({
})
// 获取数交所数据
export const getExchangeList = () => request({
export const getExchangeList = (params) => request({
url: `${import.meta.env.VITE_API_NEW_PORTAL}/register-base/register-num`,
method: 'post'
method: 'post',
data: params
})
......
......@@ -34,9 +34,10 @@ export const getListingList = (params) => request({
})
/**获取产品上架数量 */
export const getListingCount = () => request({
export const getListingCount = (params) => request({
url: `${import.meta.env.VITE_API_NEW_PORTAL}/product-grounding/product-num`,
method: 'post',
data: params
})
// 驳回流程数据
......
......@@ -341,7 +341,9 @@ const getTableData = () => {
}
const getExchangeData = () => {
getExchangeList().then((res: any) => {
getExchangeList({
currentStaffGuid: userData.staffGuid
}).then((res: any) => {
if (res.code == proxy.$passCode) {
const data = res.data || [];
exchangeList.value = chunk(data, 4);
......
......@@ -242,7 +242,9 @@ const toSearch = (val: any, clear: boolean = false) => {
// 获取产品上架数量
const getListingCountData = () => {
flowDetailLoading.value = true;
getListingCount().then((res: any) => {
getListingCount({
currentStaffGuid: userData.staffGuid
}).then((res: any) => {
flowDetailLoading.value = false;
if (res.code == proxy.$passCode) {
demandListData.value = res.data || [];
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!