7aa47859 by lihua

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

1 parent f700e474
...@@ -399,9 +399,10 @@ export const updateDissentState = (params) => request({ ...@@ -399,9 +399,10 @@ export const updateDissentState = (params) => request({
399 }) 399 })
400 400
401 // 获取数交所数据 401 // 获取数交所数据
402 export const getExchangeList = () => request({ 402 export const getExchangeList = (params) => request({
403 url: `${import.meta.env.VITE_API_NEW_PORTAL}/register-base/register-num`, 403 url: `${import.meta.env.VITE_API_NEW_PORTAL}/register-base/register-num`,
404 method: 'post' 404 method: 'post',
405 data: params
405 }) 406 })
406 407
407 408
......
...@@ -34,9 +34,10 @@ export const getListingList = (params) => request({ ...@@ -34,9 +34,10 @@ export const getListingList = (params) => request({
34 }) 34 })
35 35
36 /**获取产品上架数量 */ 36 /**获取产品上架数量 */
37 export const getListingCount = () => request({ 37 export const getListingCount = (params) => request({
38 url: `${import.meta.env.VITE_API_NEW_PORTAL}/product-grounding/product-num`, 38 url: `${import.meta.env.VITE_API_NEW_PORTAL}/product-grounding/product-num`,
39 method: 'post', 39 method: 'post',
40 data: params
40 }) 41 })
41 42
42 // 驳回流程数据 43 // 驳回流程数据
......
...@@ -341,7 +341,9 @@ const getTableData = () => { ...@@ -341,7 +341,9 @@ const getTableData = () => {
341 } 341 }
342 342
343 const getExchangeData = () => { 343 const getExchangeData = () => {
344 getExchangeList().then((res: any) => { 344 getExchangeList({
345 currentStaffGuid: userData.staffGuid
346 }).then((res: any) => {
345 if (res.code == proxy.$passCode) { 347 if (res.code == proxy.$passCode) {
346 const data = res.data || []; 348 const data = res.data || [];
347 exchangeList.value = chunk(data, 4); 349 exchangeList.value = chunk(data, 4);
......
...@@ -242,7 +242,9 @@ const toSearch = (val: any, clear: boolean = false) => { ...@@ -242,7 +242,9 @@ const toSearch = (val: any, clear: boolean = false) => {
242 // 获取产品上架数量 242 // 获取产品上架数量
243 const getListingCountData = () => { 243 const getListingCountData = () => {
244 flowDetailLoading.value = true; 244 flowDetailLoading.value = true;
245 getListingCount().then((res: any) => { 245 getListingCount({
246 currentStaffGuid: userData.staffGuid
247 }).then((res: any) => {
246 flowDetailLoading.value = false; 248 flowDetailLoading.value = false;
247 if (res.code == proxy.$passCode) { 249 if (res.code == proxy.$passCode) {
248 demandListData.value = res.data || []; 250 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!