peixh 3 éve
szülő
commit
f5581a7fdf

+ 6 - 3
front-vue/src/api/common/company.js

@@ -1,9 +1,12 @@
 import request from '@/utils/request'
 
-// 查询项目类型信息列表
-export function listCompany() {
+// 根据类型查询企业
+export function listCompany(scyType,scyId) {
+  if(!scyId){
+    scyId = null
+  }
   return request({
-    url: '/sc-service-ch/company/list',
+    url: '/sc-service_pxh/company/list/' + scyType +  '/' + scyId,
     method: 'get',
   })
 }

+ 13 - 0
front-vue/src/api/common/companyAcc.js

@@ -0,0 +1,13 @@
+import request from '@/utils/request'
+
+// 查询核心企业还款账户
+export function listCompanyAcc(zfpcrAccount) {
+  if(!zfpcrAccount){
+    zfpcrAccount = null
+  }
+  return request({
+    url: '/sc-service_pxh/companyAcc/list/' + zfpcrAccount,
+    method: 'get',
+  })
+}
+

+ 12 - 0
front-vue/src/api/common/financeProduct.js

@@ -0,0 +1,12 @@
+import request from '@/utils/request'
+
+// 查询融资产品
+export function listFinanceProduct(zfpcrProductId) {
+  if(!zfpcrProductId){
+    zfpcrProductId = null
+  }
+  return request({
+    url: '/sc-service_pxh/commonFinanceProduct/list/' + zfpcrProductId,
+    method: 'get'
+  })
+}