52fc008e by 宋力
2 parents b69a9a67 62103e8b
Showing 53 changed files with 1163 additions and 425 deletions
import request from '@/plugin/axios'
/**
* 根据bsm查询林权基本信息
*/
export function getQjLqDetailById(data) {
return request({
url: '/system/qjLq/getQjLqDetailById',
method: 'get',
params: {
id: data
}
})
}
\ No newline at end of file
......@@ -64,4 +64,26 @@ export function editDdicNode(data) {
method: 'post',
data: data,
})
}
/**
* 查询号段管理列表
*/
export function getCodeSection(data) {
return request({
url: '/system/manage/getCodeSection',
method: 'post',
data: data,
})
}
/**
* 查询号段管理列表
*/
export function batchUpdateSectionCode(data) {
return request({
url: '/system/manage/batchUpdateSectionCode',
method: 'post',
data: data,
})
}
\ No newline at end of file
......
This diff could not be displayed because it is too large.
......@@ -6,6 +6,76 @@
"description": "",
"glyphs": [
{
"icon_id": "19804282",
"name": "取消选择",
"font_class": "quxiaoxuanze",
"unicode": "e7b9",
"unicode_decimal": 59321
},
{
"icon_id": "19791411",
"name": "首页",
"font_class": "shouye",
"unicode": "e7b2",
"unicode_decimal": 59314
},
{
"icon_id": "19791412",
"name": "更正",
"font_class": "gengzheng",
"unicode": "e7b3",
"unicode_decimal": 59315
},
{
"icon_id": "19791413",
"name": "变更",
"font_class": "biangeng",
"unicode": "e7b4",
"unicode_decimal": 59316
},
{
"icon_id": "19791414",
"name": "添加",
"font_class": "tianjia",
"unicode": "e7b5",
"unicode_decimal": 59317
},
{
"icon_id": "19791415",
"name": "综合查询",
"font_class": "zonghechaxun",
"unicode": "e7b6",
"unicode_decimal": 59318
},
{
"icon_id": "19791416",
"name": "系统管理",
"font_class": "xitongguanli",
"unicode": "e7b7",
"unicode_decimal": 59319
},
{
"icon_id": "19791417",
"name": "新建",
"font_class": "xinjian",
"unicode": "e7b8",
"unicode_decimal": 59320
},
{
"icon_id": "19728415",
"name": "上传",
"font_class": "shangchuan1",
"unicode": "e7b0",
"unicode_decimal": 59312
},
{
"icon_id": "19728416",
"name": "删除",
"font_class": "shanchu1",
"unicode": "e7b1",
"unicode_decimal": 59313
},
{
"icon_id": "19479731",
"name": "打印",
"font_class": "dayin",
......@@ -356,13 +426,6 @@
"unicode_decimal": 59267
},
{
"icon_id": "19005628",
"name": "系统管理",
"font_class": "xitongguanli",
"unicode": "e782",
"unicode_decimal": 59266
},
{
"icon_id": "15090431",
"name": "下拉",
"font_class": "xiala",
......@@ -503,13 +566,6 @@
"unicode_decimal": 59251
},
{
"icon_id": "18618397",
"name": "添加",
"font_class": "tianjia",
"unicode": "e771",
"unicode_decimal": 59249
},
{
"icon_id": "18605314",
"name": "测距",
"font_class": "ceju",
......@@ -608,13 +664,6 @@
"unicode_decimal": 59235
},
{
"icon_id": "18593370",
"name": "首页",
"font_class": "shouye",
"unicode": "e75c",
"unicode_decimal": 59228
},
{
"icon_id": "18590441",
"name": "办理",
"font_class": "banli",
......@@ -636,13 +685,6 @@
"unicode_decimal": 59219
},
{
"icon_id": "18587823",
"name": "变更",
"font_class": "biangeng",
"unicode": "e754",
"unicode_decimal": 59220
},
{
"icon_id": "18587824",
"name": "缩进",
"font_class": "suojin",
......@@ -655,27 +697,6 @@
"font_class": "zhankai",
"unicode": "e756",
"unicode_decimal": 59222
},
{
"icon_id": "18587826",
"name": "更正",
"font_class": "gengzheng",
"unicode": "e757",
"unicode_decimal": 59223
},
{
"icon_id": "18587827",
"name": "新建",
"font_class": "xinjian",
"unicode": "e758",
"unicode_decimal": 59224
},
{
"icon_id": "18587828",
"name": "综合查询",
"font_class": "zonghechaxun",
"unicode": "e759",
"unicode_decimal": 59225
}
]
}
......

14.1 KB | W: | H:

13.7 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

16.1 KB | W: | H:

16 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

11.6 KB | W: | H:

10.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

20.2 KB | W: | H:

21.8 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

10.6 KB | W: | H:

4.89 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

16.4 KB | W: | H:

15.4 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

13.6 KB | W: | H:

13.8 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

15.4 KB | W: | H:

