Commit 2694a31f authored by 远方不远's avatar 远方不远

hy

parent 346495d3
......@@ -51,7 +51,17 @@ let claim= function claim(param) {
data: param
})
}
// 查建筑企业
let enterprisePage= function enterprisePage(param) {
return request({
url: '/enterprise/page',
method: 'post',
data: param
})
}
export default {aptitudeCode,personCert,searchDic,regionWebList,uipGroupData,uipSerach,claim}
\ No newline at end of file
export default {aptitudeCode,personCert,searchDic,regionWebList,uipGroupData,uipSerach,claim,enterprisePage}
\ No newline at end of file
......@@ -463,21 +463,6 @@ select {
display: inline-block;
}
.viewlist-el-popover .pup_list li .VIP {
width: 24px;
height: 12px;
top: 0px;
right: -8px;
position: absolute;
}
.viewlist-el-popover .pup_list li .SVIP {
width: 24px;
height: 12px;
top: 0px;
right: -10px;
position: absolute;
}
.viewlist-el-popover .pup_list li:hover {
color: #0081FF;
......@@ -725,3 +710,365 @@ select {
.checkbox .checkbox-content .checkbox-content-qx{
margin-right: 30px;
}
.toolbar-right-search {
margin-left: 16px;
}
.bottomlist-title-left{
display: inline-flex;
align-items: center;
}
.toolbar-right-search .toolbar-right_input {
width: 228px;
display: inline-flex;
align-items: center;
}
.toolbar-right-search .el-input__inner {
width: 228px;
height: 32px;
line-height: 32px;
}
.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;
}
.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;
}
.toolbar-right-search .result-search {
width: 80px;
height: 32px;
background: #0081FF;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
text-align: center;
line-height: 32px;
padding: 0;
cursor: pointer;
color: #fff;
}
.toolbar-right-search .result-search:hover {
background: #0074E5;
}
.info-list {
display: flex;
/* width: 1200px; */
margin: auto;
background: #fff;
padding: 24px 0px;
border-bottom: 1px solid #EFEFEF;
/* cursor: pointer; */
}
.info-list:hover {
background: #F5FAFF;
}
.info-list .info-list-left {
width: 128px;
display: flex;
justify-content: center;
align-items: flex-start;
}
.info-list .info-list-right {
width: auto;
}
.info-list-left img {
width: 96px;
height: 96px;
}
.info-list-left .list-left-titel {
width: 78px;
height: 78px;
line-height: 78px;
border-radius: 4px 4px 4px 4px;
text-align: center;
color: #fff;
font-size: 32px;
}
.info-list-right .card-right-title {
display: flex;
align-items: center;
line-height: 18px;
/* cursor: pointer; */
}
.info-list-right .card-right-title .card-right-img {
width: 14px;
height: 14px;
margin-right: 2px;
margin-top: 2px;
}
.info-list-right .card-right-title .right-title-black {
display: inline-block;
font-weight: 400;
color: #333333;
margin-right: 24px;
}
.info-list-right .card-right-title .right-title-black-640 {
max-width: 640px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.info-list-right .card-right-title .right-title-blue {
font-weight: 400;
color: #0081FF;
margin-right: 24px;
cursor: pointer;
}
.info-list-right .card-right-title .right-title-grey {
font-weight: 400;
color: #999999;
}
.info-list-right .card-right-title .right-title-blue .blue {
color: #0081FF;
margin-right: 12px;
}
.info-list-right .card-right-title .right-title-blue .black {
color: #333333;
margin-right: 12px;
}
.info-list-right .card-right-title .right-title-blue .grey {
color: #999999;
margin-right: 12px;
}
/* 标题 */
.info-list-right .card-right-title .title {
font-size: 18px;
font-weight: bold;
color: #333333;
margin-right: 12px;
line-height: 24px;
cursor: pointer;
padding: 0;
}
.info-list-right .card-right-title .right-title-caption {
font-size: 18px;
font-weight: bold;
color: #333333;
margin-right: 12px;
line-height: 24px;
cursor: pointer;
/* height: 24px; */
}
/* 地区标签 */
.info-list-right .card-right-title .region {
display: inline-block;
border-radius: 2px 2px 2px 2px;
border: 1px solid #099D4B;
display: inline-block;
text-align: center;
font-size: 12px;
line-height: 22px;
padding: 0 16px;
background: #F3F3FF;
color: #8491E8;
margin-right: 8px;
}
/* 曾用名 */
.info-list-right .card-right-title .formername {
display: inline-block;
border-radius: 2px 2px 2px 2px;
display: inline-block;
text-align: center;
font-size: 12px;
line-height: 22px;
padding: 0 16px;
background: #EEEEEE;
color: #838383;
margin-right: 8px;
}
/* 正向标签 */
.info-list-right .card-right-title .positive {
border-radius: 2px 2px 2px 2px;
display: inline-block;
text-align: center;
font-size: 12px;
line-height: 22px;
height: 22px;
padding: 0 16px;
color: #54BC7E;
background-color: #ECF6E7;
margin-right: 8px;
}
/* 中性标签 */
.info-list-right .card-right-title .neutral {
display: inline-block;
border-radius: 2px 2px 2px 2px;
display: inline-block;
text-align: center;
font-size: 12px;
line-height: 22px;
padding: 0 16px;
background: #E4F3FD;
color: #41A1FD;
margin-right: 8px;
}
.info-list-right .card-right-title .neutral1 {
margin-bottom: 8px;
}
/* 警示标签 */
.info-list-right .card-right-title .warning {
display: inline-block;
border-radius: 2px 2px 2px 2px;
display: inline-block;
text-align: center;
font-size: 12px;
line-height: 22px;
padding: 0 16px;
background: #FFF3F3;
color: #FD5757;
margin-right: 8px;
}
/* 其它紫色 */
.info-list-right .card-right-title .purple {
display: inline-block;
border-radius: 2px 2px 2px 2px;
display: inline-block;
text-align: center;
font-size: 12px;
line-height: 22px;
padding: 0 16px;
background: #FCF3FF;
color: #B589DB;
margin-right: 8px;
}
/*地区淡蓝色 */
.info-list-right .card-right-title .cityblue {
display: inline-block;
border-radius: 2px 2px 2px 2px;
display: inline-block;
text-align: center;
font-size: 12px;
line-height: 22px;
padding: 0 16px;
background: #F3F3FF;
color: #8491E8;
margin-right: 8px;
}
/* 工程用途 */
.info-list-right .card-right-title .purposeStr {
display: inline-block;
border-radius: 2px 2px 2px 2px;
display: inline-block;
text-align: center;
font-size: 12px;
line-height: 22px;
padding: 0 16px;
background: #E3F6F8;
color: #44BCC4;
margin-right: 8px;
}
/* 荣誉奖项 */
.info-list-right .card-right-title .honoraryaward {
display: inline-block;
border-radius: 2px 2px 2px 2px;
display: inline-block;
text-align: center;
font-size: 12px;
line-height: 22px;
padding: 0 16px;
background: #FFF1DC;
color: #BFA061;
margin-right: 8px;
}
.info-list-right .card-right-title .honoraryaward .color-0 {
background: #E4F3FD;
color: #41A1FD;
}
.info-list-right .card-right-title .honoraryaward .color-1 {
background: #FFF1DC;
color: #BFA061;
}
.info-list-right .card-right-title .honoraryaward .color-2 {
background: #E3F6F8;
color: #44BCC4;
}
.info-list-right .card-right-title .honoraryaward .color-3 {
background: #F3F3FF;
color: #8491E8;
}
.info-list-right .card-right-title .honoraryaward .color-4 {
background: #FCF3FF;
color: #B589DB;
}
.info-list-right .card-right-title .honoraryaward .color-5 {
background: #E4F3FD;
color: #41A1FD;
}
.info-list-right .card-right-title .honoraryaward .color-6 {
background: #FFF1DC;
color: #BFA061;
}
.info-list-right .card-right-title .honoraryaward .color-7 {
background: #E3F6F8;
color: #44BCC4;
}
.info-list-right .card-right-title .honoraryaward .color-8 {
background: #F3F3FF;
color: #8491E8;
}
.info-list-right .card-right-title .honoraryaward .color-9 {
background: #FCF3FF;
color: #B589DB;
}
......@@ -47,7 +47,7 @@
</div>
</div>
</div>
<div class="content_item">
<div class="content_item content_item1">
<div class="label">更多选项</div>
<div class="content_right ">
<div class="select-popper">
......@@ -81,7 +81,7 @@
</div>
<div class="select-popper">
<template v-if="filePlaceCode">
<el-dropdown trigger="click" class="select-popper" placement='bottom-start'>
<el-dropdown trigger="click" placement='bottom-start'>
<div class="el-dropdown-link " :class="filePlaceType?'select-active':''">
本省与进省企业{{filePlaceType?' 1项':''}}
<i class="el-icon-caret-bottom"></i>
......@@ -155,7 +155,7 @@
</el-dropdown>
</div>
<div class="select-popper">
<el-dropdown trigger="click" class="select-popper" placement='bottom-start'>
<el-dropdown trigger="click" placement='bottom-start'>
<div class="el-dropdown-link " :class="hasLiceCert!=''?'select-active':''">
<span>建筑安许证{{hasLiceCert!=''?' 1项':''}}</span>
<i class="el-icon-caret-bottom"></i>
......@@ -417,13 +417,157 @@
<div class="content_item content_item_nopadding ">
<div class="search-new" >
<span @click="submitbtn('', '', '', '', '1')">查询</span>
<span @click="submitbtn()">查询</span>
<span @click="parentreset()">重置</span>
</div>
</div>
</div>
<div class="bottomlist">
<div class="bottomlist-title">
<div class="bottomlist-title-left">
<el-popover v-model="fieldshow" placement="bottom-start" trigger="click"
popper-class="viewlist-el-popover">
<ul class="pup_list">
<li v-for="(itme,i) in fieldOptions" :class="itme.status?'activefield':''"
@click="handsequencingList(i)" :key="i">
{{itme.value}}
</li>
</ul>
<span slot="reference" class="toolbar-right-download" >
{{fieldText}}<i class="el-icon-arrow-down"
:style="{transform:fieldshow?'rotate(180deg)':''}"></i>
</span>
</el-popover>
<div class="toolbar-right-search">
<el-input placeholder="请输入企业名称关键词" class="toolbar-right_input" v-model="resultEname">
<div slot="append" class="result-search" @click="submitbtn()">过滤企业</div>
</el-input>
</div>
</div>
<div class="title-right">
<p>共有{{total}}条</p>
<p>
<img src="@/assets/images/EXCEL.png" alt="">
<span>导出EXCEL</span>
</p>
</div>
</div>
<ul class="bottomlist-content" v-if="tableData.length>0">
<li class="info-list" v-for="(item,index) in tableData" :key="index">
<div class="info-list-left">
<img v-if="item.logoUrl" :src="item.logoUrl" :alt="item.name.replace(/<font color='#FF204E'>/g,'').replace(/<\/font>/g,'')" />
<img v-else src="@/assets/images/enterprise.png" :alt="item.name.replace(/<font color='#FF204E'>/g,'').replace(/<\/font>/g,'')" />
</div>
<div class="info-list-right">
<p class="card-right-title">
<router-link :to="toEnterpriseDetail(item.jskEid)" >
<span class="title" v-html="item.name"> </span>
</router-link>
</p>
<p class="card-right-title card-right-title1" :ref="'labels'+item.id" :style="{padding: '10px 0px 8px 0px',height: '40px'}">
<span :ref="'cardRightTitle1span'+item.id" >
<span class="positive positive1" v-if="item.businessStatus" style="margin-right: 3px !important;">{{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>
</span>
<!-- <span class="positive-gdbq" :ref="'positivegdbq'+item.id" v-if="labelsWidth('labels'+item.id,1)" @click="labelsClick('labels'+item.id,'positivegdbq'+item.id,'cardRightTitle1span'+item.id)">更多标签 <i class="el-icon-caret-bottom"></i></span> -->
</p>
<p class="card-right-title">
<template v-if="item.legalPerson!=null">
<span class="right-title-grey">法定代表人:</span>
<span class="right-title-black">{{item.legalPerson}}</span>
</template>
<template v-if="item.registeredCapitalStr!=null&&item.registeredCapitalStr!==0">
<span class="right-title-grey">注册资本:</span>
<span class="right-title-black">{{item.registeredCapitalStr}}万元</span>
</template>
<template v-if="item.registeredDate!=null">
<span class="right-title-grey">成立日期:</span>
<span class="right-title-black">{{item.registeredDate}}</span>
</template>
<template v-if="item.registeredDate!=null">
<span class="right-title-grey"> 统一社会信用代码:</span>
<span class="right-title-black">{{item.creditCode}}</span>
</template>
</p>
<p class="card-right-title" style="padding-top: 10px ;">
<template v-if="item.aptitudeCountNew!=null">
<span class="right-title-grey">资质资格:</span>
<router-link :to="toEnterprise(item.jskEid,'')" target="_blank" >
<span class="right-title-blue" v-html="item.aptitudeCountNew"> </span>
</router-link>
</template>
<template v-if="item.recentlyCount!=null">
<span class="right-title-grey">中标业绩:</span>
<router-link :to="toEnterprise(item.jskEid,'/performance')" target="_blank" >
<span class="right-title-blue" v-html="item.recentlyCount"> </span>
</router-link>
</template>
<template v-if="item.skyCount!=null">
<span class="right-title-grey">四库业绩:</span>
<router-link :to="toEnterprise(item.jskEid,'/performance',1)" target="_blank" >
<span class="right-title-blue" v-html="item.skyCount"> </span>
</router-link>
</template>
<template v-if="item.registeredPersonnelCount!=null">
<span class="right-title-grey">注册人员:</span>
<router-link :to="toEnterprise(item.jskEid,'/personnel',1)" target="_blank" >
<span class="right-title-blue" v-html="item.registeredPersonnelCount"> </span>
</router-link>
</template>
<template v-if="item.threePersonnelCount!=null">
<span class="right-title-grey">三类人员:</span>
<router-link :to="toEnterprise(item.jskEid,'/personnel',4)" target="_blank" >
<span class="right-title-blue" v-html="item.threePersonnelCount"> </span>
</router-link>
</template>
<template v-if="item.jskBidCount>0">
<span class="right-title-grey">招标公告:</span>
<router-link :to="toEnterprise(item.jskEid,'/business',6)" target="_blank" >
<span class="right-title-blue" v-html="item.jskBidCount"> </span>
</router-link>
</template>
<template v-if="item.customerCount>0">
<span class="right-title-grey">客户:</span>
<router-link :to="toEnterprise(item.jskEid,'/business',1)" target="_blank" >
<span class="right-title-blue" v-html="item.customerCount"> </span>
</router-link>
</template>
<template v-if="item.supplierCount>0">
<span class="right-title-grey">供应商:</span>
<router-link :to="toEnterprise(item.jskEid,'/business',2)" target="_blank" >
<span class="right-title-blue" v-html="item.supplierCount"> </span>
</router-link>
</template>
</p>
<p class="card-right-title" v-if="item.formerName!=null&&(item.formerName.indexOf('color')!=-1||item.name.indexOf('color')!=-1)" style="padding: 10px 0px 0px 0px;">
<
<span class="right-title-grey">曾用名:</span>
<span class="right-title-grey" style="width: 984px;" v-html="item.formerName"></span>
</p>
</div>
</li>
</ul>
<div class="pagination clearfix" v-show="total>0">
<el-pagination
background
:page-size="limit"
:current-page="page"
@current-change="handleCurrentChange"
layout="prev, pager, next"
:total="total">
</el-pagination>
</div>
</div>
</div>
</template>
<script>
......@@ -432,6 +576,7 @@
import jabph from '@/assets/json/jabph.json';
import options from '@/assets/json/options.json';
import api from '@/api/enterpriseData/enterpriseData.js';
import {encodeStr} from "@/assets/js/common.js"
export default {
name: 'EnterpriseQuery',
directives: {
......@@ -451,6 +596,7 @@
},
data() {
return {
encodeStr,
ename: '',
enameQueryTypeList: [{
key: 'and',
......@@ -1190,6 +1336,61 @@
},
startTimetext: '',
openDatePicker: false,
fieldshow: false,
fieldText: '默认排序',
field: '', //查询结果排序方式
orderText: '', //查询结果新排序字段
fieldOptions: [
{
value: '默认排序',
status: true,
order: '',
key: ''
},
{
value: '注册人员从少到多',
status: false,
order: 'asc',
key: 'registeredPersonnelCount'
},
{
value: '注册人员从多到少',
status: false,
order: 'desc',
key: 'registeredPersonnelCount'
},
{
value: '企业业绩从多到少',
status: false,
order: 'desc',
key: 'projectCount'
},
{
value: '资质资格从多到少',
status: false,
order: 'desc',
key: 'aptitudeCountNew'
},
{
value: '成立日期从晚到早',
status: false,
order: 'desc',
key: 'registeredDate'
},
{
value: '注册资本从高到低',
status: false,
order: 'desc',
key: 'registeredCapital'
}
],
resultEname: '',
tableData:[],
total:0,
page:1,
limit:20
}
......@@ -1208,6 +1409,7 @@
});
this.getaddressList();
this.submitbtn();
},
mounted() {
......@@ -1242,74 +1444,7 @@
},
watch: {
aptitudelist: {
handler(val, oldVal) {
this.$emit("getAptitudelist", {
aptitudelist: this.aptitudelist,
aptitudeDtoList: this.aptitudeDtoList,
aptitudeDtoListOut: this.aptitudeDtoListOut,
})
},
deep: true
},
aptitudeDtoList: {
handler(val, oldVal) {
this.$emit("getAptitudelist", {
aptitudelist: this.aptitudelist,
aptitudeDtoListOut: this.aptitudeDtoListOut,
aptitudeDtoList: this.aptitudeDtoList,
})
},
deep: true
},
aptitudeDtoListOut: {
handler(val, oldVal) {
this.$emit("getAptitudelist", {
aptitudelist: this.aptitudelist,
aptitudeDtoListOut: this.aptitudeDtoListOut,
aptitudeDtoList: this.aptitudeDtoList,
})
},
deep: true
},
'$route'(to, from) {
if (to.fullPath !== from.fullPath) {
this.$nextTick(() => {
if (this.$route.query.keyword) {
this.ename = this.$route.query.keyword;
this.projectNamebtn('ename', this.ename, '关键字:');
}
if (this.$route.query.province_city) {
var addressType = []
for (let i = 0; i < this.addressList.length; i++) {
if (this.addressList[i].label == this.$route.query.territory) {
for (let j in this.addressList[i].children) {
if (this.addressList[i].children[j].label == this.$route.query
.province_city) {
for (let k in this.addressList[i].children[j].children) {
addressType.push([this.addressList[i].id, this.addressList[i]
.children[j].id, this
.addressList[i].children[j].children[k].id
])
}
}
}
}
}
this.addressType = addressType;
this.addressListbtn();
}
})
}
}
},
methods: {
// 关键字
projectNamebtn(key, text, teiti) {
......@@ -2478,6 +2613,26 @@
this.getRegionWebList();
},
reloadPage() {
this.pageFlag = false;
this.$nextTick(() => {
this.pageFlag = true;
});
},
handsequencingList(index) {
this.fieldshow = false;
this.field = this.fieldOptions[index].key;
for (let i = 0; i < this.fieldOptions.length; i++) {
this.fieldOptions[i].status = false;
}
this.fieldText = this.fieldOptions[index].value;
this.fieldOptions[index].status = true;
this.search();
},
handleCurrentChange(page) {
this.page = page;
this.search(page, this.limit);
},
// 空白点击
outClick(e) {
if (this) {
......@@ -2491,8 +2646,156 @@
},
// submitbtn
submitbtn() {
this.$parent.submitbtn('', '', '', '', '1');
submitbtn(page, limit,exportFlag){
// return false;
if (!page) {
this.page = 1;
}
if (!limit) {
this.limit = 20;
}
if (!page && !limit) {
this.reloadPage();
}
var data = {
eid: "",
aptitudeQueryDto: {
queryType: "and",
nameStr: ""
},
"page": {
"page": this.page,
"limit": this.limit,
"field": this.field,
"order": this.orderText
},
}
this.showList = true
if (this.resultEname) {
data.aptitudeQueryDto['resultEname'] = this.resultEname;
}
if (this.aptitudelist.length > 0 || this.aptitudeDtoList.length > 0) {
// console.log(this.aptitudelist);
// 资质部分传值
var queryTypeof = -1;
var aptitudeDtoList = [];
var dataList = {
codeStr: [],
queryType: '',
aptitudeType:''
};
var aptitudeType = '';
if(this.qualificationsTab == '按资质项'){
aptitudeType = 'qualification'
}else if(this.qualificationsTab == '按等级'){
aptitudeType = 'level'
}
for (let i = 0; i < this.aptitudeDtoList.length; i++) {
if (this.aptitudeDtoList[i].codeStr && this.aptitudeDtoList[i].codeStr.length > 0) {
dataList.codeStr.push(this.aptitudeDtoList[i].codeStr[this.aptitudeDtoList[i].codeStr.length -
1]);
}
dataList.queryType = this.aptitudeDtoList[this.aptitudeDtoList.length-1].queryType;
dataList.aptitudeType=aptitudeType;
}
dataList.codeStr = dataList.codeStr.join(',');
aptitudeDtoList.push(dataList);
for (let i = 0; i < this.aptitudelist.length; i++) {
if (this.aptitudelist[i].keyid == "address") {
data.aptitudeQueryDto['province'] = this.aptitudelist[i].provinceCode.join(',');
data.aptitudeQueryDto['city'] = this.aptitudelist[i].cityCode.join(',');
data.aptitudeQueryDto['county'] = this.aptitudelist[i].countyCode.join(',');
} else if (this.aptitudelist[i].keyid == "systemType") {
data.aptitudeQueryDto['systemType'] = this.aptitudelist[i].systemValue;
} else if (this.aptitudelist[i].keyid == "regionWeb") {
data.aptitudeQueryDto['regionWeb'] = this.aptitudelist[i].regionWeb.join(',');
} else if (this.aptitudelist[i].keyid == "taxYear") {
data.aptitudeQueryDto['taxYear'] = this.aptitudelist[i].key.join(',');
} else if (this.aptitudelist[i].keyid == "companyType") {
data.aptitudeQueryDto['companyType'] = this.aptitudelist[i].key.join(',');
} else if (this.aptitudelist[i].keyid == "businessStatus") {
data.aptitudeQueryDto['businessStatus'] = this.aptitudelist[i].key.join(',');
} else if (this.aptitudelist[i].keyid == "establish") {
data.aptitudeQueryDto['startRegisteredDate'] = this.aptitudelist[i].startTime
data.aptitudeQueryDto['endRegisteredDate'] = this.aptitudelist[i].endTime
} else if (this.aptitudelist[i].keyid == "RegisteredCapital") {
data.aptitudeQueryDto['leftRegisteredCapital'] = this.aptitudelist[i].start
data.aptitudeQueryDto['rightRegisteredCapital'] = this.aptitudelist[i].end
} else if (this.aptitudelist[i].keyid == "actualCapi") {
data.aptitudeQueryDto['leftActualCapi'] = this.aptitudelist[i].start
data.aptitudeQueryDto['rightActualCapi'] = this.aptitudelist[i].end
} else if (this.aptitudelist[i].keyid == "InsuredNum") {
data.aptitudeQueryDto['startInsuredNum'] = this.aptitudelist[i].start
data.aptitudeQueryDto['endInsuredNum'] = this.aptitudelist[i].end
} else {
data.aptitudeQueryDto[this.aptitudelist[i].keyid] = this.aptitudelist[i].key;
}
}
data.aptitudeQueryDto['aptitudeQueryType'] = this.aptitudeQueryType;
data.aptitudeQueryDto['businessScopeQueryType'] = this.businessScopeQueryType;
data.aptitudeQueryDto['filePlaceType'] = this.filePlaceType;
data.aptitudeQueryDto['aptitudeDtoList'] = aptitudeDtoList;
data.aptitudeQueryDto['aptitudeSource'] = 'new';
}
api.enterprisePage(data).then(res=>{
if (res.code==200) {
this.tableData=res.data.list;
this.total=res.data.total;
}
}).catch(error=>{
});
},
toEnterprise(id, html,type) {
return '/enterprise/' + encodeStr(id) + html + '/'+(type?'?flag=true&type='+type:'');
},
toEnterpriseDetail(id) {
return '/enterprise/' + encodeStr(id) + '/?index=true';
},
labelsWidth(e,t=0){
setTimeout(()=>{
if(this.$refs[e]){
let k = 0;
for (var j=0;j<this.$refs[e][0].children.length;j++){
k = k+ (this.$refs[e][0].children[j].offsetWidth+14)
}
if(k>1074){
if(t==1){
return true
}
return '982px'
}else {
if(t==1){
return false
}
return '100%'
}
}
},1000)
},
labelsClick(e,i,s){
this.$refs[e][0].style.height = 'auto'
this.$refs[s][0].style.width = '100%'
this.$refs[i][0].style.display = 'none'
},
chkPrice(obj) {
obj = obj.replace(/[^\d.]/g, "");
......@@ -2639,45 +2942,63 @@
}
.content_item_padding0{
padding: 0;
}
.content_item1{
align-items: flex-start;
.content_right{
width: 1400px;
.select-popper{
margin-bottom: 8px;
}
}
}
}
.bottomlist{
width: 100%;
background-color: #FFFFFF;
border-radius: 4px 4px 4px 4px;
border-radius: 4px 4px 4px 4px;
.bottomlist-title{
display: flex;
justify-content: end;
justify-content: space-between;
align-items: center;
margin-top: 12px;
padding: 24px ;
padding: 16px ;
border-bottom: 1px solid #EFEFEF;
p:first-child{
font-size: 12px;
font-weight: 400;
color: #3D3D3D;
margin-right: 10px;
}
p:last-child{
font-size: 14px;
font-weight: 400;
color: rgba(35,35,35,0.8);
}
img{
width: 18px;
height: 18px;
.title-right{
display: flex;
align-items: center;
p:first-child{
font-size: 12px;
font-weight: 400;
color: #3D3D3D;
margin-right: 10px;
}
p:last-child{
display: flex;
align-items: center;
font-size: 14px;
font-weight: 400;
color: rgba(35,35,35,0.8);
}
img{
width: 18px;
height: 18px;
}
}
}
.bottomlist-content{
padding-bottom: 0px;
}
.bottomlist-list{
padding: 14px;
padding: 16px;
font-size: 14px;
border-bottom: 1px solid #EFEFEF;
padding-bottom: 14px;
......@@ -2695,21 +3016,30 @@
}
}
.content-label{
margin-top: 7px;
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: 3px;
margin-top: 8px;
display: flex;
justify-content: start;
align-items: center;
......@@ -2718,7 +3048,7 @@
margin-top: 7px;
display: flex;
justify-content: start;
align-items: center;
align-items:flex-start ;
margin-right: 27px;
font-size: 14px;
......@@ -2732,6 +3062,12 @@
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;
......@@ -2742,6 +3078,23 @@
}
.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;
}
}
}
......@@ -2755,39 +3108,48 @@
float: right;
}
}
.card-right-title1{
display: block !important;
overflow: hidden;
}
.positive1{
padding: 0 8px !important;
margin-bottom: 8px;
margin-right: 7px !important;
}
.positive-gdbq{
font-size: 12px;
font-weight: 400;
color: #0081FF;
cursor:pointer;
}
}
</style>
<style scoped lang="scss">
.content_item_ckquery{
.item_ckquery{
margin-bottom:0px;
}
}
.aptitude_choice_wrap {
position: relative;
display: inline-block;
width: 1060px;
.aptitude_choice_wrap {
position: relative;
display: inline-block;
width: 1060px;
.resultsSour_btnlist_span {
margin-right: 16px;
}
.resultsSour_btnlist_span_24 {
margin-right: 24px;
}
.choice_radio {
position: absolute;
right: -16px;
bottom: 0;
}
.resultsSour_btnlist_span {
margin-right: 16px;
}
.resultsSour_btnlist_span_24 {
margin-right: 24px;
}
.choice_radio {
position: absolute;
right: -16px;
bottom: 0;
}
</style>
}
</style>
\ No newline at end of file
......@@ -228,6 +228,7 @@
created() {
this.addressListfn();
this.searchDic();
this.search();
},
methods: {
searchDic(){
......@@ -319,16 +320,16 @@
let arr = (this.$refs.address.getCheckedNodes())
let provinceCode = [],
cityCode = [],
countyCode = [];
areaCode = [];
let province = [],
city = [],
county = [];
area = [];
for (var i in arr) {
if (arr[i].parent) {
if (!arr[i].parent.checked) {
arr[i].hasChildren && cityCode.push(arr[i].value);
!arr[i].hasChildren && countyCode.push(arr[i].value);
!arr[i].hasChildren && areaCode.push(arr[i].value);
}
} else {
provinceCode.push(arr[i].value)
......@@ -360,12 +361,12 @@
}
}
if (countyCode.length > 0) {
for (let i = 0; i < countyCode.length; i++) {
if (countyCode[i] == jsk_data[j].id) {
county.push({
if (areaCode.length > 0) {
for (let i = 0; i < areaCode.length; i++) {
if (areaCode[i] == jsk_data[j].id) {
area.push({
value: jsk_data[j].regionName,
key: countyCode[i]
key: areaCode[i]
})
}
......@@ -373,7 +374,7 @@
}
}
if (province.length > 0 || city.length > 0 || county.length > 0) {
if (province.length > 0 || city.length > 0 || area.length > 0) {
let arrlist = [];
if (province.length > 0) {
for (let i in province) {
......@@ -385,9 +386,9 @@
arrlist.push(city[i].value)
}
}
if (county.length > 0) {
for (let i in county) {
arrlist.push(county[i].value)
if (area.length > 0) {
for (let i in area) {
arrlist.push(area[i].value)
}
}
console.log(this.addressType);
......@@ -396,7 +397,7 @@
keyid: 'address',
provinceCode: provinceCode,
cityCode: cityCode,
countyCode: countyCode,
areaCode: areaCode,
title: '项目属地:',
key: '',
addressType:this.addressType
......@@ -464,17 +465,14 @@
if (this.arrList[i].keyid == "address") {
params.specialBondProjectDto['province'] = this.arrList[i].provinceCode.join(',');
params.specialBondProjectDto['city'] = this.arrList[i].cityCode.join(',');
params.specialBondProjectDto['county'] = this.arrList[i].countyCode.join(',');
params.specialBondProjectDto['area'] = this.arrList[i].areaCode.join(',');
}
}
}
if(this.projectType.length>0&&this.projectType[0]!='不限'){
params.specialBondProjectDto['projectType'] = this.projectType.join(',');
}
if(!this.ckhasValue(params.specialBondProjectDto)){
this.$message.warning("请选择筛选条件后添加多组业绩!");
return
}
api.bondProjectPage(params).then(res=>{
if (res.code==200) {
this.tableData=res.data.list;
......
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