|
@@ -23,13 +23,13 @@
|
|
<el-form-item label="项目名称:" prop="projectName">
|
|
<el-form-item label="项目名称:" prop="projectName">
|
|
<!-- <el-col :span="7">项目名称:</el-col> -->
|
|
<!-- <el-col :span="7">项目名称:</el-col> -->
|
|
<el-col :span="16">
|
|
<el-col :span="16">
|
|
- <el-input placeholder="输入项目名称" v-model="ruleForm.projectName"></el-input>
|
|
|
|
|
|
+ <el-input size="mini" placeholder="输入项目名称" v-model="ruleForm.projectName"></el-input>
|
|
</el-col>
|
|
</el-col>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="征地补偿标准:" prop="zdValue">
|
|
<el-form-item label="征地补偿标准:" prop="zdValue">
|
|
<!-- <el-col :span="7">征地补偿标准:</el-col> -->
|
|
<!-- <el-col :span="7">征地补偿标准:</el-col> -->
|
|
<el-col :span="13">
|
|
<el-col :span="13">
|
|
- <el-select v-model="ruleForm.zdValue" placeholder="请选择">
|
|
|
|
|
|
+ <el-select size="mini" v-model="ruleForm.zdValue" placeholder="请选择">
|
|
<el-option v-for="item in zdList" :key="item.value" :label="item.label" :value="item.value">
|
|
<el-option v-for="item in zdList" :key="item.value" :label="item.label" :value="item.value">
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
@@ -42,7 +42,7 @@
|
|
<el-form-item label="青苗补偿标准:" prop="qmValue">
|
|
<el-form-item label="青苗补偿标准:" prop="qmValue">
|
|
<!-- <el-col :span="7">青苗补偿标准:</el-col> -->
|
|
<!-- <el-col :span="7">青苗补偿标准:</el-col> -->
|
|
<el-col :span="13">
|
|
<el-col :span="13">
|
|
- <el-select v-model="ruleForm.qmValue" placeholder="请选择">
|
|
|
|
|
|
+ <el-select size="mini" v-model="ruleForm.qmValue" placeholder="请选择">
|
|
<el-option v-for="item in qmList" :key="item.value" :label="item.label" :value="item.value">
|
|
<el-option v-for="item in qmList" :key="item.value" :label="item.label" :value="item.value">
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
@@ -55,7 +55,7 @@
|
|
<el-form-item label="拆迁补偿标准:" prop="cqValue">
|
|
<el-form-item label="拆迁补偿标准:" prop="cqValue">
|
|
<!-- <el-col :span="7">拆迁补偿标准:</el-col> -->
|
|
<!-- <el-col :span="7">拆迁补偿标准:</el-col> -->
|
|
<el-col :span="13">
|
|
<el-col :span="13">
|
|
- <el-select v-model="ruleForm.cqValue" placeholder="请选择">
|
|
|
|
|
|
+ <el-select size="mini" v-model="ruleForm.cqValue" placeholder="请选择">
|
|
<el-option v-for="item in cqList" :key="item.value" :label="item.label" :value="item.value">
|
|
<el-option v-for="item in cqList" :key="item.value" :label="item.label" :value="item.value">
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
@@ -75,12 +75,12 @@
|
|
<el-tab-pane label="分析记录" name="second">
|
|
<el-tab-pane label="分析记录" name="second">
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
- <el-input placeholder="请输入项目名称" v-model="projectName">
|
|
|
|
|
|
+ <el-input size="mini" placeholder="请输入项目名称" v-model="searchName">
|
|
<i slot="suffix" class="el-input__icon el-icon-search"></i>
|
|
<i slot="suffix" class="el-input__icon el-icon-search"></i>
|
|
</el-input>
|
|
</el-input>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
- <el-date-picker v-model="dateVal" type="daterange" range-separator="至" start-placeholder="开始日期"
|
|
|
|
|
|
+ <el-date-picker size="mini" v-model="dateVal" type="daterange" range-separator="至" start-placeholder="开始日期"
|
|
end-placeholder="结束日期">
|
|
end-placeholder="结束日期">
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -137,49 +137,51 @@
|
|
</div>
|
|
</div>
|
|
<div class="divCol">
|
|
<div class="divCol">
|
|
<div class="divImg">
|
|
<div class="divImg">
|
|
- <img :src="imgs.zd2" style="height: 2.5rem; width: 2.5rem" />
|
|
|
|
|
|
+ <img :src="imgs.zd1" style="height: 2.5rem; width: 2.5rem" />
|
|
</div>
|
|
</div>
|
|
<div class="divText">
|
|
<div class="divText">
|
|
<div>
|
|
<div>
|
|
- <span style="color: #fff"> 预计征地补偿费(万元)</span>
|
|
|
|
|
|
+ <span style="color: #fff"> 国有用地(亩)</span>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
- <span color="#2d8cf0">{{ zdResult.totalPay }}</span>
|
|
|
|
|
|
+ <span color="#2d8cf0">{{ zdResult.gyMJ }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
<!-- 第二行 -->
|
|
<!-- 第二行 -->
|
|
<div class="divrow">
|
|
<div class="divrow">
|
|
|
|
+ <!-- 123 -->
|
|
<div class="divCol">
|
|
<div class="divCol">
|
|
<div class="divImg">
|
|
<div class="divImg">
|
|
- <img :src="imgs.zd1" style="height: 2.5rem; width: 2.5rem" />
|
|
|
|
|
|
+ <img :src="imgs.zd2" style="height: 2.5rem; width: 2.5rem" />
|
|
</div>
|
|
</div>
|
|
<div class="divText">
|
|
<div class="divText">
|
|
<div>
|
|
<div>
|
|
- <span style="color: #fff"> 预计土地补偿费(万元)</span>
|
|
|
|
|
|
+ <span style="color: #fff">集体用地(亩)</span>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
- <span color="#2d8cf0">{{ zdResult.totalZDOay }}</span>
|
|
|
|
|
|
+ <span color="#2d8cf0">{{ zdResult.jtMJ }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <!-- 123 -->
|
|
|
|
|
|
+
|
|
<div class="divCol">
|
|
<div class="divCol">
|
|
<div class="divImg">
|
|
<div class="divImg">
|
|
<img :src="imgs.zd2" style="height: 2.5rem; width: 2.5rem" />
|
|
<img :src="imgs.zd2" style="height: 2.5rem; width: 2.5rem" />
|
|
</div>
|
|
</div>
|
|
<div class="divText">
|
|
<div class="divText">
|
|
<div>
|
|
<div>
|
|
- <span style="color: #fff"> 预计安置补偿费(万元)</span>
|
|
|
|
|
|
+ <span style="color: #fff"> 集体征地补偿费(万元)</span>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
- <span color="#2d8cf0">{{ zdResult.totalAZPay }}</span>
|
|
|
|
|
|
+ <span color="#2d8cf0">{{ zdResult.totalPay }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <!-- 第二行 -->
|
|
|
|
|
|
+ <!-- 第三行 -->
|
|
<div class="divrow">
|
|
<div class="divrow">
|
|
<div class="divCol">
|
|
<div class="divCol">
|
|
<div class="divImg">
|
|
<div class="divImg">
|
|
@@ -187,10 +189,10 @@
|
|
</div>
|
|
</div>
|
|
<div class="divText">
|
|
<div class="divText">
|
|
<div>
|
|
<div>
|
|
- <span style="color: #fff"> 国有用地(亩)</span>
|
|
|
|
|
|
+ <span style="color: #fff"> 集体土地补偿费(万元)</span>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
- <span color="#2d8cf0">{{ zdResult.gyMJ }}</span>
|
|
|
|
|
|
+ <span color="#2d8cf0">{{ zdResult.totalZDOay }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -201,15 +203,24 @@
|
|
</div>
|
|
</div>
|
|
<div class="divText">
|
|
<div class="divText">
|
|
<div>
|
|
<div>
|
|
- <span style="color: #fff">集体用地(亩)</span>
|
|
|
|
|
|
+ <span style="color: #fff"> 集体安置补偿费(万元)</span>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
- <span color="#2d8cf0">{{ zdResult.jtMJ }}</span>
|
|
|
|
|
|
+ <span color="#2d8cf0">{{ zdResult.totalAZPay }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div id="ZDBCChart" style="height: 25rem; width: 25rem; overflow-y: auto"></div>
|
|
|
|
|
|
+
|
|
|
|
+ <el-tabs v-model="activateQS" @tab-click="qsClick">
|
|
|
|
+ <el-tab-pane label="国有土地" name="gytd">
|
|
|
|
+ <div id="ZDBCGYChart" style="height: 25rem; width: 25rem; overflow-y: auto"></div>
|
|
|
|
+ </el-tab-pane>
|
|
|
|
+ <el-tab-pane label="集体土地" name="jttd">
|
|
|
|
+ <div id="ZDBCChart" style="height: 25rem; width: 25rem; overflow-y: auto"></div>
|
|
|
|
+ </el-tab-pane>
|
|
|
|
+
|
|
|
|
+ </el-tabs>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
<el-tab-pane label="青苗补偿费评估" name="QMPG">
|
|
<el-tab-pane label="青苗补偿费评估" name="QMPG">
|
|
<!-- 第一行 -->
|
|
<!-- 第一行 -->
|
|
@@ -396,8 +407,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="height: 2rem; width: 100%">
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
|
+ <div style="height: 2rem; width: 100%;padding-left: 1rem; font-size:medium;font-weight: 600;">
|
|
|
|
+ 涉及房屋列表
|
|
|
|
+ <!-- <el-col :span="6">
|
|
<el-select>
|
|
<el-select>
|
|
<el-option>混合结构</el-option>
|
|
<el-option>混合结构</el-option>
|
|
<el-option>砖木结构</el-option>
|
|
<el-option>砖木结构</el-option>
|
|
@@ -417,7 +429,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="11">
|
|
<el-col :span="11">
|
|
<el-input placeholder="请输入查询内容" suffix-icon="el-icon-search"></el-input>
|
|
<el-input placeholder="请输入查询内容" suffix-icon="el-icon-search"></el-input>
|
|
- </el-col>
|
|
|
|
|
|
+ </el-col> -->
|
|
</div>
|
|
</div>
|
|
<ul>
|
|
<ul>
|
|
<!-- item = { id: smid, cqr: cqrVal, jg: fwjgVal, fwdj: fwdjVal, floor: floorVal, jzmj: jzmjVal, zdmj: zdmjVal, address: addressVal, pay: pay, single: BZ } -->
|
|
<!-- item = { id: smid, cqr: cqrVal, jg: fwjgVal, fwdj: fwdjVal, floor: floorVal, jzmj: jzmjVal, zdmj: zdmjVal, address: addressVal, pay: pay, single: BZ } -->
|
|
@@ -484,8 +496,10 @@ export default {
|
|
name: "DemolitionList",
|
|
name: "DemolitionList",
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ searchName: "",
|
|
FileList: [],
|
|
FileList: [],
|
|
loading: null,
|
|
loading: null,
|
|
|
|
+ tableData: [],
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
*/
|
|
*/
|
|
@@ -517,6 +531,8 @@ export default {
|
|
* tabs 标签
|
|
* tabs 标签
|
|
*/
|
|
*/
|
|
activeName: "first",
|
|
activeName: "first",
|
|
|
|
+ /**土地权属 */
|
|
|
|
+ activateQS: 'gytd',
|
|
/**
|
|
/**
|
|
* 弹窗保证弹出唯一
|
|
* 弹窗保证弹出唯一
|
|
*/
|
|
*/
|
|
@@ -980,7 +996,7 @@ export default {
|
|
//国有面积
|
|
//国有面积
|
|
gyMJ: 0,
|
|
gyMJ: 0,
|
|
//集体面积
|
|
//集体面积
|
|
- jtMJ: 0,
|
|
|
|
|
|
+ jtMJ: 0.00,
|
|
//征地面积
|
|
//征地面积
|
|
totalZDMJ: 0,
|
|
totalZDMJ: 0,
|
|
//总补偿
|
|
//总补偿
|
|
@@ -991,6 +1007,8 @@ export default {
|
|
totalAZPay: 0,
|
|
totalAZPay: 0,
|
|
//地类及面积
|
|
//地类及面积
|
|
list: [],
|
|
list: [],
|
|
|
|
+ //国有权属及面积
|
|
|
|
+ gyList: [],
|
|
fieldInfos: [],
|
|
fieldInfos: [],
|
|
features: [],
|
|
features: [],
|
|
},
|
|
},
|
|
@@ -1250,10 +1268,15 @@ export default {
|
|
|
|
|
|
this.pageClick();
|
|
this.pageClick();
|
|
},
|
|
},
|
|
|
|
+ /**
|
|
|
|
+ * 页面切换
|
|
|
|
+ */
|
|
pageClick() {
|
|
pageClick() {
|
|
var page = this.activePage;
|
|
var page = this.activePage;
|
|
this.ZDBCChart();
|
|
this.ZDBCChart();
|
|
|
|
+ this.ZDBCGYChart();
|
|
this.QMBCChart();
|
|
this.QMBCChart();
|
|
|
|
+
|
|
// this.CQBCChart();
|
|
// this.CQBCChart();
|
|
// switch (page) {
|
|
// switch (page) {
|
|
// case "ZDPG":
|
|
// case "ZDPG":
|
|
@@ -1272,6 +1295,12 @@ export default {
|
|
viewer.entities.removeById(this.entities[i].id);
|
|
viewer.entities.removeById(this.entities[i].id);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ /**
|
|
|
|
+ * 征地权属切换
|
|
|
|
+ */
|
|
|
|
+ qsClick(tab, event) {
|
|
|
|
+ viewer.entities.removeAll()
|
|
|
|
+ },
|
|
handlePreview(file) { },
|
|
handlePreview(file) { },
|
|
handleRemove(file, fileList) { },
|
|
handleRemove(file, fileList) { },
|
|
beforeRemove(file, fileList) { },
|
|
beforeRemove(file, fileList) { },
|
|
@@ -1351,7 +1380,6 @@ export default {
|
|
viewer.entities.removeById('polygon');
|
|
viewer.entities.removeById('polygon');
|
|
polygonEntity = new Cesium.Entity({
|
|
polygonEntity = new Cesium.Entity({
|
|
id: 'polygon',
|
|
id: 'polygon',
|
|
-
|
|
|
|
position: Cesium.Cartesian3.fromDegreesArray([
|
|
position: Cesium.Cartesian3.fromDegreesArray([
|
|
centerX,
|
|
centerX,
|
|
centerY,
|
|
centerY,
|
|
@@ -1405,14 +1433,17 @@ export default {
|
|
pickEntity() {
|
|
pickEntity() {
|
|
{
|
|
{
|
|
handlerPolygon = null;
|
|
handlerPolygon = null;
|
|
- var tableData = [];
|
|
|
|
|
|
+
|
|
var that = this;
|
|
var that = this;
|
|
var id = '';
|
|
var id = '';
|
|
var pick
|
|
var pick
|
|
|
|
+ that.tableData = [];
|
|
handlerPolygon = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
handlerPolygon = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
handlerPolygon.setInputAction(function (movement) {
|
|
handlerPolygon.setInputAction(function (movement) {
|
|
pick = viewer.scene.pick(movement.position);
|
|
pick = viewer.scene.pick(movement.position);
|
|
- tableData = [];
|
|
|
|
|
|
+ if (that.sublayerid)
|
|
|
|
+ that.$layer.close(that.sublayerid)
|
|
|
|
+
|
|
if (pick != null) {
|
|
if (pick != null) {
|
|
id = pick.id._id
|
|
id = pick.id._id
|
|
if (id.indexOf("ZD") > -1) {
|
|
if (id.indexOf("ZD") > -1) {
|
|
@@ -1432,22 +1463,22 @@ export default {
|
|
fieldNames[i].name.toUpperCase() == "SHAPE_LENG"
|
|
fieldNames[i].name.toUpperCase() == "SHAPE_LENG"
|
|
)
|
|
)
|
|
continue;
|
|
continue;
|
|
- tableData.push({
|
|
|
|
|
|
+ that.tableData.push({
|
|
name: fieldNames[i].caption,
|
|
name: fieldNames[i].caption,
|
|
value: fieldValues[i],
|
|
value: fieldValues[i],
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- if (that.sublayerid)
|
|
|
|
- that.$layer.close(that.sublayerid)
|
|
|
|
|
|
+
|
|
that.sublayerid = that.$layer.iframe({
|
|
that.sublayerid = that.$layer.iframe({
|
|
|
|
+ // id:'ss',
|
|
content: {
|
|
content: {
|
|
content: Property, //传递的组件对象
|
|
content: Property, //传递的组件对象
|
|
parent: that, //当前的vue对象
|
|
parent: that, //当前的vue对象
|
|
- data: { tableData: tableData }, //props
|
|
|
|
|
|
+ data: { tableData: that.tableData }, //props
|
|
},
|
|
},
|
|
// offset: [left.toString(), top.toString()], //left top 左上角(left=430px/2;top=(800px+header高)/2)
|
|
// offset: [left.toString(), top.toString()], //left top 左上角(left=430px/2;top=(800px+header高)/2)
|
|
- area: ["25rem", "30rem"],
|
|
|
|
- title: "拆迁补偿标准",
|
|
|
|
|
|
+ area: ["20rem", "30rem"],
|
|
|
|
+ title: "属性信息",
|
|
maxmin: false,
|
|
maxmin: false,
|
|
shade: false, //是否显示遮罩
|
|
shade: false, //是否显示遮罩
|
|
shadeClose: false, //点击遮罩是否关闭
|
|
shadeClose: false, //点击遮罩是否关闭
|
|
@@ -1572,7 +1603,7 @@ export default {
|
|
dlmcIndex = that.getfldIndex(that.zdResult.fieldInfos, dlmcFld);
|
|
dlmcIndex = that.getfldIndex(that.zdResult.fieldInfos, dlmcFld);
|
|
var dlmc = "";
|
|
var dlmc = "";
|
|
var geometry;
|
|
var geometry;
|
|
- that.pickEntity();
|
|
|
|
|
|
+
|
|
myChart.on("click", function (parmas) {
|
|
myChart.on("click", function (parmas) {
|
|
// that.pickEntity();
|
|
// that.pickEntity();
|
|
// that.entities.forEach((item, index) => {
|
|
// that.entities.forEach((item, index) => {
|
|
@@ -1633,6 +1664,161 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ /**
|
|
|
|
+ *国有chart
|
|
|
|
+ */
|
|
|
|
+ ZDBCGYChart() {
|
|
|
|
+ var that = this;
|
|
|
|
+ var chartDom = document.getElementById("ZDBCGYChart");
|
|
|
|
+ var myChart = window.echarts.init(chartDom);
|
|
|
|
+ // this.zdResult.list.push({ 'dlbm': dlbmVal, 'dlmc': dlmcVal, 'mj': insertArea });
|
|
|
|
+ var datas = [];
|
|
|
|
+ var nameLength = 0;
|
|
|
|
+ var colors = [];
|
|
|
|
+ var color = "";
|
|
|
|
+ for (var i = 0; i < that.zdResult.gyList.length; i++) {
|
|
|
|
+ if (that.zdResult.gyList[i].qsdwmc.length > nameLength) {
|
|
|
|
+ nameLength = that.zdResult.gyList[i].qsdwmc.length;
|
|
|
|
+ }
|
|
|
|
+ datas.push({
|
|
|
|
+ value: (that.zdResult.gyList[i].mj).toFixed(2),
|
|
|
|
+ name: that.zdResult.gyList[i].qsdwmc,
|
|
|
|
+ });
|
|
|
|
+ // color = that.getLandColor(that.zdResult.list[i].qsdwmc);
|
|
|
|
+ // colors.push(color);
|
|
|
|
+ }
|
|
|
|
+ var option = {
|
|
|
|
+ // title: {
|
|
|
|
+ // text: '',
|
|
|
|
+ // subtext: '',
|
|
|
|
+ // left: 'center'
|
|
|
|
+ // },
|
|
|
|
+ tooltip: {
|
|
|
|
+ trigger: "item",
|
|
|
|
+ },
|
|
|
|
+ legend: {
|
|
|
|
+ type: "scroll",
|
|
|
|
+ orient: "vertical",
|
|
|
|
+ right: 0,
|
|
|
|
+ top: 20,
|
|
|
|
+ bottom: 20,
|
|
|
|
+ radius: "55%",
|
|
|
|
+ // bottom: 20,
|
|
|
|
+ textStyle: {
|
|
|
|
+ // fontSize: '12px',
|
|
|
|
+ color: "#FFFF",
|
|
|
|
+ },
|
|
|
|
+ data: datas.map((t) => t.name),
|
|
|
|
+ formatter: function (name) {
|
|
|
|
+ var val = datas.find((t) => t.name == name).value;
|
|
|
|
+ var lastSpace = (nameLength - name.length) * 3;
|
|
|
|
+ return name + new Array(lastSpace).join(" ") + val + "亩";
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ color: ["rgb(245,248,220)", "rgb(191,233,170)", "rgb(104,177,103)", "rgb(205,245,122)",
|
|
|
|
+ "rgb(101,205,170)",
|
|
|
|
+ "rgb(216,215,159)",
|
|
|
|
+ "rgb(255,255,45)",
|
|
|
|
+ "rgb(255,211,128)"],
|
|
|
|
+ series: [
|
|
|
|
+ {
|
|
|
|
+ name: "国有征地权属分析",
|
|
|
|
+ type: "pie",
|
|
|
|
+ center: ["25%", "50%"],
|
|
|
|
+ radius: ["30%", "50%"],
|
|
|
|
+ avoidLabelOverlap: false,
|
|
|
|
+ itemStyle: {
|
|
|
|
+ borderRadius: 10,
|
|
|
|
+ borderColor: "#fff",
|
|
|
|
+ borderWidth: 2,
|
|
|
|
+ },
|
|
|
|
+ label: {
|
|
|
|
+ show: false,
|
|
|
|
+ position: "center",
|
|
|
|
+ },
|
|
|
|
+ emphasis: {
|
|
|
|
+ label: {
|
|
|
|
+ show: true,
|
|
|
|
+ fontSize: 12,
|
|
|
|
+ fontWeight: "bold",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ labelLine: {
|
|
|
|
+ show: false,
|
|
|
|
+ },
|
|
|
|
+ data: datas,
|
|
|
|
+ },
|
|
|
|
+ ],
|
|
|
|
+ };
|
|
|
|
+ myChart.setOption(option);
|
|
|
|
+ var fieldValues = [];
|
|
|
|
+ var qsdwIndex = -1;
|
|
|
|
+ var qsdwFld = window.ZSBC.ZDBCJS.DLTB.qsdwmc.field;
|
|
|
|
+ qsdwIndex = that.getfldIndex(that.zdResult.fieldInfos, qsdwFld);
|
|
|
|
+ var qsdw = "";
|
|
|
|
+ var geometry;
|
|
|
|
+ that.pickEntity();
|
|
|
|
+ myChart.on("click", function (parmas) {
|
|
|
|
+ // that.pickEntity();
|
|
|
|
+ // that.entities.forEach((item, index) => {
|
|
|
|
+ // if (item.type == 'zd')
|
|
|
|
+ // viewer.entities.removeById(item.id);
|
|
|
|
+ // })
|
|
|
|
+ var color = parmas.color
|
|
|
|
+ .replace("rgb", "")
|
|
|
|
+ .replace("(", "")
|
|
|
|
+ .replace(")", "");
|
|
|
|
+ colors = color.split(",");
|
|
|
|
+ var name = parmas.name;
|
|
|
|
+ var features = that.zdResult.features;
|
|
|
|
+ var attributes = {};
|
|
|
|
+ for (var i = 0; i < features.length; i++) {
|
|
|
|
+ attributes = {
|
|
|
|
+ fieldNames: that.zdResult.fieldInfos,
|
|
|
|
+ fieldValues: features[i].fieldValues,
|
|
|
|
+ };
|
|
|
|
+ geometry = features[i].geometry;
|
|
|
|
+ fieldValues = features[i].fieldValues;
|
|
|
|
+ if (qsdwIndex > -1) {
|
|
|
|
+ qsdw = fieldValues[qsdwIndex];
|
|
|
|
+ }
|
|
|
|
+ if (qsdw == name) {
|
|
|
|
+ var positions = [];
|
|
|
|
+ for (var j = 0; j < geometry.points.length; j++) {
|
|
|
|
+ positions.push(geometry.points[j].x);
|
|
|
|
+ positions.push(geometry.points[j].y);
|
|
|
|
+ }
|
|
|
|
+ var entiy = new Cesium.Entity({
|
|
|
|
+ id: "ZDGY_" + i,
|
|
|
|
+ position: Cesium.Cartesian3.fromDegreesArray([
|
|
|
|
+ geometry.center.x,
|
|
|
|
+ geometry.center.y,
|
|
|
|
+ ]),
|
|
|
|
+ // classificationType: ClassificationType.TERRAIN,
|
|
|
|
+ polygon: {
|
|
|
|
+ hierarchy: new Cesium.PolygonHierarchy(
|
|
|
|
+ new Cesium.Cartesian3.fromDegreesArray(positions)
|
|
|
|
+ ),
|
|
|
|
+ // positions: new Cesium.Cartesian3.fromDegreesArray(positions),
|
|
|
|
+ material: new Cesium.Color(
|
|
|
|
+ parseInt(colors[0]) / 255,
|
|
|
|
+ parseInt(colors[1]) / 255,
|
|
|
|
+ parseInt(colors[2]) / 255,
|
|
|
|
+ 1
|
|
|
|
+ ),
|
|
|
|
+ outline: true,
|
|
|
|
+ outlineColor: Cesium.Color.BLACK,
|
|
|
|
+ outlineWidth: 1.0,
|
|
|
|
+ },
|
|
|
|
+ });
|
|
|
|
+ entiy.attributes = attributes;
|
|
|
|
+ that.entities.push({ type: "ZD", id: "ZDGY_" + i });
|
|
|
|
+ viewer.entities.add(entiy);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ },
|
|
/**
|
|
/**
|
|
* 青苗补偿chart
|
|
* 青苗补偿chart
|
|
*/
|
|
*/
|
|
@@ -2500,58 +2686,94 @@ export default {
|
|
};
|
|
};
|
|
var GYMJ = 0.00; //国有面积
|
|
var GYMJ = 0.00; //国有面积
|
|
var JTMJ = 0.00;//集体面积
|
|
var JTMJ = 0.00;//集体面积
|
|
|
|
+ var gyList = []; //国有权属及面积
|
|
features.forEach((curFeature, index) => {
|
|
features.forEach((curFeature, index) => {
|
|
points = curFeature.geometry;
|
|
points = curFeature.geometry;
|
|
//平方米折算
|
|
//平方米折算
|
|
var insertArea = that.calculateIntersectArea(geometry, points) / 666.66;
|
|
var insertArea = that.calculateIntersectArea(geometry, points) / 666.66;
|
|
// polygon2=that.creaturfPolygon(points);
|
|
// polygon2=that.creaturfPolygon(points);
|
|
//青苗面积计算-->
|
|
//青苗面积计算-->
|
|
- if (dlmcIndex > -1) dlmcVal = curFeature.fieldValues[dlmcIndex];
|
|
|
|
- if (dlbmIndex > -1) dlbmVal = curFeature.fieldValues[dlbmIndex];
|
|
|
|
|
|
+ //20240723 集体用地计算补偿 此部分 拿到 集体中计算
|
|
|
|
+ // if (dlmcIndex > -1) dlmcVal = curFeature.fieldValues[dlmcIndex];
|
|
|
|
+ // if (dlbmIndex > -1) dlbmVal = curFeature.fieldValues[dlbmIndex];
|
|
|
|
+ // if (smfl.indexOf(dlmcVal) > -1) {
|
|
|
|
+ // smMJ += insertArea;
|
|
|
|
+ // that.qmResult.features.push(curFeature);
|
|
|
|
+ // } else if (jjzwfl.indexOf(dlbmVal) > -1) {
|
|
|
|
+ // jjzwMJ += insertArea;
|
|
|
|
+ // that.qmResult.features.push(curFeature);
|
|
|
|
+ // } else if (nzwfl.indexOf(dlbmVal) > -1) {
|
|
|
|
+ // nzwMJ += insertArea;
|
|
|
|
+ // that.qmResult.features.push(curFeature);
|
|
|
|
+ // }
|
|
if (qsdwmcIndex > -1) qsdwmcValue = curFeature.fieldValues[qsdwmcIndex];
|
|
if (qsdwmcIndex > -1) qsdwmcValue = curFeature.fieldValues[qsdwmcIndex];
|
|
- if (smfl.indexOf(dlmcVal) > -1) {
|
|
|
|
- smMJ += insertArea;
|
|
|
|
- that.qmResult.features.push(curFeature);
|
|
|
|
- } else if (jjzwfl.indexOf(dlbmVal) > -1) {
|
|
|
|
- jjzwMJ += insertArea;
|
|
|
|
- that.qmResult.features.push(curFeature);
|
|
|
|
- } else if (nzwfl.indexOf(dlbmVal) > -1) {
|
|
|
|
- nzwMJ += insertArea;
|
|
|
|
- that.qmResult.features.push(curFeature);
|
|
|
|
- }
|
|
|
|
if (qsdwmcValue != "") {
|
|
if (qsdwmcValue != "") {
|
|
-
|
|
|
|
if (that.isValueInList(likeList, qsdwmcValue)) {
|
|
if (that.isValueInList(likeList, qsdwmcValue)) {
|
|
JTMJ += insertArea;
|
|
JTMJ += insertArea;
|
|
|
|
+
|
|
|
|
+ //青苗计算 移到此处
|
|
|
|
+ if (dlmcIndex > -1) dlmcVal = curFeature.fieldValues[dlmcIndex];
|
|
|
|
+ if (dlbmIndex > -1) dlbmVal = curFeature.fieldValues[dlbmIndex];
|
|
|
|
+ if (smfl.indexOf(dlmcVal) > -1) {
|
|
|
|
+ smMJ += insertArea;
|
|
|
|
+ that.qmResult.features.push(curFeature);
|
|
|
|
+ } else if (jjzwfl.indexOf(dlbmVal) > -1) {
|
|
|
|
+ jjzwMJ += insertArea;
|
|
|
|
+ that.qmResult.features.push(curFeature);
|
|
|
|
+ } else if (nzwfl.indexOf(dlbmVal) > -1) {
|
|
|
|
+ nzwMJ += insertArea;
|
|
|
|
+ that.qmResult.features.push(curFeature);
|
|
|
|
+ }
|
|
|
|
+ //地类统计
|
|
|
|
+ var dlIndex = -1;
|
|
|
|
+ that.zdResult.list.forEach((t, index) => {
|
|
|
|
+ if (t.dlbm == dlbmVal) {
|
|
|
|
+ dlIndex = index;
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ if (dlIndex == -1)
|
|
|
|
+ that.zdResult.list.push({
|
|
|
|
+ dlbm: dlbmVal,
|
|
|
|
+ dlmc: dlmcVal,
|
|
|
|
+ mj: insertArea,
|
|
|
|
+ });
|
|
|
|
+ else that.zdResult.list[dlIndex].mj += insertArea;
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
|
|
+ var curIndex = gyList.findIndex(t => t.qsdwmc == qsdwmcValue)
|
|
|
|
+ if (curIndex == -1) {
|
|
|
|
+ gyList.push({ qsdwmc: qsdwmcValue, mj: insertArea })
|
|
|
|
+ }
|
|
|
|
+ else {
|
|
|
|
+ gyList[curIndex].mj += insertArea;
|
|
|
|
+ }
|
|
GYMJ += insertArea;
|
|
GYMJ += insertArea;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//<--
|
|
//<--
|
|
//征地面积计算-->
|
|
//征地面积计算-->
|
|
//
|
|
//
|
|
-
|
|
|
|
totalZDMJ += insertArea;
|
|
totalZDMJ += insertArea;
|
|
- var dlIndex = -1;
|
|
|
|
- that.zdResult.list.forEach((t, index) => {
|
|
|
|
- if (t.dlbm == dlbmVal) {
|
|
|
|
- dlIndex = index;
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- if (dlIndex == -1)
|
|
|
|
- that.zdResult.list.push({
|
|
|
|
- dlbm: dlbmVal,
|
|
|
|
- dlmc: dlmcVal,
|
|
|
|
- mj: insertArea,
|
|
|
|
- });
|
|
|
|
- else that.zdResult.list[dlIndex].mj += insertArea;
|
|
|
|
|
|
+ // var dlIndex = -1;
|
|
|
|
+ // that.zdResult.list.forEach((t, index) => {
|
|
|
|
+ // if (t.dlbm == dlbmVal) {
|
|
|
|
+ // dlIndex = index;
|
|
|
|
+ // }
|
|
|
|
+ // });
|
|
|
|
+ // if (dlIndex == -1)
|
|
|
|
+ // that.zdResult.list.push({
|
|
|
|
+ // dlbm: dlbmVal,
|
|
|
|
+ // dlmc: dlmcVal,
|
|
|
|
+ // mj: insertArea,
|
|
|
|
+ // });
|
|
|
|
+ // else that.zdResult.list[dlIndex].mj += insertArea;
|
|
//<--
|
|
//<--
|
|
});
|
|
});
|
|
for (var i = 0; i < that.zdResult.list.length; i++) {
|
|
for (var i = 0; i < that.zdResult.list.length; i++) {
|
|
var mj = parseFloat(that.zdResult.list[i].mj.toFixed(2));
|
|
var mj = parseFloat(that.zdResult.list[i].mj.toFixed(2));
|
|
that.zdResult.list[i].mj = mj;
|
|
that.zdResult.list[i].mj = mj;
|
|
}
|
|
}
|
|
|
|
+ that.zdResult.gyList = gyList;
|
|
that.zdResult.gyMJ = parseFloat(GYMJ.toFixed(2));
|
|
that.zdResult.gyMJ = parseFloat(GYMJ.toFixed(2));
|
|
that.zdResult.jtMJ = parseFloat(JTMJ.toFixed(2));
|
|
that.zdResult.jtMJ = parseFloat(JTMJ.toFixed(2));
|
|
|
|
|
|
@@ -2597,19 +2819,33 @@ export default {
|
|
//征地补偿-->
|
|
//征地补偿-->
|
|
var ZDBZ = that.zdList.find((t) => (t.value = that.ruleForm.zdValue));
|
|
var ZDBZ = that.zdList.find((t) => (t.value = that.ruleForm.zdValue));
|
|
if (ZDBZ) {
|
|
if (ZDBZ) {
|
|
|
|
+
|
|
//征地面积
|
|
//征地面积
|
|
that.zdResult.totalZDMJ = parseFloat(totalZDMJ.toFixed(2));
|
|
that.zdResult.totalZDMJ = parseFloat(totalZDMJ.toFixed(2));
|
|
|
|
+ // //总补偿
|
|
|
|
+ // that.zdResult.totalPay = parseFloat(
|
|
|
|
+ // ((totalZDMJ * ZDBZ.BCBZ.BCHJ) / 10000).toFixed(2)
|
|
|
|
+ // );
|
|
|
|
+ // //征地补偿
|
|
|
|
+ // that.zdResult.totalZDOay = parseFloat(
|
|
|
|
+ // ((totalZDMJ * ZDBZ.BCBZ.TDBCF) / 10000).toFixed(2)
|
|
|
|
+ // );
|
|
|
|
+ // //安置补偿
|
|
|
|
+ // that.zdResult.totalAZPay = parseFloat(
|
|
|
|
+ // ((totalZDMJ * ZDBZ.BCBZ.AZBCF) / 10000).toFixed(2)
|
|
|
|
+ // );
|
|
|
|
+
|
|
//总补偿
|
|
//总补偿
|
|
that.zdResult.totalPay = parseFloat(
|
|
that.zdResult.totalPay = parseFloat(
|
|
- ((totalZDMJ * ZDBZ.BCBZ.BCHJ) / 10000).toFixed(2)
|
|
|
|
|
|
+ ((JTMJ * ZDBZ.BCBZ.BCHJ) / 10000).toFixed(2)
|
|
);
|
|
);
|
|
//征地补偿
|
|
//征地补偿
|
|
that.zdResult.totalZDOay = parseFloat(
|
|
that.zdResult.totalZDOay = parseFloat(
|
|
- ((totalZDMJ * ZDBZ.BCBZ.TDBCF) / 10000).toFixed(2)
|
|
|
|
|
|
+ ((JTMJ * ZDBZ.BCBZ.TDBCF) / 10000).toFixed(2)
|
|
);
|
|
);
|
|
//安置补偿
|
|
//安置补偿
|
|
that.zdResult.totalAZPay = parseFloat(
|
|
that.zdResult.totalAZPay = parseFloat(
|
|
- ((totalZDMJ * ZDBZ.BCBZ.AZBCF) / 10000).toFixed(2)
|
|
|
|
|
|
+ ((JTMJ * ZDBZ.BCBZ.AZBCF) / 10000).toFixed(2)
|
|
);
|
|
);
|
|
}
|
|
}
|
|
that.zdResult.features = features;
|
|
that.zdResult.features = features;
|