import request from '@/utils/request';
import { AxiosPromise } from 'axios';

/**
 * 客户重要资料变更追踪清单
 * @returns {*}
 */

export const listChangeInventory = (query) => {
  return request({
    url: '/customer/customerChangeInventory/list',
    method: 'get',
    params: query
  });
};

/**
 * 查询客户重要资料变更详情
 */
export const getChangeInventoryDetail = (changeId) => {
  const data = {
    changeId
  };
  return request({
    url: '/customer/customerChangeInventory/view',
    method: 'post',
    data: data
  });
};
