Commit 77e284af authored by danfuman's avatar danfuman

Merge branch 'V20231129-中建一局二公司' of http://192.168.60.201/root/dsk-operate-sys...

Merge branch 'V20231129-中建一局二公司' of http://192.168.60.201/root/dsk-operate-sys into V20231129-中建一局二公司
parents dd81d3ce 4e616dd1
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><defs><clipPath id="master_svg0_1384_096539"><rect x="0" y="0" width="16" height="16" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_1384_096539)"><g><path d="M3.3336591875,15.1663078125L7.3336621875,15.1663078125Q7.3829021875,15.1663078125,7.4312021875,15.1567078125Q7.4795021875,15.1471078125,7.5250021875,15.1283078125Q7.5705021875,15.1094078125,7.6114421875,15.0821078125Q7.6523921875,15.0547078125,7.6872121875,15.0199078125Q7.7220321875,14.9851078125,7.7493921875,14.9441078125Q7.7767521875,14.9032078125,7.7956021875,14.8577078125Q7.8144421875,14.8122078125,7.8240521875,14.7639078125Q7.8336621875,14.7156078125,7.8336621875,14.6663078125Q7.8336621875,14.6171078125,7.8240521875,14.5688078125Q7.8144421875,14.5205078125,7.7956021875,14.4750078125Q7.7767521875,14.4295078125,7.7493921875,14.3885078125Q7.7220321875,14.3476078125,7.6872121875,14.3128078125Q7.6523921875,14.2780078125,7.6114421875,14.2506078125Q7.5705021875,14.2232078125,7.5250021875,14.2044078125Q7.4795021875,14.1855078125,7.4312021875,14.1759078125Q7.3829021875,14.1663078125,7.3336621875,14.1663078125L3.3336591875,14.1663078125Q3.2646201875000003,14.1663078125,3.2158061875,14.1175078125Q3.1669921875,14.0687078125,3.1669921875,13.9997078125L3.1669921875,1.9996748125Q3.1669921875,1.8330078125,3.3336591875,1.8330078125L10.1109821875,1.8330078125L12.8336921875,4.8582078125L12.8336921875,7.6663378125Q12.8336921875,7.7155878125,12.8432921875,7.7638878125Q12.8528921875,7.8121878125,12.8716921875,7.8576778125Q12.8905921875,7.9031778125,12.9178921875,7.9441278125Q12.9452921875,7.9850678125,12.9800921875,8.0198978125Q13.0148921875,8.0547178125,13.0558921875,8.0820778125Q13.0967921875,8.109437812500001,13.1422921875,8.1282778125Q13.1877921875,8.147127812499999,13.2360921875,8.156737812500001Q13.2843921875,8.1663378125,13.3336921875,8.1663378125Q13.3828921875,8.1663378125,13.4311921875,8.156737812500001Q13.4794921875,8.147127812499999,13.5249921875,8.1282778125Q13.5704921875,8.109437812500001,13.6114921875,8.0820778125Q13.6523921875,8.0547178125,13.6871921875,8.0198978125Q13.7219921875,7.9850678125,13.7493921875,7.9441278125Q13.7767921875,7.9031778125,13.7955921875,7.8576778125Q13.8144921875,7.8121878125,13.8240921875,7.7638878125Q13.8336921875,7.7155878125,13.8336921875,7.6663378125L13.8336921875,4.6663378125Q13.8336921875,4.5736978125,13.8004921875,4.4872078124999994Q13.7672921875,4.4007178125,13.7052921875,4.3318578125L10.7053021875,0.9985258125Q10.6341921875,0.9195078125,10.537082187500001,0.8762578125Q10.4399621875,0.8330078125,10.3336621875,0.8330078125L3.3336591875,0.8330078125Q2.8504091875,0.8330078125,2.5087011875,1.1747168125Q2.1669921875,1.5164248125,2.1669921875,1.9996748125L2.1669921875,13.9997078125Q2.1669921875,14.4829078125,2.5087021875,14.8246078125Q2.8504101875,15.1663078125,3.3336591875,15.1663078125Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M8.8330078125,13.33333L8.8330078125,14.66667Q8.8330078125,14.715910000000001,8.8426148125,14.76421Q8.852222812499999,14.81251,8.8710678125,14.85801Q8.8899138125,14.90351,8.9172728125,14.94445Q8.9446328125,14.9854,8.9794548125,15.02022Q9.0142768125,15.05504,9.0552228125,15.0824Q9.0961688125,15.10976,9.1416658125,15.12861Q9.1871628125,15.14745,9.2354627125,15.157060000000001Q9.2837621125,15.16667,9.3330078125,15.16667L10.6663378125,15.16667Q10.7657978125,15.16667,10.8576878125,15.12861Q10.9495678125,15.09055,11.0198978125,15.02022L14.3532278125,11.68689Q14.3880478125,11.65206,14.4154078125,11.61112Q14.4427678125,11.570170000000001,14.4616178125,11.52468Q14.4804578125,11.47918,14.490067812500001,11.43088Q14.4996778125,11.38258,14.4996778125,11.33333Q14.4996778125,11.284089999999999,14.490067812500001,11.23579Q14.4804578125,11.18749,14.4616178125,11.14199Q14.4427678125,11.09649,14.4154078125,11.05555Q14.3880478125,11.0146,14.3532278125,10.97978L13.0198978125,9.646447Q12.9495678125,9.57612,12.8576878125,9.53806Q12.7657978125,9.5,12.6663378125,9.5Q12.5668878125,9.5,12.4749978125,9.53806Q12.3831178125,9.57612,12.3127878125,9.646447L8.9794548125,12.97978Q8.9091278125,13.05011,8.8710678125,13.14199Q8.8330078125,13.23388,8.8330078125,13.33333ZM9.8330078125,14.16667L10.4592378125,14.16667L13.2925678125,11.33333L12.6663378125,10.707107L9.8330078125,13.54044L9.8330078125,14.16667Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M10,5.1663378125L13.33333,5.1663378125Q13.38258,5.1663378125,13.43088,5.156737812499999Q13.47918,5.1471278125,13.52467,5.1282778125Q13.570170000000001,5.1094378124999995,13.61112,5.0820778125Q13.65206,5.0547178125,13.68689,5.0198978125Q13.72171,4.9850678125000005,13.74907,4.9441278125Q13.77643,4.9031778125,13.79527,4.8576778125Q13.814119999999999,4.8121878124999995,13.82373,4.7638878125Q13.83333,4.7155878125,13.83333,4.6663378125Q13.83333,4.6170978125,13.82373,4.5687978125Q13.814119999999999,4.5204978125,13.79527,4.4749978125Q13.77643,4.4294978125,13.74907,4.3885578125Q13.72171,4.3476078125,13.68689,4.3127878125Q13.65206,4.2779678125,13.61112,4.2506078125Q13.570170000000001,4.2232478125,13.52467,4.2043978125Q13.47918,4.1855578125,13.43088,4.1759478125000005Q13.38258,4.1663378125,13.33333,4.1663378125L10.5,4.1663378125L10.5,1.3330078125Q10.5,1.2837621125,10.490393,1.2354627125Q10.480785000000001,1.1871628125,10.46194,1.1416658124999999Q10.443094,1.0961688125,10.415735,1.0552228125Q10.388375,1.0142768125,10.353553,0.9794548125Q10.318731,0.9446328125,10.277785,0.9172728125Q10.236839,0.8899138125,10.191342,0.8710678125Q10.145845,0.8522228125,10.0975451,0.8426148124999999Q10.0492457,0.8330078125,10,0.8330078125Q9.9507543,0.8330078125,9.9024549,0.8426148124999999Q9.854155,0.8522228125,9.808658,0.8710678125Q9.763161,0.8899138125,9.722215,0.9172728125Q9.681269,0.9446328125,9.646447,0.9794548125Q9.611625,1.0142768125,9.584265,1.0552228125Q9.556906,1.0961688125,9.53806,1.1416658124999999Q9.519214999999999,1.1871628125,9.509607,1.2354627125Q9.5,1.2837621125,9.5,1.3330078125L9.5,4.6663378125Q9.5,4.7155878125,9.509607,4.7638878125Q9.519214999999999,4.8121878124999995,9.53806,4.8576778125Q9.556906,4.9031778125,9.584265,4.9441278125Q9.611625,4.9850678125000005,9.646447,5.0198978125Q9.681269,5.0547178125,9.722215,5.0820778125Q9.763161,5.1094378124999995,9.808658,5.1282778125Q9.854155,5.1471278125,9.9024549,5.156737812499999Q9.9507543,5.1663378125,10,5.1663378125Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
\ No newline at end of file
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><defs><clipPath id="master_svg0_1384_096539"><rect x="0" y="0" width="16" height="16" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_1384_096539)"><g><path d="M3.3336591875,15.1663078125L7.3336621875,15.1663078125Q7.3829021875,15.1663078125,7.4312021875,15.1567078125Q7.4795021875,15.1471078125,7.5250021875,15.1283078125Q7.5705021875,15.1094078125,7.6114421875,15.0821078125Q7.6523921875,15.0547078125,7.6872121875,15.0199078125Q7.7220321875,14.9851078125,7.7493921875,14.9441078125Q7.7767521875,14.9032078125,7.7956021875,14.8577078125Q7.8144421875,14.8122078125,7.8240521875,14.7639078125Q7.8336621875,14.7156078125,7.8336621875,14.6663078125Q7.8336621875,14.6171078125,7.8240521875,14.5688078125Q7.8144421875,14.5205078125,7.7956021875,14.4750078125Q7.7767521875,14.4295078125,7.7493921875,14.3885078125Q7.7220321875,14.3476078125,7.6872121875,14.3128078125Q7.6523921875,14.2780078125,7.6114421875,14.2506078125Q7.5705021875,14.2232078125,7.5250021875,14.2044078125Q7.4795021875,14.1855078125,7.4312021875,14.1759078125Q7.3829021875,14.1663078125,7.3336621875,14.1663078125L3.3336591875,14.1663078125Q3.2646201875000003,14.1663078125,3.2158061875,14.1175078125Q3.1669921875,14.0687078125,3.1669921875,13.9997078125L3.1669921875,1.9996748125Q3.1669921875,1.8330078125,3.3336591875,1.8330078125L10.1109821875,1.8330078125L12.8336921875,4.8582078125L12.8336921875,7.6663378125Q12.8336921875,7.7155878125,12.8432921875,7.7638878125Q12.8528921875,7.8121878125,12.8716921875,7.8576778125Q12.8905921875,7.9031778125,12.9178921875,7.9441278125Q12.9452921875,7.9850678125,12.9800921875,8.0198978125Q13.0148921875,8.0547178125,13.0558921875,8.0820778125Q13.0967921875,8.109437812500001,13.1422921875,8.1282778125Q13.1877921875,8.147127812499999,13.2360921875,8.156737812500001Q13.2843921875,8.1663378125,13.3336921875,8.1663378125Q13.3828921875,8.1663378125,13.4311921875,8.156737812500001Q13.4794921875,8.147127812499999,13.5249921875,8.1282778125Q13.5704921875,8.109437812500001,13.6114921875,8.0820778125Q13.6523921875,8.0547178125,13.6871921875,8.0198978125Q13.7219921875,7.9850678125,13.7493921875,7.9441278125Q13.7767921875,7.9031778125,13.7955921875,7.8576778125Q13.8144921875,7.8121878125,13.8240921875,7.7638878125Q13.8336921875,7.7155878125,13.8336921875,7.6663378125L13.8336921875,4.6663378125Q13.8336921875,4.5736978125,13.8004921875,4.4872078124999994Q13.7672921875,4.4007178125,13.7052921875,4.3318578125L10.7053021875,0.9985258125Q10.6341921875,0.9195078125,10.537082187500001,0.8762578125Q10.4399621875,0.8330078125,10.3336621875,0.8330078125L3.3336591875,0.8330078125Q2.8504091875,0.8330078125,2.5087011875,1.1747168125Q2.1669921875,1.5164248125,2.1669921875,1.9996748125L2.1669921875,13.9997078125Q2.1669921875,14.4829078125,2.5087021875,14.8246078125Q2.8504101875,15.1663078125,3.3336591875,15.1663078125Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M8.8330078125,13.33333L8.8330078125,14.66667Q8.8330078125,14.715910000000001,8.8426148125,14.76421Q8.852222812499999,14.81251,8.8710678125,14.85801Q8.8899138125,14.90351,8.9172728125,14.94445Q8.9446328125,14.9854,8.9794548125,15.02022Q9.0142768125,15.05504,9.0552228125,15.0824Q9.0961688125,15.10976,9.1416658125,15.12861Q9.1871628125,15.14745,9.2354627125,15.157060000000001Q9.2837621125,15.16667,9.3330078125,15.16667L10.6663378125,15.16667Q10.7657978125,15.16667,10.8576878125,15.12861Q10.9495678125,15.09055,11.0198978125,15.02022L14.3532278125,11.68689Q14.3880478125,11.65206,14.4154078125,11.61112Q14.4427678125,11.570170000000001,14.4616178125,11.52468Q14.4804578125,11.47918,14.490067812500001,11.43088Q14.4996778125,11.38258,14.4996778125,11.33333Q14.4996778125,11.284089999999999,14.490067812500001,11.23579Q14.4804578125,11.18749,14.4616178125,11.14199Q14.4427678125,11.09649,14.4154078125,11.05555Q14.3880478125,11.0146,14.3532278125,10.97978L13.0198978125,9.646447Q12.9495678125,9.57612,12.8576878125,9.53806Q12.7657978125,9.5,12.6663378125,9.5Q12.5668878125,9.5,12.4749978125,9.53806Q12.3831178125,9.57612,12.3127878125,9.646447L8.9794548125,12.97978Q8.9091278125,13.05011,8.8710678125,13.14199Q8.8330078125,13.23388,8.8330078125,13.33333ZM9.8330078125,14.16667L10.4592378125,14.16667L13.2925678125,11.33333L12.6663378125,10.707107L9.8330078125,13.54044L9.8330078125,14.16667Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M10,5.1663378125L13.33333,5.1663378125Q13.38258,5.1663378125,13.43088,5.156737812499999Q13.47918,5.1471278125,13.52467,5.1282778125Q13.570170000000001,5.1094378124999995,13.61112,5.0820778125Q13.65206,5.0547178125,13.68689,5.0198978125Q13.72171,4.9850678125000005,13.74907,4.9441278125Q13.77643,4.9031778125,13.79527,4.8576778125Q13.814119999999999,4.8121878124999995,13.82373,4.7638878125Q13.83333,4.7155878125,13.83333,4.6663378125Q13.83333,4.6170978125,13.82373,4.5687978125Q13.814119999999999,4.5204978125,13.79527,4.4749978125Q13.77643,4.4294978125,13.74907,4.3885578125Q13.72171,4.3476078125,13.68689,4.3127878125Q13.65206,4.2779678125,13.61112,4.2506078125Q13.570170000000001,4.2232478125,13.52467,4.2043978125Q13.47918,4.1855578125,13.43088,4.1759478125000005Q13.38258,4.1663378125,13.33333,4.1663378125L10.5,4.1663378125L10.5,1.3330078125Q10.5,1.2837621125,10.490393,1.2354627125Q10.480785000000001,1.1871628125,10.46194,1.1416658124999999Q10.443094,1.0961688125,10.415735,1.0552228125Q10.388375,1.0142768125,10.353553,0.9794548125Q10.318731,0.9446328125,10.277785,0.9172728125Q10.236839,0.8899138125,10.191342,0.8710678125Q10.145845,0.8522228125,10.0975451,0.8426148124999999Q10.0492457,0.8330078125,10,0.8330078125Q9.9507543,0.8330078125,9.9024549,0.8426148124999999Q9.854155,0.8522228125,9.808658,0.8710678125Q9.763161,0.8899138125,9.722215,0.9172728125Q9.681269,0.9446328125,9.646447,0.9794548125Q9.611625,1.0142768125,9.584265,1.0552228125Q9.556906,1.0961688125,9.53806,1.1416658124999999Q9.519214999999999,1.1871628125,9.509607,1.2354627125Q9.5,1.2837621125,9.5,1.3330078125L9.5,4.6663378125Q9.5,4.7155878125,9.509607,4.7638878125Q9.519214999999999,4.8121878124999995,9.53806,4.8576778125Q9.556906,4.9031778125,9.584265,4.9441278125Q9.611625,4.9850678125000005,9.646447,5.0198978125Q9.681269,5.0547178125,9.722215,5.0820778125Q9.763161,5.1094378124999995,9.808658,5.1282778125Q9.854155,5.1471278125,9.9024549,5.156737812499999Q9.9507543,5.1663378125,10,5.1663378125Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
\ No newline at end of file
......@@ -273,3 +273,53 @@
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.evalist{
background: #fff;
display: flex;
padding: 12px 10px;
justify-content: space-around;
>div{
margin: 0 6px;
border: 1px solid #DCDFE6;
height: 78px;
width: calc(14.28% - 12px);
text-align: center;
line-height: 24px;
border-radius: 4px;
.eva1{
padding-top: 13px;
>img{
width: 24px;
margin-right: 5px;
margin-top: -1px;
}
}
.eva2{
padding-top: 8px;
>span{
font-weight: 500;
font-size: 24px;
margin-right: 5px;
}
}
}
}
//小导航
.sup-miantitle {
color: #232323;
font-size: 12px;
margin: 12px 0;
padding: 0px 16px;
box-sizing: border-box;
> span {
opacity: 0.4;
&:last-child {
opacity: 0.8;
}
&.on:hover {
color: #0081ff;
opacity: 1;
cursor: pointer;
}
}
}
......@@ -165,10 +165,18 @@ export default {
startTime = new Date(endTime.getTime() - 3600 * 1000 * 24 * 7);
timeStr = [this.formatDate(startTime), this.formatDate(endTime)];
break;
case '近一周':
startTime = new Date(endTime.getTime() - 3600 * 1000 * 24 * 7);
timeStr = [this.formatDate(startTime), this.formatDate(endTime)];
break;
case '近半月':
startTime = new Date(endTime.getTime() - 3600 * 1000 * 24 * 15);
timeStr = [this.formatDate(startTime), this.formatDate(endTime)];
break;
case '近一月':
startTime = new Date(endTime.getTime() - 3600 * 1000 * 24 * 30);
timeStr = [this.formatDate(startTime), this.formatDate(endTime)];
break;
case '近1年':
startTime = new Date().setFullYear(new Date().getFullYear() - 1);
if (this.dateTo) {
......
......@@ -25,7 +25,7 @@
@mouseleave="searchUnHover($event,form)">
<img src="@/assets/images/enterprise/enterprise-search-icon.svg">
<transition name="fade-position" appear mode="out-in">
<span v-if="!form.hover && !form.value">搜索</span>
<span v-if="!form.hover && !form.value">{{form.isword?form.isword:'搜索'}}</span>
<el-input v-model="form.value" :placeholder="form.placeholder ? form.placeholder : '输入关键词查询'"
:style="form.width?'width:'+form.width+'px':'width:238px'" @focus.stop="searchFocus($event,form)"
@input="value => searchInput(value,form)" v-else @keydown.native.enter="changeSelect">
......
<template>
<div class="app-container part-container details-of-party">
<div style="height: 100%;" v-if="!isCompany">
<div style="height: 100%;" v-if="!isCompany">
<skeleton style="padding-top: 16px"></skeleton>
</div>
<Header :company-id="companyId" :companyInfo="companyInfo" :cooDetail="cooDetail" v-if="companyId" @close-detail="closeDetail" />
<div class="part-main">
<div class="part-left">
<side-bar :statisticObj="statisticObj" ref="sidebar" @currentPath="showPartPage" :pathName="currentPath.pathName"
:partBoxHeight="partBoxHeight" :customerId="customerId" :isCompany="isCompany" :isCustomer="isCustomer" />
:partBoxHeight="partBoxHeight" :customerId="customerId" :isCompany="isCompany" :isCustomer="isCustomer" />
</div>
<div class="part-right">
<div id="partBox" v-if="companyId" class="part-common-container-style">
......@@ -40,7 +40,7 @@
<cooperative-owner-units v-if="currentPath.pathName=='cooperativeOwnerUnits'" :company-id="companyId"></cooperative-owner-units>
<!-- 2、常合作施工单位 -->
<cooperative-construction-unit v-if="currentPath.pathName=='cooperativeConstructionUnit'"
:company-id="companyId"></cooperative-construction-unit>
:company-id="companyId"></cooperative-construction-unit>
<!-- 3、常合作集团 -->
<cooperative-group v-if="currentPath.pathName=='cooperativeGroup'" :company-id="companyId"></cooperative-group>
<!-- 投诚分析 -->
......@@ -63,12 +63,12 @@
<!-- 内部合作 -->
<!-- 1、咨询机构合作 -->
<consulting-agency-cooperation v-if="currentPath.pathName=='consultingAgencyCooperation'"
:company-id="companyId"></consulting-agency-cooperation>
:company-id="companyId"></consulting-agency-cooperation>
<!-- 2、准入情况 -->
<access-condition v-if="currentPath.pathName=='accessCondition'" :company-id="companyId" :companyInfo="companyInfo"></access-condition>
<!-- 3、供应商合作记录 -->
<cooperation-record v-if="currentPath.pathName=='cooperationRecord'" :company-id="companyId"
:company-name="companyName"></cooperation-record>
:company-name="companyName" :ctm-id="ctmId"></cooperation-record>
<!-- 4、施工业绩 -->
<construction-performance v-if="currentPath.pathName=='constructionPerformance'" :company-id="companyId"></construction-performance>
<!-- 5、在施工程情况 -->
......@@ -81,10 +81,10 @@
<Preference v-if="currentPath.pathName=='preference'" :customer-ids="customerId" :customerInfo="customerInfo" />
<!-- 合作情况 -->
<Cooperate v-if="currentPath.pathName=='cooperate'" :customer-ids="customerId" :companyInfo="companyInfo" :cooDetail="cooDetail"
:customerInfo="customerInfo" @detail="cooperateDetail" />
:customerInfo="customerInfo" @detail="cooperateDetail" />
<!-- 决策链条 -->
<DecisionMaking v-if="currentPath.pathName=='decisionMaking'" :customer-ids="customerId" :companyInfo="companyInfo"
:customerInfo="customerInfo" />
:customerInfo="customerInfo" />
<!-- 跟进记录 -->
<Gjjl v-if="currentPath.pathName=='gjjl'" :isDisabled='false' types="gjdt" :customer-ids="customerId" />
</template>
......@@ -145,13 +145,13 @@ import DecisionMaking from "./decisionMaking"; //决策链条
import Gjjl from "../../project/projectList/component/gjjl"; //跟进记录
import ConsultingAgencyCooperation from "@/views/detail/party-a/internalCooperation/consultingAgencyCooperation"; //内部合作 咨询机构合作
import AccessCondition from "@/views/detail/party-a/internalCooperation/accessCondition"; //内部合作 准入情况
import CooperationRecord from "@/views/detail/party-a/internalCooperation/cooperationRecord"; //内部合作 准入情况
import CooperationRecord from "@/views/detail/party-a/internalCooperation/cooperationRecord"; //内部合作 供应商合作记录
import ConstructionPerformance from "@/views/detail/party-a/internalCooperation/constructionPerformance"; //内部合作 施工业绩
import ConstructionSituation from "@/views/detail/party-a/internalCooperation/constructionSituation"; //内部合作 在施工程情况
import {
urbanInvestmentPage,
} from '@/api/detail/party-a/urbanLnvestment';
import skeleton from './component/skeleton'
import skeleton from './component/skeleton';
export default {
name: 'PartyA',
components: {
......@@ -214,6 +214,8 @@ export default {
// 企业名称
companyName: "",
companyId: '', //企业Id(测试默认3068)
// 供应商Id
ctmId: "",
customerId: '', //企业Id(测试默认'a00d582a6041f32c16aac804e4924736')
isCompany: false, //判断是否有建设库数据
isCustomer: false, //判断是否展示修改客户信息
......@@ -243,6 +245,7 @@ export default {
},
watch: {
'$route'(to, from) {
// 该项目 不要传递 customerId 传递ctmId 该逻辑只是复制央企项目过来 没有实际意义
if (to.name == 'PartyA' && to.query.customerId) {
if (to.query.customerId && to.query.path == 'business' || to.query.path == 'gjjl') {
if (this.companyId == 0) {
......@@ -282,12 +285,6 @@ export default {
}
},
created() {
let companyName = this.$route.query.companyName ? this.$route.query.companyName : "";
document.getElementById('tagTitle').innerText = companyName;
let titlename = document.getElementById('tagTitles');
if (titlename) {
titlename.innerText = companyName;
}
this.init();
},
mounted() {
......@@ -296,9 +293,12 @@ export default {
async init() {
try {
if (this.$route.params.id) { // 获取companyId
const { companyName, ctmId } = this.$route.query;
let companyId = this.$route.params.id;
// 有企业名的情况下带上企业名称
this.companyName = this.$route.query.companyName ? this.$route.query.companyName : "";
this.companyName = companyName ? companyName : "";
// 供应商id
this.ctmId = ctmId ? ctmId : "";
await this.getCompanyId(companyId);
}
} catch (error) {
......@@ -317,8 +317,8 @@ export default {
this.listenSider();
await this.handleQuery();
await this.getStatistic(this.companyName);
await this.association(this.$route.query.customerId);
// await this.association(this.$route.query.customerId);
await this.association();
this.$refs.sidebar.getFinancial(data);
}
},
......@@ -353,12 +353,13 @@ export default {
this.$refs.sidebar.sideRoute = arr;
}
}
if (this.companyInfo && this.companyInfo.companyName) {
if ((this.companyInfo && this.companyInfo.companyName) || this.companyName) {
await this.$nextTick();
document.getElementById('tagTitle').innerText = this.companyInfo.companyName;
const _cname = this.companyInfo.companyName ? this.companyInfo.companyName : this.companyName;
document.getElementById('tagTitle').innerText = _cname;
let titlename = document.getElementById('tagTitles');
if (titlename) {
titlename.innerText = this.companyInfo.companyName;
titlename.innerText = _cname;
}
}
}
......
......@@ -47,11 +47,11 @@ export default {
DialogHeadFormNew,
DialogTables
},
props: ['companyId', "companyName"],
props: ['companyId', "companyName", "ctmId"],
data() {
return {
queryParams: {
customerId: this.companyId,
customerId: this.ctmId,
customerName: this.companyName,
pageNum: 1,
pageSize: 10,
......
......@@ -489,7 +489,8 @@
color: #232323;
height: 30px;
margin-bottom: 50px;
padding-left: 10px;
/*padding-left: 10px;*/
text-align: center;
img{
width: 22px;
margin-right: 8px;
......
<template>
<el-dialog :title="comIsEntityMaterials ? '推送到物资用量' : '推送工程量'" :visible.sync="comPushProjectUseDialog" width="480px"
class="push-project-use-dialog" @close="dialogClose">
<div class="dialog-body-content">
<el-form :model="pushForm" ref="pushForm" :rules="rules" class="push-form">
<el-form-item label="分包项目名称">
<el-input :value="pushForm.projectName" :disabled="true"></el-input>
</el-form-item>
<el-form-item label="本月实际工程量">
<el-input :value="pushForm.totalQuantities" :disabled="true"></el-input>
</el-form-item>
<el-form-item label="需推送工程量" prop="pushQuantities">
<el-input v-model="pushForm.pushQuantities" placeholder="请填写需推送工程量"></el-input>
</el-form-item>
</el-form>
</div>
</el-dialog>
</template>
<script>
import { subtract } from "@/utils/decimal";
import { cloneDeep } from 'lodash-es';
export default {
name: "pushProjectUseDialog",
model: {
prop: "pushProjectUseDialog",
event: "close"
},
props: {
pushProjectUseDialog: {
type: Boolean,
default: false
},
isEntityMaterials: {
type: Boolean,
default: false
},
rowData: {
type: Object,
default: () => ({})
}
},
watch: {
pushProjectUseDialog: {
handler(newValue, oldValue) {
this.comPushProjectUseDialog = newValue;
}
},
comIsEntityMaterials: {
handler(newValue, oldValue) {
this.comIsEntityMaterials = newValue;
}
},
rowData: {
handler(newValue, oldValue) {
const _temp = newValue ? newValue : {};
this.pushForm = cloneDeep({ ...this.pushForm, ..._temp });
}
}
},
data() {
// 验证需推送工程量
const pushQuantitiesValidator = (rule, value, callback) => {
const reg = /^(?!0\d)(?!0+$)(?!0*\.0*$)\d+(\.\d+)?$/;
if (!reg.test(value)) return callback(new Error("请输入正确的工程量"));
callback();
};
return {
comIsEntityMaterials: this.isEntityMaterials,
comPushProjectUseDialog: this.pushProjectUseDialog,
pushForm: {
id: "",
pushQuantities: "",
ipmProjectCode: "",
ipmContractCode: "",
ipmBizCode: ""
},
rules: {
pushQuantities: [
{ trigger: ["blur", "change"], validator: pushQuantitiesValidator }
]
}
};
},
//可访问data属性
created() {
},
//计算集
computed: {
},
//方法集
methods: {
dialogClose() {
const form = this.$refs["pushForm"];
if (form) form.clearValidate();
this.$emit("dialogClose");
this.pushForm = this.$options.data.call(this).pushForm;
this.$emit("close", false);
}
},
}
</script>
<style lang="scss" scoped>
.push-project-use-dialog {
::v-deep .el-dialog {
margin-top: 0px !important;
margin: 0px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
.el-dialog__header {
height: 56px;
padding: 0px 20px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #eeeeee;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
.el-dialog__title {
color: #232323;
font-size: 16px;
font-weight: bold;
}
.el-dialog__headerbtn {
position: static;
width: 16px;
height: 16px;
}
}
.el-dialog__body {
padding: 0px;
.dialog-body-content {
padding: 24px 20px;
box-sizing: border-box;
.push-form {
.el-form-item {
margin-bottom: 16px;
display: flex;
align-items: center;
.el-form-item__label {
width: 98px;
min-width: 98px;
line-height: 20px;
color: rgba(35, 35, 35, 0.8);
font-weight: 350;
font-size: 14px;
text-align: right;
padding-right: 0px;
margin-right: 16px;
white-space: nowrap;
}
.el-form-item__content {
width: 100%;
line-height: 32px;
.el-input {
&.is-disabled {
.el-input__inner {
background: #fff;
color: rgba(35, 35, 35, 0.8);
}
}
}
.el-input__inner {
line-height: 32px;
height: 32px;
border-radius: 2px;
padding: 0px 7px;
::placeholder {
color: #c0c4cc !important;
}
}
}
}
}
}
}
}
}
</style>
......@@ -41,7 +41,8 @@
:cell-class-name="cellClassName">
<template slot="action-field-bar" slot-scope="scope">
<div class="project-action-field-bar" v-if="scope.row.id != '0'">
<span class="push-project">推送工程量</span>
<span class="push-project-use" :class="{'is-emty-quantities' : !parseFloat(scope.row.quantities)}"
@click="parseFloat(scope.row.quantities) ? pushProjectUse(scope.row) : ''">推送工程量</span>
</div>
<span v-else>-</span>
</template>
......@@ -70,7 +71,8 @@
:max-height="true" :tableDataTotal="total" :paging="false" @selectionChange="selectionChange">
<template slot="action-field-bar" slot-scope="scope">
<div class="project-action-field-bar">
<span class="push-project">推送工程量</span>
<span class="push-project-use" :class="{'is-emty-quantities' : !parseFloat(scope.row.quantities)}"
@click="parseFloat(scope.row.quantities) ? pushProjectUse(scope.row) : ''">推送物资用量</span>
</div>
</template>
</entity-materials-table>
......@@ -82,8 +84,13 @@
<!-- 填写实际成本触发 -->
<add-actual-cost v-model="showAddActualCost" :project-create-time="projectDetailInfo.createTime" @timeSelect="timeSelect"></add-actual-cost>
<!-- 推送工程量 , 推送物资 -->
<push-project-use-dialog v-model="pushProjectUseDialog" :is-entity-materials="isEntityMaterials" :row-data="pushProjectUseTemp"
@dialogClose="dialogClose"></push-project-use-dialog>
<!-- 单位换算弹窗 -->
<unit-conversion v-if="showUnitConversion" :isVisible="showUnitConversion" :dataList="unitConversionList" @refresh="handleDialogVisible()"></unit-conversion>
<unit-conversion v-if="showUnitConversion" :isVisible="showUnitConversion" :dataList="unitConversionList"
@refresh="handleDialogVisible()"></unit-conversion>
</div>
</template>
......@@ -96,6 +103,7 @@ import CustomTable from "@/components/CustomTable";
import EntityMaterialsTable from "@/components/CustomTable";
import AddActualCost from "./components/AddActualCost";
import unitConversion from "./components/unitConversion";
import PushProjectUseDialog from "./components/PushProjectUseDialog";
import { v4 } from 'uuid';
import dayjs from "dayjs";
import { cloneDeep } from "lodash-es";
......@@ -161,7 +169,8 @@ export default {
EntityMaterialsTable,
DskSkeleton,
AddActualCost,
unitConversion
unitConversion,
PushProjectUseDialog
},
data() {
const amountCheckValidator = (rule, value, callback) => {
......@@ -248,6 +257,10 @@ export default {
addActualCostEditStatus: false,
// 当前选择的成本年份
selectActualCostTime: "",
// 推送工程量弹窗
pushProjectUseDialog: false,
// 推送工程量数据缓存
pushProjectUseTemp: {},
checkRules: {
amountCheck: [
{ trigger: ["change"], validator: amountCheckValidator }
......@@ -255,9 +268,9 @@ export default {
},
statisticsTimer: null,
// 单位换算弹窗
showUnitConversion:false,
showUnitConversion: false,
//单位换算数据
unitConversionList:[]
unitConversionList: []
};
},
//可访问data属性
......@@ -529,8 +542,8 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.unitConversionList=data.data;
this.showUnitConversion=true;
this.unitConversionList = data.data;
this.showUnitConversion = true;
}).catch(() => {
this.$message({
type: 'info',
......@@ -624,6 +637,19 @@ export default {
}
});
},
// 推送工程用量
pushProjectUse(row) {
if (!row.id) return;
// 打开推送推送弹窗
const _temp = { ...this.pushProjectUseTemp, ...cloneDeep(row) };
_temp.projectName = this.projectDetailInfo.projectName;
this.pushProjectUseTemp = _temp;
this.pushProjectUseDialog = true;
},
// 推送工程用量弹窗关闭
dialogClose() {
this.pushProjectUseTemp = {};
},
differentCompare() {
const originData = this.originTableDataList;
/**
......@@ -715,8 +741,8 @@ export default {
return "";
},
//关闭单位换算弹窗
handleDialogVisible () {
this.showUnitConversion = false
handleDialogVisible() {
this.showUnitConversion = false;
},
},
}
......@@ -862,11 +888,16 @@ export default {
display: flex;
align-items: center;
.push-project {
.push-project-use {
color: #0081ff;
font-size: 14px;
font-weight: 350;
cursor: pointer;
&.is-emty-quantities {
cursor: not-allowed;
color: rgba(35, 35, 35, 0.4);
}
}
}
}
......
......@@ -3,7 +3,7 @@
<div class="field-expenses-inner">
<div class="left-side-menu">
<project-side-menu ref="projectSideMenu" :menuTree="menuTreeList" :menuOptions="menuOptions" :unique-opened="false"
:default-active="currentNodeValue" @select="menuSelect">
v-model="currentNodeValue" @select="menuSelect">
<template slot="现场经费-1">
<img src="@/assets/images/projectCostLedger/icon_cost_detail_6.svg" alt="">
<div class="project-sub-menu-title-text">现场经费</div>
......
......@@ -210,11 +210,11 @@
},
//点击准入
goAccess(row){
this.$tab.openPage('测试一下-准入情况', '/supplier/supplierlist/access')
this.$tab.openPage(row.customerName+'-准入情况', '/supplier/supplierlist/access')
},
//点击考评
goAssessment(row){
this.$tab.openPage('测试一下-供应商考评', '/supplier/supplierlist/assessment')
this.$tab.openPage(row.customerName+'-供应商考评', '/supplier/supplierlist/assessment')
},
}
}
......
......@@ -218,11 +218,11 @@
},
//点击准入
goAccess(row){
this.$tab.openPage('测试一下-准入情况', '/supplier/supplierlist/access')
this.$tab.openPage(row.customerName+'-准入情况', '/supplier/supplierlist/access')
},
//点击考评
goAssessment(row){
this.$tab.openPage('测试一下-供应商考评', '/supplier/supplierlist/assessment')
this.$tab.openPage(row.customerName+'-供应商考评', '/supplier/supplierlist/assessment')
},
}
}
......
This diff is collapsed.
This diff is collapsed.
<template>
<div class="supplier">
<div class="search-supplier i">
<div class="project-detail-list-inner">
<div class="sup-miantitle">
<span class="on" @click="cooperateList">评价结果</span>
<span> <i class="el-icon-arrow-right"></i> 详情</span>
</div>
</div>
<div class="title_wrap i j">
<div class="enterprise_title">
基本信息
</div>
<div class="access-content">
<div class="main3-box">
<p>
<label class="label">分供方所属项目</label>
<span>大兴新城西片区起步区(八村安置房)北区DX00-0408-0003地块R2二类居住用地项目</span>
<label class="label">分供方所属组织</label>
<span>中建一局集团第二建筑有限公司第一事业部</span>
</p>
<p>
<label class="label">考核分供方名称</label>
<span>北京达三江电器设备厂</span>
<label class="label">品类</label>
<span>物资-周转材料</span>
</p>
<p>
<label class="label">评分周期</label>
<span>2024年03月</span>
</p>
<p>
<label class="label">发起人</label>
<span>刘叔旺</span>
<label class="label">发起日期</label>
<span>2024-03-13 16:07:00</span>
</p>
</div>
</div>
</div>
<div class="title_wrap i j">
<div class="enterprise_title">
评价详情
</div>
<div class="acc-title i"><strong>结算及时性-结算相应</strong></div>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'resultdetail',
data(){
return{
custmerInfo:[]
}
},
methods:{
cooperateList(){
this.$emit('closedetail')
},
}
}
</script>
<style lang="scss" scoped>
.title_wrap.j{
padding: 16px;
}
.search-supplier.i{
background: #fff;
border-radius: 4px;
}
.acc-title.i{
margin-top: 16px;
}
</style>
......@@ -292,7 +292,7 @@
<div class="table-item-jf table-item" v-if="!isSkeleton&&tableData.length>0">
<el-table :data="tableData" :header-cell-style="{ background:'#f0f3fa',color: 'rgba(35,35,35,0.8)'}"
v-sticky-header.always="{offsetTop : '0px',offsetBottom : '10px'}" class="table-item1 fixed-table" border highlight-current-row
v-sticky-header.always="{offsetTop : '0px',offsetBottom : '-20px'}" class="table-item1 fixed-table" border highlight-current-row
:header-row-class-name="setHeaderRow" :cell-class-name="setCellClass" :row-class-name="setRowClass" :header-cell-class-name="setCellClass"
ref="theOwnerListTable">
......@@ -469,7 +469,7 @@
pageSize:20,
pageNum:1,
// table列是否悬浮
tableColumnFixed: true,
tableColumnFixed: false,
custmerInfo:{},
}
......
......@@ -18,7 +18,7 @@
<div class="table-item-jf table-item" v-if="!isSkeleton&&tableData.length>0">
<el-table :data="tableData" :header-cell-style="{ background:'#f0f3fa',color: 'rgba(35,35,35,0.8)'}"
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '10px'}" class="table-item1 fixed-table" border highlight-current-row
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '-15px'}" class="table-item1 fixed-table" border highlight-current-row
:header-row-class-name="setHeaderRow" :cell-class-name="setCellClass" :row-class-name="setRowClass" :header-cell-class-name="setCellClass"
ref="theOwnerListTable">
......
......@@ -18,7 +18,7 @@
<div class="table-item-jf table-item" v-if="!isSkeleton&&tableData.length>0">
<el-table :data="tableData" :header-cell-style="{ background:'#f0f3fa',color: 'rgba(35,35,35,0.8)'}"
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '10px'}" class="table-item1 fixed-table" border highlight-current-row
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '-15px'}" class="table-item1 fixed-table" border highlight-current-row
:header-row-class-name="setHeaderRow" :cell-class-name="setCellClass" :row-class-name="setRowClass" :header-cell-class-name="setCellClass"
ref="theOwnerListTable">
......
......@@ -103,7 +103,7 @@
<div class="table-item-jf table-item" v-if="!isSkeleton&&tableData.length>0">
<el-table :data="tableData" :header-cell-style="{ background:'#f0f3fa',color: 'rgba(35,35,35,0.8)'}"
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '10px'}" class="table-item1 fixed-table" border highlight-current-row
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '-15px'}" class="table-item1 fixed-table" border highlight-current-row
:header-row-class-name="setHeaderRow" :cell-class-name="setCellClass" :row-class-name="setRowClass" :header-cell-class-name="setCellClass"
ref="theOwnerListTable">
......@@ -241,7 +241,8 @@
</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.creditLevel||"--"}}</span>
<span class="wordprimary" @click="getFBS(scope.row)" v-if="scope.row.creditlevel">{{scope.row.creditLevel}}</span>
<span v-else>--</span>
</template>
</el-table-column>
<el-table-column label="链接" min-width="160" :resizable="false">
......@@ -493,7 +494,7 @@
},
//点击考评
goAssessment(row){
this.$tab.openPage('测试一下-供应商考评', '/supplier/supplierlist/assessment')
this.$tab.openPage(row.customerName+'-供应商考评', '/supplier/supplierlist/assessment')
},
}
}
......
......@@ -110,7 +110,7 @@
<div class="table-item-jf table-item" v-if="!isSkeleton&&tableData.length>0">
<el-table :data="tableData" :header-cell-style="{ background:'#f0f3fa',color: 'rgba(35,35,35,0.8)'}"
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '10px'}" class="table-item1 fixed-table" border highlight-current-row
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '-15px'}" class="table-item1 fixed-table" border highlight-current-row
:header-row-class-name="setHeaderRow" :cell-class-name="setCellClass" :row-class-name="setRowClass" :header-cell-class-name="setCellClass"
ref="theOwnerListTable">
......@@ -262,7 +262,8 @@
</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.creditLevel||"--"}}</span>
<span class="wordprimary" @click="getFBS(scope.row)" v-if="scope.row.creditlevel">{{scope.row.creditLevel}}</span>
<span v-else>--</span>
</template>
</el-table-column>
<el-table-column label="链接" min-width="160" :resizable="false">
......@@ -516,7 +517,7 @@
},
//点击考评
goAssessment(row){
this.$tab.openPage('测试一下-供应商考评', '/supplier/supplierlist/assessment')
this.$tab.openPage(row.customerName+'-供应商考评', '/supplier/supplierlist/assessment')
},
}
}
......
......@@ -102,7 +102,7 @@
<div class="table-item-jf table-item" v-if="!isSkeleton&&total>0">
<el-table :data="tableData" :header-cell-style="{ background:'#f0f3fa',color: 'rgba(35,35,35,0.8)'}"
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '10px'}" class="table-item1 fixed-table" border highlight-current-row
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '-15px'}" class="table-item1 fixed-table" border highlight-current-row
:header-row-class-name="setHeaderRow" :cell-class-name="setCellClass" :row-class-name="setRowClass" :header-cell-class-name="setCellClass"
ref="theOwnerListTable" :row-key="'customerKey'">
......@@ -120,13 +120,13 @@
<el-tooltip placement="top" v-if="scope.row.customerText.length>20">
<div slot="content">{{scope.row.customerText}}</div>
<div class="renling">
<router-link v-if="scope.row.companyId" :to="`/enterprise/${encodeStr(scope.row.companyId)}?path=cooperationRecord&companyName=${scope.row.customerName}`" tag="a"
<router-link v-if="scope.row.companyId" :to="`/enterprise/${encodeStr(scope.row.companyId)}?path=cooperationRecord&companyName=${scope.row.customerText}&ctmId=${scope.row.customerId}`" tag="a"
class="wordprimary" v-html="scope.row.customerName"></router-link>
<span v-else v-html="scope.row.customerName"></span>
</div>
</el-tooltip>
<div class="renling" v-else>
<router-link v-if="scope.row.companyId" :to="`/enterprise/${encodeStr(scope.row.companyId)}?path=cooperationRecord&companyName=${scope.row.customerName}`" tag="a"
<router-link v-if="scope.row.companyId" :to="`/enterprise/${encodeStr(scope.row.companyId)}?path=cooperationRecord&companyName=${scope.row.customerText}&ctmId=${scope.row.customerId}`" tag="a"
class="wordprimary" v-html="scope.row.customerName"></router-link>
<span v-else v-html="scope.row.customerName"></span>
</div>
......@@ -267,14 +267,15 @@
</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.creditLevel||"--"}}</span>
<span class="wordprimary" @click="getFBS(scope.row)" v-if="scope.row.creditlevel">{{scope.row.creditLevel}}</span>
<span v-else>--</span>
</template>
</el-table-column>
<el-table-column label="链接" min-width="160" :resizable="false">
<template slot-scope="scope">
<span class="wordprimary tabs" @click="goAccess(scope.row)">准入</span>
<span class="wordprimary tabs" @click="goAssessment(scope.row)">考评</span>
<span class="wordprimary tabs" @click="goDisposal(scope.row)">处置</span>
<!--<span class="wordprimary tabs" @click="goDisposal(scope.row)">处置</span>-->
</template>
</el-table-column>
<el-table-column label="资源平台分类" min-width="120" :resizable="false">
......@@ -527,11 +528,11 @@
},
//点击考评
goAssessment(row){
this.$tab.openPage('测试一下-供应商考评', '/supplier/supplierlist/assessment')
this.$tab.openPage(row.customerName+'-供应商考评', '/supplier/supplierlist/assessment')
},
//点击处置
goDisposal(row){
this.$tab.openPage('测试一下-供应商处置', '/supplier/supplierlist/disposal')
this.$tab.openPage(row.customerName+'-供应商处置', '/supplier/supplierlist/disposal')
},
}
}
......
......@@ -103,7 +103,7 @@
<div class="table-item-jf table-item" v-if="!isSkeleton&&tableData.length>0">
<el-table :data="tableData" :header-cell-style="{ background:'#f0f3fa',color: 'rgba(35,35,35,0.8)'}"
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '10px'}" class="table-item1 fixed-table" border highlight-current-row
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '-15px'}" class="table-item1 fixed-table" border highlight-current-row
:header-row-class-name="setHeaderRow" :cell-class-name="setCellClass" :row-class-name="setRowClass" :header-cell-class-name="setCellClass"
ref="theOwnerListTable">
......@@ -235,7 +235,8 @@
</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.creditLevel||"--"}}</span>
<span class="wordprimary" @click="getFBS(scope.row)" v-if="scope.row.creditlevel">{{scope.row.creditLevel}}</span>
<span v-else>--</span>
</template>
</el-table-column>
<el-table-column label="链接" min-width="160" :resizable="false">
......@@ -489,7 +490,7 @@
},
//点击考评
goAssessment(row){
this.$tab.openPage('测试一下-供应商考评', '/supplier/supplierlist/assessment')
this.$tab.openPage(row.customerName+'-供应商考评', '/supplier/supplierlist/assessment')
},
}
}
......
......@@ -103,7 +103,7 @@
<div class="table-item-jf table-item" v-if="!isSkeleton&&tableData.length>0">
<el-table :data="tableData" :header-cell-style="{ background:'#f0f3fa',color: 'rgba(35,35,35,0.8)'}"
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '10px'}" class="table-item1 fixed-table" border highlight-current-row
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '-15px'}" class="table-item1 fixed-table" border highlight-current-row
:header-row-class-name="setHeaderRow" :cell-class-name="setCellClass" :row-class-name="setRowClass" :header-cell-class-name="setCellClass"
ref="theOwnerListTable">
......@@ -224,7 +224,8 @@
</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.creditLevel||"--"}}</span>
<span class="wordprimary" @click="getFBS(scope.row)" v-if="scope.row.creditlevel">{{scope.row.creditLevel}}</span>
<span v-else>--</span>
</template>
</el-table-column>
<el-table-column label="链接" min-width="160" :resizable="false">
......@@ -476,7 +477,7 @@
},
//点击考评
goAssessment(row){
this.$tab.openPage('测试一下-供应商考评', '/supplier/supplierlist/assessment')
this.$tab.openPage(row.customerName+'-供应商考评', '/supplier/supplierlist/assessment')
},
}
}
......
......@@ -103,7 +103,7 @@
<div class="table-item-jf table-item" v-if="!isSkeleton&&tableData.length>0">
<el-table :data="tableData" :header-cell-style="{ background:'#f0f3fa',color: 'rgba(35,35,35,0.8)'}"
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '10px'}" class="table-item1 fixed-table" border highlight-current-row
v-sticky-header.always="{offsetTop : '-16px',offsetBottom : '-15px'}" class="table-item1 fixed-table" border highlight-current-row
:header-row-class-name="setHeaderRow" :cell-class-name="setCellClass" :row-class-name="setRowClass" :header-cell-class-name="setCellClass"
ref="theOwnerListTable">
......@@ -216,7 +216,8 @@
</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.creditLevel||"--"}}</span>
<span class="wordprimary" @click="getFBS(scope.row)" v-if="scope.row.creditlevel">{{scope.row.creditLevel}}</span>
<span v-else>--</span>
</template>
</el-table-column>
<el-table-column label="链接" min-width="160" :resizable="false">
......@@ -468,7 +469,7 @@
},
//点击考评
goAssessment(row){
this.$tab.openPage('测试一下-供应商考评', '/supplier/supplierlist/assessment')
this.$tab.openPage(row.customerName+'-供应商考评', '/supplier/supplierlist/assessment')
},
}
}
......
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