Commit 9bb12b1b authored by danfuman's avatar danfuman
parents d1c56517 619307fc
...@@ -60,8 +60,16 @@ let enterprisePage= function enterprisePage(param) { ...@@ -60,8 +60,16 @@ let enterprisePage= function enterprisePage(param) {
data: param data: param
}) })
} }
// 甲方详情-公司概要
let infoHeader= function infoHeader(param) {
return request({
url: '/enterprise/infoHeader',
method: 'post',
data: param
})
}
export default {aptitudeCode,personCert,searchDic,regionWebList,uipGroupData,uipSerach,claim,enterprisePage} export default {aptitudeCode,personCert,searchDic,regionWebList,uipGroupData,uipSerach,claim,enterprisePage,infoHeader}
\ No newline at end of file \ No newline at end of file
...@@ -188,7 +188,14 @@ let tenderPage = function tenderPage(param) { ...@@ -188,7 +188,14 @@ let tenderPage = function tenderPage(param) {
}) })
} }
// 批量获取城投企业id
let getUipIdByCid = function getUipIdByCid(param) {
return request({
url: '/enterprise/getUipIdByCid',
method: 'post',
data: param
})
}
export default { export default {
importData, importData,
...@@ -213,5 +220,6 @@ export default { ...@@ -213,5 +220,6 @@ export default {
bidNoticeDetail, bidNoticeDetail,
jskBidTenderPage, jskBidTenderPage,
tenderDetail, tenderDetail,
tenderPage tenderPage,
getUipIdByCid
} }
\ No newline at end of file
...@@ -541,10 +541,10 @@ select { ...@@ -541,10 +541,10 @@ select {
border-radius: 2px 2px 2px 2px; border-radius: 2px 2px 2px 2px;
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
color: #ffffff; font-size: 14px;
margin-left: 8px; margin-left: 16px;
margin-right: 32px; margin-right: 24px;
width: 115px; padding: 0px 8px;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
border: 1px solid #0081FF; border: 1px solid #0081FF;
...@@ -755,12 +755,12 @@ select { ...@@ -755,12 +755,12 @@ select {
} }
.checkbox .el-checkbox__label { .checkbox .el-checkbox__label {
padding-left: 8px; padding-left: 6px;
color: #232323; color: #232323;
} }
.checkbox .checkbox-content .checkbox-content-qx { .checkbox .checkbox-content .checkbox-content-qx {
margin-right: 30px; margin-right: 24px;
} }
.toolbar-right-search { .toolbar-right-search {
...@@ -790,43 +790,40 @@ select { ...@@ -790,43 +790,40 @@ select {
border-top-right-radius: 0; border-top-right-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
border-right: none; border-right: none;
height: 32px; height: 30px;
line-height: 32px; line-height: 30px;
} }
.toolbar-right-search .el-input-group__append { .toolbar-right-search .el-input-group__append {
padding: 0; padding: 0;
} }
.toolbar-right-search .result-search {
height: 32px;
line-height: 32px;
}
.toolbar-right-search .toolbar-right-search .el-input .el-input__inner { .toolbar-right-search .toolbar-right-search .el-input .el-input__inner {
border-top-right-radius: 0; border-top-right-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
border-right: none; border-right: none;
height: 32px; height: 30px;
line-height: 32px; line-height: 30px;
} }
.toolbar-right-search .result-search { .toolbar-right-search .result-search {
width: 80px; width: 59px;
height: 32px; height: 30px;
background: #0081FF;
border-top-right-radius: 2px; border-top-right-radius: 2px;
border-bottom-right-radius: 2px; border-bottom-right-radius: 2px;
text-align: center; text-align: center;
line-height: 32px; line-height: 30px;
padding: 0; padding: 0;
cursor: pointer; cursor: pointer;
color: #fff; color: #0081FF;
background: #F5F5F5;
border: 1px solid #D9D9D9;
border-left: none;
} }
.toolbar-right-search .result-search:hover {
background: #0074E5;
}
.info-list { .info-list {
display: flex; display: flex;
...@@ -834,16 +831,28 @@ select { ...@@ -834,16 +831,28 @@ select {
margin: auto; margin: auto;
background: #fff; background: #fff;
padding: 24px 0px; padding: 24px 0px;
border-bottom: 1px solid #EFEFEF; /* border-bottom: 1px solid #EFEFEF; */
position: relative;
/* cursor: pointer; */ /* cursor: pointer; */
} }
.info-list .solid{
position: absolute;
padding: 0 16px;
bottom: 0px;
width: 100%;
}
.info-list .solid p{
width: 100%;
height: 1px;
background-color: #EFEFEF;
}
.info-list:hover { .info-list:hover {
background: #F5FAFF; background: #F5FAFF;
} }
.info-list .info-list-left { .info-list .info-list-left {
width: 128px; padding: 0px 16px;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: flex-start; align-items: flex-start;
...@@ -854,8 +863,8 @@ select { ...@@ -854,8 +863,8 @@ select {
} }
.info-list-left img { .info-list-left img {
width: 96px; width: 72px;
height: 96px; height: 72px;
} }
.info-list-left .list-left-titel { .info-list-left .list-left-titel {
...@@ -873,6 +882,7 @@ select { ...@@ -873,6 +882,7 @@ select {
display: flex; display: flex;
align-items: center; align-items: center;
line-height: 18px; line-height: 18px;
font-size: 14px;
/* cursor: pointer; */ /* cursor: pointer; */
} }
...@@ -1157,6 +1167,11 @@ select { ...@@ -1157,6 +1167,11 @@ select {
.table-item .el-table td { .table-item .el-table td {
font-size: 13px; font-size: 13px;
} }
.table-item-jf .el-table tr,
.table-item-jf .el-table td {
font-size: 13px;
}
.table-item-jf1 { .table-item-jf1 {
padding: 0px 16px; padding: 0px 16px;
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</div> </div>
</div> </div>
<div class="content_item"> <div class="content_item">
<div class="label" style="margin-right: 12px;">城投业务类型</div> <div class="label" style="margin-right: 28px;">城投业务类型</div>
<div class="content_right "> <div class="content_right ">
<div class="checkbox"> <div class="checkbox">
<div class="checkbox-content"> <div class="checkbox-content">
...@@ -143,22 +143,27 @@ ...@@ -143,22 +143,27 @@
<div class="item-jf-text">建议调整关键词或筛选条件,重新搜索!</div> <div class="item-jf-text">建议调整关键词或筛选条件,重新搜索!</div>
</div> </div>
<div class=" table-item-jf" v-if="tableData.length>0"> <div class=" table-item-jf" v-if="tableData.length>0">
<el-table :data="tableData" :header-cell-style="{ background:'#F0F3FA'}" element-loading-text="Loading" border highlight-current-row> <el-table :data="tableData" :header-cell-style="{ background:'#f0f3fa',color: 'rgba(35,35,35,0.8)'}" class="table-item1" element-loading-text="Loading" border highlight-current-row>
<el-table-column type="index" label="序号" fixed width="60"> <el-table-column type="index" label="序号" fixed width="60">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{(pageNum - 1) *20 + scope.$index + 1}}</span> <span>{{(pageNum - 1) *20 + scope.$index + 1}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="公司名称" fixed width="430" > <el-table-column label="公司名称" fixed width="380" >
<template slot-scope="scope"> <template slot-scope="scope">
<div class="renling"> <div class="renling">
<router-link :to="`/enterprise/${encodeStr(scope.row.companyId)}`" tag="a" class="list-titel-a" v-html="scope.row.companyName" ></router-link> <router-link :to="`/enterprise/${encodeStr(scope.row.companyId)}`" tag="a" class="list-titel-a" v-html="scope.row.companyName" ></router-link>
<div class="renling-btn"> <div class="renling-btn" @click="claimbtn(scope.row)" >
<img src="@/assets/images/owner/renling1.png" alt=""> <p v-if="scope.row.claimStatus" class="renling-img-true">
</p>
<p v-else class="renling-img-false">
</p>
<span v-if="scope.row.claimStatus" class="renling-hui"> <span v-if="scope.row.claimStatus" class="renling-hui">
已认领 已认领
</span> </span>
<span v-else class="renling-hei" @click="claimbtn(scope.row)" > <span v-else class="renling-hei">
认领 认领
</span> </span>
</div> </div>
...@@ -167,7 +172,7 @@ ...@@ -167,7 +172,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="区域" width="120"> <el-table-column label="区域" width="160">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.province}} {{scope.row.province}}
<template v-if="scope.row.city"> <template v-if="scope.row.city">
...@@ -452,8 +457,8 @@ ...@@ -452,8 +457,8 @@
width="244px"> width="244px">
<span>认领成功,是否完善客户信息?</span> <span>认领成功,是否完善客户信息?</span>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<span class="dialog-footer-btn1" type="primary" > <span class="dialog-footer-btn1" type="primary" @click="claimopen(companyId,customerId)" >
<router-link :to="'/enterprise/'+encodeStr(companyId)+'?customerId='+customerId+'&path=business' " tag="a" class="list-titel-a">立即完善</router-link> 立即完善
</span> </span>
<span class="dialog-footer-btn2" @click="search(pageNum, pageSize)">稍后</span> <span class="dialog-footer-btn2" @click="search(pageNum, pageSize)">稍后</span>
</div> </div>
...@@ -776,30 +781,46 @@ export default { ...@@ -776,30 +781,46 @@ export default {
}, },
claimbtn(item){ claimbtn(item){
this.companyId=item.companyId; this.companyId=item.companyId;
var params={ var info={};
companyId:item.companyId, api.infoHeader({companyId:this.companyId}).then(res=>{
uipId:item.uipId,
companyName:item.companyName.replace(/<font color='red'>/g,'').replace(/<\/font>/g,''),
// creditLevel:item.bratingSubjectLevel,
// legalPerson:item.legalPerson,
// registerCapital:item.registerCapital,
// provinceId:item.provinceId,
// cityId:item.cityId,
// districtId:item.districtId,
// registerAddress:item.registerAddress,
// creditCode:item.creditCode,
}
api.claim(params).then(res=>{
// console.log(res) // console.log(res)
if (res.code==200) { info=res.data;
this.dialogVisible=true; let params={
this.customerId=res.data.customerId; companyId:item.companyId,
} uipId:item.uipId,
companyName:item.companyName.replace(/<font color='red'>/g,'').replace(/<\/font>/g,''),
creditLevel:info.bratingSubjectLevel,
legalPerson:info.corporatePerson,
registerCapital:info.regCapital,
provinceId:info.provinceId,
cityId:info.cityId,
districtId:info.districtCode,
registerAddress:info.provinceName+info.cityName+info.districtName,
creditCode:info.creditCode,
}
api.claim(params).then(res1=>{
// console.log(res)
if (res1.code==200) {
this.dialogVisible=true;
this.customerId=res1.data.customerId;
}
}).catch(error=>{
});
}).catch(error=>{ }).catch(error=>{
}); });
},
claimopen(companyId,customerId){
this.$router.push({
path: '/enterprise/'+encodeStr(companyId),
query: {
'customerId': customerId,
'path':'business'
} ,
})
this.dialogVisible=false;
}, },
search(pageNum, pageSize,exportFlag) { search(pageNum, pageSize,exportFlag) {
this.dialogVisible=false; this.dialogVisible=false;
...@@ -935,7 +956,7 @@ export default { ...@@ -935,7 +956,7 @@ export default {
border-radius: 4px 4px 4px 4px; border-radius: 4px 4px 4px 4px;
background: #FFFFFF; background: #FFFFFF;
.content_item{ .content_item{
padding-top:24px; padding-top:20px;
display: flex; display: flex;
align-items: center; align-items: center;
.label{ .label{
...@@ -952,6 +973,9 @@ export default { ...@@ -952,6 +973,9 @@ export default {
::v-deep .el-input-group__append{ ::v-deep .el-input-group__append{
cursor: pointer; cursor: pointer;
padding: 0px; padding: 0px;
border-radius:2px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
.btn-search{ .btn-search{
width: 70px; width: 70px;
color: #0081ff; color: #0081ff;
...@@ -1133,32 +1157,56 @@ export default { ...@@ -1133,32 +1157,56 @@ export default {
.renling-btn{ .renling-btn{
display: flex; display: flex;
align-items: center; align-items: center;
img{ cursor: pointer;
.renling-img-true{
width: 16px;
height: 16px;
margin-right: 8px;
background-image: url('../../../../assets/images/owner/renling1.png');
background-size: 100% 100%;
background-repeat: no-repeat;
}
.renling-img-false{
width: 16px; width: 16px;
height: 16px; height: 16px;
margin-right: 8px; margin-right: 8px;
background-image: url('../../../../assets/images/owner/renling2.png');
background-size: 100% 100%;
background-repeat: no-repeat;
} }
.renling-hui{ .renling-hui{
font-size: 12px; font-size: 13px;
font-weight: 400; font-weight: 400;
color: rgba(35,35,35,0.4); color: rgba(35,35,35,0.4);
} }
.renling-hei{ .renling-hei{
cursor: pointer; font-size: 13px;
font-size: 12px;
font-weight: 400; font-weight: 400;
color: #3D3D3D; color: #3D3D3D;
} }
.renling-hei:hover{
}
.renling-btn:hover{
.renling-hei{
color: #0081FF; color: #0081FF;
} }
} }
} }
} }
.table-item1{
::v-deep .el-table__body-wrapper{
color: #232323;
}
}
.table-item-jf1{ .table-item-jf1{
border-top:1px solid #EFEFEF; border-top:1px solid #EFEFEF;
} }
.pagination{ .pagination{
padding: 14px ; padding: 14px ;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div> <div>
<div class="content"> <div class="content">
<div class="content_item"> <div class="content_item content_item_padding0">
<div class="content_right item_ckquery_list"> <div class="content_right item_ckquery_list">
<el-input class="ename_input" placeholder="请输入关键字,如企业名称、统一社会信用代码等" v-model="ename" @input="projectNamebtn('ename',ename,'关键字:')"> <el-input class="ename_input" placeholder="请输入关键字,如企业名称、统一社会信用代码等" v-model="ename" @input="projectNamebtn('ename',ename,'关键字:')">
<div slot="append" class="btn-search" @click="search">搜索</div> <div slot="append" class="btn-search" @click="search">搜索</div>
...@@ -415,7 +415,7 @@ ...@@ -415,7 +415,7 @@
</div> </div>
</div> </div>
<div class="content_item content_item_nopadding "> <div class="content_item content_item_padding0">
<div class="search-new" > <div class="search-new" >
<span @click="search()">查询</span> <span @click="search()">查询</span>
<span @click="reset()">重置</span> <span @click="reset()">重置</span>
...@@ -441,7 +441,7 @@ ...@@ -441,7 +441,7 @@
</el-popover> </el-popover>
<div class="toolbar-right-search"> <div class="toolbar-right-search">
<el-input placeholder="请输入企业名称关键词" class="toolbar-right_input" v-model="resultEname"> <el-input placeholder="请输入企业名称关键词" class="toolbar-right_input" v-model="resultEname">
<div slot="append" class="result-search" @click="search()">过滤企业</div> <div slot="append" class="result-search" @click="search()">搜索</div>
</el-input> </el-input>
</div> </div>
</div> </div>
...@@ -472,9 +472,9 @@ ...@@ -472,9 +472,9 @@
</router-link> </router-link>
</p> </p>
<p class="card-right-title card-right-title1" :ref="'labels'+item.id" :style="{padding: '10px 0px 8px 0px',height: '40px'}"> <p class="card-right-title card-right-title1" :ref="'labels'+item.id" :style="{padding: '16px 0px 12px 0px'}">
<span :ref="'cardRightTitle1span'+item.id" > <span :ref="'cardRightTitle1span'+item.id" >
<span class="positive positive1" v-if="item.businessStatus" style="margin-right: 3px !important;">{{item.businessStatus}}</span> <span class="positive positive1" v-if="item.businessStatus" >{{item.businessStatus}}</span>
<template v-for="(itemLabels,indexLabels) in item.labels"> <template v-for="(itemLabels,indexLabels) in item.labels">
<span class="positive positive1" :style="{'background':itemLabels.bgColor,'color':itemLabels.fontColor}">{{ itemLabels.labelName }} <template v-if="itemLabels.num>1">{{itemLabels.num}}</template></span> <span class="positive positive1" :style="{'background':itemLabels.bgColor,'color':itemLabels.fontColor}">{{ itemLabels.labelName }} <template v-if="itemLabels.num>1">{{itemLabels.num}}</template></span>
</template> </template>
...@@ -503,7 +503,7 @@ ...@@ -503,7 +503,7 @@
</p> </p>
<p class="card-right-title" style="padding-top: 10px ;"> <p class="card-right-title" style="padding-top: 8px ;">
<template v-if="item.aptitudeCountNew!=null"> <template v-if="item.aptitudeCountNew!=null">
<span class="right-title-grey">资质资格:</span> <span class="right-title-grey">资质资格:</span>
<router-link :to="toEnterprise(item.jskEid,'')" target="_blank" > <router-link :to="toEnterprise(item.jskEid,'')" target="_blank" >
...@@ -559,6 +559,9 @@ ...@@ -559,6 +559,9 @@
<span class="right-title-grey" style="width: 984px;" v-html="item.formerName"></span> <span class="right-title-grey" style="width: 984px;" v-html="item.formerName"></span>
</p> </p>
</div> </div>
<div class="solid">
<p></p>
</div>
</li> </li>
</ul> </ul>
<div class="pagination clearfix" v-show="total>0"> <div class="pagination clearfix" v-show="total>0">
...@@ -2819,10 +2822,11 @@ ...@@ -2819,10 +2822,11 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.content{ .content{
padding: 0px 16px; padding: 0px 16px;
padding-top: 16px;
border-radius: 4px 4px 4px 4px; border-radius: 4px 4px 4px 4px;
background: #FFFFFF; background: #FFFFFF;
.content_item{ .content_item{
padding-top: 12px; padding-top: 20px;
display: flex; display: flex;
align-items: center; align-items: center;
.label{ .label{
...@@ -2948,7 +2952,7 @@ ...@@ -2948,7 +2952,7 @@
.content_right{ .content_right{
width: 1400px; width: 1400px;
.select-popper{ .select-popper{
margin-bottom: 8px; margin-bottom: 20px;
} }
} }
} }
...@@ -2963,8 +2967,9 @@ ...@@ -2963,8 +2967,9 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin: 0px 16px;
margin-top: 12px; margin-top: 12px;
padding: 16px ; padding: 16px 0px ;
border-bottom: 1px solid #EFEFEF; border-bottom: 1px solid #EFEFEF;
.title-right{ .title-right{
...@@ -2994,111 +2999,7 @@ ...@@ -2994,111 +2999,7 @@
padding-bottom: 0px; padding-bottom: 0px;
} }
.bottomlist-list{
padding: 16px;
font-size: 14px;
border-bottom: 1px solid #EFEFEF;
padding-bottom: 14px;
.list-titel{
font-size: 16px;
font-weight: 700;
color: #3D3D3D;
line-height: 19px;
.list-titel-a{
text-decoration: none;
color:#3D3D3D;
}
a:hover, a:visited, a:link, a:active{
color:#3D3D3D;
}
}
.content-label{
margin-top: 12px;
.list-label{
background: #F3F3FF;
color: #8491E8;
border-radius: 1px 1px 1px 1px;
padding: 3px 7px;
font-size: 12px;
margin-right: 16px;
}
.list-label-wl{
background: #e8f7f0;
color: #38c8bf;
}
.list-label-lx{
background: #e4f3fd;
color: #41a1fd;
}
}
.list-content{
margin-top: 8px;
display: flex;
justify-content: start;
align-items: center;
.list-content-text{
margin-top: 7px;
display: flex;
justify-content: start;
align-items:flex-start ;
margin-right: 27px;
font-size: 14px;
span:first-child{
font-weight: 400;
color: rgba(35,35,35,0.4);
line-height: 15px
}
span:last-child{
font-weight: 400;
color: rgba(35,35,35,0.8);
line-height: 15px
}
.content-text-gc{
width: 72px;
}
.content-text-p{
width: 1200px;
}
.blue{
color: #0081FF !important;
cursor: pointer;
}
}
}
.list-addree{
width: auto;
background: #F3F4F5;
display: inline-flex;
margin-top: 7px;
.list-content-text{
margin-top: 0px;
span{
line-height: 30px!important;
}
}
img{
width: 14px;
margin: 0 8px;
}
}
}
.bottomlist-list:hover{
background: #F6F9FC;
cursor: pointer;
}
.pagination{ .pagination{
padding: 14px ; padding: 14px ;
...@@ -3112,7 +3013,6 @@ ...@@ -3112,7 +3013,6 @@
} }
.positive1{ .positive1{
padding: 0 8px !important; padding: 0 8px !important;
margin-bottom: 8px;
margin-right: 7px !important; margin-right: 7px !important;
} }
.positive-gdbq{ .positive-gdbq{
......
...@@ -9,9 +9,10 @@ ...@@ -9,9 +9,10 @@
<p>{{itme.value}}</p> <p>{{itme.value}}</p>
</div> </div>
</div> </div>
<p class="solid"></p>
</div> </div>
</div> </div>
<p class="solid"></p>
</div> </div>
<!-- 查业主单位 --> <!-- 查业主单位 -->
<Owner v-if="personnelHerf=='Owner'" /> <Owner v-if="personnelHerf=='Owner'" />
...@@ -72,6 +73,7 @@ ...@@ -72,6 +73,7 @@
.content{ .content{
padding: 0px 16px; padding: 0px 16px;
background: #FFFFFF; background: #FFFFFF;
position: relative;
} }
...@@ -122,12 +124,12 @@ ...@@ -122,12 +124,12 @@
margin-right: 6px; margin-right: 6px;
} }
.app-container .combined-title .title-right .solid { .app-container .content .solid {
width: 100%; width: 100%;
height: 1px; height: 1px;
background-color: #EEEEEE; background-color: #EEEEEE;
position: absolute; position: absolute;
bottom: -1px; bottom: 1px;
left: 0; left: 0;
z-index: 1; z-index: 1;
} }
...@@ -148,12 +150,13 @@ ...@@ -148,12 +150,13 @@
font-size: 16px; font-size: 16px;
text-align: center; text-align: center;
margin-right: 32px; margin-right: 32px;
line-height: 40px;
} }
.tab div p { .tab div p {
display: inline-block; display: inline-block;
padding: 0px; padding: 0px;
padding-bottom: 16px;
} }
......
...@@ -93,7 +93,14 @@ ...@@ -93,7 +93,14 @@
</p> </p>
<p> <p>
<label class="label">计划工期</label> <label class="label">计划工期</label>
<span>{{textList.projectDuration||'--'}}</span> <span>
<template v-if="textList.projectDuration">
{{textList.projectDuration}}
</template>
<template v-else>
'--'
</template>
</span>
<label class="label">项目属地</label> <label class="label">项目属地</label>
<span> <span>
{{textList.province}} {{textList.province}}
...@@ -178,7 +185,7 @@ ...@@ -178,7 +185,7 @@
<div class="main3-box"> <div class="main3-box">
<p> <p>
<label class="label">招标人</label> <label class="label">招标人</label>
<router-link :to="scope.row.uipId?'/enterprise/' + encodeStr(scope.row.uipId) :'/company/' + encodeStr(scope.row.tendereeId) " tag="a" class="list-titel-a blue" v-html="scope.row.tenderee"></router-link> <router-link :to="textList.uipId?'/enterprise/' + encodeStr(textList.uipId) :'/company/' + encodeStr(textList.tendereeId) " tag="a" class="list-titel-a blue" v-html="textList.tenderee"></router-link>
<label class="label">代理机构</label> <label class="label">代理机构</label>
<router-link v-if="textList.agencyId" :to="'/company/' + encodeStr(textList.agencyId) + '/?index=true'" tag="a" class="list-titel-a color2" v-html="textList.agency"></router-link> <router-link v-if="textList.agencyId" :to="'/company/' + encodeStr(textList.agencyId) + '/?index=true'" tag="a" class="list-titel-a color2" v-html="textList.agency"></router-link>
<span v-else class="color2">{{textList.agency||'--'}}</span> <span v-else class="color2">{{textList.agency||'--'}}</span>
......
...@@ -124,7 +124,13 @@ ...@@ -124,7 +124,13 @@
<p>共有{{total}}</p> <p>共有{{total}}</p>
<p> <p>
<img src="@/assets/images/EXCEL.png" alt=""> <img src="@/assets/images/EXCEL.png" alt="">
<span>导出EXCEL</span> <el-popover
placement="top-end"
width="200"
trigger="hover"
content="功能正在开发中">
<span class="excel" slot="reference">导出EXCEL</span>
</el-popover>
</p> </p>
</div> </div>
...@@ -966,6 +972,9 @@ export default { ...@@ -966,6 +972,9 @@ export default {
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
.excel{
cursor: pointer;
}
} }
} }
......
...@@ -25,6 +25,39 @@ ...@@ -25,6 +25,39 @@
<div class="content_item"> <div class="content_item">
<div class="label">更多筛选</div> <div class="label">更多筛选</div>
<div class="content_right"> <div class="content_right">
<el-dropdown @command="IssueTimehandleCommand" trigger="click" placement="bottom-start" class="el-dropdown-land" ref="IssueTimeShowPopper" :hide-on-click="false" >
<span class="el-dropdown-link" :class="IssueTimeValue ? 'color_text' : ''" >
发布时间{{ IssueTimeValue ? " 1项" : ""}}
<i class="el-icon-caret-bottom"></i>
</span>
<div>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item, i) in IssueTimeOptions" class="el-dropdown-land" :class=" IssueTimeValue && IssueTimeValue == item.value ? 'color_text': '' " :key="i" :command="item.value">
<div @mouseenter="hidePoper">{{ item.label }}</div>
</el-dropdown-item>
<el-dropdown-item command="自定义" style="padding: 0; text-indent: 20px">
<div @mouseenter="mouseenter">
<span :class="IssueTimeValue == '自定义' ? 'color_text' : ''">
自定义<i class="el-icon-arrow-right"></i>
</span>
<el-date-picker
v-if="IssueTimeShowPopper"
@change="changeIssueTime"
class="land_date_picker"
v-model="IssueTime"
ref="datePicker"
value-format="yyyy-MM-dd"
type="daterange"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
>
</el-date-picker>
</div>
</el-dropdown-item>
</el-dropdown-menu>
</div>
</el-dropdown>
<div class="select-popper" > <div class="select-popper" >
<span :class="{color_text:jskBidPlanDto.province.length ||jskBidPlanDto.city.length ||jskBidPlanDto.area.length,}"> <span :class="{color_text:jskBidPlanDto.province.length ||jskBidPlanDto.city.length ||jskBidPlanDto.area.length,}">
项目属地{{jskBidPlanDto.province.length ||jskBidPlanDto.city.length ||jskBidPlanDto.area.length? jskBidPlanDto.province.length + jskBidPlanDto.city.length +jskBidPlanDto.area.length +"项": ""}} 项目属地{{jskBidPlanDto.province.length ||jskBidPlanDto.city.length ||jskBidPlanDto.area.length? jskBidPlanDto.province.length + jskBidPlanDto.city.length +jskBidPlanDto.area.length +"项": ""}}
...@@ -144,7 +177,13 @@ ...@@ -144,7 +177,13 @@
<p>共有{{total}}</p> <p>共有{{total}}</p>
<p> <p>
<img src="@/assets/images/EXCEL.png" alt=""> <img src="@/assets/images/EXCEL.png" alt="">
<span>导出EXCEL</span> <el-popover
placement="top-end"
width="200"
trigger="hover"
content="功能正在开发中">
<span class="excel" slot="reference">导出EXCEL</span>
</el-popover>
</p> </p>
</div> </div>
...@@ -178,8 +217,8 @@ ...@@ -178,8 +217,8 @@
<div class="list-content" v-if="item.tenderee||item.planTenderAmount||item.projectCapitalSource"> <div class="list-content" v-if="item.tenderee||item.planTenderAmount||item.projectCapitalSource">
<p class="list-content-text" v-if="item.tenderee"> <p class="list-content-text" v-if="item.tenderee">
<span>招采单位:</span> <span>招采单位:</span>
<router-link v-if="item.tendereeId" :to="'/company/' + encodeStr(item.tendereeId) + '/?index=true'" tag="a" class="list-titel-a blue" v-html="item.tenderee"></router-link> <span class="blue" @click="getUipIdByCid(item.tendereeId)" v-html="item.tenderee">
<span v-else>{{item.tenderee||'--'}}</span> </span>
</p> </p>
<p class="list-content-text" v-if="item.planTenderAmount"> <p class="list-content-text" v-if="item.planTenderAmount">
<span>合同预估金额(万元):</span> <span>合同预估金额(万元):</span>
...@@ -242,6 +281,44 @@ export default { ...@@ -242,6 +281,44 @@ export default {
data() { data() {
return { return {
encodeStr, encodeStr,
IssueTimeOptions: [
{
label: "不限",
value: "",
},
{
label: "今天",
value: "今天",
},
{
label: "近3日",
value: "近3日",
},
{
label: "近7日",
value: "近7日",
},
{
label: "近1个月",
value: "近1个月",
},
{
label: "近3个月",
value: "近3个月",
},
{
label: "近半年",
value: "近半年",
},
{
label: "近1年",
value: "近1年",
},
],
IssueTimeValue: "",
IssueTime: "",
IssueTimeShowPopper: false,
addressList: [], addressList: [],
addressType: [], addressType: [],
props: { props: {
...@@ -292,6 +369,9 @@ export default { ...@@ -292,6 +369,9 @@ export default {
startPlanTenderAmount:'', startPlanTenderAmount:'',
endPlanTenderAmount:'', endPlanTenderAmount:'',
projectCapitalSource:[], projectCapitalSource:[],
startIssueTime:'',
endIssueTime:'',
}, },
planTenderAmountShowPopper:false, planTenderAmountShowPopper:false,
startPlanTenderAmount:'', startPlanTenderAmount:'',
...@@ -308,7 +388,7 @@ export default { ...@@ -308,7 +388,7 @@ export default {
}; };
}, },
computed: { computed: {
checkJskBidQueryDto() { checkjskBidPlanDto() {
let arr = []; let arr = [];
let data = {}; let data = {};
if(this.jskBidPlanDto.projectName){ if(this.jskBidPlanDto.projectName){
...@@ -474,9 +554,172 @@ export default { ...@@ -474,9 +554,172 @@ export default {
this.limit = limit; this.limit = limit;
this.search(this.page, limit); this.search(this.page, limit);
}, },
IssueTimehandleCommand(command) {
var obj = JSON.parse(JSON.stringify(this.jskBidPlanDto));
if (command && command != "自定义") {
this.IssueTimeValue = command;
this.$refs.IssueTimeShowPopper.hide();
const datetime = new Date();
var startTime, endTime, Year, Month, Day;
Year = datetime.getFullYear();
Month = datetime.getMonth() + 1;
Day = datetime.getDate();
switch (command) {
case "今天":
startTime = Year + "-" + Month +"-" + Day;
endTime = Year + "-" + Month + "-" + Day;
break;
case "近3日":
endTime = Year + "-" + Month + "-" + Day;
if (Day > 3) {
startTime = Year + "-" + Month + "-" +(Day-3);
} else {
let newTime = datetime.getTime()-3*24*60*60*1000
Year = new Date(newTime).getFullYear();
Month = new Date(newTime).getMonth() + 1;
Day = new Date(newTime).getDate();
startTime = Year + "-" + Month +"-" + Day;
}
break;
case "近7日":
endTime = Year + "-" + Month + "-" + Day;
if (Day > 7) {
startTime = Year + "-" + Month + "-" +(Day-7);
} else {
let newTime = datetime.getTime()-7*24*60*60*1000
Year = new Date(newTime).getFullYear();
Month = new Date(newTime).getMonth() + 1;
Day = new Date(newTime).getDate();
startTime = Year + "-" + Month +"-" + Day;
}
break;
case "近1个月":
endTime = Year + "-" + Month + "-" + Day;
if (Month > 1) {
startTime = Year + "-" + (Month - 1) + "-1";
} else {
startTime = Year - 1 + "-" + (12 + Month - 1) + "-1";
}
break;
case "近3个月":
endTime = Year + "-" + Month + "-" + Day;
if (Month > 3) {
startTime = Year + "-" + (Month - 3) + "-1";
} else {
startTime = Year - 1 + "-" + (12 + Month - 3) + "-1";
}
break;
case "近半年":
endTime = Year + "-" + Month + "-" + Day;
if (Month > 6) {
startTime = Year + "-" + (Month - 6) + "-1";
} else {
startTime = Year - 1 + "-" + (12 + Month - 6) + "-1";
}
break;
case "近1年":
startTime = Year - 1 + "-" + Month + "-" + Day;
endTime = Year + "-" + Month + "-" + Day;
break;
case "自定义":
if (!this.IssueTime) {
this.IssueTimeValue = "";
}
break;
}
if(startTime){
var start=startTime.split('-');
startTime=start.map((item)=>{
if(item.length==1){
return '0'+item
}else{
return item
}
})
startTime=startTime.join('-')
}
if(endTime){
var end=endTime.split('-');
endTime=end.map((item)=>{
if(item.length==1){
return '0'+item
}else{
return item
}
})
endTime=endTime.join('-')
}
obj.startIssueTime = startTime;
obj.endIssueTime = endTime;
} else if (command == "自定义") {
this.$refs.datePicker.pickerVisible = true;
} else {
this.$refs.IssueTimeShowPopper.hide();
this.IssueTimeValue = "";
this.IssueTime = "";
obj.startIssueTime = "";
obj.endIssueTime = "";
}
this.jskBidPlanDto = obj;
},
changeIssueTime(type) {
if(type=='bid'&&this.tenderDate){
this.tenderDateValue = "自定义";
var obj = JSON.parse(JSON.stringify(this.jskBidPlanDto));
obj.startTenderTime = this.tenderDate[0];
obj.endTenderTime = this.tenderDate[1];
this.jskBidPlanDto = obj;
}else if(this.IssueTime) {
this.IssueTimeValue = "自定义";
var obj = JSON.parse(JSON.stringify(this.jskBidPlanDto));
obj.startIssueTime = this.IssueTime[0];
obj.endIssueTime = this.IssueTime[1];
this.jskBidPlanDto = obj;
}
},
hidePoper(type) {
if(type=='bid'&&this.$refs.tenderDatePicker){
this.$refs.tenderDatePicker.pickerVisible = false;
}else if(this.$refs.datePicker){
this.$refs.datePicker.pickerVisible = false;
}
},
mouseenter(type) {
if(type=='bid'){
this.tenderDateShowPopper = true;
if(this.tenderDateValue=="自定义"){
this.$nextTick(() => {
this.$refs.tenderDatePicker.pickerVisible = true;
});
}
}else{
this.IssueTimeShowPopper = true;
if(this.IssueTimeValue=="自定义"){
this.$nextTick(() => {
this.$refs.datePicker.pickerVisible = true;
});
}
}
},
clearIssueTime(type) {
var obj = JSON.parse(JSON.stringify(this.jskBidPlanDto));
if(type=='bid'){
this.tenderDate = "";
this.tenderDateValue = "";
obj.startTenderTime = "";
obj.endTenderTime = "";
}else{
this.IssueTime = "";
this.IssueTimeValue = "";
obj.startIssueTime = "";
obj.endIssueTime = "";
}
this.jskBidPlanDto = obj;
},
deleteDomicile() { deleteDomicile() {
this.$refs.address.handleClear(); this.$refs.address.handleClear();
}, },
domicileChange() { domicileChange() {
let arr = this.$refs.address.getCheckedNodes(); let arr = this.$refs.address.getCheckedNodes();
let province = [], let province = [],
...@@ -581,6 +824,21 @@ export default { ...@@ -581,6 +824,21 @@ export default {
this.jskBidPlanDto = obj; this.jskBidPlanDto = obj;
} }
}, },
getUipIdByCid(companyId){
var params=[companyId]
api.getUipIdByCid(params).then(res=>{
if (res.code==200) {
if(res.data&&res.data.length>0&&res.data[0].uipId){
this.$router.push({path: '/enterprise/'+this.encodeStr(res.data[0].uipId)})
}else{
this.$router.push({path: '/company/'+this.encodeStr(res.data[0].companyId)})
}
}
}).catch(error=>{
});
},
reset() { reset() {
Object.assign(this.$data, this.$options.data.call(this)); //重置data Object.assign(this.$data, this.$options.data.call(this)); //重置data
this.init(); this.init();
...@@ -712,6 +970,9 @@ export default { ...@@ -712,6 +970,9 @@ export default {
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
.excel{
cursor: pointer;
}
} }
} }
......
...@@ -180,7 +180,13 @@ ...@@ -180,7 +180,13 @@
<p>共有{{total}}</p> <p>共有{{total}}</p>
<p> <p>
<img src="@/assets/images/EXCEL.png" alt=""> <img src="@/assets/images/EXCEL.png" alt="">
<span>导出EXCEL</span> <el-popover
placement="top-end"
width="200"
trigger="hover"
content="功能正在开发中">
<span class="excel" slot="reference">导出EXCEL</span>
</el-popover>
</p> </p>
</div> </div>
...@@ -211,7 +217,9 @@ ...@@ -211,7 +217,9 @@
<div class="list-content"> <div class="list-content">
<p class="list-content-text" v-if="item.companyName"> <p class="list-content-text" v-if="item.companyName">
<span>项目业主:</span> <span>项目业主:</span>
<span><router-link :to="`/company/${encodeStr(item.companyId)}/`" tag="a" class="list-titel-a blue" v-html="item.companyName" ></router-link></span> <span class="blue" @click="getUipIdByCid(item.companyId)" v-html="item.companyName">
</span>
</p> </p>
...@@ -1071,6 +1079,21 @@ ...@@ -1071,6 +1079,21 @@
this.searchDic(); this.searchDic();
}, },
getUipIdByCid(companyId){
var params=[companyId]
api.getUipIdByCid(params).then(res=>{
if (res.code==200) {
if(res.data&&res.data.length>0&&res.data[0].uipId){
this.$router.push({path: '/enterprise/'+this.encodeStr(res.data[0].uipId)})
}else{
this.$router.push({path: '/company/'+this.encodeStr(res.data[0].companyId)})
}
}
}).catch(error=>{
});
},
ckhasValue(param){ ckhasValue(param){
var ckhasValue; var ckhasValue;
if(param){ if(param){
...@@ -1242,6 +1265,9 @@ ...@@ -1242,6 +1265,9 @@
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
.excel{
cursor: pointer;
}
} }
} }
......
...@@ -219,7 +219,13 @@ ...@@ -219,7 +219,13 @@
<p>共有{{total}}</p> <p>共有{{total}}</p>
<p> <p>
<img src="@/assets/images/EXCEL.png" alt=""> <img src="@/assets/images/EXCEL.png" alt="">
<span>导出EXCEL</span> <el-popover
placement="top-end"
width="200"
trigger="hover"
content="功能正在开发中">
<span class="excel" slot="reference">导出EXCEL</span>
</el-popover>
</p> </p>
</div> </div>
...@@ -239,8 +245,8 @@ ...@@ -239,8 +245,8 @@
<div class="list-content" v-if="item.companyName||item.transactionPrice||item.acreage||item.acreage"> <div class="list-content" v-if="item.companyName||item.transactionPrice||item.acreage||item.acreage">
<p class="list-content-text" v-if="item.companyName"> <p class="list-content-text" v-if="item.companyName">
<span>受让人:</span> <span>受让人:</span>
<span > <span class="blue" @click="getUipIdByCid(item.companyId)" v-html="item.companyName">
<router-link :to="'/company/' + encodeStr(item.companyId) + '/?index=true'" tag="a" class="list-titel-a blue" v-html="item.companyName"></router-link>
</span> </span>
</p> </p>
...@@ -920,6 +926,21 @@ ...@@ -920,6 +926,21 @@
this.init(); this.init();
this.$emit("reset"); this.$emit("reset");
}, },
getUipIdByCid(companyId){
var params=[companyId]
api.getUipIdByCid(params).then(res=>{
if (res.code==200) {
if(res.data&&res.data.length>0&&res.data[0].uipId){
this.$router.push({path: '/enterprise/'+this.encodeStr(res.data[0].uipId)})
}else{
this.$router.push({path: '/company/'+this.encodeStr(res.data[0].companyId)})
}
}
}).catch(error=>{
});
},
init() { init() {
this.search(); this.search();
this.addressListfn(); this.addressListfn();
...@@ -1045,6 +1066,9 @@ ...@@ -1045,6 +1066,9 @@
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
.excel{
cursor: pointer;
}
} }
} }
......
...@@ -180,7 +180,14 @@ ...@@ -180,7 +180,14 @@
<p>共有{{total}}</p> <p>共有{{total}}</p>
<p> <p>
<img src="@/assets/images/EXCEL.png" alt=""> <img src="@/assets/images/EXCEL.png" alt="">
<span>导出EXCEL</span> <el-popover
placement="top-end"
width="200"
trigger="hover"
content="功能正在开发中">
<span class="excel" slot="reference">导出EXCEL</span>
</el-popover>
</p> </p>
</div> </div>
<div class="table-item-jf1" v-if="tableData.length==0"> <div class="table-item-jf1" v-if="tableData.length==0">
...@@ -212,13 +219,13 @@ ...@@ -212,13 +219,13 @@
<div class="list-content list-content1" v-if="item.companyName||item.agency"> <div class="list-content list-content1" v-if="item.companyName||item.agency">
<p class="list-content-text" v-if="item.companyName"> <p class="list-content-text" v-if="item.companyName">
<span>招采单位:</span> <span>招采单位:</span>
<router-link v-if="item.jskEid" :to="'/company/' + encodeStr(item.jskEid) + '/?index=true'" tag="a" class="list-titel-a blue" v-html="item.companyName"></router-link> <span class="blue" @click="getUipIdByCid(item.jskEid)" v-html="item.companyName">
<span v-else class="blue" v-html="item.companyName"></span> </span>
</p> </p>
<p class="list-content-text" v-if="item.agency"> <p class="list-content-text" v-if="item.agency">
<span>代理单位:</span> <span>代理单位:</span>
<router-link v-if="item.agencyId" :to="'/company/' + encodeStr(item.agencyId) + '/?index=true'" tag="a" class="list-titel-a blue" v-html="item.agency"></router-link> <span class="blue" @click="getUipIdByCid(item.agencyId)" v-html="item.agency">
<span v-else class="blue" v-html="item.agency"></span> </span>
</p> </p>
</div> </div>
...@@ -1101,6 +1108,21 @@ ...@@ -1101,6 +1108,21 @@
} }
} }
}, },
getUipIdByCid(companyId){
var params=[companyId]
api.getUipIdByCid(params).then(res=>{
if (res.code==200) {
if(res.data&&res.data.length>0&&res.data[0].uipId){
this.$router.push({path: '/enterprise/'+this.encodeStr(res.data[0].uipId)})
}else{
this.$router.push({path: '/company/'+this.encodeStr(res.data[0].companyId)})
}
}
}).catch(error=>{
});
},
}, },
}; };
</script> </script>
...@@ -1233,6 +1255,9 @@ ...@@ -1233,6 +1255,9 @@
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
.excel{
cursor: pointer;
}
} }
.bottomlist-content { .bottomlist-content {
......
...@@ -336,7 +336,13 @@ ...@@ -336,7 +336,13 @@
<p>共有{{total}}条</p> <p>共有{{total}}条</p>
<p> <p>
<img src="@/assets/images/EXCEL.png" alt=""> <img src="@/assets/images/EXCEL.png" alt="">
<span>导出EXCEL</span> <el-popover
placement="top-end"
width="200"
trigger="hover"
content="功能正在开发中">
<span class="excel" slot="reference">导出EXCEL</span>
</el-popover>
</p> </p>
</div> </div>
...@@ -448,7 +454,9 @@ ...@@ -448,7 +454,9 @@
</el-table-column> </el-table-column>
<el-table-column prop="zj" label="招标人" width="280" > <el-table-column prop="zj" label="招标人" width="280" >
<template slot-scope="scope"> <template slot-scope="scope">
<router-link :to="'/company/'+encodeStr(scope.row.tendereeId) " tag="a" class="list-titel-a" v-html="scope.row.tenderee"></router-link> <span class="list-titel-a" @click="getUipIdByCid(item.tendereeId)" v-html="item.tenderee">
</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -1673,6 +1681,21 @@ ...@@ -1673,6 +1681,21 @@
} }
}); });
}, },
getUipIdByCid(companyId){
var params=[companyId]
api.getUipIdByCid(params).then(res=>{
if (res.code==200) {
if(res.data&&res.data.length>0&&res.data[0].uipId){
this.$router.push({path: '/enterprise/'+this.encodeStr(res.data[0].uipId)})
}else{
this.$router.push({path: '/company/'+this.encodeStr(res.data[0].companyId)})
}
}
}).catch(error=>{
});
},
exportData(row,name) { exportData(row,name) {
let params={ let params={
fromUrl:document.referrer, fromUrl:document.referrer,
...@@ -1987,6 +2010,9 @@ ...@@ -1987,6 +2010,9 @@
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
.excel{
cursor: pointer;
}
} }
} }
...@@ -1994,6 +2020,7 @@ ...@@ -1994,6 +2020,7 @@
padding:0px 16px; padding:0px 16px;
.list-titel-a{ .list-titel-a{
color:#0081FF; color:#0081FF;
cursor: pointer;
} }
.bxpro_list_money{ .bxpro_list_money{
li{ li{
......
...@@ -94,7 +94,13 @@ ...@@ -94,7 +94,13 @@
<p>共有{{total}}条</p> <p>共有{{total}}条</p>
<p> <p>
<img src="@/assets/images/EXCEL.png" alt=""> <img src="@/assets/images/EXCEL.png" alt="">
<span>导出EXCEL</span> <el-popover
placement="top-end"
width="200"
trigger="hover"
content="功能正在开发中">
<span class="excel" slot="reference">导出EXCEL</span>
</el-popover>
</p> </p>
</div> </div>
<div class="table-item-jf1" v-if="tableData.length==0"> <div class="table-item-jf1" v-if="tableData.length==0">
...@@ -105,7 +111,10 @@ ...@@ -105,7 +111,10 @@
<ul class="bottomlist-content" v-if="tableData.length>0"> <ul class="bottomlist-content" v-if="tableData.length>0">
<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/debtProject/details/'+item.uuid " tag="a" class="list-titel-a" v-html="item.projectName"></router-link> <span v-html="item.projectName" @click="getUipIdByCid(item.id)">
</span>
</p> </p>
<div class="content-label" v-if="item.domicile"> <div class="content-label" v-if="item.domicile">
...@@ -133,15 +142,17 @@ ...@@ -133,15 +142,17 @@
<div class="list-content"> <div class="list-content">
<p class="list-content-text" v-if="item.projectEntity"> <p class="list-content-text" v-if="item.projectEntity">
<span>项目主体:</span> <span>项目主体:</span>
<span v-html="item.projectEntity"></span> <span v-html="item.projectEntity" class="blue" @click="getUipIdByCid(item.projectEntityId)"></span>
</p> </p>
<p class="list-content-text" v-if="item.chargeDepartment"> <p class="list-content-text" v-if="item.chargeDepartment">
<span>主管部门:</span> <span>主管部门:</span>
<span v-html="item.chargeDepartment"></span> <span v-html="item.chargeDepartment" >
</span>
</p> </p>
<p class="list-content-text" v-if="item.piu"> <p class="list-content-text" v-if="item.piu" >
<span>实施单位:</span> <span>实施单位:</span>
<span v-html="item.piu"></span> <span v-html="item.piu" class="blue" @click="getUipIdByCid(item.piuId)"></span>
</p> </p>
</div> </div>
</li> </li>
...@@ -539,6 +550,21 @@ ...@@ -539,6 +550,21 @@
} }
return this.hasValue; return this.hasValue;
}, },
getUipIdByCid(companyId){
var params=[companyId]
api.getUipIdByCid(params).then(res=>{
if (res.code==200) {
if(res.data&&res.data.length>0&&res.data[0].uipId){
this.$router.push({path: '/enterprise/'+this.encodeStr(res.data[0].uipId)})
}else{
this.$router.push({path: '/company/'+this.encodeStr(res.data[0].companyId)})
}
}
}).catch(error=>{
});
},
reset(){ reset(){
Object.assign(this.$data, this.$options.data.call(this)); //重置data Object.assign(this.$data, this.$options.data.call(this)); //重置data
this.init(); this.init();
...@@ -665,6 +691,9 @@ ...@@ -665,6 +691,9 @@
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
.excel{
cursor: pointer;
}
} }
.bottomlist-content{ .bottomlist-content{
......
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