Commit 36fcd023 authored by yht15023815643's avatar yht15023815643

Merge branch 'V20230915' of http://192.168.60.201/root/dsk-operate-sys into V20230915

parents fffae033 cdc88c94
...@@ -4,6 +4,7 @@ import cn.hutool.core.bean.BeanUtil; ...@@ -4,6 +4,7 @@ import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.date.DateUtil; import cn.hutool.core.date.DateUtil;
import cn.hutool.core.map.MapUtil; import cn.hutool.core.map.MapUtil;
import cn.hutool.core.util.ObjectUtil; import cn.hutool.core.util.ObjectUtil;
import com.alibaba.fastjson2.JSONObject;
import com.dsk.common.constant.CacheConstants; import com.dsk.common.constant.CacheConstants;
import com.dsk.common.core.domain.AjaxResult; import com.dsk.common.core.domain.AjaxResult;
import com.dsk.common.core.domain.R; import com.dsk.common.core.domain.R;
...@@ -99,12 +100,12 @@ public class JskCombineInfoService { ...@@ -99,12 +100,12 @@ public class JskCombineInfoService {
} }
public AjaxResult centralEnterprse() { public AjaxResult centralEnterprse() {
Map<String, Object> map = dskOpenApiUtil.requestBody("/nationzj/enterprice/centralEnterprse", null); Map<String, Object> map = dskOpenApiUtil.requestBody("/nationzj/enterprice/centralEnterprse", new JSONObject());
return BeanUtil.toBean(map, AjaxResult.class); return BeanUtil.toBean(map, AjaxResult.class);
} }
public AjaxResult centralEnterprseChild() { public AjaxResult centralEnterprseChild() {
Map<String, Object> map = dskOpenApiUtil.requestBody("/nationzj/enterprice/centralEnterprse/child", null); Map<String, Object> map = dskOpenApiUtil.requestBody("/nationzj/enterprice/centralEnterprse/child", new JSONObject());
return BeanUtil.toBean(map, AjaxResult.class); return BeanUtil.toBean(map, AjaxResult.class);
} }
...@@ -124,7 +125,7 @@ public class JskCombineInfoService { ...@@ -124,7 +125,7 @@ public class JskCombineInfoService {
} }
public AjaxResult centralEnterprseSocial() { public AjaxResult centralEnterprseSocial() {
Map<String, Object> map = dskOpenApiUtil.requestBody("/nationzj/enterprice/centralEnterprse/social", null); Map<String, Object> map = dskOpenApiUtil.requestBody("/nationzj/enterprice/centralEnterprse/social", new JSONObject());
return BeanUtil.toBean(map, AjaxResult.class); return BeanUtil.toBean(map, AjaxResult.class);
} }
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</div> </div>
</div> </div>
<skeleton v-if="isSkeleton"></skeleton> <skeleton v-if="isSkeleton"></skeleton>
<el-table v-if="!isSkeleton&&tableData.total > 0" class="fixed-table" v-horizontal-scroll="tableData.total > 10 ? 'hover' : '1'" max-height="640" <el-table v-if="!isSkeleton&&tableData.total > 0" class="fixed-table" v-horizontal-scroll="tableData.total > 10 ? 'hover' : 'false'" max-height="640"
:data="tableData.rows" :data="tableData.rows"
stripe border stripe border
style="width: 100%"> style="width: 100%">
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<div class="flex-box query-box"> <div class="flex-box query-box">
<div class="flex-box query-params"> <div class="flex-box query-params">
<span class="common-title">集团中标统计</span> <span class="common-title">集团中标统计</span>
<div class="tips">注:数据来源大司空建筑大数据平台,统计范围为全国公开的施工内土地交易项目,未公开的不含在内</div> <div class="tips">注:数据来源大司空建筑大数据平台,统计范围为全国公开的施工类项目,未公开的不含在内。</div>
</div> </div>
<div class="flex-box"> <div class="flex-box">
<div class="search"> <div class="search">
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<div class="flex-box query-box"> <div class="flex-box query-box">
<div class="flex-box query-params"> <div class="flex-box query-params">
<span class="common-title">大项目中标排行榜</span> <span class="common-title">大项目中标排行榜</span>
<div class="tips">注:数据来源大司空建筑大数据平台,统计范围为全国公开的施工内土地交易项目,未公开的不含在内</div> <div class="tips">注:数据来源大司空建筑大数据平台,统计范围为全国公开的施工类项目,未公开的不含在内。</div>
</div> </div>
<div class="flex-box"> <div class="flex-box">
<div class="search"> <div class="search">
...@@ -981,7 +981,7 @@ export default { ...@@ -981,7 +981,7 @@ export default {
initChart1(list){ initChart1(list){
let data=[] let data=[]
let arr=list.sort(function(a, b) { let arr=list.sort(function(a, b) {
return b.count - a.count; return b.money - a.money;
}); });
if(arr.length > 10){ if(arr.length > 10){
for(var i=0;i<10;i++){ for(var i=0;i<10;i++){
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
v-loading="tableLoading" v-loading="tableLoading"
:data="tableData" :data="tableData"
border border
v-horizontal-scroll="'hover'" v-horizontal-scroll="tableData.total > 15 ? 'hover' : 'false'"
highlight-current-row highlight-current-row
@sort-change="sortChange" @sort-change="sortChange"
:default-sort = "{prop: 'gdp', order: 'descending'}" :default-sort = "{prop: 'gdp', order: 'descending'}"
......
...@@ -392,7 +392,8 @@ export default { ...@@ -392,7 +392,8 @@ export default {
}, },
grid: { grid: {
top:20, top:20,
// right:15, left:5,
right:60,
bottom:5, bottom:5,
}, },
series: [ series: [
...@@ -408,7 +409,7 @@ export default { ...@@ -408,7 +409,7 @@ export default {
show: this.valData[1] ? true : false, show: this.valData[1] ? true : false,
position: 'top', position: 'top',
textStyle: { textStyle: {
padding: [0, 0, 0, -12] padding: [0, 0, 0, 55]
} }
}, },
//设置折线颜色和粗细 //设置折线颜色和粗细
...@@ -432,7 +433,7 @@ export default { ...@@ -432,7 +433,7 @@ export default {
}, },
]), ]),
}, },
} },
] ]
} }
myChart.setOption(option); myChart.setOption(option);
...@@ -460,6 +461,8 @@ export default { ...@@ -460,6 +461,8 @@ export default {
}, },
grid: { grid: {
top:20, top:20,
left:5,
right:60,
bottom:5, bottom:5,
}, },
series: [ series: [
...@@ -475,7 +478,7 @@ export default { ...@@ -475,7 +478,7 @@ export default {
show: this.valData1[1] ? true : false, show: this.valData1[1] ? true : false,
position: 'top', position: 'top',
textStyle: { textStyle: {
padding: [0, 0, 0, -35] padding: [0, 0, 0, 15]
} }
}, },
itemStyle:{ itemStyle:{
...@@ -527,6 +530,8 @@ export default { ...@@ -527,6 +530,8 @@ export default {
}, },
grid: { grid: {
top:20, top:20,
left:5,
right:60,
bottom:5, bottom:5,
}, },
series: [ series: [
...@@ -542,7 +547,7 @@ export default { ...@@ -542,7 +547,7 @@ export default {
show: this.valData2[1] ? true : false, show: this.valData2[1] ? true : false,
position: 'top', position: 'top',
textStyle: { textStyle: {
padding: [0, 0, 0, -16] padding: [0, 0, 0, 35]
} }
}, },
//设置折线颜色和粗细 //设置折线颜色和粗细
...@@ -594,6 +599,8 @@ export default { ...@@ -594,6 +599,8 @@ export default {
}, },
grid: { grid: {
top:20, top:20,
left:5,
right:60,
bottom:5, bottom:5,
}, },
series: [ series: [
...@@ -609,7 +616,7 @@ export default { ...@@ -609,7 +616,7 @@ export default {
show: this.valData3[1] ? true : false, show: this.valData3[1] ? true : false,
position: 'top', position: 'top',
textStyle: { textStyle: {
padding: [0, 0, 0, -16] padding: [0, 0, 0, 35]
} }
}, },
//设置折线颜色和粗细 //设置折线颜色和粗细
...@@ -661,7 +668,8 @@ export default { ...@@ -661,7 +668,8 @@ export default {
}, },
grid: { grid: {
top:20, top:20,
// left:5, left:5,
right:60,
bottom:5, bottom:5,
}, },
series: [ series: [
...@@ -677,7 +685,7 @@ export default { ...@@ -677,7 +685,7 @@ export default {
show: this.valData4[1] ? true : false, show: this.valData4[1] ? true : false,
position: 'top', position: 'top',
textStyle: { textStyle: {
padding: [0, 0, 0, -14] padding: [0, 0, 0, 40]
} }
}, },
//设置折线颜色和粗细 //设置折线颜色和粗细
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
.el-tabs__header{ .el-tabs__header{
margin: 0; margin: 0;
position: sticky; position: sticky;
top: 104px; top: 102px;
z-index: 999; z-index: 999;
background: #fff; background: #fff;
.el-tabs__item{ .el-tabs__item{
......
...@@ -422,13 +422,13 @@ ...@@ -422,13 +422,13 @@
overflow:visible; overflow:visible;
.el-table__header-wrapper{ .el-table__header-wrapper{
position: sticky; position: sticky;
top:104px; top:102px;
z-index: 9; z-index: 9;
} }
.el-table__fixed-header-wrapper{ .el-table__fixed-header-wrapper{
position: sticky; position: sticky;
z-index: 9; z-index: 9;
top: 104px; top: 102px;
} }
.el-table__fixed{ .el-table__fixed{
overflow-x: clip; overflow-x: clip;
......
...@@ -706,7 +706,7 @@ export default { ...@@ -706,7 +706,7 @@ export default {
return; return;
} }
if (index === 3) { if (index === 3) {
sums[index] = '100'; sums[index] = '100%';
return; return;
} }
const values = data.map(item => Number(item[column.property])); const values = data.map(item => Number(item[column.property]));
...@@ -719,8 +719,8 @@ export default { ...@@ -719,8 +719,8 @@ export default {
} }
}, 0); }, 0);
if (index === 1) { if (index === 2) {
sums[index] = Number(sums[index]).toFixed(0); sums[index] = Number(sums[index]).toFixed(0)+'个';
return; return;
} }
}); });
......
...@@ -593,7 +593,7 @@ ...@@ -593,7 +593,7 @@
return; return;
} }
if (index === 3) { if (index === 3) {
sums[index] = '100'; sums[index] = '100%';
return; return;
} }
const values = data.map(item => Number(item[column.property])); const values = data.map(item => Number(item[column.property]));
...@@ -606,8 +606,8 @@ ...@@ -606,8 +606,8 @@
} }
}, 0); }, 0);
if (index === 1) { if (index === 2) {
sums[index] = Number(sums[index]).toFixed(0); sums[index] = Number(sums[index]).toFixed(0)+'个';
return; return;
} }
}); });
......
...@@ -30,16 +30,16 @@ ...@@ -30,16 +30,16 @@
<template slot-scope="scope">{{ scope.$index + 1 }}</template> <template slot-scope="scope">{{ scope.$index + 1 }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="type" label="项目类型" :formatter="formatStatus" width="100"/> <el-table-column prop="type" label="项目类型" :formatter="formatStatus" width="100"/>
<el-table-column prop="count" label="中标数量" align="right" :formatter="formatStatus" sortable width="130"> <el-table-column prop="count" label="中标数量" align="right" :formatter="formatStatus" sortable width="110">
<template slot-scope="scope">{{ scope.row.count }}</template> <template slot-scope="scope">{{ scope.row.count }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="countRate" label="数量占比" align="right" :formatter="formatStatus" sortable width="140"> <el-table-column prop="countRate" label="数量占比" align="right" :formatter="formatStatus" sortable width="110">
<template slot-scope="scope">{{ scope.row.countRate }}%</template> <template slot-scope="scope">{{ scope.row.countRate }}%</template>
</el-table-column> </el-table-column>
<el-table-column prop="money" label="中标总金额" align="right" :formatter="formatStatus" sortable width="190"> <el-table-column prop="money" label="中标总金额" align="right" :formatter="formatStatus" sortable min-width="180">
<template slot-scope="scope">{{ scope.row.money }}万元</template> <template slot-scope="scope">{{ scope.row.money }}万元</template>
</el-table-column> </el-table-column>
<el-table-column prop="moneyRate" label="金额占比" align="right" :formatter="formatStatus" sortable width="120"> <el-table-column prop="moneyRate" label="金额占比" align="right" :formatter="formatStatus" sortable width="110">
<template slot-scope="scope">{{ scope.row.moneyRate }}%</template> <template slot-scope="scope">{{ scope.row.moneyRate }}%</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -78,16 +78,16 @@ ...@@ -78,16 +78,16 @@
<template slot-scope="scope">{{ scope.$index + 1 }}</template> <template slot-scope="scope">{{ scope.$index + 1 }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="province" label="地区" :formatter="formatStatus" width="100"/> <el-table-column prop="province" label="地区" :formatter="formatStatus" width="100"/>
<el-table-column prop="count" label="中标数量" align="right" :formatter="formatStatus" sortable width="130"> <el-table-column prop="count" label="中标数量" align="right" :formatter="formatStatus" sortable width="110">
<template slot-scope="scope">{{ scope.row.count }}</template> <template slot-scope="scope">{{ scope.row.count }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="countRate" label="数量占比" align="right" :formatter="formatStatus" sortable width="140"> <el-table-column prop="countRate" label="数量占比" align="right" :formatter="formatStatus" sortable width="110">
<template slot-scope="scope">{{ scope.row.countRate }}%</template> <template slot-scope="scope">{{ scope.row.countRate }}%</template>
</el-table-column> </el-table-column>
<el-table-column prop="sumMoney" label="中标总金额" align="right" :formatter="formatStatus" sortable width="190"> <el-table-column prop="sumMoney" label="中标总金额" align="right" :formatter="formatStatus" sortable min-width="180">
<template slot-scope="scope">{{ scope.row.sumMoney }}万元</template> <template slot-scope="scope">{{ scope.row.sumMoney }}万元</template>
</el-table-column> </el-table-column>
<el-table-column prop="moneyRate" label="金额占比" align="right" :formatter="formatStatus" sortable width="120"> <el-table-column prop="moneyRate" label="金额占比" align="right" :formatter="formatStatus" sortable width="110">
<template slot-scope="scope">{{ scope.row.moneyRate }}%</template> <template slot-scope="scope">{{ scope.row.moneyRate }}%</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -312,17 +312,16 @@ ...@@ -312,17 +312,16 @@
this.dataRegion() this.dataRegion()
this.yearsData() this.yearsData()
this.getCountBidByType() this.getCountBidByType()
this.getCountBidGroupByProvince()
this.getRangeBidMoney()
this.getRangeBidFiveYears()
this.getLowerRateByYear()
this.getLowerRangeTenderType()
setTimeout(() => { setTimeout(() => {
}, 1000); }, 1000);
}, },
mounted() { mounted() {
this.getCountBidGroupByProvince()
this.getRangeBidMoney()
this.getRangeBidFiveYears()
this.getLowerRateByYear()
this.getLowerRangeTenderType()
}, },
beforeDestroy(){ beforeDestroy(){
...@@ -1088,8 +1087,12 @@ ...@@ -1088,8 +1087,12 @@
} }
}, 0); }, 0);
if (index === 2) {
sums[index] = sums[index]+'个';
return;
}
if (index === 4) { if (index === 4) {
sums[index] = Number(sums[index]).toFixed(2); sums[index] = Number(sums[index]).toFixed(2)+'万元';
return; return;
} }
}); });
...@@ -1120,7 +1123,7 @@ ...@@ -1120,7 +1123,7 @@
}, 0); }, 0);
if (index === 2) { if (index === 2) {
sums[index] = (Number(sums[index])/length).toFixed(2); sums[index] = (Number(sums[index])/length).toFixed(2)+'%';
return; return;
} }
}); });
...@@ -1151,7 +1154,7 @@ ...@@ -1151,7 +1154,7 @@
}, 0); }, 0);
if (index === 2||index === 3||index === 4) { if (index === 2||index === 3||index === 4) {
sums[index] = (Number(sums[index])/length).toFixed(2); sums[index] = (Number(sums[index])/length).toFixed(2)+'%';
return; return;
} }
}); });
......
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
border-radius: 4px; border-radius: 4px;
color: #232323; color: #232323;
position: sticky; position: sticky;
top: 56px; top: 54px;
z-index: 999; z-index: 999;
::v-deep .el-tabs{ ::v-deep .el-tabs{
height: 48px; height: 48px;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<el-form class="popform j" :model="queryParam" :rules="rules" ref="ruleForm" label-width="130px"> <el-form class="popform j" :model="queryParam" :rules="rules" ref="ruleForm" label-width="130px">
<el-form-item label="项目名称:" class="row" prop="projectName"> <el-form-item label="项目名称:" class="row" prop="projectName">
<el-input type="text" placeholder="请输入" v-model="queryParam.projectName" @input="getProject(1)" :οnkeyup="queryParam.projectName=queryParam.projectName.replace(/^\s+|\s+$/g,'')"></el-input> <el-input type="text" placeholder="请输入" v-model="queryParam.projectName" @input="getProject(1)" :οnkeyup="queryParam.projectName=queryParam.projectName.replace(/^\s+|\s+$/g,'')"></el-input>
<div class="resultlist infinite-list" v-infinite-scroll="load1" v-if="proList.length>0" id="box1"> <div class="resultlist infinite-list" v-infinite-scroll="load1" v-if="proList.length>0" id="box1" style="overflow:auto">
<div class="infinite-list-item" v-for="(item,index) in proList" @click="selProject(item)"><span v-html="item.projectName" :key="projectpage"></span></div> <div class="infinite-list-item" v-for="(item,index) in proList" @click="selProject(item)"><span v-html="item.projectName" :key="projectpage"></span></div>
</div> </div>
</el-form-item> </el-form-item>
...@@ -204,8 +204,9 @@ ...@@ -204,8 +204,9 @@
this.proList = result.data this.proList = result.data
} else { } else {
let arr2 = result.data let arr2 = result.data
arr2.unshift(2, 0); // arr2.unshift(2, 0);
Array.prototype.splice.apply(this.proList, arr2); // Array.prototype.splice.apply(this.proList, arr2);
this.proList = [...this.proList,...arr2]
} }
this.projectpage += 1 this.projectpage += 1
}else{ }else{
......
...@@ -139,7 +139,6 @@ export default { ...@@ -139,7 +139,6 @@ export default {
this.tableData = [] this.tableData = []
this.tableDataTotal = 0 this.tableDataTotal = 0
} }
this.tableDataTotal = 0
this.isSkeleton = false this.isSkeleton = false
}) })
}, },
......
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