Commit d283586a authored by huangjie's avatar huangjie

供应商管理

parent 2c96e8a3
......@@ -5,10 +5,10 @@ VUE_APP_TITLE = 数字化经营履约全生命链路管理系统
ENV = 'production'
# 数字化经营履约全生命链路管理系统/生产环境
VUE_APP_BASE_API = 'https://szhapi.jiansheku.com'
VUE_APP_BASE_API = 'http://111.204.34.146:9099/prod-api'
# 子系统地址
VUE_APP_SUB_SYSTEM_ADDRESS = "https://plug.jiansheku.com"
#VUE_APP_SUB_SYSTEM_ADDRESS = "https://plug.jiansheku.com"
# Bi大屏系统地址
VUE_APP_BI_SYSTEM_ADDRESS = "https://192.168.60.104:8001"
#VUE_APP_BI_SYSTEM_ADDRESS = "https://192.168.60.104:8001"
......@@ -7,4 +7,4 @@ NODE_ENV = production
ENV = 'staging'
# 数字化经营履约全生命链路管理系统/测试环境
VUE_APP_BASE_API = '/stage-api'
VUE_APP_BASE_API = '/prod-api'
......@@ -224,7 +224,7 @@
</el-table-column>
<el-table-column label="分包商等级" min-width="120" :resizable="false">
<template slot-scope="scope">
<span class="creditLevel" @click="getFBS(scope.row)">{{scope.row.legalPerson||"--"}}</span>
<span class="creditLevel" @click="getFBS(scope.row)">{{scope.row.creditLevel||"--"}}</span>
</template>
</el-table-column>
<el-table-column label="链接" min-width="160" :resizable="false">
......
......@@ -89,15 +89,15 @@
<span>{{(formdata.pageNum - 1) *formdata.pageSize + scope.$index + 1}}</span>
</template>
</el-table-column>
<el-table-column label="供应商编号" :fixed="tableColumnFixed" width="120" :resizable="false">
<el-table-column label="供应商编号" prop="customerCode" :fixed="tableColumnFixed" width="120" :resizable="false">
</el-table-column>
<el-table-column label="供应商名称" :fixed="tableColumnFixed" width="380" :resizable="false">
<template slot-scope="scope">
<div class="renling">
<div style="display:flex;align-items:center">
<router-link :to="`/enterprise/${encodeStr(scope.row.id)}`" tag="a"
class="wordprimary" v-html="scope.row.name"></router-link>
<router-link :to="`/enterprise/${encodeStr(scope.row.companyId)}`" tag="a"
class="wordprimary" v-html="scope.row.customerName"></router-link>
</div>
</div>
......@@ -107,87 +107,87 @@
<el-table-column label="推荐单位" min-width="280">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.recommendOrg||"--"}}
</template>
</el-table-column>
<el-table-column label="公司注册区域" min-width="120" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.registerRegion||"--"}}
</template>
</el-table-column>
<el-table-column label="公司注册省" min-width="120" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.registerProvince||"--"}}
</template>
</el-table-column>
<el-table-column label="公司注册城市" min-width="120" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.registerCity||"--"}}
</template>
</el-table-column>
<el-table-column label="专业类别" min-width="85" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.groupSpecialty||"--"}}
</template>
</el-table-column>
<el-table-column label="法人代表" min-width="85" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.representative||"--"}}
</template>
</el-table-column>
<el-table-column label="纳税人身份" min-width="120" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.paytaxType||"--"}}
</template>
</el-table-column>
<el-table-column label="纳税人税率" min-width="120" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.taxRate||"--"}}
</template>
</el-table-column>
<el-table-column label="施工承包范围" min-width="120" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.constructJobScope||"--"}}
</template>
</el-table-column>
<el-table-column label="资质等级" min-width="85" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.credential||"--"}}
</template>
</el-table-column>
<el-table-column label="注册资本(万元)" min-width="120" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.registerCapital||"--"}}
</template>
</el-table-column>
<el-table-column label="公司联系人" min-width="120" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.contactPerson||"--"}}
</template>
</el-table-column>
<el-table-column label="联系人电话" min-width="120" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.contactPhone||"--"}}
</template>
</el-table-column>
<el-table-column label="准入时间" min-width="120" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.approveDate2||"--"}}
</template>
</el-table-column>
<el-table-column label="公司合作数量" min-width="120" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
{{scope.row.enterpriseCooperationCount||"--"}}
</template>
</el-table-column>
<el-table-column label="合作项目数量" min-width="120" :resizable="false">
<template slot-scope="scope">
<span>{{scope.row.legalPerson||"--"}}</span>
<span>{{scope.row.projectCooperationCount||"--"}}</span>
</template>
</el-table-column>
<el-table-column label="分包商等级" min-width="120" :resizable="false">
<template slot-scope="scope">
<span class="wordprimary" @click="getFBS(scope.row)">{{scope.row.legalPerson||"--"}}</span>
<span class="wordprimary" @click="getFBS(scope.row)">{{scope.row.creditLevel||"--"}}</span>
</template>
</el-table-column>
<el-table-column label="链接" min-width="160" :resizable="false">
......@@ -198,7 +198,7 @@
</el-table-column>
<el-table-column label="资源平台分类" min-width="120" :resizable="false">
<template slot-scope="scope">
{{scope.row.legalPerson||"--"}}
--
</template>
</el-table-column>
......@@ -259,6 +259,7 @@
import skeleton from '@/views/project/projectList/component/skeleton'
import { areaAll, bizDictData, custmerInfolist } from '@/api/supplier/supplier'
import { getDicts } from '@/api/system/dict/data'
import {queryConditionFiltering} from '@/utils/index'
export default {
name: 'professionalSubcontracting',
......@@ -372,8 +373,42 @@
},
cusoomerInfolist(){
this.isSkeleton = true
custmerInfolist(JSON.stringify(this.formdata)).then(res=>{
let param = this.formdata
if(param.times){
param.approveDate2Start = param.times[0]
param.approveDate2End = param.times[1]
}else{
param.approveDate2Start = ''
param.approveDate2End = ''
}
if(param.groupSpecialty){
param.groupSpecialty.forEach(item=>{
param.groupSpecialtyId.push(item[item.length-1])
})
}else{
param.groupSpecialtyId = []
}
if(param.areas){
let province = []
let city = []
param.areas.forEach(item=>{
if(item.length == 3){//到市
if(item[1].indexOf('重庆')>-1||item[1].indexOf('北京')>-1||item[1].indexOf('天津')>-1||item[1].indexOf('上海')>-1){
province.push(item[1])
}else{
city.push(item[2])
}
}
})
param.registerProvince = province
param.registerCity = city
}else{
param.registerProvince = []
param.registerCity = []
}
console.log(queryConditionFiltering(this.formdata))
return false
custmerInfolist(queryConditionFiltering(this.formdata)).then(res=>{
this.isSkeleton = false
this.tableData = res.rows
this.total = res.total
......@@ -401,7 +436,7 @@
},
//点击准入
goAccess(row){
this.$tab.openPage('测试一下-准入情况', '/supplier/supplierlist/access')
this.$tab.openPage(row.customerName+'-准入情况', '/supplier/supplierlist/access',{customerKey:row.customerKey})
},
//点击考评
goAssessment(row){
......
......@@ -35,9 +35,10 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://47.104.91.229:9099/prod-api`,//测试
// target: `http://47.104.91.229:9099/prod-api`,//测试-旧
target: `http://111.204.34.146:9099/prod-api`,//测试
// target: `https://szhapi.jiansheku.com`,//线上
// target: `http://192.168.60.5:9098`,//陈跃方
// target: `http://122.9.160.122:9011`, //线上
// target: `http://192.168.0.165:9098`,//施-无线
// target: `http://192.168.60.46:9098`,//施-有线
......
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