15.3 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
[{
"label":"专题树",
"id":"1",
"type":"layerGroup",
"type":"layerGroup",
"alpha":100,
"children":[
{
"label":"西安市阎良区",
"label":"西安市",
"id":"1-1",
"type":"layerGroup",
"alpha":100,
"children":[{
"label":"行政区划",
"id":"1-1-1",
"type":"layerGroup",
"name": "testLayer",
"alpha":100,
"children":[
{
"label":"行政区界限",
"id":"1-1-1-1",
"type":"layer",
"layerId":20,
"type":"layer",
"alpha": 100,
"name": "testLayer",
"layerId":0,
"children":null
},
{
"label":"行政区",
"id":"1-1-1-2",
"type":"layer",
"layerId":19,
"alpha": 100,
"name": "testLayer",
"layerId":1,
"children":null
}
]
......@@ -34,21 +38,25 @@
{
"label":"地籍分区",
"id":"1-1-2",
"type":"layerGroup",
"name": "djfqLayer",
"alpha":100,
"children":[
{
"label":"地籍区",
"id":"1-1-2-1",
"type":"layer",
"layerId":13,
"alpha": 100,
"name": "djfqLayer",
"layerId":0,
"children":null
},
{
"label":"地籍子区",
"id":"1-1-2-2",
"type":"layer",
"layerId":14,
"alpha": 100,
"name": "djfqLayer",
"layerId":1,
"children":null
}
]
......@@ -56,77 +64,96 @@
{
"label":"不动产单元",
"id":"1-1-3",
"type":"layerGroup",
"name": "bdcdyLayer",
"alpha":100,
"children":[
{
"label":"线状定着物",
"id":"1-1-3-1",
"type":"layer",
"layerId":7,
"alpha": 100,
"name": "bdcdyLayer",
"layerId":0,
"children":null
},
{
"label":"宗海",
"id":"1-1-3-2",
"type":"layer",
"layerId":9,
"alpha": 100,
"name": "bdcdyLayer",
"layerId":1,
"children":null
},
{
"label":"宗地",
"id":"1-1-3-3",
"type":"layer",
"layerId":8,
"alpha": 100,
"name": "bdcdyLayer",
"layerId":2,
"children":null
},
{
"label":"林权",
"id":"1-1-3-4",
"type":"layer",
"layerId":5,
"alpha": 100,
"name": "bdcdyLayer",
"layerId":3,
"children":null
},
{
"label":"构筑物",
"id":"1-1-3-5",
"type":"layer",
"layerId":2,
"alpha": 100,
"name": "bdcdyLayer",
"layerId":4,
"children":null
},
{
"label":"面状定着物",
"id":"1-1-3-6",
"type":"layer",
"layerId":6,
"alpha": 100,
"name": "bdcdyLayer",
"layerId":5,
"children":null
},
{
"label":"界址线",
"id":"1-1-3-7",
"type":"layer",
"layerId":4,
"alpha": 100,
"name": "bdcdyLayer",
"layerId":6,
"children":null
},
{
"label":"点状定着物",
"id":"1-1-3-8",
"type":"layer",
"layerId":1,
"alpha": 100,
"name": "bdcdyLayer",
"layerId":7,
"children":null
},
{
"label":"自然幢",
"id":"1-1-3-9",
"type":"layer",
"layerId":10,
"alpha": 100,
"name": "bdcdyLayer",
"layerId":8,
"children":null
},
{
"label":"界址点",
"id":"1-1-3-10",
"type":"layer",
"layerId":4,
"name": "bdcdyLayer",
"layerId":9,
"children":null
}
]
......@@ -134,28 +161,31 @@
{
"label":"自然地理",
"id":"1-1-4",
"type":"layerGroup",
"name": "zrdlLayer",
"alpha":100,
"children":[
{
"label":"辅助面",
"id":"1-1-4-1",
"type":"layer",
"layerId":15,
"name": "zrdlLayer",
"layerId":0,
"children":null
},
{
"label":"植被",
"id":"1-1-4-2",
"type":"layer",
"layerId":17,
"name": "zrdlLayer",
"layerId":1,
"children":null
},
{
"label":"水系",
"id":"1-1-4-3",
"type":"layer",
"layerId":16,
"name": "zrdlLayer",
"layerId":2,
"children":null
}
]
......
[{
"layerName": "ZDJBXX",
"layerName": "ZDJBXX",
"layerLabel": "宗地",
"layerUrl": "http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
"id":8,
"layerUrl": "https://192.168.2.146:6443/arcgis/rest/services/qj/BDCDY/MapServer",
"id":2,
"fieldAliases": {
"BSM": "标识码",
"YSDM": "要素代码",
......@@ -40,7 +40,7 @@
"layerName": "ZRZ",
"layerLabel": "自然幢",
"layerUrl": "http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
"id": 10,
"id": 9,
"fieldAliases": {
"YSDM": "要素代码",
"BDCDYH": "不动产单元号",
......@@ -72,8 +72,8 @@
{
"layerName": "DJQ",
"layerLabel": "地籍区",
"layerUrl": "http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
"id": 13,
"layerUrl": "https://192.168.2.146:6443/arcgis/rest/services/qj/DJFQ/MapServer",
"id": 1,
"fieldAliases": {
"BSM": "标识码",
"YSDM": "要素代码",
......@@ -84,8 +84,8 @@
{
"layerName": "DJZQ",
"layerLabel": "地籍子区",
"layerUrl": "http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
"id": 14,
"layerUrl": "https://192.168.2.146:6443/arcgis/rest/services/qj/DJFQ/MapServer",
"id": 0,
"fieldAliases": {
"BSM": "标识码",
"YSDM": "要素代码",
......@@ -96,8 +96,8 @@
{
"layerName": "XJZQ",
"layerLabel": "行政区",
"layerUrl": "http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
"id": 19,
"layerUrl": "https://192.168.2.146:6443/arcgis/rest/services/qj/XZQH/MapServer",
"id": 1,
"fieldAliases": {
"BSM": "标识码",
"YSDM": "要素代码",
......@@ -109,13 +109,13 @@
{
"layerName":"JZD",
"layerLabel":"界址点",
"layerUrl":"http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
"id":3
"layerUrl":"https://192.168.2.146:6443/arcgis/rest/services/qj/BDCDY/MapServer",
"id":9
},
{
"layerName":"JZX",
"layerLabel":"界址线",
"layerUrl":"http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
"id":4
"layerUrl":"https://192.168.2.146:6443/arcgis/rest/services/qj/BDCDY/MapServer",
"id":6
}
]
\ No newline at end of file
......
......@@ -335,6 +335,10 @@
type: String,
default: "",
},
lq:{
type: String,
default: "",
}
},
data() {
return {
......@@ -386,9 +390,9 @@
yb: "",
zjh: "",
zjzlbsm: "",
lqqlrtype:""
},
glbsm:'',
rules:[],
};
},
......@@ -502,6 +506,8 @@
this.formData.dlrList[k].type=1;
this.formData.addQjDlrFrRequest.push(this.formData.dlrList[k]);
}
//林权权利人类型判断
this.formData.lqqlrtype = this.lq;
//如果是从更新按钮点击确定的则进行更新操作,如果不是,则进行添加操作
if(this.update){
console.log(this.formData)
......@@ -511,7 +517,6 @@
this.$message.success("修改完成!");
this.getQlrInfo(this.bsm);
this.update=false;
}
})
}else {
......@@ -671,12 +676,6 @@
} ,
deep:true
},
/* gyfsList:{
handler:function(v){
//console.log(v,"共有方式")
},
deep:true
},*/
dialogVisible(n){
if(n === false){
this.formData = {
......@@ -723,15 +722,6 @@
}
}
},
/* tableData(){
this.gyfsList = this.$store.state.gyfsList;
if(this.tableData.length>1){
for(let i = 0;i<this.gyfsList.length;i++){
let item = this.gyfsList[i];
this.gyfsList[i].disabled = item.mc === "单独所有";
}
}
},*/
"formData.qlrlxbsm":function (val) {
//console.log(this.$refs.qlrlxbsm.$el.style.border+":console.log(this.$refs.qlrlxbsm.$el.style.border)")
......@@ -740,32 +730,6 @@
this.$refs.qlrlxbsm.$el.style.border = '';
}
},
/* "formData.zjzlbsm":function (val) {
if (val != '') {
this.$refs.zjzlbsm.$el.style.border = '';
}
},
"formData.gyfsbsm":function (val) {
let ddsy = '';
for(let i = 0;i<this.gyfsList.length;i++){
if(this.gyfsList[i].mc === "单独所有"){
ddsy = this.gyfsList[i].bsm
}
}
if(ddsy === val){
if(this.update){
if(this.tableData.length > 1){
this.$message.warning("权利人人数大于1,不能选择单独所有")
}
}else{
if(this.tableData.length > 0){
this.$message.warning("权利人人数大于1,不能选择单独所有")
}
}
}
}*/
}
};
</script>
......@@ -822,7 +786,7 @@
.el-table--border::after,
.el-table--group::after,
.el-table::before {
background-color: #E6E6E6;
background-color: rgba(0, 0, 0, 0);
}
.el-table--border td,
.el-table--border th,
......@@ -844,6 +808,8 @@
}
.qlrTable {
border-color: #E6E6E6 !important;
border-bottom: 0;
border-right: 0;
position: relative;
top: -1px;
.el-input__inner {
......
......@@ -405,6 +405,7 @@ export default {
bsm: "", //权利性质标识码
glbsm: "", //宗地BSM、自然幢BSM、户BSM、多幢BSM、宗海BSM
qlxzdm: "",
qlxzmc:"",
zhqlxzlx: "", //除宗海数据外,默认都是空;0:用海类型权利性质;2:海岛用途权利性质
list: [
{
......@@ -492,6 +493,7 @@ export default {
bsm: "", //权利性质标识码
glbsm: "", //宗地BSM、自然幢BSM、户BSM、多幢BSM、宗海BSM
qlxzdm: "",
qlxzmc:"",
zhqlxzlx: "", //除宗海数据外,默认都是空;0:用海类型权利性质;2:海岛用途权利性质
list: [
{
......@@ -536,6 +538,7 @@ export default {
bsm: "", //权利性质标识码
glbsm: "", //宗地BSM、自然幢BSM、户BSM、多幢BSM、宗海BSM
qlxzdm: "",
qlxzmc:"",
zhqlxzlx: "", //除宗海数据外,默认都是空;0:用海类型权利性质;2:海岛用途权利性质
list: [
{
......@@ -718,6 +721,8 @@ export default {
handler : function (newVal, oldVal) {
newVal.forEach((i,ind)=>{
if(i.qlxzdm != '' &&i.qlxzdm != null){
console.log(this.$refs.qlxzdm,'this.$refs.qlxzdm[ind]');
i.qlxzmc = this.$refs.qlxzdm[ind].name;
this.$refs.qlxzdm[ind].$el.style.border=""
}
i.list.forEach((item,index)=>{
......
......@@ -591,7 +591,8 @@
bsm: res.processInstance.title,
source: 2,
auth:'2',
workitemInstanceId:res.workitemInstance.id
workitemInstanceId:res.workitemInstance.id,
ywbsm:res.processInstance.businessId
}
});
} else {
......
......@@ -216,8 +216,8 @@ export default {
// if(item.dm == 'G' || item.dm == 'J' ||item.dm == 'Z'){
// this.$emit("changeCreateVisible", true);
// }
//判断楼盘类型
switch (item.type) {
//判断楼盘类型
switch (item.type) {
case 'zd':
this.$emit("changeIsZD", true);
this.$emit("changeVisible", true);
......
......@@ -123,7 +123,7 @@
<el-dialog v-dialogDrag :close-on-click-modal="false" title="导入图形" :modal="false" custom-class="importDialog" :visible.sync="improtDialog" width="30%" @close="closeImportDialog">
<import-geo :property-info="zdData" :timeLine="new Date().getTime()" :geo-info="currentClickZdGeo" @closeImportDialog="closeImportDialog"></import-geo>
</el-dialog>
<!-- 添加定着物弹框 -->
<!-- 添加定着物弹框 -->
<el-dialog v-dialogDrag :close-on-click-modal="false" title="新建" :modal="false" :visible.sync="dialogVisible" width="48%">
<Create @closeDialog="closeDialog" :auth="true" :createZrz="createZrz" ></Create>
</el-dialog>
......@@ -572,6 +572,7 @@ export default {
this.$message.warning("不是临时数据,不能导入图形!!!");
return;
}
console.log(this.zdData);
var type = this.zdData.type;
if(type == "zd"){
BSM = this.zdData.zdbsm;
......@@ -579,7 +580,7 @@ export default {
BSM = this.zdData.bsm;
}
//当确定导入图形是 跳转到图形界面
this.queryGeoByBsm(BSM,type,function (features){
this.queryGeoByBsm(BSM,type,function (features){
if(features && features.length > 0){
if(features[0].geometry && features[0].geometry.rings.length > 0){
self.$confirm('该条数据有地块信息,是否继续导入?', '提示', {
......
......@@ -381,7 +381,7 @@ export default {
if(valid){
//选择处理方式
var value = self.dealForm.method;
self.currntDealGraphic.attributes = {};
self.currntDealGraphic.attributes = {};
switch (value) {
case '1':self.currntDealGraphic.attributes.BGZT = 1;self.saveZd(self.currntDealGraphic);break;
case "2":self.getDifference(self.currntDealGraphic,self.overResults,self.delOverGeo);break;
......@@ -458,8 +458,9 @@ export default {
saveZd(graphic){
var self = this;
var points = null,lines = null,
layer = self.getLayerByName("ZDJBXX");
var featureUrl = layer.layerUrl.replace("MapServer","FeatureServer");
layer = self.getLayerByName("ZDJBXX");
// var featureUrl = layer.layerUrl.replace("MapServer","FeatureServer");
var featureUrl = layer.layerUrl;
featureUrl += "/"+layer.id;
if(self.geoInfo){
//替换 生成图像 高亮
......@@ -503,8 +504,8 @@ export default {
graphic.attributes = attributes;
self.addGraphic(featureUrl,graphic,function (res) {
var addRresult = res.addFeatureResults[0];
if(addRresult.objectId){
var OBJECTID = addRresult.objectId;
// if(addRresult.objectId){
// var OBJECTID = addRresult.objectId;
if(graphic.geometry) {
points = self.craetJZPoint(graphic);
self.savejzd(points)
......@@ -514,9 +515,9 @@ export default {
self.saveJzx(lines);
});
}
self.$message.success("保存成功!!!");
self.$message.success("保存成功!!!");
self.goMap();
}
// }
});
}
},
......
......@@ -198,7 +198,7 @@ export default {
if(!results || results.length == 0){
callBacFunction(true,"不在行政区内,请检查空间位置信息!!!");
}
for(var i = 0;i < results.length;i++){
for(var i = 0;i < results.length;i++){
var feature = results[i].feature;
var flag = geometryEngine.intersects(polygon,feature.geometry);
var withinFlag = geometryEngine.within(polygon,feature.geometry);
......
......@@ -30,32 +30,38 @@
<el-row>
<el-col :span="6"><div class="grid-left">不动产权证号</div></el-col>
<el-col :span="18"
><div class="grid-right">{{ result.bdcdyh }}</div></el-col
><div class="grid-right"></div></el-col
>
</el-row>
<el-row>
<!-- <el-row>
<el-col :span="6"><div class="grid-left">自然幢号</div></el-col>
<el-col :span="18"
><div class="grid-right">{{ result.zrzh }}</div></el-col
>
</el-row>
</el-row> -->
<el-row>
<el-col :span="6"><div class="grid-left">权利人</div></el-col>
<el-col :span="18"
><div class="grid-right">{{ result.qlr }}</div></el-col
><div class="grid-right">{{ result.qlrmc }}</div></el-col
>
</el-row>
<el-row>
<el-col :span="6"><div class="grid-left">权利性质</div></el-col>
<el-col :span="18"
><div class="grid-right">{{ result.qlxz }}</div></el-col
><div class="grid-right">{{ result.qlxzmc }}</div></el-col
>
</el-row>
<el-row>
<el-col :span="6"><div class="grid-left">批准用途</div></el-col>
<el-col :span="18"
><div class="grid-right">{{ result.pzytmc }}</div></el-col
>
</el-row>
<el-row>
<el-col :span="6"><div class="grid-left">土地用途</div></el-col>
<el-col :span="6"><div class="grid-left">实际用途</div></el-col>
<el-col :span="18"
><div class="grid-right">{{ result.fwyt }}</div></el-col
><div class="grid-right">{{ result.sjytmc }}</div></el-col
>
</el-row>
<el-row>
......@@ -287,7 +293,7 @@ export default {
},
fitView: true,
fitViewPadding: 160,
fitViewPadding: 100,
});
graph.data(data);
......@@ -306,6 +312,39 @@ export default {
getQjZdjbxxDetailByIdBylshs(e.item._cfg.id).then((res) => {
if (res.code === 200) {
self.result = res.result;
this.$store.state.qlxzList.forEach((item) => {
if(item.children!=null&&item.children.length!=0){
item.children.forEach((childitem)=>{
if (childitem.dm === res.result.qlxzdm) {
self.result.qlxzmc=childitem.mc;
}
})
}
if (item.dm === res.result.qlxzdm) {
self.result.qlxzmc=item.mc;
}
});
this.$store.state.tdytList.forEach((item) => {
if(item.children!=null&&item.children.length!=0){
item.children.forEach((childitem)=>{
if (childitem.dm === res.result.pzytdm) {
self.result.pzytmc=childitem.mc;
}
if (childitem.dm === res.result.sjytdm) {
self.result.sjytmc=childitem.mc;
}
})
}
if (item.dm === res.result.pzytdm) {
self.result.pzytmc=item.mc;
}
if (item.dm === res.result.sjytdm) {
self.result.sjytmc=item.mc;
}
});
}
});
break;
......@@ -378,6 +417,36 @@ export default {
getQjZdjbxxDetailByIdBylshs(this.bsm).then((res) => {
if (res.code === 200) {
this.result = res.result;
this.$store.state.qlxzList.forEach((item) => {
if(item.children!=null&&item.children.length!=0){
item.children.forEach((childitem)=>{
if (childitem.dm === res.result.qlxzdm) {
this.result.qlxzmc=childitem.mc;
}
})
}
if (item.dm === res.result.qlxzdm) {
this.result.qlxzmc=item.mc;
}
});
this.$store.state.tdytList.forEach((item1) => {
if(item1.children!=null&&item1.children.length!=0){
item1.children.forEach((childitem1)=>{
if (childitem1.dm === res.result.pzytdm) {
this.result.pzytmc=childitem1.mc;
}
if (childitem1.dm === res.result.sjytdm) {
this.result.sjytmc=childitem1.mc;
}
})
}
if (item1.dm === res.result.pzytdm) {
this.result.pzytmc=item1.mc;
}
if (item1.dm === res.result.sjytdm) {
this.result.sjytmc=item1.mc;
}
});
}
});
break;
......
......@@ -59,6 +59,10 @@
},
mounted() {
this.$store.state.sxdrType = '';
this.sxdrData = {
bsm:this.bsm,
type:this.dylx
}
},
methods: {
cancel(){
......@@ -72,7 +76,10 @@
},
reset() {
this.errorData = [];
this.sxdrData = {bsm: ''};
this.sxdrData = {
bsm: this.bsm,
type: this.dylx
};
},
close() {
this.$emit('close')
......
......@@ -26,6 +26,10 @@ let bdcLxArray = [
value: "zd",
},
{
label: "林权",
value: "lq",
},
{
label: "自然幢",
value: "zrz",
},
......
......@@ -10,13 +10,13 @@ export default {
"esri/tasks/support/IdentifyParameters"
]).then(([
IdentifyTask,
IdentifyParameters
IdentifyParameters
]) => {
var identifyTask = new IdentifyTask({
url:url
}),
identifyParameters = new IdentifyParameters();
identifyParameters.geometry = geometry;
identifyParameters.geometry = geometry;
if(layerIds){
identifyParameters.layerIds = layerIds;
}
......
......@@ -22,6 +22,8 @@ export default {
var featureLayer = new FeatureLayer({
url:url
})
console.log(featureLayer);
console.log(graphic);
var saveGraphics = [];
if(!Array.isArray(graphic)){
graphic = [graphic];
......@@ -44,8 +46,8 @@ export default {
saveGraphics.push(saveGraphic);
}
featureLayer.applyEdits({
addFeatures:saveGraphics
}).then(function (res){
addFeatures:saveGraphics
}).then(function (res){
if(callBackFunction && typeof callBackFunction == 'function'){
callBackFunction(res);
}
......
import {loadCss,loadScript} from "esri-loader"
export function init(){
loadScript({url:"http://192.168.2.38/4.16/init.js"});
loadCss("http://192.168.2.38/4.16/esri/themes/light/main.css");
export function init(){
loadScript({ url:"http://192.168.2.146/arcgis_js_api/library/4.17/init.js"});
loadCss("http://192.168.2.146/arcgis_js_api/library/esri/css/main.css");
}
init();
\ No newline at end of file
......
......@@ -110,7 +110,13 @@ const constantRoutes = [
name: "已办箱",
code: "2-1",
component: () => import("@/views/ybx/index"),
}
},
{
path: "/lq",
name: "林权",
code: "1-3",
component: () => import("@/views/lq/index"),
},
],
},
];
......
......@@ -94,7 +94,8 @@ export default {
return{
getRightTree: this.getRightTree,
getTreeByBsm:this.getTreeByBsm,
getTreeByS:this.getTreeByS
getTreeByS:this.getTreeByS,
getTreeList:this.getTreeList
}
},
data() {
......@@ -315,7 +316,6 @@ export default {
s.hxjgList = s.hxjgList.length == 0 ?await this.getDicData("户型结构") : s.hxjgList;
s.fwjgList = s.fwjgList.length == 0 ?await this.getDicData("户型结构") : s.fwjgList;
s.gzwlxList = s.gzwlxList.length == 0 ?await this.getDicData("构(建)筑物类型") : s.gzwlxList;
s.fwxzOptions = s.fwxzOptions.length == 0 ?await this.getDicData("房屋性质") : s.fwxzOptions;
s.cbOptions = s.cbOptions.length == 0 ?await this.getDicData("房屋产别") : s.cbOptions;
s.cqlyOptions = s.cqlyOptions.length == 0 ?await this.getDicData("产权来源") : s.cqlyOptions;
......@@ -513,9 +513,9 @@ export default {
/*border-right: 1px solid #EAEAEA;*/
i {
margin-right: 6px;
font-size: 18px;
font-size: 24px;
position: relative;
top: 1px;
top: 2px;
}
.hamburger {
font-size: 16px;
......
......@@ -60,7 +60,7 @@
export default {
name: "",
inject:['getRightTree','getTreeByBsm'],
inject:['getRightTree','getTreeByBsm','getTreeList'],
components: {SearchHead},
props: {},
data() {
......@@ -81,6 +81,7 @@
this.queryData.pageSize=this.pageSize;
this.queryData.pageNo=this.pageNo;
this.getData(this.queryData);
this.getTreeList();
this.$nextTick(()=>{
this.tableHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 332;
})
......@@ -151,6 +152,11 @@
this.getTreeByBsm(row.glbsm,"gzw",'0,1,2');
path = "/gzw";
break;
case "lq":
// this.$store.state.zrzbsm = row.glbsm;
this.getTreeByBsm(row.glbsm,row.dylx,'0,1,2');
path = "/lq";
break;
default:
break;
}
......
......@@ -17,11 +17,11 @@
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >坐落</td>
<td colspan="2" align="center" ><i class="requisite">*</i>坐落</td>
<td colspan="4" >
<input class="formInput" v-model="form.zl" :disabled="form.qszt!=='0'" @blur="inputBlur($event)" ref="zl">
</td>
<td colspan="2" align="center" >不动产单元号</td>
<td colspan="2" align="center" ><i class="requisite">*</i>不动产单元号</td>
<td colspan="4" class="psr">
<input class="formInput percent80" maxlength="28" v-model="form.bdcdyh" :disabled="form.qszt!=='0'" @blur="inputBlur($event)" ref="bdcdyh">
<el-button @click.prevent="generatorCode" size="mini" class="createBtn" type="warning" :disabled="form.qszt!=='0'">生成</el-button>
......
<template>
<el-tabs v-model="activeName" class="tabs">
<el-tab-pane label="林权调查表" name="lqdcb"><Lqdcb></Lqdcb></el-tab-pane>
</el-tabs>
</template>
<script>
import Lqdcb from "./lqdcb";
export default {
name: "",
components: {
Lqdcb,
},
props: {},
data() {
return {
activeName: "lqdcb",
};
},
methods: {
},
created() {},
mounted() {
},
computed: {
lhbsm() {
return this.$route.query.bsm;
},
},
watch: {
lhbsm: function(val) {},
},
};
</script>
<style scoped lang="less">
.el-tab-pane {
overflow-y: scroll;
}
</style>
<template>
<div class="main" ref="mainBox">
<table class="lqjbxxTable" cellspacing="0" cellpadding="0" border="1">
<tr>
<td colspan="12">
<div class="dw">
单位 :
<el-radio-group v-model="formData.mjdw">
<el-radio :label="3">平方米</el-radio>
<el-radio :label="6">公顷</el-radio>
<el-radio :label="9"></el-radio>
</el-radio-group>
</div>
</td>
</tr>
<tr>
<td colspan="2" class="tdright">森林、林木所有权人</td>
<td colspan="10">
<Qlr
ref="qlrxxModule"
:bsm="$route.query.bsm"
:qszt="formData.qszt"
type="lq"
lq="1"
></Qlr>
</td>
</tr>
<tr>
<td colspan="2" class="tdright">森林、林木使用权人</td>
<td colspan="10">
<Qlr
ref="qlrxxModule"
:bsm="$route.query.bsm"
:qszt="formData.qszt"
type="lx"
lq="2"
></Qlr>
</td>
</tr>
<tr>
<td colspan="2" class="tdright">定着物类型</td>
<td colspan="4">
<el-select
name="qlsdfs"
class="formSelect"
:disabled="disabled"
v-model="formData.dzwlx"
>
<el-option
v-for="item in dzwlxList"
:key="item.bsm"
:label="item.mc"
:value="item.bsm"
>
</el-option>
</el-select>
</td>
<td colspan="2" class="tdright"><i class="requisite">*</i>宗地代码</td>
<td colspan="4" class="psr">
<input
name="zddm"
:disabled="disabled"
@blur="inputBlur($event)"
ref="zddm"
on
maxlength="19"
type="text"
class="formInput percent80"
v-model="formData.zddm"
/>
<el-button
type="warning"
:disabled="disabled"
class="createBtn"
@click="generatorCode"
>生成
</el-button>
</td>
</tr>
<tr>
<td colspan="2" class="tdright">造林年度</td>
<td colspan="4">
<input
name="djh"
type="text"
:disabled="disabled"
class="formInput"
v-model="formData.djh"
/>
</td>
<td colspan="2" class="tdright">
<i class="requisite">*</i>不动产单元号
</td>
<td colspan="4" class="psr">
<input
name="bdcdyh"
type="text"
:disabled="disabled"
@blur="inputBlur($event)"
ref="bdcdyh"
maxlength="28"
class="formInput"
v-model="formData.bdcdyh"
/>
</td>
</tr>
<tr>
<td colspan="2" class="tdright"><i class="requisite">*</i>坐落</td>
<td colspan="10">
<input
type="text"
:disabled="disabled"
class="formInput"
v-model="formData.zl"
/>
</td>
</tr>
<tr>
<td colspan="2" class="tdright">小地名</td>
<td colspan="10">
<input
type="text"
:disabled="disabled"
class="formInput"
v-model="formData.xdm"
/>
</td>
</tr>
<tr>
<td colspan="2" class="tdright">林班</td>
<td colspan="4">
<input
type="text"
:disabled="disabled"
class="formInput"
v-model="formData.lb"
/>
</td>
<td colspan="2" class="tdright">小班</td>
<td colspan="4">
<input
type="text"
:disabled="disabled"
class="formInput"
v-model="formData.xb"
/>
</td>
</tr>
<tr>
<td colspan="2" class="tdright">面积</td>
<td colspan="4">
<input
type="text"
:disabled="disabled"
class="formInput"
v-model="formData.mj"
/>
</td>
<td colspan="2" class="tdright">起源</td>
<td colspan="4">
<input
type="text"
:disabled="disabled"
class="formInput"
v-model="formData.qy"
/>
</td>
</tr>
<tr>
<td colspan="2" class="tdright">株数</td>
<td colspan="4">
<input
type="text"
:disabled="disabled"
class="formInput"
v-model="formData.zs"
/>
</td>
<td colspan="2" class="tdright">主要树种</td>
<td colspan="4">
<input
type="text"
:disabled="disabled"
class="formInput"
v-model="formData.zysz"
/>
</td>
</tr>
<tr>
<td colspan="2" class="tdright">林种</td>
<td colspan="10">
<el-radio-group class="fl" v-model="formData.lz">
<el-radio :label="1">防护林</el-radio>
<el-radio :label="2">用材林</el-radio>
<el-radio :label="3">经济林</el-radio>
<el-radio :label="4">薪炭林</el-radio>
<el-radio :label="5">特种用途体</el-radio>
</el-radio-group>
</td>
</tr>
<tr>
<td colspan="2" class="tdright">林地使用起始时间</td>
<td colspan="2">
<el-date-picker
v-model="formData.ldsyqssj"
ref="tdsyqssj"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择日期"
@blur="inputBlur($event, true)"
>
</el-date-picker>
</td>
<td colspan="2" class="tdright">林地使用期限</td>
<td colspan="2">
<input
type="text"
ref="syqx"
@blur="inputBlur($event, false)"
maxlength="3"
onkeyup="value=value.replace(/[^\d]/g,'')"
v-model="formData.syqx"
class="formInput"
/>
</td>
<td colspan="2" class="tdright">林地使用起始时间</td>
<td colspan="2">
<el-date-picker
v-model="formData.ldsyjssj"
ref="tdsyjssj"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择日期"
@blur="inputBlur($event, true)"
>
</el-date-picker>
</td>
</tr>
<tr >
<td colspan="2" rowspan="2" class="tdright">共有情况</td>
<td colspan="10" rowspan="2">
<input
class="formInput"
type="textarea"
:autosize="{ minRows: 2, maxRows: 4 }"
v-model="formData.gyqk"
/>
</td>
</tr>
<tr></tr>
<tr rowspan="2">
<td colspan="2" class="tdright">审核意见</td>
<td colspan="10">
<input
class="formInput"
type="textarea"
:autosize="{ minRows: 2, maxRows: 4 }"
v-model="formData.shyj"
/>
</td>
</tr>
<tr rowspan="2">
<td colspan="2" class="tdright">备注</td>
<td colspan="10">
<input
class="formInput"
type="textarea"
:autosize="{ minRows: 2, maxRows: 4 }"
v-model="formData.bz"
/>
</td>
</tr>
</table>
<div class="header-button" :style="{ width: mainBoxWidth + 'px' }">
<el-button type="primary">保存</el-button>
</div>
</div>
</template>
<script>
import Qlr from "@components/formMenu/qlr";
import { getQjLqDetailById } from "@api/lq"
export default {
name: "",
components: {
Qlr,
},
props: {},
data() {
return {
disabled: false,
formData: {
mjdw: "",
zddm: "",
bdcdyh: "",
zl: "",
xdm: "",
lb: "",
xb: "",
mj: "",
qy: "",
zs: "",
zysz: "",
lz: "",
ldsyqssj: "",
syqx: "",
ldsyjssj: "",
gyqk: "",
shyj: "",
shrmc: "",
shsj: "",
bz: "",
},
dzwlxList: [
{
bsm: "1",
mc: "森林、林木",
},
{
bsm: "2",
mc: "其他",
},
],
mainBoxWidth: 0,
};
},
created() {},
mounted() {
this.getLqData(this.$route.query.bsm);
this.$nextTick(() => {
this.mainBoxWidth = this.$refs.mainBox.clientWidth;
})
},
methods: {
inputBlur() {},
//查询林权基本信息
getLqData(bsm) {
getQjLqDetailById(bsm).then((res) => {
if (res.success) {
console.log(res, "林权信息");
}
});
},
},
computed: {},
watch: {},
};
</script>
<style scoped lang="less">
.main {
.lqjbxxTable {
margin: 0 0 50px 0;
background-color: #fff;
font-size: 14px;
width: 100%;
table-layout: fixed;
.dw {
float: right;
margin-right: 10px;
}
th {
height: 36px;
line-height: 36px;
font-size: 16px;
}
td {
text-align: center;
height: 36px;
border-color: #e6e6e6;
}
/deep/ .el-input__inner {
margin: 0;
height: 36px;
outline: none;
border: none;
color: #606764;
overflow: visible;
text-align: center;
}
.percent68 {
width: 68% !important;
float: left;
position: relative;
top: 7px;
}
.el-radio-group {
margin-left: 10px;
}
.el-radio {
margin-right: 20px !important;
}
.el-input__icon {
line-height: 37px;
}
.el-select {
width: 100%;
}
}
.header-button {
z-index: 3;
height: 50px;
position: fixed;
bottom: 0;
right: 6px;
text-align: center;
background-color: #ffffff;
.el-button {
padding: 10px 30px;
margin-top: 8px;
}
.saveBtn {
background-color: #00cacd;
border-color: #00cacd;
/deep/.iconfont {
font-size: 14px;
}
}
.saveBtn:hover {
background-color: rgba(0, 202, 205, 0.8);
border-color: rgba(0, 202, 205, 0.8);
}
}
}
</style>
......@@ -32,9 +32,9 @@
</el-select>
</el-form-item>
<br/>
<el-form-item label="所有权类型" class="w100" prop="syqlxbsm">
<el-form-item label="所有权类型" class="w100" prop="syqlx">
<el-select
v-model="ruleForm.syqlxbsm"
v-model="ruleForm.syqlx"
placeholder="所有权类型"
>
<el-option
......@@ -46,16 +46,16 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="特征码" class="w100" prop="zdtzmbsm">
<el-form-item label="特征码" class="w100" prop="zdtzm">
<el-select
v-model="ruleForm.tzmbsm"
v-model="ruleForm.tzm"
placeholder="宗地特征码"
>
<el-option
v-for="item in $store.state.zdtzmList"
:key="item.bsm"
:label="item.mc"
:value="item.bsm"
:value="item.dm"
>
</el-option>
</el-select>
......@@ -110,7 +110,7 @@
</template>
<script>
import {getLogData,getErrorLog} from "@api/manage";
import { getCodeSection,batchUpdateSectionCode } from "@api/manage";
import {
getAllList,
getListByXzqbsm,
......@@ -142,8 +142,8 @@
xzqbsm: "",
djqbsm: "",
djzqbsm: "",
syqlxbsm: "G",
tzmbsm: "",
syqlx: "G",
tzm: "",
},
syqlx: [
{
......@@ -167,6 +167,11 @@
methods:{
//数据查询
getData(){
getCodeSection(this.ruleForm).then((res)=>{
if(res.code === 200){
this.tableData = res.result;
}
})
},
//条件重置
reset(){
......@@ -174,8 +179,8 @@
xzqbsm: "",
djqbsm: "",
djzqbsm: "",
syqlxbsm: "G",
tzmbsm: "",
syqlx: "G",
tzm: "",
}
},
//获取行政区划数据
......@@ -253,7 +258,21 @@
},
//确定修改
saveInfo(){
let bsms = [];
for(let i = 0;i<this.multipleSelection.length;i++){
bsms.push(this.multipleSelection[i].bsm);
}
let data = {
bsms:bsms,
newJzdm:this.newJzdm
};
batchUpdateSectionCode(data).then((res)=>{
if(res.code === 200){
this.$message.success("修改完成")
}else {
this.$message.warning(res.message);
}
})
},
//多选
handleSelectionChange(val){
......@@ -264,7 +283,7 @@
this.getXzqList();
this.getData();
this.$nextTick(() => {
this.ruleForm.tzmbsm = this.$store.state.zdtzmList[0].bsm;
this.ruleForm.tzm = this.$store.state.zdtzmList[0].dm;
this.tableHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 382;
})
}
......
......@@ -927,7 +927,7 @@
/deep/ .el-tabs__header {
position: -webkit-fixed;
position: fixed;
top: 117px;
top: 115px;
z-index: 999;
width: 100%;
margin-bottom: 0;
......@@ -962,8 +962,8 @@
/deep/ .el-card__header{
padding: 16px 20px;
background-color: #FAFAFA;
border-bottom: 1px solid #E6E6E6;
background-color: #FAFCFF;
border-bottom: 1px solid #E4EBF4;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
......@@ -983,9 +983,10 @@
width: 40%;
}
.el-card {
border: 1px solid #E6E6E6;
border: 1px solid #E4EBF4;
background-color: white;
overflow: auto;
box-shadow: none!important;;
.clearfix{
span{
color: #9B9B9B;
......@@ -1133,7 +1134,7 @@
height: 44px;
}
th{
background: #FAFAFA;
background: #FAFCFF;
}
}
......
......@@ -80,7 +80,7 @@ export default {
/deep/ .el-tabs__header {
position: -webkit-fixed;
position: fixed;
top: 117px;
top: 115px;
z-index: 999;
width: 100%;
margin-bottom: 0;
......
......@@ -592,7 +592,7 @@
/deep/ .el-tabs__header {
position: -webkit-fixed;
position: fixed;
top: 117px;
top: 115px;
z-index: 999;
width: 100%;
margin-bottom: 0;
......
......@@ -127,9 +127,17 @@
</div>
</el-tab-pane>
<el-tab-pane class="eltabspane" v-if="!createZrz" label="林权" name="lq">
<el-form :inline="true" :rules="rules3" :model="ruleForm3" ref="ruleForm3" class="demo-form-inline">
<el-form-item label="项目名称" class="w100" prop="xmmc">
<el-input
v-model="ruleForm3.xmmc"
placeholder="项目名称"
></el-input>
</el-form-item>
</el-form>
<div class="handleBtn">
<!-- <el-button type="primary" class="w98 import">导入图形</el-button> -->
<el-button type="primary" class="w98 creat" @click="todo">创建</el-button>
<el-button type="primary" class="w98 creat" @click="newLq">创建</el-button>
<el-button type="primary" class="w98 cancel" @click="close">取消</el-button>
</div>
</el-tab-pane>
......@@ -218,6 +226,13 @@ export default {
type: "dz",
ywlx:"create"
},
ruleForm3:{
zdbsm:'',
xmmc:'',
userbsm:'',
type: "lq",
ywlx:"create"
},
ruleForm4:{
zdzhbsm:'',
xmmc:'',
......@@ -255,6 +270,11 @@ export default {
{ required: true, message: '请输入项目名称', trigger: 'blur' },
],
},
rules3: {
xmmc: [
{ required: true, message: '请输入项目名称', trigger: 'blur' },
],
},
rules4: {
xmmc: [
{ required: true, message: '请输入项目名称', trigger: 'blur' },
......@@ -295,6 +315,9 @@ export default {
if (this.$refs["ruleForm2"]) {
this.$refs["ruleForm2"].resetFields();
}
if (this.$refs["ruleForm3"]) {
this.$refs["ruleForm3"].resetFields();
}
},
handleClick(tab, event) {
console.log(tab, event);
......@@ -303,29 +326,6 @@ export default {
newZd() {
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
// insertQjZdjbxx(this.ruleForm)
// .then((res) => {
// console.log(res.result);
// if (res.code == "200") {
// this.getRightTree(res.result,'0,1,2');
// this.$message({
// message: "创建成功!",
// type: "success",
// });
// this.$store.state.zdbsm = res.result;
// //todo 跳转到宗地基本信息内容表页面 (预留)
// this.close();
// this.$router.push({
// path: '/zd', query:{
// source: 2,
// bsm:res.result
// }
// });
// } else {
// this.$message.error(res.message);
// }
// })
// .catch((error) => {});
let data = {
params:this.ruleForm,
workflowName:'新建宗地'
......@@ -370,34 +370,6 @@ export default {
if (valid) {
this.ruleForm1.zdbsm = this.auth ? this.$store.state.zdbsm : '';
this.ruleForm1.dzbsm = this.auth ? this.$store.state.dzbsm : '';
// insertZrzjbxx(this.ruleForm1)
// .then((res) => {
// if (res.code == "200") {
// //获取左侧树数据
// this.$store.state.oldZdbsm = '';
// this.getTreeByBsm(res.result.bsm,'zrz','0,1,2');
// this.$message({
// message: "创建成功!",
// type: "success",
// });
// //todo 跳转到自然幢基本信息内容表页面 (预留)
// this.$store.state.zdbsm=res.result.zdbsm;
// this.$store.state.zrzbsm=res.result.bsm;
// this.$store.state.xmmc=res.result.xmmc;
// this.$store.state.newZdbsm = res.result.zdbsm;
// this.close();
// this.$router.push({
// path: '/zrz', query:{
// source: 1,
// bsm:res.result.bsm,
// auth: '0,1,2'
// }
// });
// } else {
// this.$message.error("创建失败!");
// }
// })
// .catch((error) => {});
let data = {
params:this.ruleForm1,
workflowName:'新建自然幢'
......@@ -411,13 +383,10 @@ export default {
message: "创建成功!",
type: "success",
});
this.close();
this.$store.state.zrzbsm = res.processInstance.title;
this.$nextTick(()=>{
this.loadCache(res.processInstance.title,'zrz');
})
// todo 跳转到宗地基本信息内容表页面 (预留)
this.close();
this.$router.push({
path: '/zrz', query:{
......@@ -502,31 +471,6 @@ export default {
this.$refs['ruleForm2'].validate((valid) => {
if (valid) {
this.ruleForm2.zdbsm = this.$store.state.zdbsm != '' ? this.$store.state.zdbsm : '';
// insertDzjbxx(this.ruleForm2)
// .then((res) => {
// if (res.code == "200") {
// this.getTreeByBsm(res.result.bsm,'dz','0,1,2');
// this.$message({
// message: "创建成功!",
// type: "success",
// });
// this.$store.state.zdbsm=res.result.zdbsm;
// this.$store.state.dzbsm=res.result.bsm;
// this.$store.state.xmmc=res.result.xmmc;
// this.$store.state.newZdbsm = res.result.zdbsm;
// this.close();
// this.$router.push({
// path: '/dz', query:{
// source: 1,
// bsm:res.result.bsm,
// auth: '0,1,2'
// }
// });
// } else {
// this.$message.error("创建失败!");
// }
// })
// .catch((error) => {});
let data = {
params:this.ruleForm2,
workflowName:'新建多幢'
......@@ -541,7 +485,6 @@ export default {
type: "success",
});
this.close();
this.$store.state.dzbsm = res.processInstance.title;
this.$nextTick(()=>{
this.loadCache(res.processInstance.title,'dz');
......@@ -569,6 +512,50 @@ export default {
});
},
newLq(){
this.$refs['ruleForm3'].validate((valid) => {
if (valid) {
this.ruleForm3.zdbsm = this.$store.state.zdbsm != '' ? this.$store.state.zdbsm : '';
let data = {
params:this.ruleForm3,
workflowName:'新建林权'
};
createProcessInstance(data)
.then((res) => {
console.log(res);
if (res.needShow) {
this.getTreeByBsm(res.processInstance.title,"lq",'0,1,2');
this.$message({
message: "创建成功!",
type: "success",
});
this.close();
this.$store.state.dzbsm = res.processInstance.title;
this.$nextTick(()=>{
this.loadCache(res.processInstance.title,'lq');
})
// todo 跳转到宗地基本信息内容表页面 (预留)
this.close();
this.$router.push({
path: '/lq', query:{
source: 1,
bsm:res.processInstance.title,
ywbsm:res.processInstance.businessId,
workitemInstanceId:res.workitemInstance.id,
auth: '0,1,2'
}
});
} else {
this.$message.error("创建失败");
}
})
.catch((error) => {});
} else {
console.log('error submit!!');
return false;
}
});
},
todo(){
this.$message({
message: "待开发",
......@@ -674,7 +661,8 @@ export default {
.handleBtn{
position: absolute;
bottom: 0;
right: 35px;
left: 50%;
margin-left: -100px;
.w98{
width: 98px;
}
......
......@@ -175,9 +175,13 @@ export default {
sideTools
},
data(){
return{
return{
viewId:"testMap",
layerUrl:"http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
// layerUrl:"http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
layerUrl: 'https://192.168.2.146:6443/arcgis/rest/services/qj/XZQH/MapServer', // 行政区划
bdcdyUrl: 'https://192.168.2.146:6443/arcgis/rest/services/qj/BDCDY/MapServer', // 不动产单元
djfqUrl: 'https://192.168.2.146:6443/arcgis/rest/services/qj/DJFQ/MapServer', // 地籍分区
zrdlUrl: 'https://192.168.2.146:6443/arcgis/rest/services/qj/JCDL/MapServer', // 自然地理
dialogVisible:false,
selectResLayerId:null,
features:[],
......@@ -219,29 +223,37 @@ export default {
view.ui.move(["zoom"], "bottom-right");
loadModules([
"esri/layers/MapImageLayer"
]).then(([
MapImageLayer
])=>{
]).then(([ MapImageLayer ])=>{
var mapImageLayer = new MapImageLayer({
url:self.layerUrl,
id:"testLayer",
spatialReference:view.spatialReference,
sublayers:[
{
id:19,
visible:true
},
{
id:8,
visible:true
},
{
id:10,
visible:true
}
]
spatialReference:view.spatialReference
});
view.map.add(mapImageLayer, 1);
let bdcdyLayer = new MapImageLayer({
url:self.bdcdyUrl,
id:"bdcdyLayer",
spatialReference:view.spatialReference
});
view.map.add(mapImageLayer,1);
view.map.add(bdcdyLayer);
let djfqLayer = new MapImageLayer({
url:self.djfqUrl,
id:"djfqLayer",
visible: false,
spatialReference:view.spatialReference
});
view.map.add(djfqLayer);
let zrdlLayer = new MapImageLayer({
url:self.zrdlUrl,
id:"zrdlLayer",
visible: false,
spatialReference:view.spatialReference
});
view.map.add(zrdlLayer);
var query = self.$route.query;
if(query && JSON.stringify(query) != "{}"){
self.addGeoByBsm(query.bsm,query.type,self.viewId);
......@@ -355,12 +367,13 @@ export default {
self.features = [];
self.resultLayers = [];
this.heighGraphic = null;
//清除查询图层
//清除查询图层
this.clearSearchLayer(this.viewId);
this.totalResults = data.length;
this.totalResults = data.length;
for(var i = 0;i < data.length;i++){
var layerId = data[i].layerId;
var layer = self.getLayerById(layerId);
var layerResult = self.results.filter(function (item) {
return item.layerId == layerId;
})
......
......@@ -89,9 +89,11 @@ export default {
},
mixins:[draw,identifyUtils,measure,mapTools],
data(){
return{
url:"http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
selectResLayerId:"",
return{
// url:"http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
// url: 'https://192.168.2.146:6443/arcgis/rest/services/qj/XZQH/MapServer',
url: 'https://192.168.2.146:6443/arcgis/rest/services/qj/BDCDY/MapServer',
selectResLayerId:"",
features:[],
resultLayers:[],
results:[],
......@@ -130,8 +132,8 @@ export default {
var view = maps[this.viewId];
var self = this;
this.initDraw("point",this.viewId,null,function(geo){
self.identify(self.url,[8,10],geo,function(res){
var resultes = res.results;
self.identify(self.url,[7, 9],geo,function(res){
var resultes = res.results;
if(resultes && resultes.length > 0){
self.$parent.delIdentifyData(resultes);
self.$parent.dialogVisible = true;
......
......@@ -30,8 +30,11 @@
:default-checked-keys="defaultSelectNodes"
>
<span class="custom-tree-node" slot-scope="{ node, data }">
<span>{{ node.label }}</span>
<span class="setOpacity" v-if="data.type == 'layerGroup'">
<span>{{ node.label }}</span>
<!-- <span class="setOpacity" v-if="data.type == 'layerGroup'">
<el-slider v-model="data.alpha" ref="data.id" :format-tooltip="formatTooltip" @change="alphaChange(data)"></el-slider>
</span> -->
<span class="setOpacity">
<el-slider v-model="data.alpha" ref="data.id" :format-tooltip="formatTooltip" @change="alphaChange(data)"></el-slider>
</span>
</span>
......@@ -178,22 +181,23 @@
return{
currentActivate:"",
layerTreeData:[],
defaultSelectNodes:['1-1-1-2','1-1-3-3','1-1-3-9'],
// defaultSelectNodes:['1-1-1-2','1-1-3-3','1-1-3-9'],
defaultSelectNodes: ['1-1-1', '1-1-3'],
layerUrl:"http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
sidePanelShow:false,
bufferParams:{
drawType:"",
distance:0,
layerId:[],
impotGeo:null,
selectDjq:"",
selectDjzq:""
},
activeName:'hzfw',
bufferLayers:[{
layerName:"宗地",
id:"8"
},
bufferParams:{
drawType:"",
distance:0,
layerId:[],
impotGeo:null,
selectDjq:"",
selectDjzq:""
},
activeName:'hzfw',
bufferLayers:[{
layerName:"宗地",
id:"8"
},
{
layerName:"自然幢",
id:"10"
......@@ -210,15 +214,17 @@
layerName:"宗海",
id:"9"
}],
bufferDialog:false,
djqList:[],
djzqList:[],
importDialog:false,
importGeo:""
bufferDialog:false,
djqList:[],
djzqList:[],
importDialog:false,
importGeo:"",
layerManager: ['testLayer', 'bdcdyLayer', 'djfqLayer', 'zrdlLayer']
}
},
mounted(){
this.layerTreeData = layerTree;
},
methods:{
checkTreeNode(treeNode,checkNodeList){
......@@ -229,24 +235,42 @@
if (checkNodeList.checkedNodes[i].id == treeNode.id) {
flag = true;
}
}
if(flag){
if(treeNode && treeNode.children){
var ids = [];
this.getChildrens(treeNode,ids);
this.addSublayers(this.viewId,ids);
}else{
this.addSublayers(this.viewId,[treeNode]);
}
}else{
if(treeNode && treeNode.children){
var ids = [];
this.getChildrens(treeNode,ids);
this.removeSublayer(this.viewId,ids);
}else{
this.removeSublayer(this.viewId,[treeNode]);
}
}
}
// **********************************************姬恺***************************************************************
var view = maps[this.viewId];
Object.prototype.toString.call(this.layerManager) === '[object Array]' && this.layerManager.forEach((e, i) => {
i || (this.layerManager = {});
this.layerManager[e] = view.map.findLayerById(e);
})
typeof treeNode.name === 'string' ? new Promise(r => {
typeof treeNode.layerId === 'number' ? r(treeNode.layerId) : this.layerManager[treeNode.name].visible = flag;
}).then(d => {
this.layerManager[treeNode.name].findSublayerById(d).visible = flag;
}) : Object.keys(this.layerManager).forEach(e => {
this.layerManager[e].visible = flag;
})
// **********************************************姬恺***************************************************************
// console.log(this.layerManager);
// if(flag){
// if(treeNode && treeNode.children){
// var ids = [];
// this.getChildrens(treeNode,ids);
// this.addSublayers(this.viewId,ids);
// }else{
// this.addSublayers(this.viewId,[treeNode]);
// }
// }else{
// if(treeNode && treeNode.children){
// var ids = [];
// this.getChildrens(treeNode,ids);
// this.removeSublayer(this.viewId,ids);
// }else{
// this.removeSublayer(this.viewId,[treeNode]);
// }
// }
},
//获取树节点选中的子节点
getChildrens(data, childrens) {
......@@ -273,10 +297,26 @@
alphaChange(nodeData){
if(nodeData.alpha == 0){
return;
}
var ids = [];
this.getChildrens(nodeData,ids);
this.setLayerOpacity(this.viewId,ids,nodeData.alpha);
}
// **********************************************姬恺***************************************************************
var view = maps[this.viewId];
Object.prototype.toString.call(this.layerManager) === '[object Array]' && this.layerManager.forEach((e, i) => {
i || (this.layerManager = {});
this.layerManager[e] = view.map.findLayerById(e);
})
typeof nodeData.name === 'string' ? new Promise(r => {
typeof nodeData.layerId === 'number' ? r(nodeData.layerId) : this.layerManager[nodeData.name].opacity = nodeData.alpha / 100;
}).then(d => {
this.layerManager[nodeData.name].findSublayerById(d).opacity = nodeData.alpha / 100;
}) : Object.keys(this.layerManager).forEach(e => {
this.layerManager[e].visible = nodeData.alpha / 100;
})
// **********************************************姬恺***************************************************************
// var ids = [];
// this.getChildrens(nodeData,ids);
// this.setLayerOpacity(this.viewId,ids,nodeData.alpha);
},
//缓冲区分析
bufferAnalysis(){
......
<template>
<!-- <div class="content_box"> -->
<el-tabs v-model="activeName" class="tabs" @tab-click="handleClick" >
<el-tab-pane label="地籍调查表" name="djdcb"><zddcb></zddcb></el-tab-pane>
<el-tab-pane label="分类调查表" name="fldcb" v-if="isFldc"><fldcb v-if="fldbcVisible" :qlr="qlr" :bdcdyh="bdcdyh" :zddm="zddm"></fldcb></el-tab-pane>
<el-tab-pane label="土地承包经营权、农用地其他使用权调查表" name="tdcb" v-if="isTdcb"><tdcb :bdcdyh="bdcdyh" :zddm="zddm" lazy></tdcb></el-tab-pane>
<el-tab-pane label="面积分摊表" name="mjftb"><mjftb v-if="mjftbVisible" :is-disabled="isDisabled"></mjftb></el-tab-pane>
<el-tab-pane label="界址点" name="jzd">
<jzd v-if="jzdVisible" :is-disabled="isDisabled"></jzd>
</el-tab-pane>
<el-tab-pane label="界址线" name="jzx" >
<jzx v-if="jzxVisible" :is-disabled="isDisabled"></jzx>
</el-tab-pane>
<el-tab-pane label="登记簿" name="djb"><djb v-if="djbVisible"></djb></el-tab-pane>
<el-tab-pane label="历史回溯" name="lshs"><lshs v-if="lshsVisible" :type="type" :bsm="$route.query.bsm"></lshs></el-tab-pane>
<el-tab-pane label="附件材料" name="fjcl">
<fjcl v-if="fjclVisible" ref="fjcl" :is-disabled="isDisabled"></fjcl>
</el-tab-pane>
<el-tab-pane label="流程跟踪" name="lcgz" v-if="$store.state.isWorkFlow || $store.state.lcgzShow" lazy>
<lcgz ref="lcgz" ></lcgz>
</el-tab-pane>
</el-tabs>
<el-tabs v-model="activeName" class="tabs" @tab-click="handleClick">
<el-tab-pane label="地籍调查表" name="djdcb"><zddcb></zddcb></el-tab-pane>
<el-tab-pane label="分类调查表" name="fldcb" v-if="isFldc"
><fldcb
v-if="fldbcVisible"
:qlr="qlr"
:bdcdyh="bdcdyh"
:zddm="zddm"
></fldcb
></el-tab-pane>
<el-tab-pane
label="土地承包经营权、农用地其他使用权调查表"
name="tdcb"
v-if="isTdcb"
><tdcb :bdcdyh="bdcdyh" :zddm="zddm" lazy></tdcb
></el-tab-pane>
<el-tab-pane label="面积分摊表" name="mjftb"
><mjftb v-if="mjftbVisible" :is-disabled="isDisabled"></mjftb
></el-tab-pane>
<el-tab-pane label="界址点" name="jzd">
<jzd v-if="jzdVisible" :is-disabled="isDisabled"></jzd>
</el-tab-pane>
<el-tab-pane label="界址线" name="jzx">
<jzx v-if="jzxVisible" :is-disabled="isDisabled"></jzx>
</el-tab-pane>
<el-tab-pane label="登记簿" name="djb"
><djb v-if="djbVisible"></djb
></el-tab-pane>
<el-tab-pane label="历史回溯" name="lshs"
><lshs v-if="lshsVisible" :type="type" :bsm="$route.query.bsm"></lshs
></el-tab-pane>
<el-tab-pane label="附件材料" name="fjcl">
<fjcl v-if="fjclVisible" ref="fjcl" :is-disabled="isDisabled"></fjcl>
</el-tab-pane>
<el-tab-pane
label="流程跟踪"
name="lcgz"
v-if="$store.state.isWorkFlow || $store.state.lcgzShow"
lazy
>
<lcgz ref="lcgz"></lcgz>
</el-tab-pane>
</el-tabs>
<!-- </div> -->
</template>
......@@ -30,89 +53,98 @@ import jzd from "./jzd";
import jzx from "./jzx";
import djb from "./djb";
import lshs from "./lshs";
import fjcl from "./fjcl/fjcl"
import Lcgz from "./lcgz"
import {queryStatus} from "@api/search"
import Fldcb from "./fldcb"
import Tdcb from "./tdcb"
import {getQjZdjbxxDetailById} from '@api/zd'
import fjcl from "./fjcl/fjcl";
import Lcgz from "./lcgz";
import { queryStatus } from "@api/search";
import Fldcb from "./fldcb";
import Tdcb from "./tdcb";
import { getQjZdjbxxDetailById } from "@api/zd";
export default {
name: "",
components: {
zddcb,mjftb,jzd,jzx,djb,lshs,fjcl,Fldcb,Lcgz,Tdcb
zddcb,
mjftb,
jzd,
jzx,
djb,
lshs,
fjcl,
Fldcb,
Lcgz,
Tdcb,
//zddcb,mjftb,jzd,jzx,djb,lshs,fjcl,Lcgz
},
},
props: {},
data() {
return {
qlr:"",
bdcdyh:'',
zddm:"",
isFldc:false,
isTdcb:false,
isDisabled:false,
qlr: "",
bdcdyh: "",
zddm: "",
isFldc: false,
isTdcb: false,
isDisabled: false,
activeName: "djdcb",
mjftbVisible:false,
jzdVisible:false,
fldbcVisible:false,
jzxVisible:false,
djbVisible:false,
lshsVisible:false,
fjclVisible:false,
type:'zd'
mjftbVisible: false,
jzdVisible: false,
fldbcVisible: false,
jzxVisible: false,
djbVisible: false,
lshsVisible: false,
fjclVisible: false,
type: "zd",
};
},
methods: {
getZdData(bsm){
getQjZdjbxxDetailById(bsm).then(res=>{
if (res.success) {
console.log(res,'宗地信息')
this.isFldc=res.result.zdtzmbsm==='PSHGSBDCQJDC000000000000DC440010';
this.isTdcb=res.result.zdtzmbsm==='PSHGSBDCQJDC000000000000DC440060' || 'PSHGSBDCQJDC000000000000DC440070' || 'PSHGSBDCQJDC000000000000DC440080';
}
})
getZdData(bsm) {
getQjZdjbxxDetailById(bsm).then((res) => {
if (res.success) {
console.log(res, "宗地信息");
this.isFldc = res.result.zdtzmbsm === "PSHGSBDCQJDC000000000000DC440010";
this.isTdcb = res.result.zdtzmbsm === ("PSHGSBDCQJDC000000000000DC440060" || "PSHGSBDCQJDC000000000000DC440070" ||"PSHGSBDCQJDC000000000000DC440080");
}
});
},
loadingStatus() {
let bsm = this.$route.query.bsm;
queryStatus(bsm).then((res) => {
if (res.success) {
let qszt = res.result.qszt;
this.qlr = res.result.qlrmc;
this.zddm = res.result.zddm;
this.bdcdyh = res.result.bdcdyh;
console.log(this.qlr, "权利人");
this.isDisabled = +qszt !== 0;
}
});
},
loadingStatus() {
let bsm=this.$route.query.bsm;
queryStatus(bsm).then(res => {
if (res.success) {
let qszt = res.result.qszt;
this.qlr=res.result.qlrmc;
this.zddm=res.result.zddm;
this.bdcdyh=res.result.bdcdyh;
console.log(this.qlr,'权利人');
this.isDisabled = +qszt !== 0;
}
})
},
/* loading(){
/* loading(){
console.log("附件材料是否禁用")
this.$refs.fjcl.isUpload(this.$store.state.zdbsm)
},*/
handleClick(tab, event) {
// console.log(tab, event);
this.loadingStatus();
this.loadingStatus();
switch (tab.name) {
case 'mjftb':
case "mjftb":
this.mjftbVisible = true;
break;
case 'fldcb':
case "fldcb":
this.fldbcVisible = true;
break;
case 'jzd':
break;
case "jzd":
this.jzdVisible = true;
break;
case 'jzx':
case "jzx":
this.jzxVisible = true;
break;
case 'djb':
case "djb":
this.djbVisible = true;
break;
case 'lshs':
case "lshs":
this.lshsVisible = true;
break;
case 'fjcl':
case "fjcl":
this.fjclVisible = true;
break;
......@@ -123,8 +155,8 @@ export default {
},
created() {},
mounted() {
this.getZdData(this.$store.state.zdbsm);
this.loadingStatus();
this.getZdData(this.$store.state.zdbsm);
this.loadingStatus();
},
computed: {
zdbsm() {
......@@ -132,15 +164,15 @@ export default {
},
},
watch: {
zdbsm: function (val) {
this.getZdData(val);
zdbsm: function(val) {
this.getZdData(val);
this.loadingStatus();
},
},
};
</script>
<style scoped lang="less">
.el-tab-pane{
.el-tab-pane {
overflow-y: scroll;
}
</style>
......
<template>
<div ref="lpb" class="content_box">
<!-- <div ref="lpb" class="content_box"> -->
<el-tabs v-model="activeName" class="tabs" @tab-click="handleClick" >
<el-tab-pane label="自然幢信息" name="zrzxx"><zrzxx></zrzxx></el-tab-pane>
<el-tab-pane label="业主共有" name="yzgy"><yzgy v-if="yzgyLoad" :is-disabled="isDisabled"></yzgy></el-tab-pane>
......@@ -11,7 +11,7 @@
<lcgz ref="lcgz" ></lcgz>
</el-tab-pane>
</el-tabs>
</div>
<!-- </div> -->
</template>
<script>
......@@ -68,7 +68,7 @@ export default {
created() {},
mounted() {
// this.$nextTick(()=>{
this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 44;
this.$store.state.contentWidth = (document.documentElement.clientWidth || document.body.clientWidth) - 340;
// })
},
computed: {},
......
......@@ -92,6 +92,13 @@
@click="batchUpload"
><i class="iconfont iconshangchuan"></i>批量上传</el-button
>
<el-button
class="radioBtn"
label="7"
border
@click="batchCancelChoosed"
><i class="iconfont iconquxiaoxuanze"></i>取消选中</el-button
>
</div>
</el-col>
</el-row>
......@@ -536,6 +543,23 @@ export default {
this.uploadVisible = true
}
},
//取消选中
batchCancelChoosed(){
this.cbsmList = [];
this.bsms = [];
this.qsztList = [];
this.$refs.lpbContent.hbsmList = [];
this.$refs.lpbContent.cbsmList = [];
this.$refs.lpbContent.choosedList = [];
this.$refs.lpbContent.$refs.hBsm.forEach((item) => {
item.style.border = '';
item.className = "";
});
this.$refs.lpbContent.$refs.cBsm.forEach((item) => {
item.style.border = '';
item.className = "";
});
},
uploadError(err, file, fileList) {
Message.error("上传文件失败")
console.log("上传文件失败", err)
......@@ -791,10 +815,8 @@ export default {
this.$refs.lpbContent.choosedList = [];
this.$refs.lpbContent.$refs.hBsm.forEach((item) => {
item.style.border = '';
item.className = '';
});
// console.log(bsms,'bsms');
// console.log(color,'color');
// Dyzt:{list:[],mj:''}
//清除选中户
// this.$refs.lpbContent.clearChoosedH();
this.$nextTick(()=>{
......
......@@ -1130,6 +1130,7 @@ export default {
this.$refs.lpbContent.scrollLeft = item.offsetLeft;
}
item.style.border = '1px solid '+this.borderColor;
item.className = "tdSelect"
}
});
});
......