guhongwei 5 лет назад
Родитель
Сommit
5070ca6f28
2 измененных файлов с 10 добавлено и 5 удалено
  1. 9 3
      src/store/intelligentDocking.js
  2. 1 2
      src/store/intelligentFollow.js

+ 9 - 3
src/store/intelligentDocking.js

@@ -4,13 +4,15 @@ import _ from 'lodash';
 Vue.use(Vuex);
 const api = {
   intelligentDockingInfo: `/api/financial/intelligentDocking`,
+  dockingSearchInfo: `/api/financial/intelligentDocking/intelligentDocking`,
 };
 const state = () => ({});
 const mutations = {};
 
 const actions = {
   //列表查询
-  async dockingSearch({ commit }, payload) {// 列表
+  async dockingSearch({ commit }, payload) {
+    // 列表
     const res = await this.$axios.$post(`${api.intelligentDockingInfo}/dockingSearch`, payload);
     return res;
   },
@@ -25,7 +27,7 @@ const actions = {
   },
   // 详情
   async one({ commit }, payload) {
-    const res = await this.$axios.$post(`${api.intelligentDockingInfo}/one`,payload);
+    const res = await this.$axios.$post(`${api.intelligentDockingInfo}/one`, payload);
     return res;
   },
   // 拒绝
@@ -33,7 +35,11 @@ const actions = {
     const res = await this.$axios.$post(`${api.intelligentDockingInfo}/refuseDocking`, payload);
     return res;
   },
-
+  // 已完成
+  async dockingSearchs({ commit }, payload) {
+    const res = await this.$axios.$post(`${api.dockingSearchInfo}/dockingSearch`, payload);
+    return res;
+  },
 };
 export default {
   namespaced: true,

+ 1 - 2
src/store/intelligentFollow.js

@@ -9,7 +9,6 @@ const state = () => ({});
 const mutations = {};
 
 const actions = {
-
   async query({ commit }, { skip = 0, limit, ...info } = {}) {
     const res = await this.$axios.$get(`${api.intelligentFollow}`, { skip, limit, ...info });
     return res;
@@ -17,7 +16,7 @@ const actions = {
 
   // 关注前请求的接口
   async beforFollow({ commit }, payload) {
-    const res = await this.$axios.$post(`${api.intelligentFollow}/beforFollow`,payload);
+    const res = await this.$axios.$post(`${api.intelligentFollow}/beforFollow`, payload);
     return res;
   },
   // 授信