lanxin пре 20 часа
родитељ
комит
de9ab9401b
2 измењених фајлова са 5 додато и 6 уклоњено
  1. 3 1
      src/pages/Abench/A4proof/index.tsx
  2. 2 5
      src/store/action/Abench/A4proof.ts

+ 3 - 1
src/pages/Abench/A4proof/index.tsx

@@ -93,9 +93,11 @@ function A4proof() {
   const staBtn = useMemo(() => {
   const staBtn = useMemo(() => {
     return [
     return [
       {
       {
-        title: '申请类型',
+        title: '业务类型',
         render: (item: any) => {
         render: (item: any) => {
           let txt = '(空)'
           let txt = '(空)'
+          console.log('--------', item.moduleName)
+
           const obj = list.find(v => v.value === item.moduleName)
           const obj = list.find(v => v.value === item.moduleName)
           if (obj) txt = obj.label
           if (obj) txt = obj.label
           return txt
           return txt

+ 2 - 5
src/store/action/Abench/A4proof.ts

@@ -47,9 +47,6 @@ export const API_getGoodsListAll = () => {
 /**
 /**
  * 通用下载-批量下载
  * 通用下载-批量下载
  */
  */
-export const API_download = (ids: number[], downloadType?: number) => {
-  return http.post(`cms/file/downloadBatch`, {
-    ids,
-    downloadType
-  })
+export const API_download = (ids: number[]) => {
+  return http.post(`cms/file/downloadBatch`, ids)
 }
 }