123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- import http from '@/http/api.js'
- // 省市区
- export function urbanAreas(data) {
- return http.request({
- url: '/blade-system/region/lazy-list',
- method: 'GET',
- data
- })
- }
- // 查询业务员
- export function gainUser(data) {
- return http.request({
- url: '/blade-user/client/gainUser',
- method: 'GET',
- data
- })
- }
- // 查询基础资料分类
- export function customerType(data) {
- return http.request({
- url: '/blade-client/corpstype/tree',
- method: 'GET',
- data
- })
- }
- // 查询所有基础资料分类
- export function customerTypeAllList(data) {
- return http.request({
- url: '/blade-sales-part/corpstype/tree',
- method: 'GET',
- data
- })
- }
- // 保存修改
- export function saveChanges(data) {
- return http.request({
- url: '/blade-client/corpsdesc/submit',
- method: 'POST',
- data
- })
- }
- // 删除地址
- export function removeAddr(data) {
- return http.request({
- url: '/blade-client/corpsAddr/remove',
- method: 'POST',
- params:data
- })
- }
- // 删除附件
- export function removeFile(data) {
- return http.request({
- url: '/blade-client/corpsfiles/remove',
- method: 'POST',
- params:data
- })
- }
- // 查询明细
- export function queryDetail(data) {
- return http.request({
- url: '/blade-client/corpsdesc/detail',
- method: 'GET',
- data
- })
- }
- // 查询列表
- export function queryList(data) {
- return http.request({
- url: '/blade-sales-part/corpsDesc/list',
- method: 'GET',
- data
- })
- }
- // 获取业务员数据
- export function clientGetUserByRole(data) {
- return http.request({
- url: '/blade-user/client/getUserByRole',
- method: 'GET',
- data
- })
- }
- // 获取地理位置
- export function regionSelectList(data) {
- return http.request({
- url: '/blade-system/region/selectList',
- method: 'GET',
- data
- })
- }
- // 客户保存数据
- export function corpsDescSubmit(data) {
- return http.request({
- url: '/blade-sales-part/corpsDesc/submit',
- method: 'POST',
- data:data
- })
- }
- // 客户新的保存数据
- export function corpsDescAppSubmitV1(data) {
- return http.request({
- url: '/blade-sales-part/corpsDesc/appSubmitV1',
- method: 'POST',
- data:data
- })
- }
- // 客户里客户联系人删除
- export function corpsAttnUpdate(data) {
- return http.request({
- url: '/blade-sales-part/corpsAttn/update',
- method: 'POST',
- data:data
- })
- }
- // 客户里地址信息删除
- export function corpsAddrUpdate(data) {
- return http.request({
- url: '/blade-sales-part/corpsAddr/update',
- method: 'POST',
- data:data
- })
- }
- // 获取供应商数据 (新)
- export function corpstypeTree(data) {
- return http.request({
- url: '/blade-sales-part/corpstype/tree',
- method: 'GET',
- data
- })
- }
- // 轮胎的附件删除
- export function corpsfilesRemove(data) {
- return http.request({
- url: '/blade-sales-part/corpsfiles/remove',
- method: 'POST',
- params:data
- })
- }
- // 生成二维码
- export function getQRcode(data) {
- return http.request({
- url: '/blade-weChat/weChat/QRcode/getQRcode',
- method: 'GET',
- data
- })
- }
- // 生成二维码
- export function getBrand(data) {
- return http.request({
- url: '/blade-sales-part/brandDesc/listAllV1?type=PP',
- method: 'GET',
- data
- })
- }
|