пре 1 година
родитељ
комит
8e59eca6b7
2 измењених фајлова са 12 додато и 2 уклоњено
  1. 10 0
      src/api/sb/info.js
  2. 2 2
      src/views/sb/info/SbInfoC.vue

+ 10 - 0
src/api/sb/info.js

@@ -16,6 +16,16 @@ export function getSbInfoPage (parameter) {
     }
   })
 }
+
+export function getSbInfoPage2 (parameter) {
+  return axios({
+    url: '/sb/infos/page2?' + stringify(parameter),
+    method: 'get',
+    headers: {
+      'Content-Type': 'application/json;charset=UTF-8'
+    }
+  })
+}
 /**
  * page func
  * parameter: { }

+ 2 - 2
src/views/sb/info/SbInfoC.vue

@@ -319,7 +319,7 @@ import BaseFormMeasureInStore from './modules/BaseFormMeasureInStore'
 import BaseFormLocation from './modules/BaseFormLocation'
 import DownloadModal from '@/views/download/DownloadModal'
 import PreviewModal from '@/views/preview/PreviewModal'
-import { getSbInfoPage, deleteSbInfos, querySbInfo, getLogBySbId, updateLogBySbId, fetchSbInfo, fetchSbInfos, exportSbInfo2, batchLocationList } from '@/api/sb/info'
+import { getSbInfoPage2, deleteSbInfos, querySbInfo, getLogBySbId, updateLogBySbId, fetchSbInfo, fetchSbInfos, exportSbInfo2, batchLocationList } from '@/api/sb/info'
 import { queryDept } from '@/api/upms/dept'
 import { generateSbCodeAll } from '@/api/upms/code'
 import { fetchSbTypeTree } from '@/api/sb/type'
@@ -739,7 +739,7 @@ export default {
           }
         }
         this.selectedRowKeys = []
-        return getSbInfoPage(Object.assign(parameter, this.queryParam))
+        return getSbInfoPage2(Object.assign(parameter, this.queryParam))
           .then(res => {
             return res.data
           })