Commit e937668c authored by yht15023815643's avatar yht15023815643

集团户

parent f2b43518
...@@ -123,6 +123,14 @@ let centralEnterprseChild= function centralEnterprseChild(param) { ...@@ -123,6 +123,14 @@ let centralEnterprseChild= function centralEnterprseChild(param) {
data: param data: param
}) })
} }
// 央企子集团更多
let centralEnterprseChildPage= function centralEnterprseChildPage(param) {
return request({
url: '/combine/info/centralEnterprse/child/page',
method: 'post',
data: param
})
}
// 地方国企 // 地方国企
let centralEnterprselocal= function centralEnterprselocal(param) { let centralEnterprselocal= function centralEnterprselocal(param) {
return request({ return request({
...@@ -131,6 +139,14 @@ let centralEnterprselocal= function centralEnterprselocal(param) { ...@@ -131,6 +139,14 @@ let centralEnterprselocal= function centralEnterprselocal(param) {
data: param data: param
}) })
} }
// 地方国企更多
let centralEnterprselocalPage= function centralEnterprselocalPage(param) {
return request({
url: '/combine/info/centralEnterprse/local/page',
method: 'post',
data: param
})
}
// 民营集团 // 民营集团
let centralEnterprsesocial= function centralEnterprsesocial(param) { let centralEnterprsesocial= function centralEnterprsesocial(param) {
return request({ return request({
...@@ -139,8 +155,22 @@ let centralEnterprsesocial= function centralEnterprsesocial(param) { ...@@ -139,8 +155,22 @@ let centralEnterprsesocial= function centralEnterprsesocial(param) {
data: param data: param
}) })
} }
// 民营集团更多
let centralEnterprsesocialPage= function centralEnterprsesocialPage(param) {
return request({
url: '/combine/info/centralEnterprse/social/page',
method: 'post',
data: param
})
}
//企业标签
let label= function label(param) {
return request({
url: '/enterprise/label',
method: 'post',
data: param
})
}
export default {label,centralEnterprsesocialPage,centralEnterprselocalPage,centralEnterprseChildPage,centralEnterprsesocial,centralEnterprselocal,centralEnterprseChild,searchCentralEnterprse,centralEnterprse,region,aptitudeCode,personCert,searchDic,regionWebList,uipGroupData,uipSerach,claim,cancelClaim,enterprisePage,infoHeader,historyClaim,customerStatus}
export default {centralEnterprsesocial,centralEnterprselocal,centralEnterprseChild,searchCentralEnterprse,centralEnterprse,region,aptitudeCode,personCert,searchDic,regionWebList,uipGroupData,uipSerach,claim,cancelClaim,enterprisePage,infoHeader,historyClaim,customerStatus}
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
:queryParams="queryParams" :queryParams="queryParams"
@handle-current-change="handleCurrentChange" @handle-current-change="handleCurrentChange"
> >
<template slot="sourceType" slot-scope="scope"> <template slot="sourceType" slot-scope="scope">
<div class="flex-box"> <div class="flex-box">
<div class="a-link" @click="linkTo(scope)" v-if="scope.row.sourceId&&scope.row.sourceType=='中标业绩'" v-html="scope.row.sourceType" style="cursor: pointer"></div> <div class="a-link" @click="linkTo(scope)" v-if="scope.row.sourceId&&scope.row.sourceType=='中标业绩'" v-html="scope.row.sourceType" style="cursor: pointer"></div>
<span v-else v-html="scope.row.sourceType || '--'"></span> <span v-else v-html="scope.row.sourceType || '--'"></span>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<head-detail-form <head-detail-form
:form-data="formData" :form-data="formData"
:query-params="queryParams" :query-params="queryParams"
:total="tableDataTotal" :total="data.total"
:amountTotal="amountTotal" :amountTotal="amountTotal"
@handle-search="handleSearch" @handle-search="handleSearch"
/> />
...@@ -19,13 +19,14 @@ ...@@ -19,13 +19,14 @@
:tableLoading="tableLoading" :tableLoading="tableLoading"
:tableData="tableData" :tableData="tableData"
:forData="forData" :forData="forData"
:tableDataTotal="tableDataTotal" :tableDataTotal="data.total"
:queryParams="queryParams" :queryParams="queryParams"
@handle-current-change="handleCurrentChange" @handle-current-change="handleCurrentChange"
> >
<template slot="projectAllName" slot-scope="scope"> <template slot="sourceType" slot-scope="scope">
<div class="flex-box"> <div class="flex-box">
<span v-html="scope.row.projectAllName || '--'"></span> <div class="a-link" @click="linkTo(scope)" v-if="scope.row.sourceId&&scope.row.sourceType=='中标业绩'" v-html="scope.row.sourceType" style="cursor: pointer"></div>
<span v-else v-html="scope.row.sourceType || '--'"></span>
</div> </div>
</template> </template>
</tables> </tables>
...@@ -52,8 +53,8 @@ export default { ...@@ -52,8 +53,8 @@ export default {
return { return {
drawer: false, drawer: false,
queryParams: { queryParams: {
cid: this.data.companyId, companyId: this.data.companyId,
unitId: this.companyId, cid: this.companyId,
pageNum: 1, pageNum: 1,
pageSize: 20 pageSize: 20
}, },
...@@ -62,11 +63,11 @@ export default { ...@@ -62,11 +63,11 @@ export default {
{ type: 3, fieldName: 'keys', value: '', placeholder: '输入合作项目/工程名称查询', options: [], width: 260}, { type: 3, fieldName: 'keys', value: '', placeholder: '输入合作项目/工程名称查询', options: [], width: 260},
], ],
forData: [ forData: [
{label: '项目名称', prop: 'projectAllName', fixed: true, slot: true}, {label: '项目名称', prop: 'projectName', fixed: true},
{label: '公布时间', prop: 'winBidTime', width: '100'}, {label: '公布时间', prop: 'time', width: '100'},
{label: '本次合同金额(万元)', prop: 'winBidAmount', width: '160'}, {label: '本次合同金额(万元)', prop: 'amount', width: '160'},
{label: '项目类型', prop: 'boundType', width: '130'}, {label: '项目类型', prop: 'projectType', width: '130'},
{label: '数据来源', prop: 'sourceName', width: '90', slot: true} {label: '数据来源', prop: 'sourceType', width: '90', slot: true}
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
...@@ -99,7 +100,7 @@ export default { ...@@ -99,7 +100,7 @@ export default {
}, },
linkTo(scope){ linkTo(scope){
this.drawer = false this.drawer = false
this.$router.push(`/biddetail/${scope.row.id}`) this.$router.push(`/biddetail/${scope.row.sourceId}`)
}, },
cancel() { cancel() {
this.$emit('cancel') this.$emit('cancel')
......
...@@ -83,8 +83,11 @@ export default { ...@@ -83,8 +83,11 @@ export default {
}, },
//排序 //排序
sortChange(e){ sortChange(e){
console.log(e)
let item = this.forData.find(item => item.prop === e.prop) let item = this.forData.find(item => item.prop === e.prop)
this.queryParams.sort = item[e.order] this.queryParams.sort = item[e.order]
console.log(this.queryParams)
this.handleSearch() this.handleSearch()
} }
} }
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</el-popover> </el-popover>
</div> </div>
<span style="float: left;" :class="!labelArr.includes(companyInfo.businessStatus)?'label-bg1':'label-bg3'" v-if="companyInfo.businessStatus">{{companyInfo.businessStatus}}</span> <span style="float: left;" :class="!labelArr.includes(companyInfo.businessStatus)?'label-bg1':'label-bg3'" v-if="companyInfo.businessStatus">{{companyInfo.businessStatus}}</span>
<!-- <span style="float: left;" :class="item.state===0?'label-bg2':'label-bg3'" v-for="(item, index) in labelList" :key="index">{{item.labelName}}</span> <span style="float: left;" :class="item.state===0?'label-bg2':'label-bg3'" v-for="(item, index) in labelList" :key="index">{{item.labelName}}</span>
<template v-if="enterpriseLabel.length > 0"> <template v-if="enterpriseLabel.length > 0">
<template v-for="(item,index) in enterpriseLabel"> <template v-for="(item,index) in enterpriseLabel">
<template v-if="item.children.length > 0"> <template v-if="item.children.length > 0">
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<span v-else class="enterpriseLabel-span" :style="{'background':item.bgColor,'color':item.fontColor,'cursor':item.linkUri ? 'pointer' : ''}">{{item.labelName}}</span> <span v-else class="enterpriseLabel-span" :style="{'background':item.bgColor,'color':item.fontColor,'cursor':item.linkUri ? 'pointer' : ''}">{{item.labelName}}</span>
</template> </template>
</template> </template>
</template>--> </template>
</div> </div>
</div> </div>
</div> </div>
...@@ -98,6 +98,19 @@ ...@@ -98,6 +98,19 @@
<div class="company-swiper"> <div class="company-swiper">
<div class="swiper-containers swiper-info" :style="graphList.length<=6?'margin-left:0px; width: 100%;':''"> <div class="swiper-containers swiper-info" :style="graphList.length<=6?'margin-left:0px; width: 100%;':''">
<ul class="swiper-wrapper"> <ul class="swiper-wrapper">
<li class="swiper-slide" v-if="statistic.combineMember">
<div class="flex-box" >
<img src="@/assets/images/detail/overview/company_ywwl.png" alt="所属集团" title="所属集团" class="swiper-img">
<div class="swiper-item">
<span class="swiper-name">
所属集团{{statistic.combineMember.companyName}}
</span>
<div >
<span >集团成员:</span><i class="num" @click="linkTo(statistic.combineMember)">{{statistic.combineMember.memberNum}}</i>
</div>
</div>
</div>
</li>
<template v-for="(item, index) in graphList" > <template v-for="(item, index) in graphList" >
<li class="swiper-slide" :key="index"> <li class="swiper-slide" :key="index">
<div class="flex-box" @click="handleGraph(item)"> <div class="flex-box" @click="handleGraph(item)">
...@@ -203,6 +216,11 @@ export default { ...@@ -203,6 +216,11 @@ export default {
mounted() { mounted() {
this.handleWidth() //企业背景是否收起 this.handleWidth() //企业背景是否收起
this.companySwiper() //swiper滚动板块 this.companySwiper() //swiper滚动板块
api.label({companyId:this.companyId}).then(res=>{
if(res.code==200){
this.labelList = res.data
}
})
}, },
methods: { methods: {
//认领 //认领
...@@ -336,6 +354,9 @@ export default { ...@@ -336,6 +354,9 @@ export default {
break break
} }
}, },
linkTo(item){
this.$router.push({path:`/groupAccount/${item.companyId}?name=${item.companyName}`})
},
//swiper子项点击 //swiper子项点击
handleGraphChild(item, it){ handleGraphChild(item, it){
if(it.id==101 && it.val){ if(it.id==101 && it.val){
......
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
<ul class="bottomlist-content" v-if="tableData.length>0&& !isSkeleton"> <ul class="bottomlist-content" v-if="tableData.length>0&& !isSkeleton">
<li class="bottomlist-list" v-for="item in tableData"> <li class="bottomlist-list" v-for="item in tableData">
<p class="list-titel"> <p class="list-titel">
<router-link :to="'/radar/Bidding/details/'+ item.id" tag="a" class="list-titel-a" v-html="item.projectName" ></router-link> <router-link :to="'/radar/Bidding/details/'+ item.uuid" tag="a" class="list-titel-a" v-html="item.projectName" ></router-link>
<!-- <div v-else-if="item.projectName" v-html="item.projectName"></div> --> <!-- <div v-else-if="item.projectName" v-html="item.projectName"></div> -->
</p> </p>
<div class="content-label" v-if="(item.province||item.city||item.area)||(item.projectType&&item.projectType!='其他'&&item.projectType!='空白')||(item.objectType&&item.objectType!='其他'&&item.objectType!='空白')"> <div class="content-label" v-if="(item.province||item.city||item.area)||(item.projectType&&item.projectType!='其他'&&item.projectType!='空白')||(item.objectType&&item.objectType!='其他'&&item.objectType!='空白')">
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</p> </p>
</div> </div>
<div class="list-content" v-if="item.bidMoney||item.contact"> <div class="list-content" v-if="item.bidMoney||item.contactTel || item.agencyContactTel">
<p class="list-content-text" v-if="item.bidMoney"> <p class="list-content-text" v-if="item.bidMoney">
<span>预算金款:</span> <span>预算金款:</span>
<span>{{item.bidMoney||'--'}}万元</span> <span>{{item.bidMoney||'--'}}万元</span>
......
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