123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- import request from '@/utils/request'
- import qs from 'qs'
- export const getBaseContactsInfos = (params) => {
- return new request({
- url: './project/baseContactsInfos/',
- method: 'get',
- params: params
- });
- }
- export const getMemberUnit = (params) => {
- return new request({
- url: './project/baseUnitViews/getMemberUnit',
- method: 'get',
- params: params
- });
- }
- // 我的收藏
- export const getPortalMyCollecModel = (params) => {
- return new request({
- url: './op/basePortalModelCollectInfos/getPortalMyCollecModel',
- method: 'get',
- params: params
- });
- }
- export const get = (id) => {
- return new request({
- url: './project/baseContactsInfos/' + id,
- method: 'get',
- });
- }
- export function saveOrUpdate(baseContactsInfo, token) {
- return new request({
- url: './project/baseContactsInfos',
- method: (baseContactsInfo.id ? 'put' : 'post'),
- headers: {
- token
- },
- data: {
- baseContactsInfo
- }
- });
- }
- export function getMemberInformation(params) {
- return new request({
- url: './personnel/baseMemberInfos/searchByType',
- method: 'get',
- params: params
- });
- }
- export function getnetworkData(baseContactsInfo, token) {
- return new request({
- url: './personnel/baseMemberInfos/showMemeberNumber',
- method: 'get',
-
- });
- }
- export function del(id) {
- return new request({
- url: './project/baseContactsInfos/' + id,
- method: 'delete',
- });
- }
- export function getMemberLeagueUnit(unitId) {
- return new request({
- url: './personnel/baseMemberInfos/getMemberLeagueUnit',
- method: 'get',
- params:{
- unitId:unitId
- }
- });
- }
|