Commit b0d648b3 authored by danfuman's avatar danfuman

修改

parent 761f7de9
......@@ -387,14 +387,14 @@
}
}
if(key === '2'){
this.queryParams.maxStockPercent=''
// this.paramsData.maxStockPercent=''
if(name === this.cgblName){
this.cgblName=''
this.queryParams.minStockPercent=''
this.queryParams.maxStockPercent=''
}else {
this.cgblName=name;
}
this.queryParams.maxStockPercent=''
this.paramsData.maxStockPercent=''
if(this.cgblName){
if(name === '100%'){
this.queryParams.minStockPercent=1
}
......@@ -411,14 +411,11 @@
this.queryParams.minStockPercent=0.01
this.queryParams.maxStockPercent=0.05
}
}else {
this.queryParams.minStockPercent=''
this.queryParams.maxStockPercent=''
}
if(this.paramsData){
if(!this.paramsData.combineId){
// if(!this.paramsData.combineId){
this.paramsData=this.queryParams
}
// }
this.paramsData.pageNum =1
this.queryParams.pageNum =1
}
......
......@@ -289,15 +289,16 @@
queryParams1: {
combineId: this.customerId,
},
yearValue:'',
formData: [
{ type: 4, fieldName: 'type', value: '', placeholder: '项目类型', options: [], uid: this.getUid()},
{ type: 1, fieldName: 'cgbl', value: '', placeholder: '持股比例', options: [],width:110, uid: this.getUid()},
{ type: 1, fieldName: 'year', value: '2023年', placeholder: '选择年份', options: [],width:100, uid: this.getUid()},
{ type: 1, fieldName: 'year', value:'', placeholder: '选择年份', options: [],width:100, uid: this.getUid()},
],
formData1: [
{ type: 4, fieldName: 'type', value: '', placeholder: '项目类型', options: [], uid: this.getUid()},
{ type: 1, fieldName: 'cgbl', value: '', placeholder: '持股比例', options: [],width:110, uid: this.getUid()},
{ type: 1, fieldName: 'year', value: '2023年', placeholder: '选择年份', options: [],width:100, uid: this.getUid()},
{ type: 1, fieldName: 'year', value: '', placeholder: '选择年份', options: [],width:100, uid: this.getUid()},
],
cgblList: [
{name:'100%',value:'100%'},
......@@ -313,9 +314,9 @@
peojectTopData:[],
ndzbList:[],
yearOptions:[],
year1:'2023年',
year2:'2023年',
year3:'2023年',
year1:'',
year2:'',
year3:'',
isSkeleton:true,
isSkeleton2:true,
isSkeleton3:true,
......@@ -325,9 +326,10 @@
}
},
created() {
this.yearsData()
this.formData[1].options=this.cgblList;
this.formData1[1].options=this.cgblList;
this.yearsData()
//项目类型
getDictType('project_type_new').then(result=>{
let data = result.code == 200 ? result.data:[];
......@@ -380,8 +382,18 @@
})
}
this.yearOptions=Years.reverse()
this.formData[2].value=this.yearOptions[0].value;
this.formData1[2].value=this.yearOptions[0].value;
this.year1=this.yearOptions[0].value
this.year2=this.yearOptions[0].value
this.year3=this.yearOptions[0].value
this.formData[2].options=Years
this.formData1[2].options=Years
this.$forceUpdate()
},
handleQuery(params){
// this.isSkeleton = true
......@@ -483,7 +495,6 @@
})
},
getPeojectTop(params){
console.log(params)
let data = params || this.queryParams1;
if(data.cgbl){
if(data.cgbl === '100%'){
......
......@@ -213,7 +213,9 @@ export default {
statisticObj: {
handler(val) {
this.sideRoute = JSON.parse(JSON.stringify(this.defaultRoute));
console.log(this.sideRoute)
let arr = JSON.parse(JSON.stringify(val));
console.log(arr,"||||||||")
for (var i in arr) {
for (var j in arr[i]) {
switch (j) {
......
......@@ -60,12 +60,12 @@
</div>
</div>
</div>
<div class="company-menu">
<el-button v-if="companyInfo.claimStatus==0" @click="cancelClaimClick()" class="hasClaim"><i class="el-ico-claim" alt="已认领" title="已认领"></i>
已认领</el-button>
<el-button @click="handleClaim" v-else class="claim" v-loading="claimLoading"><i class="el-ico-claim" alt="认领客户" title="认领客户"></i>
认领客户</el-button>
</div>
<!--<div class="company-menu">-->
<!--<el-button v-if="companyInfo.claimStatus==0" @click="cancelClaimClick()" class="hasClaim"><i class="el-ico-claim" alt="已认领" title="已认领"></i>-->
<!--已认领</el-button>-->
<!--<el-button @click="handleClaim" v-else class="claim" v-loading="claimLoading"><i class="el-ico-claim" alt="认领客户" title="认领客户"></i>-->
<!--认领客户</el-button>-->
<!--</div>-->
<div class="company-info">
<div class="info-item flex-box">
......
......@@ -155,12 +155,12 @@
<p v-else class="renling-img-false">
</p>
<span v-if="scope.row.claimStatus==0" @click="cancelClaim(scope.row.companyName,scope.$index)" class="renling-hui">
已认领
</span>
<span v-else class="renling-hei">
认领
</span>
<!--<span v-if="scope.row.claimStatus==0" @click="cancelClaim(scope.row.companyName,scope.$index)" class="renling-hui">-->
<!--已认领-->
<!--</span>-->
<!--<span v-else class="renling-hei">-->
<!--认领-->
<!--</span>-->
</div>
</div>
......
......@@ -2,8 +2,8 @@
<div class="app-container enterprise_contatiner">
<div class="title_wrap">
<div class="enterprise_title">
查企业
<img style="position: relative;top:-10px;width:80px;height:16px;" src="@/assets/images/owner/tip.png" alt="">
竞争对手查询
<!--<img style="position: relative;top:-10px;width:80px;height:16px;" src="@/assets/images/owner/tip.png" alt="">-->
</div>
</div>
......@@ -574,7 +574,7 @@
</div>
</li>
</ul>
<div class="pagination clearfix" v-show="total>0">
<div class="pagination clearfix" v-show="show_page && total>0">
<el-pagination background :page-size="limit" :current-page="page" @current-change="handleCurrentChange" layout="prev, pager, next"
:total="total">
</el-pagination>
......@@ -617,6 +617,8 @@ export default {
encodeStr,
ename: '',
isSkeleton: true,
show_page:true,
MaxPage:500,
enameQueryTypeList: [
{
key: 'and',
......@@ -2725,7 +2727,16 @@ export default {
},
handleCurrentChange(page) {
this.page = page;
if(this.MaxPage<page){
this.show_page = false
this.$nextTick(() => {
this.page = 1
this.$message.warning(`对不起,最多只能访问${this.MaxPage}页`)
this.show_page = true
})
}else {
this.search(page, this.limit);
}
},
// 空白点击
outClick(e) {
......
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