Commit 4d5957a4 authored by huangjie's avatar huangjie

供应商管理

parent 06751588
import request from '@/utils/request';
//获取地区树
export function areaAll() {
return request({
url: '/area/all',
method: 'get',
});
}
//供应商总台账
export function customerAll(param) {
return request({
url: '/customer/all/searchList',
data:param,
method: 'POSt',
});
}
//专业类别选项列表
export function bizDictData() {
return request({
url: '/bizDictData/tree?type=0',
method: 'get',
});
}
//供应商管理分类列表
export function custmerInfolist(param) {
return request({
url: '/customerInfo/list',
method: 'POST',
data: param
});
}
//供应商准入信息
export function custmerInfo(param) {
return request({
url: '/customer/info/'+param,
method: 'get',
});
}
......@@ -148,6 +148,9 @@
border-right: 1px solid #E6E9F0;
border-bottom: 1px solid #E6E9F0;
background: #fff;
&.bg{
background: #F9FCFF;
}
.label {
width: 10%;
height: auto;
......@@ -177,6 +180,24 @@
}
.tab{
border-right: 1px solid #E6E9F0;
}
.tab:nth-child(1){
width: 20%;
}
.tab:nth-child(2){
width: 15%;
}
.tab:nth-child(3){
width: 10%;
}
.tab:nth-child(4){
width: 35%;
}
.tab:nth-child(5){
width: 20%;
}
}
}
......
......@@ -115,13 +115,13 @@ service.interceptors.response.use(res => {
});
}
return Promise.reject('无效的会话,或者会话已过期,请重新登录。')
} else if (code === 500 && apiList.includes(res.config.url)) {
} else if (code === 500) {
Message({ message: msg, type: 'error' })
return Promise.reject(new Error(msg))
} else if (code === 601 && apiList.includes(res.config.url)) {
} else if (code === 601) {
Message({ message: msg, type: 'warning' })
return Promise.reject('error')
} else if (code !== 200 && apiList.includes(res.config.url)) {
} else if (code !== 200) {
Notification.error({ title: msg })
return Promise.reject('error')
} else {
......
This diff is collapsed.
......@@ -4,7 +4,7 @@
<div class="search-supplier">
<div class="title_wrap">
<div class="enterprise_title">
租赁服务
机械施工
</div>
</div>
<div class="content-supplier">
......
......@@ -3,7 +3,7 @@
<div class="search-supplier">
<div class="title_wrap">
<div class="enterprise_title">
分供分包类
物资设备
</div>
</div>
<div class="content-supplier">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment