Commit 9bb12b1b authored by danfuman's avatar danfuman
parents d1c56517 619307fc
......@@ -60,8 +60,16 @@ let enterprisePage= function enterprisePage(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}
\ No newline at end of file
export default {aptitudeCode,personCert,searchDic,regionWebList,uipGroupData,uipSerach,claim,enterprisePage,infoHeader}
\ No newline at end of file
......@@ -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 {
importData,
......@@ -213,5 +220,6 @@ export default {
bidNoticeDetail,
jskBidTenderPage,
tenderDetail,
tenderPage
tenderPage,
getUipIdByCid
}
\ No newline at end of file
......@@ -541,10 +541,10 @@ select {
border-radius: 2px 2px 2px 2px;
cursor: pointer;
text-align: center;
color: #ffffff;
margin-left: 8px;
margin-right: 32px;
width: 115px;
font-size: 14px;
margin-left: 16px;
margin-right: 24px;
padding: 0px 8px;
height: 34px;
line-height: 34px;
border: 1px solid #0081FF;
......@@ -755,12 +755,12 @@ select {
}
.checkbox .el-checkbox__label {
padding-left: 8px;
padding-left: 6px;
color: #232323;
}
.checkbox .checkbox-content .checkbox-content-qx {
margin-right: 30px;
margin-right: 24px;
}
.toolbar-right-search {
......@@ -790,43 +790,40 @@ select {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-right: none;
height: 32px;
line-height: 32px;
height: 30px;
line-height: 30px;
}
.toolbar-right-search .el-input-group__append {
padding: 0;
}
.toolbar-right-search .result-search {
height: 32px;
line-height: 32px;
}
.toolbar-right-search .toolbar-right-search .el-input .el-input__inner {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-right: none;
height: 32px;
line-height: 32px;
height: 30px;
line-height: 30px;
}
.toolbar-right-search .result-search {
width: 80px;
height: 32px;
background: #0081FF;
width: 59px;
height: 30px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
text-align: center;
line-height: 32px;
line-height: 30px;
padding: 0;
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 {
display: flex;
......@@ -834,16 +831,28 @@ select {
margin: auto;
background: #fff;
padding: 24px 0px;
border-bottom: 1px solid #EFEFEF;
/* border-bottom: 1px solid #EFEFEF; */
position: relative;
/* 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 {
background: #F5FAFF;
}
.info-list .info-list-left {
width: 128px;
padding: 0px 16px;
display: flex;
justify-content: center;
align-items: flex-start;
......@@ -854,8 +863,8 @@ select {
}
.info-list-left img {
width: 96px;
height: 96px;
width: 72px;
height: 72px;
}
.info-list-left .list-left-titel {
......@@ -873,6 +882,7 @@ select {
display: flex;
align-items: center;
line-height: 18px;
font-size: 14px;
/* cursor: pointer; */
}
......@@ -1157,6 +1167,11 @@ select {
.table-item .el-table td {
font-size: 13px;
}
.table-item-jf .el-table tr,
.table-item-jf .el-table td {
font-size: 13px;
}
.table-item-jf1 {
padding: 0px 16px;
......
......@@ -44,7 +44,7 @@
</div>
</div>
<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="checkbox">
<div class="checkbox-content">
......@@ -143,22 +143,27 @@
<div class="item-jf-text">建议调整关键词或筛选条件,重新搜索!</div>
</div>
<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">
<template slot-scope="scope">
<span>{{(pageNum - 1) *20 + scope.$index + 1}}</span>
</template>
</el-table-column>
<el-table-column label="公司名称" fixed width="430" >
<el-table-column label="公司名称" fixed width="380" >
<template slot-scope="scope">
<div class="renling">
<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">
<img src="@/assets/images/owner/renling1.png" alt="">
<div class="renling-btn" @click="claimbtn(scope.row)" >
<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>
<span v-else class="renling-hei" @click="claimbtn(scope.row)" >
<span v-else class="renling-hei">
认领
</span>
</div>
......@@ -167,7 +172,7 @@
</template>
</el-table-column>
<el-table-column label="区域" width="120">
<el-table-column label="区域" width="160">
<template slot-scope="scope">
{{scope.row.province}}
<template v-if="scope.row.city">
......@@ -452,8 +457,8 @@
width="244px">
<span>认领成功,是否完善客户信息?</span>
<div slot="footer" class="dialog-footer">
<span class="dialog-footer-btn1" type="primary" >
<router-link :to="'/enterprise/'+encodeStr(companyId)+'?customerId='+customerId+'&path=business' " tag="a" class="list-titel-a">立即完善</router-link>
<span class="dialog-footer-btn1" type="primary" @click="claimopen(companyId,customerId)" >
立即完善
</span>
<span class="dialog-footer-btn2" @click="search(pageNum, pageSize)">稍后</span>
</div>
......@@ -776,30 +781,46 @@ export default {
},
claimbtn(item){
this.companyId=item.companyId;
var params={
companyId:item.companyId,
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=>{
var info={};
api.infoHeader({companyId:this.companyId}).then(res=>{
// console.log(res)
if (res.code==200) {
this.dialogVisible=true;
this.customerId=res.data.customerId;
}
info=res.data;
let params={
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=>{
});
},
claimopen(companyId,customerId){
this.$router.push({
path: '/enterprise/'+encodeStr(companyId),
query: {
'customerId': customerId,
'path':'business'
} ,
})
this.dialogVisible=false;
},
search(pageNum, pageSize,exportFlag) {
this.dialogVisible=false;
......@@ -935,7 +956,7 @@ export default {
border-radius: 4px 4px 4px 4px;
background: #FFFFFF;
.content_item{
padding-top:24px;
padding-top:20px;
display: flex;
align-items: center;
.label{
......@@ -952,6 +973,9 @@ export default {
::v-deep .el-input-group__append{
cursor: pointer;
padding: 0px;
border-radius:2px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
.btn-search{
width: 70px;
color: #0081ff;
......@@ -1133,32 +1157,56 @@ export default {
.renling-btn{
display: flex;
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;
height: 16px;
margin-right: 8px;
background-image: url('../../../../assets/images/owner/renling2.png');
background-size: 100% 100%;
background-repeat: no-repeat;
}
.renling-hui{
font-size: 12px;
font-size: 13px;
font-weight: 400;
color: rgba(35,35,35,0.4);
}
.renling-hei{
cursor: pointer;
font-size: 12px;
font-size: 13px;
font-weight: 400;
color: #3D3D3D;
}
.renling-hei:hover{
}
.renling-btn:hover{
.renling-hei{
color: #0081FF;
}
}
}
}
.table-item1{
::v-deep .el-table__body-wrapper{
color: #232323;
}
}
.table-item-jf1{
border-top:1px solid #EFEFEF;
}
.pagination{
padding: 14px ;
......
......@@ -2,7 +2,7 @@
<div>
<div class="content">
<div class="content_item">
<div class="content_item content_item_padding0">
<div class="content_right item_ckquery_list">
<el-input class="ename_input" placeholder="请输入关键字,如企业名称、统一社会信用代码等" v-model="ename" @input="projectNamebtn('ename',ename,'关键字:')">
<div slot="append" class="btn-search" @click="search">搜索</div>
......@@ -415,7 +415,7 @@
</div>
</div>
<div class="content_item content_item_nopadding ">
<div class="content_item content_item_padding0">
<div class="search-new" >
<span @click="search()">查询</span>
<span @click="reset()">重置</span>
......@@ -441,7 +441,7 @@
</el-popover>
<div class="toolbar-right-search">
<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>
</div>
</div>
......@@ -472,9 +472,9 @@
</router-link>
</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 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">
<span class="positive positive1" :style="{'background':itemLabels.bgColor,'color':itemLabels.fontColor}">{{ itemLabels.labelName }} <template v-if="itemLabels.num>1">{{itemLabels.num}}</template></span>
</template>
......@@ -503,7 +503,7 @@
</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">
<span class="right-title-grey">资质资格:</span>
<router-link :to="toEnterprise(item.jskEid,'')" target="_blank" >
......@@ -559,6 +559,9 @@
<span class="right-title-grey" style="width: 984px;" v-html="item.formerName"></span>
</p>
</div>
<div class="solid">
<p></p>
</div>
</li>
</ul>
<div class="pagination clearfix" v-show="total>0">
......@@ -2819,10 +2822,11 @@
<style lang="scss" scoped>
.content{
padding: 0px 16px;
padding-top: 16px;
border-radius: 4px 4px 4px 4px;
background: #FFFFFF;
.content_item{
padding-top: 12px;
padding-top: 20px;
display: flex;
align-items: center;
.label{
......@@ -2948,7 +2952,7 @@
.content_right{
width: 1400px;
.select-popper{
margin-bottom: 8px;
margin-bottom: 20px;
}
}
}
......@@ -2963,8 +2967,9 @@
display: flex;
justify-content: space-between;
align-items: center;
margin: 0px 16px;
margin-top: 12px;
padding: 16px ;
padding: 16px 0px ;
border-bottom: 1px solid #EFEFEF;
.title-right{
......@@ -2994,111 +2999,7 @@
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{
padding: 14px ;
......@@ -3112,7 +3013,6 @@
}
.positive1{
padding: 0 8px !important;
margin-bottom: 8px;
margin-right: 7px !important;
}
.positive-gdbq{
......
......@@ -9,9 +9,10 @@
<p>{{itme.value}}</p>
</div>
</div>
<p class="solid"></p>
</div>
</div>
<p class="solid"></p>
</div>
<!-- 查业主单位 -->
<Owner v-if="personnelHerf=='Owner'" />
......@@ -72,6 +73,7 @@
.content{
padding: 0px 16px;
background: #FFFFFF;
position: relative;
}
......@@ -122,12 +124,12 @@
margin-right: 6px;
}
.app-container .combined-title .title-right .solid {
.app-container .content .solid {
width: 100%;
height: 1px;
background-color: #EEEEEE;
position: absolute;
bottom: -1px;
bottom: 1px;
left: 0;
z-index: 1;
}
......@@ -148,12 +150,13 @@
font-size: 16px;
text-align: center;
margin-right: 32px;
line-height: 40px;
}
.tab div p {
display: inline-block;
padding: 0px;
padding-bottom: 16px;
}
......
......@@ -93,7 +93,14 @@
</p>
<p>
<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>
<span>
{{textList.province}}
......@@ -178,7 +185,7 @@
<div class="main3-box">
<p>
<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>
<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>
......
......@@ -124,7 +124,13 @@
<p>共有{{total}}</p>
<p>
<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>
</div>
......@@ -966,6 +972,9 @@ export default {
width: 18px;
height: 18px;
}
.excel{
cursor: pointer;
}
}
}
......
......@@ -25,6 +25,39 @@
<div class="content_item">
<div class="label">更多筛选</div>
<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" >
<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 +"项": ""}}
......@@ -144,7 +177,13 @@
<p>共有{{total}}</p>
<p>
<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>
</div>
......@@ -178,8 +217,8 @@
<div class="list-content" v-if="item.tenderee||item.planTenderAmount||item.projectCapitalSource">
<p class="list-content-text" v-if="item.tenderee">
<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 v-else>{{item.tenderee||'--'}}</span>
<span class="blue" @click="getUipIdByCid(item.tendereeId)" v-html="item.tenderee">
</span>
</p>
<p class="list-content-text" v-if="item.planTenderAmount">
<span>合同预估金额(万元):</span>
......@@ -242,6 +281,44 @@ export default {
data() {
return {
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: [],
addressType: [],
props: {
......@@ -292,6 +369,9 @@ export default {
startPlanTenderAmount:'',
endPlanTenderAmount:'',
projectCapitalSource:[],
startIssueTime:'',
endIssueTime:'',
},
planTenderAmountShowPopper:false,
startPlanTenderAmount:'',
......@@ -308,7 +388,7 @@ export default {
};
},
computed: {
checkJskBidQueryDto() {
checkjskBidPlanDto() {
let arr = [];
let data = {};
if(this.jskBidPlanDto.projectName){
......@@ -474,9 +554,172 @@ export default {
this.limit = 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() {
this.$refs.address.handleClear();
},
domicileChange() {
let arr = this.$refs.address.getCheckedNodes();
let province = [],
......@@ -581,6 +824,21 @@ export default {
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() {
Object.assign(this.$data, this.$options.data.call(this)); //重置data
this.init();
......@@ -712,6 +970,9 @@ export default {
width: 18px;
height: 18px;
}
.excel{
cursor: pointer;
}
}
}
......
......@@ -180,7 +180,13 @@
<p>共有{{total}}</p>
<p>
<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>
</div>
......@@ -211,7 +217,9 @@
<div class="list-content">
<p class="list-content-text" v-if="item.companyName">
<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>
......@@ -1071,6 +1079,21 @@
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){
var ckhasValue;
if(param){
......@@ -1242,6 +1265,9 @@
width: 18px;
height: 18px;
}
.excel{
cursor: pointer;
}
}
}
......
......@@ -219,7 +219,13 @@
<p>共有{{total}}</p>
<p>
<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>
</div>
......@@ -239,8 +245,8 @@
<div class="list-content" v-if="item.companyName||item.transactionPrice||item.acreage||item.acreage">
<p class="list-content-text" v-if="item.companyName">
<span>受让人:</span>
<span >
<router-link :to="'/company/' + encodeStr(item.companyId) + '/?index=true'" tag="a" class="list-titel-a blue" v-html="item.companyName"></router-link>
<span class="blue" @click="getUipIdByCid(item.companyId)" v-html="item.companyName">
</span>
</p>
......@@ -920,6 +926,21 @@
this.init();
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() {
this.search();
this.addressListfn();
......@@ -1045,6 +1066,9 @@
width: 18px;
height: 18px;
}
.excel{
cursor: pointer;
}
}
}
......
......@@ -180,7 +180,14 @@
<p>共有{{total}}</p>
<p>
<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>
</div>
<div class="table-item-jf1" v-if="tableData.length==0">
......@@ -212,13 +219,13 @@
<div class="list-content list-content1" v-if="item.companyName||item.agency">
<p class="list-content-text" v-if="item.companyName">
<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 v-else class="blue" v-html="item.companyName"></span>
<span class="blue" @click="getUipIdByCid(item.jskEid)" v-html="item.companyName">
</span>
</p>
<p class="list-content-text" v-if="item.agency">
<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 v-else class="blue" v-html="item.agency"></span>
<span class="blue" @click="getUipIdByCid(item.agencyId)" v-html="item.agency">
</span>
</p>
</div>
......@@ -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>
......@@ -1233,6 +1255,9 @@
width: 18px;
height: 18px;
}
.excel{
cursor: pointer;
}
}
.bottomlist-content {
......
......@@ -336,7 +336,13 @@
<p>共有{{total}}条</p>
<p>
<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>
</div>
......@@ -448,7 +454,9 @@
</el-table-column>
<el-table-column prop="zj" label="招标人" width="280" >
<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>
</el-table-column>
</el-table>
......@@ -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) {
let params={
fromUrl:document.referrer,
......@@ -1987,6 +2010,9 @@
width: 18px;
height: 18px;
}
.excel{
cursor: pointer;
}
}
}
......@@ -1994,6 +2020,7 @@
padding:0px 16px;
.list-titel-a{
color:#0081FF;
cursor: pointer;
}
.bxpro_list_money{
li{
......
......@@ -94,7 +94,13 @@
<p>共有{{total}}条</p>
<p>
<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>
</div>
<div class="table-item-jf1" v-if="tableData.length==0">
......@@ -105,7 +111,10 @@
<ul class="bottomlist-content" v-if="tableData.length>0">
<li class="bottomlist-list" v-for="item in tableData">
<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>
<div class="content-label" v-if="item.domicile">
......@@ -133,15 +142,17 @@
<div class="list-content">
<p class="list-content-text" v-if="item.projectEntity">
<span>项目主体:</span>
<span v-html="item.projectEntity"></span>
<span v-html="item.projectEntity" class="blue" @click="getUipIdByCid(item.projectEntityId)"></span>
</p>
<p class="list-content-text" v-if="item.chargeDepartment">
<span>主管部门:</span>
<span v-html="item.chargeDepartment"></span>
<span v-html="item.chargeDepartment" >
</span>
</p>
<p class="list-content-text" v-if="item.piu">
<p class="list-content-text" v-if="item.piu" >
<span>实施单位:</span>
<span v-html="item.piu"></span>
<span v-html="item.piu" class="blue" @click="getUipIdByCid(item.piuId)"></span>
</p>
</div>
</li>
......@@ -539,6 +550,21 @@
}
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(){
Object.assign(this.$data, this.$options.data.call(this)); //重置data
this.init();
......@@ -665,6 +691,9 @@
width: 18px;
height: 18px;
}
.excel{
cursor: pointer;
}
}
.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